Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update meta files to match current Bundler generator preferences [ci …

…skip]
  • Loading branch information...
commit 266fab7b2e9c7bff2bd450d045945a2c4ae25670 1 parent ac6cf0d
@cgriego authored
Showing with 45 additions and 42 deletions.
  1. +1 −1  Gemfile
  2. +22 −0 LICENSE
  3. +0 −18 MIT-LICENSE
  4. +2 −0  Rakefile
  5. +20 −23 active_attr.gemspec
View
2  Gemfile
@@ -1,4 +1,4 @@
-source "http://rubygems.org"
+source "https://rubygems.org"
gemspec :development_group => :test
View
22 LICENSE
@@ -0,0 +1,22 @@
+Copyright (C) 2011-2012 by Chris Griego, Ben Poweski
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
18 MIT-LICENSE
@@ -1,18 +0,0 @@
-Copyright (C) 2011 by Chris Griego, Ben Poweski
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
View
2  Rakefile
@@ -1,3 +1,5 @@
+#!/usr/bin/env rake
+
require "bundler/setup"
require "bundler/gem_tasks"
require "rspec/core/rake_task"
View
43 active_attr.gemspec
@@ -1,29 +1,26 @@
# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
-require "active_attr/version"
+require File.expand_path("../lib/active_attr/version", __FILE__)
-Gem::Specification.new do |s|
- s.name = "active_attr"
- s.version = ActiveAttr::VERSION
- s.authors = ["Chris Griego", "Ben Poweski"]
- s.email = ["cgriego@gmail.com", "bpoweski@gmail.com"]
- s.homepage = "https://github.com/cgriego/active_attr"
- s.summary = %q{What ActiveModel left out}
- s.description = %q{Create plain old ruby models without reinventing the wheel.}
+Gem::Specification.new do |gem|
+ gem.authors = ["Chris Griego", "Ben Poweski"]
+ gem.email = ["cgriego@gmail.com", "bpoweski@gmail.com"]
+ gem.description = %q{Create plain old ruby models without reinventing the wheel.}
+ gem.summary = %q{What ActiveModel left out}
+ gem.homepage = "https://github.com/cgriego/active_attr"
- s.rubyforge_project = "active_attr"
+ gem.files = `git ls-files`.split($\)
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.name = "active_attr"
+ gem.require_paths = ["lib"]
+ gem.version = ActiveAttr::VERSION
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
- s.require_paths = ["lib"]
+ gem.add_runtime_dependency "activemodel", ">= 3.0.2", "< 4.1"
+ gem.add_runtime_dependency "activesupport", ">= 3.0.2", "< 4.1"
- s.add_runtime_dependency "activemodel", ">= 3.0.2", "< 4.1"
- s.add_runtime_dependency "activesupport", ">= 3.0.2", "< 4.1"
-
- s.add_development_dependency "bundler", "~> 1.0"
- s.add_development_dependency "factory_girl", "~> 2.2"
- s.add_development_dependency "rake", "~> 0.9.0"
- s.add_development_dependency "rspec", "~> 2.6"
- s.add_development_dependency "tzinfo", "~> 0.3.29"
+ gem.add_development_dependency "bundler", "~> 1.0"
+ gem.add_development_dependency "factory_girl", "~> 2.2"
+ gem.add_development_dependency "rake", "~> 0.9.0"
+ gem.add_development_dependency "rspec", "~> 2.6"
+ gem.add_development_dependency "tzinfo", "~> 0.3.29"
end
Please sign in to comment.
Something went wrong with that request. Please try again.