Skip to content

Commit

Permalink
Merge pull request carlosantoniodasilva#17 from lucasmazza/goodbye_ac…
Browse files Browse the repository at this point in the history
…tiverecord

Remove runtime dependency on ActiveRecord
  • Loading branch information
carlosantoniodasilva committed May 31, 2012
2 parents 3d903d7 + 3a2c93c commit 7cb1df1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions i18n_alchemy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Gem::Specification.new do |s|
s.test_files = Dir["test/**/*"]
s.require_paths = ["lib"]

s.add_dependency "activerecord", "~> 3.0"
s.add_dependency "activesupport", "~> 3.0"
s.add_dependency "i18n", "~> 0.5"

s.add_development_dependency "rake", "~> 0.9.2"
s.add_development_dependency "actionpack", "~> 3.0"
s.add_development_dependency "activerecord", "~> 3.0"
s.add_development_dependency "minitest", "~> 2.10.0"
s.add_development_dependency "rake", "~> 0.9.2"
end
3 changes: 2 additions & 1 deletion lib/i18n_alchemy.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require "date"
require "active_record"
require "active_support"
require "active_support/core_ext/class/attribute"
require "i18n"
require "i18n_alchemy/date_parser"
require "i18n_alchemy/time_parser"
Expand Down
1 change: 1 addition & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

require "i18n_alchemy"
require "action_view"
require "active_record"

# Setup I18n after other requires to make sure our locales will override any
# ActiveSupport / ActionView defaults.
Expand Down

0 comments on commit 7cb1df1

Please sign in to comment.