store_base_sti_class 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/Appraisals +25 -0
  2. data/CHANGELOG +2 -0
  3. data/Gemfile +9 -0
  4. data/Gemfile.lock +45 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.rdoc +63 -0
  7. data/Rakefile +47 -0
  8. data/VERSION +1 -0
  9. data/db/storebasestiname_unittest.sql +0 -0
  10. data/gemfiles/rails_3.0.10.gemfile +11 -0
  11. data/gemfiles/rails_3.0.10.gemfile.lock +43 -0
  12. data/gemfiles/rails_3.0.11.gemfile +11 -0
  13. data/gemfiles/rails_3.0.11.gemfile.lock +43 -0
  14. data/gemfiles/rails_3.0.12.gemfile +11 -0
  15. data/gemfiles/rails_3.0.12.gemfile.lock +43 -0
  16. data/gemfiles/rails_3.0.3.gemfile +11 -0
  17. data/gemfiles/rails_3.0.3.gemfile.lock +43 -0
  18. data/gemfiles/rails_3.0.4.gemfile +11 -0
  19. data/gemfiles/rails_3.0.4.gemfile.lock +43 -0
  20. data/gemfiles/rails_3.0.5.gemfile +11 -0
  21. data/gemfiles/rails_3.0.5.gemfile.lock +43 -0
  22. data/gemfiles/rails_3.0.6.gemfile +11 -0
  23. data/gemfiles/rails_3.0.6.gemfile.lock +43 -0
  24. data/gemfiles/rails_3.0.7.gemfile +11 -0
  25. data/gemfiles/rails_3.0.7.gemfile.lock +43 -0
  26. data/gemfiles/rails_3.0.8.gemfile +11 -0
  27. data/gemfiles/rails_3.0.8.gemfile.lock +43 -0
  28. data/gemfiles/rails_3.0.9.gemfile +11 -0
  29. data/gemfiles/rails_3.0.9.gemfile.lock +43 -0
  30. data/gemfiles/rails_3.1.0.gemfile +11 -0
  31. data/gemfiles/rails_3.1.0.gemfile.lock +47 -0
  32. data/gemfiles/rails_3.1.1.gemfile +11 -0
  33. data/gemfiles/rails_3.1.1.gemfile.lock +45 -0
  34. data/gemfiles/rails_3.1.2.gemfile +11 -0
  35. data/gemfiles/rails_3.1.2.gemfile.lock +45 -0
  36. data/gemfiles/rails_3.1.3.gemfile +11 -0
  37. data/gemfiles/rails_3.1.3.gemfile.lock +45 -0
  38. data/gemfiles/rails_3.1.4.gemfile +11 -0
  39. data/gemfiles/rails_3.1.4.gemfile.lock +45 -0
  40. data/gemfiles/rails_3.2.0.gemfile +11 -0
  41. data/gemfiles/rails_3.2.0.gemfile.lock +45 -0
  42. data/gemfiles/rails_3.2.1.gemfile +11 -0
  43. data/gemfiles/rails_3.2.1.gemfile.lock +45 -0
  44. data/gemfiles/rails_3.2.2.gemfile +11 -0
  45. data/gemfiles/rails_3.2.2.gemfile.lock +45 -0
  46. data/gemfiles/rails_3.2.3.gemfile +11 -0
  47. data/gemfiles/rails_3.2.3.gemfile.lock +45 -0
  48. data/lib/store_base_sti_class.rb +7 -0
  49. data/lib/store_base_sti_class_for_3_0.rb +470 -0
  50. data/lib/store_base_sti_class_for_3_1_and_above.rb +304 -0
  51. data/store_base_sti_class.gemspec +111 -0
  52. data/storebasestiname_unittest.sql +0 -0
  53. data/test/connection.rb +22 -0
  54. data/test/helper.rb +63 -0
  55. data/test/models.rb +48 -0
  56. data/test/schema.rb +35 -0
  57. data/test/test_store_base_sti_class.rb +161 -0
  58. metadata +205 -0
data/Appraisals ADDED
@@ -0,0 +1,25 @@
1
+ RAILS_VERSIONS = [
2
+ "3.0.5",
3
+ "3.0.6",
4
+ "3.0.7",
5
+ "3.0.8",
6
+ "3.0.9",
7
+ "3.0.10",
8
+ "3.0.11",
9
+ "3.0.12",
10
+ "3.1.0",
11
+ "3.1.2",
12
+ "3.1.3",
13
+ "3.1.4",
14
+ "3.2.0",
15
+ "3.2.1",
16
+ "3.2.2",
17
+ "3.2.3"
18
+ ]
19
+
20
+ RAILS_VERSIONS.each do |version|
21
+ appraise "rails_#{version}" do
22
+ gem "activerecord", version
23
+ end
24
+ end
25
+
data/CHANGELOG ADDED
@@ -0,0 +1,2 @@
1
+ 0.0.1
2
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source :rubygems
2
+
3
+ gem 'appraisal'
4
+ gem 'activerecord'
5
+ gem 'sqlite3'
6
+
7
+ gem "jeweler", :group => :development
8
+ gem "rcov", ">= 0", :group => :development
9
+ gem "bundler", :group => :development
data/Gemfile.lock ADDED
@@ -0,0 +1,45 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.2.3)
5
+ activesupport (= 3.2.3)
6
+ builder (~> 3.0.0)
7
+ activerecord (3.2.3)
8
+ activemodel (= 3.2.3)
9
+ activesupport (= 3.2.3)
10
+ arel (~> 3.0.2)
11
+ tzinfo (~> 0.3.29)
12
+ activesupport (3.2.3)
13
+ i18n (~> 0.6)
14
+ multi_json (~> 1.0)
15
+ appraisal (0.4.1)
16
+ bundler
17
+ rake
18
+ arel (3.0.2)
19
+ builder (3.0.0)
20
+ git (1.2.5)
21
+ i18n (0.6.0)
22
+ jeweler (1.8.3)
23
+ bundler (~> 1.0)
24
+ git (>= 1.2.5)
25
+ rake
26
+ rdoc
27
+ json (1.7.1)
28
+ multi_json (1.3.4)
29
+ rake (0.9.2.2)
30
+ rcov (1.0.0)
31
+ rdoc (3.12)
32
+ json (~> 1.4)
33
+ sqlite3 (1.3.6)
34
+ tzinfo (0.3.33)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ activerecord
41
+ appraisal
42
+ bundler
43
+ jeweler
44
+ rcov
45
+ sqlite3
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 AppFolio, inc.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,63 @@
1
+ == Description
2
+
3
+ Given the following class definitions,
4
+
5
+ class Address
6
+ belongs_to :addressable, :polymorphic => true
7
+ end
8
+
9
+ class Person
10
+ has_many :addresses, :as => addressable
11
+ end
12
+
13
+ class Vendor < Person
14
+ end
15
+
16
+ and given the following code,
17
+
18
+ vendor = Vendor.create(...)
19
+ address = vendor.addresses.create(...)
20
+
21
+ p vendor
22
+ p address
23
+
24
+ will output,
25
+
26
+ #<Vendor id: 1, type: "Vendor" ...>
27
+ #<Address id: 1, addressable_id: 1, addressable_type: 'Person' ...>
28
+
29
+ Notice that addressable_type column is Person even though the actual class is Vendor.
30
+
31
+ Normally, this isn't a problem, however it can have negative performance characteristic in certain circumstances. The most obvious one is that
32
+ a join with persons or an extra query is required to find out the actual type of addressable.
33
+
34
+ This gem add ActiveRecord::Base.store_base_sti_class configuration option. It defaults to true for backwards compatibility. Setting it false will alter ActiveRecord's behavior to store the actual class in polymorphic _type columns when STI is used.
35
+
36
+ In the example above, if the ActiveRecord::Base.store_base_sti_class is false, the output will be,
37
+
38
+ #<Vendor id: 1, type: "Vendor" ...>
39
+ #<Address id: 1, addressable_id: 1, addressable_type: 'Vendor' ...>
40
+
41
+ == Usage
42
+
43
+ Add the following line to your Gemfile,
44
+
45
+ gem 'store_base_sti_class'
46
+
47
+ then bundle install. Once you have the gem installed, add the following to one of the initializers (or make a new one) in config/initializers,
48
+
49
+ ActiveRecord::Base.store_base_sti_class = false
50
+
51
+ When changing this behavior you will have write a migration to update all of your existing _type columns accordingly. You may also need to change your application if it explicitly relies on the _type columns.
52
+
53
+ == Notes
54
+
55
+ This gem incorporates the work from https://github.com/pkmiec/store_base_sti_class_for_3_0, https://github.com/appfolio/store_base_sti_class_for_3_1, and incorporating changes from https://github.com/Lovethis/store_base_sti_class_for_3_1
56
+
57
+ It currently works with ActiveRecord 3.0.5 through 3.2.3.
58
+
59
+ == Copyright
60
+
61
+ Copyright (c) 2011 AppFolio, inc. See LICENSE.txt for
62
+ further details.
63
+
data/Rakefile ADDED
@@ -0,0 +1,47 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+
4
+ require 'appraisal'
5
+
6
+ begin
7
+ Bundler.setup(:default, :development)
8
+ rescue Bundler::BundlerError => e
9
+ $stderr.puts e.message
10
+ $stderr.puts "Run `bundle install` to install missing gems"
11
+ exit e.status_code
12
+ end
13
+ require 'rake'
14
+
15
+ require 'jeweler'
16
+ Jeweler::Tasks.new do |gem|
17
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
18
+ gem.name = "store_base_sti_class"
19
+ gem.homepage = "http://github.com/appfolio/store_base_sti_class"
20
+ gem.license = "MIT"
21
+ gem.summary = %Q{
22
+ Modifies ActiveRecord 3.0.5+ with the ability to store the actual class (instead of the base class) in polymorhic _type columns when using STI
23
+ }
24
+ gem.description = %Q{
25
+ ActiveRecord has always stored the base class in polymorphic _type columns when using STI. This can have non-trivial
26
+ performance implications in certain cases. This gem adds 'store_base_sti_class' configuration options which controls
27
+ whether ActiveRecord will store the base class or the actual class. Default to true for backwards compatibility.
28
+ }
29
+ gem.email = "andrew.mutz@appfolio.com"
30
+ gem.authors = ["Andrew Mutz"]
31
+
32
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
33
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
34
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
35
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
36
+ end
37
+ Jeweler::RubygemsDotOrgTasks.new
38
+
39
+ require 'rake/testtask'
40
+ Rake::TestTask.new(:test) do |test|
41
+ test.libs << 'lib' << 'test'
42
+ test.pattern = 'test/**/test_*.rb'
43
+ test.verbose = true
44
+ end
45
+
46
+ task :default => :test
47
+
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.1
Binary file
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.0.10"
11
+
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.10)
5
+ activesupport (= 3.0.10)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.5.0)
8
+ activerecord (3.0.10)
9
+ activemodel (= 3.0.10)
10
+ activesupport (= 3.0.10)
11
+ arel (~> 2.0.10)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.10)
14
+ appraisal (0.4.1)
15
+ bundler
16
+ rake
17
+ arel (2.0.10)
18
+ builder (2.1.2)
19
+ git (1.2.5)
20
+ i18n (0.5.0)
21
+ jeweler (1.8.3)
22
+ bundler (~> 1.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ rdoc
26
+ json (1.7.1)
27
+ rake (0.9.2.2)
28
+ rcov (1.0.0)
29
+ rdoc (3.12)
30
+ json (~> 1.4)
31
+ sqlite3 (1.3.6)
32
+ tzinfo (0.3.33)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ activerecord (= 3.0.10)
39
+ appraisal
40
+ bundler
41
+ jeweler
42
+ rcov
43
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.0.11"
11
+
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.11)
5
+ activesupport (= 3.0.11)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.5.0)
8
+ activerecord (3.0.11)
9
+ activemodel (= 3.0.11)
10
+ activesupport (= 3.0.11)
11
+ arel (~> 2.0.10)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.11)
14
+ appraisal (0.4.1)
15
+ bundler
16
+ rake
17
+ arel (2.0.10)
18
+ builder (2.1.2)
19
+ git (1.2.5)
20
+ i18n (0.5.0)
21
+ jeweler (1.8.3)
22
+ bundler (~> 1.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ rdoc
26
+ json (1.7.1)
27
+ rake (0.9.2.2)
28
+ rcov (1.0.0)
29
+ rdoc (3.12)
30
+ json (~> 1.4)
31
+ sqlite3 (1.3.6)
32
+ tzinfo (0.3.33)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ activerecord (= 3.0.11)
39
+ appraisal
40
+ bundler
41
+ jeweler
42
+ rcov
43
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.0.12"
11
+
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.12)
5
+ activesupport (= 3.0.12)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.5.0)
8
+ activerecord (3.0.12)
9
+ activemodel (= 3.0.12)
10
+ activesupport (= 3.0.12)
11
+ arel (~> 2.0.10)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.12)
14
+ appraisal (0.4.1)
15
+ bundler
16
+ rake
17
+ arel (2.0.10)
18
+ builder (2.1.2)
19
+ git (1.2.5)
20
+ i18n (0.5.0)
21
+ jeweler (1.8.3)
22
+ bundler (~> 1.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ rdoc
26
+ json (1.7.1)
27
+ rake (0.9.2.2)
28
+ rcov (1.0.0)
29
+ rdoc (3.12)
30
+ json (~> 1.4)
31
+ sqlite3 (1.3.6)
32
+ tzinfo (0.3.33)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ activerecord (= 3.0.12)
39
+ appraisal
40
+ bundler
41
+ jeweler
42
+ rcov
43
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.0.3"
11
+
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.3)
5
+ activesupport (= 3.0.3)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.4)
8
+ activerecord (3.0.3)
9
+ activemodel (= 3.0.3)
10
+ activesupport (= 3.0.3)
11
+ arel (~> 2.0.2)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.3)
14
+ appraisal (0.4.1)
15
+ bundler
16
+ rake
17
+ arel (2.0.10)
18
+ builder (2.1.2)
19
+ git (1.2.5)
20
+ i18n (0.6.0)
21
+ jeweler (1.8.3)
22
+ bundler (~> 1.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ rdoc
26
+ json (1.7.1)
27
+ rake (0.9.2.2)
28
+ rcov (1.0.0)
29
+ rdoc (3.12)
30
+ json (~> 1.4)
31
+ sqlite3 (1.3.6)
32
+ tzinfo (0.3.33)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ activerecord (= 3.0.3)
39
+ appraisal
40
+ bundler
41
+ jeweler
42
+ rcov
43
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.0.4"
11
+
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.4)
5
+ activesupport (= 3.0.4)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.4)
8
+ activerecord (3.0.4)
9
+ activemodel (= 3.0.4)
10
+ activesupport (= 3.0.4)
11
+ arel (~> 2.0.2)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.4)
14
+ appraisal (0.4.1)
15
+ bundler
16
+ rake
17
+ arel (2.0.10)
18
+ builder (2.1.2)
19
+ git (1.2.5)
20
+ i18n (0.6.0)
21
+ jeweler (1.8.3)
22
+ bundler (~> 1.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ rdoc
26
+ json (1.7.1)
27
+ rake (0.9.2.2)
28
+ rcov (1.0.0)
29
+ rdoc (3.12)
30
+ json (~> 1.4)
31
+ sqlite3 (1.3.6)
32
+ tzinfo (0.3.33)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ activerecord (= 3.0.4)
39
+ appraisal
40
+ bundler
41
+ jeweler
42
+ rcov
43
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.0.5"
11
+
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.5)
5
+ activesupport (= 3.0.5)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.4)
8
+ activerecord (3.0.5)
9
+ activemodel (= 3.0.5)
10
+ activesupport (= 3.0.5)
11
+ arel (~> 2.0.2)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.5)
14
+ appraisal (0.4.1)
15
+ bundler
16
+ rake
17
+ arel (2.0.10)
18
+ builder (2.1.2)
19
+ git (1.2.5)
20
+ i18n (0.6.0)
21
+ jeweler (1.8.3)
22
+ bundler (~> 1.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ rdoc
26
+ json (1.7.1)
27
+ rake (0.9.2.2)
28
+ rcov (1.0.0)
29
+ rdoc (3.12)
30
+ json (~> 1.4)
31
+ sqlite3 (1.3.6)
32
+ tzinfo (0.3.33)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ activerecord (= 3.0.5)
39
+ appraisal
40
+ bundler
41
+ jeweler
42
+ rcov
43
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.0.6"
11
+
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.6)
5
+ activesupport (= 3.0.6)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.5.0)
8
+ activerecord (3.0.6)
9
+ activemodel (= 3.0.6)
10
+ activesupport (= 3.0.6)
11
+ arel (~> 2.0.2)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.6)
14
+ appraisal (0.4.1)
15
+ bundler
16
+ rake
17
+ arel (2.0.10)
18
+ builder (2.1.2)
19
+ git (1.2.5)
20
+ i18n (0.5.0)
21
+ jeweler (1.8.3)
22
+ bundler (~> 1.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ rdoc
26
+ json (1.7.1)
27
+ rake (0.9.2.2)
28
+ rcov (1.0.0)
29
+ rdoc (3.12)
30
+ json (~> 1.4)
31
+ sqlite3 (1.3.6)
32
+ tzinfo (0.3.33)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ activerecord (= 3.0.6)
39
+ appraisal
40
+ bundler
41
+ jeweler
42
+ rcov
43
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.0.7"
11
+
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.7)
5
+ activesupport (= 3.0.7)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.5.0)
8
+ activerecord (3.0.7)
9
+ activemodel (= 3.0.7)
10
+ activesupport (= 3.0.7)
11
+ arel (~> 2.0.2)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.7)
14
+ appraisal (0.4.1)
15
+ bundler
16
+ rake
17
+ arel (2.0.10)
18
+ builder (2.1.2)
19
+ git (1.2.5)
20
+ i18n (0.5.0)
21
+ jeweler (1.8.3)
22
+ bundler (~> 1.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ rdoc
26
+ json (1.7.1)
27
+ rake (0.9.2.2)
28
+ rcov (1.0.0)
29
+ rdoc (3.12)
30
+ json (~> 1.4)
31
+ sqlite3 (1.3.6)
32
+ tzinfo (0.3.33)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ activerecord (= 3.0.7)
39
+ appraisal
40
+ bundler
41
+ jeweler
42
+ rcov
43
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.0.8"
11
+