Skip to content

Commit

Permalink
Merge pull request #87 from Nikamura/master
Browse files Browse the repository at this point in the history
Update dependencies for Rails 4.2
  • Loading branch information
aserafin committed Dec 24, 2014
2 parents 192bf48 + 38e328b commit 131ccdf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source 'http://rubygems.org'
gem 'rails', ">= 3.1", "< 4.1"
gem 'rails', ">= 3.1", "<= 4.2"
gemspec
2 changes: 1 addition & 1 deletion lib/seed-fu/seeder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def seed_record(data)
else
record.assign_attributes(data)
end
record.save(:validate => false) || raise(ActiveRecord::RecordNotSaved)
record.save(:validate => false) || raise(ActiveRecord::RecordNotSaved, 'Record not saved!')
record
end

Expand Down
4 changes: 2 additions & 2 deletions seed-fu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Gem::Specification.new do |s|
s.summary = "Easily manage seed data in your Active Record application"
s.description = "Seed Fu is an attempt to once and for all solve the problem of inserting and maintaining seed data in a database. It uses a variety of techniques gathered from various places around the web and combines them to create what is hopefully the most robust seed data system around."

s.add_dependency "activerecord", [">= 3.1", "< 4.2"]
s.add_dependency "activesupport", [">= 3.1", "< 4.2"]
s.add_dependency "activerecord", [">= 3.1", "<= 4.2"]
s.add_dependency "activesupport", [">= 3.1", "<= 4.2"]

s.add_development_dependency "rspec", "~> 2.0"
s.add_development_dependency "pg", '~> 0'
Expand Down

0 comments on commit 131ccdf

Please sign in to comment.