store_base_sti_class 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/Appraisals +10 -0
  3. data/Gemfile.lock +15 -14
  4. data/gemfiles/rails_4.2.10.gemfile +7 -0
  5. data/gemfiles/rails_4.2.9.gemfile +7 -0
  6. data/gemfiles/rails_5.0.4.gemfile +7 -0
  7. data/gemfiles/rails_5.0.5.gemfile +7 -0
  8. data/gemfiles/rails_5.0.6.gemfile +7 -0
  9. data/gemfiles/rails_5.1.2.gemfile +7 -0
  10. data/gemfiles/rails_5.1.3.gemfile +7 -0
  11. data/gemfiles/rails_5.1.4.gemfile +7 -0
  12. data/gemfiles/rails_5.1.5.gemfile +7 -0
  13. data/gemfiles/rails_5.2.0.gemfile +7 -0
  14. data/lib/store_base_sti_class.rb +2 -0
  15. data/lib/store_base_sti_class/version.rb +1 -1
  16. data/lib/store_base_sti_class_for_5_2.rb +155 -0
  17. data/store_base_sti_class-1.1.0.gem +0 -0
  18. metadata +15 -100
  19. data/debug.log +0 -53835
  20. data/gemfiles/rails_3.0.10.gemfile.lock +0 -45
  21. data/gemfiles/rails_3.0.11.gemfile.lock +0 -45
  22. data/gemfiles/rails_3.0.12.gemfile.lock +0 -45
  23. data/gemfiles/rails_3.0.13.gemfile.lock +0 -45
  24. data/gemfiles/rails_3.0.14.gemfile.lock +0 -45
  25. data/gemfiles/rails_3.0.15.gemfile.lock +0 -45
  26. data/gemfiles/rails_3.0.16.gemfile.lock +0 -45
  27. data/gemfiles/rails_3.0.17.gemfile.lock +0 -45
  28. data/gemfiles/rails_3.0.18.gemfile.lock +0 -45
  29. data/gemfiles/rails_3.0.19.gemfile.lock +0 -45
  30. data/gemfiles/rails_3.0.20.gemfile.lock +0 -45
  31. data/gemfiles/rails_3.0.5.gemfile.lock +0 -45
  32. data/gemfiles/rails_3.0.6.gemfile.lock +0 -45
  33. data/gemfiles/rails_3.0.7.gemfile.lock +0 -45
  34. data/gemfiles/rails_3.0.8.gemfile.lock +0 -45
  35. data/gemfiles/rails_3.0.9.gemfile.lock +0 -45
  36. data/gemfiles/rails_3.1.0.gemfile.lock +0 -49
  37. data/gemfiles/rails_3.1.10.gemfile.lock +0 -47
  38. data/gemfiles/rails_3.1.11.gemfile.lock +0 -47
  39. data/gemfiles/rails_3.1.12.gemfile.lock +0 -47
  40. data/gemfiles/rails_3.1.2.gemfile.lock +0 -47
  41. data/gemfiles/rails_3.1.3.gemfile.lock +0 -47
  42. data/gemfiles/rails_3.1.4.gemfile.lock +0 -47
  43. data/gemfiles/rails_3.1.5.gemfile.lock +0 -47
  44. data/gemfiles/rails_3.1.6.gemfile.lock +0 -47
  45. data/gemfiles/rails_3.1.7.gemfile.lock +0 -47
  46. data/gemfiles/rails_3.1.8.gemfile.lock +0 -47
  47. data/gemfiles/rails_3.1.9.gemfile.lock +0 -47
  48. data/gemfiles/rails_3.2.0.gemfile.lock +0 -47
  49. data/gemfiles/rails_3.2.1.gemfile.lock +0 -47
  50. data/gemfiles/rails_3.2.10.gemfile.lock +0 -47
  51. data/gemfiles/rails_3.2.11.gemfile.lock +0 -47
  52. data/gemfiles/rails_3.2.12.gemfile.lock +0 -47
  53. data/gemfiles/rails_3.2.13.gemfile.lock +0 -47
  54. data/gemfiles/rails_3.2.14.gemfile.lock +0 -44
  55. data/gemfiles/rails_3.2.15.gemfile.lock +0 -47
  56. data/gemfiles/rails_3.2.16.gemfile.lock +0 -47
  57. data/gemfiles/rails_3.2.17.gemfile.lock +0 -47
  58. data/gemfiles/rails_3.2.18.gemfile.lock +0 -47
  59. data/gemfiles/rails_3.2.19.gemfile.lock +0 -47
  60. data/gemfiles/rails_3.2.2.gemfile.lock +0 -47
  61. data/gemfiles/rails_3.2.20.gemfile.lock +0 -47
  62. data/gemfiles/rails_3.2.21.gemfile.lock +0 -47
  63. data/gemfiles/rails_3.2.22.gemfile.lock +0 -47
  64. data/gemfiles/rails_3.2.3.gemfile.lock +0 -47
  65. data/gemfiles/rails_3.2.4.gemfile.lock +0 -47
  66. data/gemfiles/rails_3.2.5.gemfile.lock +0 -47
  67. data/gemfiles/rails_3.2.6.gemfile.lock +0 -47
  68. data/gemfiles/rails_3.2.7.gemfile.lock +0 -47
  69. data/gemfiles/rails_3.2.8.gemfile.lock +0 -47
  70. data/gemfiles/rails_3.2.9.gemfile.lock +0 -47
  71. data/gemfiles/rails_4.0.0.gemfile.lock +0 -49
  72. data/gemfiles/rails_4.0.1.gemfile.lock +0 -49
  73. data/gemfiles/rails_4.0.10.gemfile.lock +0 -49
  74. data/gemfiles/rails_4.0.11.1.gemfile.lock +0 -49
  75. data/gemfiles/rails_4.0.11.gemfile.lock +0 -49
  76. data/gemfiles/rails_4.0.12.gemfile.lock +0 -49
  77. data/gemfiles/rails_4.0.13.gemfile.lock +0 -49
  78. data/gemfiles/rails_4.0.2.gemfile.lock +0 -49
  79. data/gemfiles/rails_4.0.3.gemfile.lock +0 -49
  80. data/gemfiles/rails_4.0.4.gemfile.lock +0 -49
  81. data/gemfiles/rails_4.0.5.gemfile.lock +0 -49
  82. data/gemfiles/rails_4.0.6.gemfile.lock +0 -49
  83. data/gemfiles/rails_4.0.7.gemfile.lock +0 -49
  84. data/gemfiles/rails_4.0.8.gemfile.lock +0 -49
  85. data/gemfiles/rails_4.0.9.gemfile.lock +0 -49
  86. data/gemfiles/rails_4.1.0.gemfile.lock +0 -48
  87. data/gemfiles/rails_4.1.1.gemfile.lock +0 -48
  88. data/gemfiles/rails_4.1.10.gemfile.lock +0 -48
  89. data/gemfiles/rails_4.1.11.gemfile.lock +0 -48
  90. data/gemfiles/rails_4.1.12.gemfile.lock +0 -48
  91. data/gemfiles/rails_4.1.13.gemfile.lock +0 -48
  92. data/gemfiles/rails_4.1.14.1.gemfile.lock +0 -48
  93. data/gemfiles/rails_4.1.14.2.gemfile.lock +0 -48
  94. data/gemfiles/rails_4.1.14.gemfile.lock +0 -48
  95. data/gemfiles/rails_4.1.15.gemfile.lock +0 -48
  96. data/gemfiles/rails_4.1.2.gemfile.lock +0 -48
  97. data/gemfiles/rails_4.1.3.gemfile.lock +0 -48
  98. data/gemfiles/rails_4.1.4.gemfile.lock +0 -48
  99. data/gemfiles/rails_4.1.5.gemfile.lock +0 -48
  100. data/gemfiles/rails_4.1.6.gemfile.lock +0 -48
  101. data/gemfiles/rails_4.1.7.1.gemfile.lock +0 -48
  102. data/gemfiles/rails_4.1.7.gemfile.lock +0 -48
  103. data/gemfiles/rails_4.1.8.gemfile.lock +0 -48
  104. data/gemfiles/rails_4.1.9.gemfile.lock +0 -48
  105. data/gemfiles/rails_4.2.0.gemfile.lock +0 -48
  106. data/gemfiles/rails_4.2.1.gemfile.lock +0 -48
  107. data/gemfiles/rails_4.2.2.gemfile.lock +0 -48
  108. data/gemfiles/rails_4.2.3.gemfile.lock +0 -48
  109. data/gemfiles/rails_4.2.4.gemfile.lock +0 -48
  110. data/gemfiles/rails_4.2.5.1.gemfile.lock +0 -48
  111. data/gemfiles/rails_4.2.5.2.gemfile.lock +0 -48
  112. data/gemfiles/rails_4.2.5.gemfile.lock +0 -48
  113. data/gemfiles/rails_4.2.6.gemfile.lock +0 -48
  114. data/gemfiles/rails_5.0.1.gemfile.lock +0 -48
  115. data/storebasestiname_unittest.sql +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82287e5bc596474535ed2f815cb34cbfe2abb089
4
- data.tar.gz: 3f1999f09ccaa5f380cb4230f4cba6eb81c2dc2e
3
+ metadata.gz: aabffbc0536524e6c2a17e341a8959ce740b8c46
4
+ data.tar.gz: f9d1c2edbd97b6e0971abcb5eb0b567ec0c0350b
5
5
  SHA512:
6
- metadata.gz: fccef96be8809df757d5936781d2fe4811b5d4fd56d5b53fd026448c35d86288f4c10327b1562b4478e360f7e38f2c8406a7b3995b2364ffff05cfaf231b8d00
7
- data.tar.gz: 94e2b0a7c09cfcd051f791077636c9d0301687cd713ce0d899efc39994fbf07e5604e9f38a3ecd02ec008774f43694f5ed354103983e193fc1d7e0f25bade606
6
+ metadata.gz: 25f4895ee9da5799f5ba11d65dc831c7c8fdfe07ce169eb74c471a50345674028bb57d8e15e8a56a37e71d18d365a4b457ea3f03d57111a2b3561915ce935607
7
+ data.tar.gz: 9cab2026fa30b27d2901ad0574d0cf478405dce07068298a7f77f595959dd17dcba8c66936c3125a7822ee1b58e2af168ba5e2aad359cf71704456b1a9bd5717
data/Appraisals CHANGED
@@ -45,13 +45,23 @@ RAILS_VERSIONS = %w(
45
45
  4.2.7
46
46
  4.2.7.1
47
47
  4.2.8
48
+ 4.2.9
49
+ 4.2.10
48
50
  5.0.0
49
51
  5.0.0.1
50
52
  5.0.1
51
53
  5.0.2
52
54
  5.0.3
55
+ 5.0.4
56
+ 5.0.5
57
+ 5.0.6
53
58
  5.1.0
54
59
  5.1.1
60
+ 5.1.2
61
+ 5.1.3
62
+ 5.1.4
63
+ 5.1.5
64
+ 5.2.0
55
65
  )
56
66
 
57
67
  RAILS_VERSIONS.each do |version|
@@ -7,30 +7,31 @@ PATH
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (5.1.1)
11
- activesupport (= 5.1.1)
12
- activerecord (5.1.1)
13
- activemodel (= 5.1.1)
14
- activesupport (= 5.1.1)
10
+ activemodel (5.1.4)
11
+ activesupport (= 5.1.4)
12
+ activerecord (5.1.4)
13
+ activemodel (= 5.1.4)
14
+ activesupport (= 5.1.4)
15
15
  arel (~> 8.0)
16
- activesupport (5.1.1)
16
+ activesupport (5.1.4)
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
18
  i18n (~> 0.7)
19
19
  minitest (~> 5.1)
20
20
  tzinfo (~> 1.1)
21
- appraisal (2.1.0)
21
+ appraisal (2.2.0)
22
22
  bundler
23
23
  rake
24
24
  thor (>= 0.14.0)
25
25
  arel (8.0.0)
26
26
  concurrent-ruby (1.0.5)
27
- i18n (0.8.1)
28
- minitest (5.8.4)
29
- rake (11.1.2)
30
- sqlite3 (1.3.11)
31
- thor (0.19.1)
27
+ i18n (0.9.5)
28
+ concurrent-ruby (~> 1.0)
29
+ minitest (5.11.1)
30
+ rake (12.3.1)
31
+ sqlite3 (1.3.13)
32
+ thor (0.20.0)
32
33
  thread_safe (0.3.6)
33
- tzinfo (1.2.3)
34
+ tzinfo (1.2.5)
34
35
  thread_safe (~> 0.1)
35
36
 
36
37
  PLATFORMS
@@ -44,4 +45,4 @@ DEPENDENCIES
44
45
  store_base_sti_class!
45
46
 
46
47
  BUNDLED WITH
47
- 1.14.6
48
+ 1.16.1
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "4.2.10"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "4.2.9"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.0.4"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.0.5"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.0.6"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.1.2"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.1.3"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.1.4"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.1.5"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.2.0"
6
+
7
+ gemspec :path => "../"
@@ -10,6 +10,8 @@ elsif ActiveRecord::VERSION::STRING =~ /^5\.0/
10
10
  require 'store_base_sti_class_for_5_0'
11
11
  elsif ActiveRecord::VERSION::STRING =~ /^5\.1/
12
12
  require 'store_base_sti_class_for_5_1'
13
+ elsif ActiveRecord::VERSION::STRING =~ /^5\.2/
14
+ require 'store_base_sti_class_for_5_2'
13
15
  end
14
16
 
15
17
  module StoreBaseSTIClass
@@ -1,3 +1,3 @@
1
1
  module StoreBaseSTIClass
2
- VERSION = '1.1.0'.freeze
2
+ VERSION = '1.2.0'.freeze
3
3
  end
@@ -0,0 +1,155 @@
1
+ require 'active_record/associations/join_dependency/join_part'
2
+
3
+ if ActiveRecord::VERSION::STRING =~ /^5\.2/
4
+ module ActiveRecord
5
+
6
+ class Base
7
+ class_attribute :store_base_sti_class
8
+ self.store_base_sti_class = true
9
+ end
10
+
11
+ module Inheritance
12
+ module ClassMethods
13
+ def polymorphic_name
14
+ ActiveRecord::Base.store_base_sti_class ? base_class.name : name
15
+ end
16
+ end
17
+ end
18
+
19
+ module Associations
20
+ class Preloader
21
+ class ThroughAssociation < Association
22
+ private
23
+
24
+ def through_scope
25
+ scope = through_reflection.klass.unscoped
26
+ options = reflection.options
27
+
28
+ if options[:source_type]
29
+
30
+ # BEGIN PATCH
31
+ # original:
32
+ # scope.where! reflection.foreign_type => options[:source_type]
33
+
34
+ adjusted_foreign_type =
35
+ if ActiveRecord::Base.store_base_sti_class
36
+ options[:source_type]
37
+ else
38
+ ([options[:source_type].constantize] + options[:source_type].constantize.descendants).map(&:to_s)
39
+ end
40
+
41
+ scope.where! reflection.foreign_type => adjusted_foreign_type
42
+ # END PATCH
43
+
44
+ elsif !reflection_scope.where_clause.empty?
45
+ scope.where_clause = reflection_scope.where_clause
46
+ values = reflection_scope.values
47
+
48
+ if includes = values[:includes]
49
+ scope.includes!(source_reflection.name => includes)
50
+ else
51
+ scope.includes!(source_reflection.name)
52
+ end
53
+
54
+ if values[:references] && !values[:references].empty?
55
+ scope.references!(values[:references])
56
+ else
57
+ scope.references!(source_reflection.table_name)
58
+ end
59
+
60
+ if joins = values[:joins]
61
+ scope.joins!(source_reflection.name => joins)
62
+ end
63
+
64
+ if left_outer_joins = values[:left_outer_joins]
65
+ scope.left_outer_joins!(source_reflection.name => left_outer_joins)
66
+ end
67
+
68
+ if scope.eager_loading? && order_values = values[:order]
69
+ scope = scope.order(order_values)
70
+ end
71
+ end
72
+
73
+ scope unless scope.empty_scope?
74
+ end
75
+ end
76
+ end
77
+
78
+ class AssociationScope
79
+ private
80
+
81
+ def next_chain_scope(scope, reflection, next_reflection)
82
+ join_keys = reflection.join_keys
83
+ key = join_keys.key
84
+ foreign_key = join_keys.foreign_key
85
+
86
+ table = reflection.aliased_table
87
+ foreign_table = next_reflection.aliased_table
88
+ constraint = table[key].eq(foreign_table[foreign_key])
89
+
90
+ if reflection.type
91
+ # BEGIN PATCH
92
+ # original:
93
+ # value = transform_value(next_reflection.klass.polymorphic_name)
94
+ # scope = apply_scope(scope, table, reflection.type, value)
95
+ if ActiveRecord::Base.store_base_sti_class
96
+ value = transform_value(next_reflection.klass.polymorphic_name)
97
+ else
98
+ klass = next_reflection.klass
99
+ value = ([klass] + klass.descendants).map(&:name)
100
+ end
101
+ scope = apply_scope(scope, table, reflection.type, value)
102
+ # END PATCH
103
+ end
104
+
105
+ scope.joins!(join(foreign_table, constraint))
106
+ end
107
+
108
+ end
109
+
110
+ class HasManyThroughAssociation
111
+ private
112
+
113
+ def build_through_record(record)
114
+ @through_records[record.object_id] ||= begin
115
+ ensure_mutable
116
+
117
+ through_record = through_association.build(*options_for_through_record)
118
+ through_record.send("#{source_reflection.name}=", record)
119
+
120
+ # START PATCH
121
+ if ActiveRecord::Base.store_base_sti_class
122
+ if options[:source_type]
123
+ through_record.send("#{source_reflection.foreign_type}=", options[:source_type])
124
+ end
125
+ end
126
+ # END PATCH
127
+
128
+ through_record
129
+ end
130
+ end
131
+ end
132
+ end
133
+
134
+ module Reflection
135
+ class PolymorphicReflection
136
+ def source_type_scope
137
+ type = @previous_reflection.foreign_type
138
+ source_type = @previous_reflection.options[:source_type]
139
+
140
+ # START PATCH
141
+ adjusted_source_type =
142
+ if ActiveRecord::Base.store_base_sti_class
143
+ source_type
144
+ else
145
+ ([source_type.constantize] + source_type.constantize.descendants).map(&:to_s)
146
+ end
147
+ # END PATCH
148
+
149
+ lambda { |object| where(type => adjusted_source_type) }
150
+ end
151
+ end
152
+ end
153
+ end
154
+
155
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: store_base_sti_class
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AppFolio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-18 00:00:00.000000000 Z
11
+ date: 2018-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -98,155 +98,69 @@ files:
98
98
  - LICENSE.txt
99
99
  - README.md
100
100
  - Rakefile
101
- - debug.log
102
- - gemfiles/rails_3.0.10.gemfile.lock
103
- - gemfiles/rails_3.0.11.gemfile.lock
104
- - gemfiles/rails_3.0.12.gemfile.lock
105
- - gemfiles/rails_3.0.13.gemfile.lock
106
- - gemfiles/rails_3.0.14.gemfile.lock
107
- - gemfiles/rails_3.0.15.gemfile.lock
108
- - gemfiles/rails_3.0.16.gemfile.lock
109
- - gemfiles/rails_3.0.17.gemfile.lock
110
- - gemfiles/rails_3.0.18.gemfile.lock
111
- - gemfiles/rails_3.0.19.gemfile.lock
112
- - gemfiles/rails_3.0.20.gemfile.lock
113
- - gemfiles/rails_3.0.5.gemfile.lock
114
- - gemfiles/rails_3.0.6.gemfile.lock
115
- - gemfiles/rails_3.0.7.gemfile.lock
116
- - gemfiles/rails_3.0.8.gemfile.lock
117
- - gemfiles/rails_3.0.9.gemfile.lock
118
- - gemfiles/rails_3.1.0.gemfile.lock
119
- - gemfiles/rails_3.1.10.gemfile.lock
120
- - gemfiles/rails_3.1.11.gemfile.lock
121
- - gemfiles/rails_3.1.12.gemfile.lock
122
- - gemfiles/rails_3.1.2.gemfile.lock
123
- - gemfiles/rails_3.1.3.gemfile.lock
124
- - gemfiles/rails_3.1.4.gemfile.lock
125
- - gemfiles/rails_3.1.5.gemfile.lock
126
- - gemfiles/rails_3.1.6.gemfile.lock
127
- - gemfiles/rails_3.1.7.gemfile.lock
128
- - gemfiles/rails_3.1.8.gemfile.lock
129
- - gemfiles/rails_3.1.9.gemfile.lock
130
- - gemfiles/rails_3.2.0.gemfile.lock
131
- - gemfiles/rails_3.2.1.gemfile.lock
132
- - gemfiles/rails_3.2.10.gemfile.lock
133
- - gemfiles/rails_3.2.11.gemfile.lock
134
- - gemfiles/rails_3.2.12.gemfile.lock
135
- - gemfiles/rails_3.2.13.gemfile.lock
136
- - gemfiles/rails_3.2.14.gemfile.lock
137
- - gemfiles/rails_3.2.15.gemfile.lock
138
- - gemfiles/rails_3.2.16.gemfile.lock
139
- - gemfiles/rails_3.2.17.gemfile.lock
140
- - gemfiles/rails_3.2.18.gemfile.lock
141
- - gemfiles/rails_3.2.19.gemfile.lock
142
- - gemfiles/rails_3.2.2.gemfile.lock
143
- - gemfiles/rails_3.2.20.gemfile.lock
144
- - gemfiles/rails_3.2.21.gemfile.lock
145
- - gemfiles/rails_3.2.22.gemfile.lock
146
- - gemfiles/rails_3.2.3.gemfile.lock
147
- - gemfiles/rails_3.2.4.gemfile.lock
148
- - gemfiles/rails_3.2.5.gemfile.lock
149
- - gemfiles/rails_3.2.6.gemfile.lock
150
- - gemfiles/rails_3.2.7.gemfile.lock
151
- - gemfiles/rails_3.2.8.gemfile.lock
152
- - gemfiles/rails_3.2.9.gemfile.lock
153
101
  - gemfiles/rails_4.0.0.gemfile
154
- - gemfiles/rails_4.0.0.gemfile.lock
155
102
  - gemfiles/rails_4.0.1.gemfile
156
- - gemfiles/rails_4.0.1.gemfile.lock
157
103
  - gemfiles/rails_4.0.10.gemfile
158
- - gemfiles/rails_4.0.10.gemfile.lock
159
104
  - gemfiles/rails_4.0.11.1.gemfile
160
- - gemfiles/rails_4.0.11.1.gemfile.lock
161
105
  - gemfiles/rails_4.0.11.gemfile
162
- - gemfiles/rails_4.0.11.gemfile.lock
163
106
  - gemfiles/rails_4.0.12.gemfile
164
- - gemfiles/rails_4.0.12.gemfile.lock
165
107
  - gemfiles/rails_4.0.13.gemfile
166
- - gemfiles/rails_4.0.13.gemfile.lock
167
108
  - gemfiles/rails_4.0.2.gemfile
168
- - gemfiles/rails_4.0.2.gemfile.lock
169
109
  - gemfiles/rails_4.0.3.gemfile
170
- - gemfiles/rails_4.0.3.gemfile.lock
171
110
  - gemfiles/rails_4.0.4.gemfile
172
- - gemfiles/rails_4.0.4.gemfile.lock
173
111
  - gemfiles/rails_4.0.5.gemfile
174
- - gemfiles/rails_4.0.5.gemfile.lock
175
112
  - gemfiles/rails_4.0.6.gemfile
176
- - gemfiles/rails_4.0.6.gemfile.lock
177
113
  - gemfiles/rails_4.0.7.gemfile
178
- - gemfiles/rails_4.0.7.gemfile.lock
179
114
  - gemfiles/rails_4.0.8.gemfile
180
- - gemfiles/rails_4.0.8.gemfile.lock
181
115
  - gemfiles/rails_4.0.9.gemfile
182
- - gemfiles/rails_4.0.9.gemfile.lock
183
116
  - gemfiles/rails_4.1.0.gemfile
184
- - gemfiles/rails_4.1.0.gemfile.lock
185
117
  - gemfiles/rails_4.1.1.gemfile
186
- - gemfiles/rails_4.1.1.gemfile.lock
187
118
  - gemfiles/rails_4.1.10.gemfile
188
- - gemfiles/rails_4.1.10.gemfile.lock
189
119
  - gemfiles/rails_4.1.11.gemfile
190
- - gemfiles/rails_4.1.11.gemfile.lock
191
120
  - gemfiles/rails_4.1.12.gemfile
192
- - gemfiles/rails_4.1.12.gemfile.lock
193
121
  - gemfiles/rails_4.1.13.gemfile
194
- - gemfiles/rails_4.1.13.gemfile.lock
195
122
  - gemfiles/rails_4.1.14.1.gemfile
196
- - gemfiles/rails_4.1.14.1.gemfile.lock
197
123
  - gemfiles/rails_4.1.14.2.gemfile
198
- - gemfiles/rails_4.1.14.2.gemfile.lock
199
124
  - gemfiles/rails_4.1.14.gemfile
200
- - gemfiles/rails_4.1.14.gemfile.lock
201
125
  - gemfiles/rails_4.1.15.gemfile
202
- - gemfiles/rails_4.1.15.gemfile.lock
203
126
  - gemfiles/rails_4.1.2.gemfile
204
- - gemfiles/rails_4.1.2.gemfile.lock
205
127
  - gemfiles/rails_4.1.3.gemfile
206
- - gemfiles/rails_4.1.3.gemfile.lock
207
128
  - gemfiles/rails_4.1.4.gemfile
208
- - gemfiles/rails_4.1.4.gemfile.lock
209
129
  - gemfiles/rails_4.1.5.gemfile
210
- - gemfiles/rails_4.1.5.gemfile.lock
211
130
  - gemfiles/rails_4.1.6.gemfile
212
- - gemfiles/rails_4.1.6.gemfile.lock
213
131
  - gemfiles/rails_4.1.7.1.gemfile
214
- - gemfiles/rails_4.1.7.1.gemfile.lock
215
132
  - gemfiles/rails_4.1.7.gemfile
216
- - gemfiles/rails_4.1.7.gemfile.lock
217
133
  - gemfiles/rails_4.1.8.gemfile
218
- - gemfiles/rails_4.1.8.gemfile.lock
219
134
  - gemfiles/rails_4.1.9.gemfile
220
- - gemfiles/rails_4.1.9.gemfile.lock
221
135
  - gemfiles/rails_4.2.0.gemfile
222
- - gemfiles/rails_4.2.0.gemfile.lock
223
136
  - gemfiles/rails_4.2.1.gemfile
224
- - gemfiles/rails_4.2.1.gemfile.lock
137
+ - gemfiles/rails_4.2.10.gemfile
225
138
  - gemfiles/rails_4.2.2.gemfile
226
- - gemfiles/rails_4.2.2.gemfile.lock
227
139
  - gemfiles/rails_4.2.3.gemfile
228
- - gemfiles/rails_4.2.3.gemfile.lock
229
140
  - gemfiles/rails_4.2.4.gemfile
230
- - gemfiles/rails_4.2.4.gemfile.lock
231
141
  - gemfiles/rails_4.2.5.1.gemfile
232
- - gemfiles/rails_4.2.5.1.gemfile.lock
233
142
  - gemfiles/rails_4.2.5.2.gemfile
234
- - gemfiles/rails_4.2.5.2.gemfile.lock
235
143
  - gemfiles/rails_4.2.5.gemfile
236
- - gemfiles/rails_4.2.5.gemfile.lock
237
144
  - gemfiles/rails_4.2.6.gemfile
238
- - gemfiles/rails_4.2.6.gemfile.lock
239
145
  - gemfiles/rails_4.2.7.1.gemfile
240
146
  - gemfiles/rails_4.2.7.gemfile
241
147
  - gemfiles/rails_4.2.8.gemfile
148
+ - gemfiles/rails_4.2.9.gemfile
242
149
  - gemfiles/rails_5.0.0.1.gemfile
243
150
  - gemfiles/rails_5.0.0.gemfile
244
151
  - gemfiles/rails_5.0.1.gemfile
245
- - gemfiles/rails_5.0.1.gemfile.lock
246
152
  - gemfiles/rails_5.0.2.gemfile
247
153
  - gemfiles/rails_5.0.3.gemfile
154
+ - gemfiles/rails_5.0.4.gemfile
155
+ - gemfiles/rails_5.0.5.gemfile
156
+ - gemfiles/rails_5.0.6.gemfile
248
157
  - gemfiles/rails_5.1.0.gemfile
249
158
  - gemfiles/rails_5.1.1.gemfile
159
+ - gemfiles/rails_5.1.2.gemfile
160
+ - gemfiles/rails_5.1.3.gemfile
161
+ - gemfiles/rails_5.1.4.gemfile
162
+ - gemfiles/rails_5.1.5.gemfile
163
+ - gemfiles/rails_5.2.0.gemfile
250
164
  - lib/store_base_sti_class.rb
251
165
  - lib/store_base_sti_class/version.rb
252
166
  - lib/store_base_sti_class_for_4_0.rb
@@ -254,8 +168,9 @@ files:
254
168
  - lib/store_base_sti_class_for_4_2.rb
255
169
  - lib/store_base_sti_class_for_5_0.rb
256
170
  - lib/store_base_sti_class_for_5_1.rb
171
+ - lib/store_base_sti_class_for_5_2.rb
172
+ - store_base_sti_class-1.1.0.gem
257
173
  - store_base_sti_class.gemspec
258
- - storebasestiname_unittest.sql
259
174
  homepage: http://github.com/appfolio/store_base_sti_class
260
175
  licenses:
261
176
  - MIT
@@ -276,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
191
  version: '0'
277
192
  requirements: []
278
193
  rubyforge_project:
279
- rubygems_version: 2.6.11
194
+ rubygems_version: 2.6.13
280
195
  signing_key:
281
196
  specification_version: 4
282
197
  summary: Modifies ActiveRecord 4.0.x - 5.0.x with the ability to store the actual