store_base_sti_class 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,8 +1,9 @@
1
1
  source :rubygems
2
2
 
3
- gem 'appraisal'
4
3
  gem 'activerecord'
5
- gem 'sqlite3'
4
+
5
+ gem 'sqlite3', :group => :development
6
+ gem 'appraisal', :group => :development
6
7
 
7
8
  gem "jeweler", :group => :development
8
9
  gem "rcov", ">= 0", :group => :development
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
Binary file
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "store_base_sti_class"
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrew Mutz"]
12
- s.date = "2012-05-09"
12
+ s.date = "2012-05-11"
13
13
  s.description = "\n ActiveRecord has always stored the base class in polymorphic _type columns when using STI. This can have non-trivial\n performance implications in certain cases. This gem adds 'store_base_sti_class' configuration options which controls\n whether ActiveRecord will store the base class or the actual class. Default to true for backwards compatibility.\n "
14
14
  s.email = "andrew.mutz@appfolio.com"
15
15
  s.extra_rdoc_files = [
@@ -68,7 +68,6 @@ Gem::Specification.new do |s|
68
68
  "lib/store_base_sti_class_for_3_0.rb",
69
69
  "lib/store_base_sti_class_for_3_1_and_above.rb",
70
70
  "store_base_sti_class.gemspec",
71
- "storebasestiname_unittest.sql",
72
71
  "test/connection.rb",
73
72
  "test/helper.rb",
74
73
  "test/models.rb",
@@ -85,24 +84,24 @@ Gem::Specification.new do |s|
85
84
  s.specification_version = 3
86
85
 
87
86
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
88
- s.add_runtime_dependency(%q<appraisal>, [">= 0"])
89
87
  s.add_runtime_dependency(%q<activerecord>, [">= 0"])
90
- s.add_runtime_dependency(%q<sqlite3>, [">= 0"])
88
+ s.add_development_dependency(%q<sqlite3>, [">= 0"])
89
+ s.add_development_dependency(%q<appraisal>, [">= 0"])
91
90
  s.add_development_dependency(%q<jeweler>, [">= 0"])
92
91
  s.add_development_dependency(%q<rcov>, [">= 0"])
93
92
  s.add_development_dependency(%q<bundler>, [">= 0"])
94
93
  else
95
- s.add_dependency(%q<appraisal>, [">= 0"])
96
94
  s.add_dependency(%q<activerecord>, [">= 0"])
97
95
  s.add_dependency(%q<sqlite3>, [">= 0"])
96
+ s.add_dependency(%q<appraisal>, [">= 0"])
98
97
  s.add_dependency(%q<jeweler>, [">= 0"])
99
98
  s.add_dependency(%q<rcov>, [">= 0"])
100
99
  s.add_dependency(%q<bundler>, [">= 0"])
101
100
  end
102
101
  else
103
- s.add_dependency(%q<appraisal>, [">= 0"])
104
102
  s.add_dependency(%q<activerecord>, [">= 0"])
105
103
  s.add_dependency(%q<sqlite3>, [">= 0"])
104
+ s.add_dependency(%q<appraisal>, [">= 0"])
106
105
  s.add_dependency(%q<jeweler>, [">= 0"])
107
106
  s.add_dependency(%q<rcov>, [">= 0"])
108
107
  s.add_dependency(%q<bundler>, [">= 0"])
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: store_base_sti_class
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Mutz
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-09 00:00:00 Z
18
+ date: 2012-05-11 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  type: :runtime
@@ -29,10 +29,10 @@ dependencies:
29
29
  - 0
30
30
  version: "0"
31
31
  version_requirements: *id001
32
- name: appraisal
32
+ name: activerecord
33
33
  prerelease: false
34
34
  - !ruby/object:Gem::Dependency
35
- type: :runtime
35
+ type: :development
36
36
  requirement: &id002 !ruby/object:Gem::Requirement
37
37
  none: false
38
38
  requirements:
@@ -43,10 +43,10 @@ dependencies:
43
43
  - 0
44
44
  version: "0"
45
45
  version_requirements: *id002
46
- name: activerecord
46
+ name: sqlite3
47
47
  prerelease: false
48
48
  - !ruby/object:Gem::Dependency
49
- type: :runtime
49
+ type: :development
50
50
  requirement: &id003 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
@@ -57,7 +57,7 @@ dependencies:
57
57
  - 0
58
58
  version: "0"
59
59
  version_requirements: *id003
60
- name: sqlite3
60
+ name: appraisal
61
61
  prerelease: false
62
62
  - !ruby/object:Gem::Dependency
63
63
  type: :development
@@ -162,7 +162,6 @@ files:
162
162
  - lib/store_base_sti_class_for_3_0.rb
163
163
  - lib/store_base_sti_class_for_3_1_and_above.rb
164
164
  - store_base_sti_class.gemspec
165
- - storebasestiname_unittest.sql
166
165
  - test/connection.rb
167
166
  - test/helper.rb
168
167
  - test/models.rb
Binary file