Skip to content

Commit

Permalink
extract Backend::ActiveRecord to a separate gem
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Fuchs committed Nov 5, 2010
1 parent 2913ff9 commit 197dace
Show file tree
Hide file tree
Showing 23 changed files with 77 additions and 608 deletions.
1 change: 0 additions & 1 deletion ci/Gemfile.all
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
source :rubygems

gem 'activerecord', '~> 3.0.0'
gem 'activesupport', '~> 3.0.0'
gem 'sqlite3-ruby'
gem 'mocha'
Expand Down
32 changes: 6 additions & 26 deletions ci/Gemfile.all.lock
Original file line number Diff line number Diff line change
@@ -1,32 +1,16 @@
GEM
remote: http://rubygems.org/
specs:
ParseTree (3.0.5)
ParseTree (3.0.6)
RubyInline (>= 3.7.0)
sexp_processor (>= 3.0.0)
RubyInline (3.7.0)
hoe (>= 1.5.3)
activemodel (3.0.1)
activesupport (= 3.0.1)
builder (~> 2.1.2)
i18n (~> 0.4.1)
activerecord (3.0.1)
activemodel (= 3.0.1)
activesupport (= 3.0.1)
arel (~> 1.0.0)
tzinfo (~> 0.3.23)
RubyInline (3.8.6)
ZenTest (~> 4.3)
ZenTest (4.4.0)
activesupport (3.0.1)
arel (1.0.1)
activesupport (~> 3.0.0)
builder (2.1.2)
ffi (0.6.3)
rake (>= 0.8.7)
hoe (2.6.1)
rake (>= 0.8.7)
rubyforge (>= 2.0.4)
i18n (0.4.2)
json_pure (1.4.6)
mocha (0.9.8)
mocha (0.9.9)
rake
rake (0.8.7)
ruby-cldr (0.0.1)
Expand All @@ -35,19 +19,15 @@ GEM
sexp_processor (~> 3.0)
ruby_parser (2.0.5)
sexp_processor (~> 3.0)
rubyforge (2.0.4)
json_pure (>= 1.1.7)
rufus-tokyo (1.0.7)
sexp_processor (3.0.5)
sqlite3-ruby (1.3.1)
tzinfo (0.3.23)
sqlite3-ruby (1.3.2)

PLATFORMS
ruby

DEPENDENCIES
ParseTree
activerecord (~> 3.0.0)
activesupport (~> 3.0.0)
ffi
mocha
Expand Down
1 change: 0 additions & 1 deletion ci/Gemfile.rails-2.3.x
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
source :rubygems

gem 'activerecord', '~> 2.3'
gem 'activesupport', '~> 2.3'
gem 'sqlite3-ruby'
gem 'mocha'
Expand Down
1 change: 0 additions & 1 deletion ci/Gemfile.rails-3.x
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
source :rubygems

gem 'activerecord', '~> 3.0.0'
gem 'activesupport', '~> 3.0.0'
gem 'sqlite3-ruby'
gem 'mocha'
19 changes: 2 additions & 17 deletions ci/Gemfile.rails-3.x.lock
Original file line number Diff line number Diff line change
@@ -1,31 +1,16 @@
GEM
remote: http://rubygems.org/
specs:
activemodel (3.0.1)
activesupport (= 3.0.1)
builder (~> 2.1.2)
i18n (~> 0.4.1)
activerecord (3.0.1)
activemodel (= 3.0.1)
activesupport (= 3.0.1)
arel (~> 1.0.0)
tzinfo (~> 0.3.23)
activesupport (3.0.1)
arel (1.0.1)
activesupport (~> 3.0.0)
builder (2.1.2)
i18n (0.4.1)
mocha (0.9.8)
mocha (0.9.9)
rake
rake (0.8.7)
sqlite3-ruby (1.3.1)
tzinfo (0.3.23)
sqlite3-ruby (1.3.2)

PLATFORMS
ruby

DEPENDENCIES
activerecord (~> 3.0.0)
activesupport (~> 3.0.0)
mocha
sqlite3-ruby
1 change: 0 additions & 1 deletion lib/i18n/backend.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module I18n
module Backend
autoload :ActiveRecord, 'i18n/backend/active_record'
autoload :Base, 'i18n/backend/base'
autoload :InterpolationCompiler, 'i18n/backend/interpolation_compiler'
autoload :Cache, 'i18n/backend/cache'
Expand Down
61 changes: 0 additions & 61 deletions lib/i18n/backend/active_record.rb

This file was deleted.

65 changes: 0 additions & 65 deletions lib/i18n/backend/active_record/missing.rb

This file was deleted.

38 changes: 0 additions & 38 deletions lib/i18n/backend/active_record/store_procs.rb

This file was deleted.

110 changes: 0 additions & 110 deletions lib/i18n/backend/active_record/translation.rb

This file was deleted.

Loading

0 comments on commit 197dace

Please sign in to comment.