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.
- checksums.yaml +4 -4
- data/Appraisals +10 -0
- data/Gemfile.lock +15 -14
- data/gemfiles/rails_4.2.10.gemfile +7 -0
- data/gemfiles/rails_4.2.9.gemfile +7 -0
- data/gemfiles/rails_5.0.4.gemfile +7 -0
- data/gemfiles/rails_5.0.5.gemfile +7 -0
- data/gemfiles/rails_5.0.6.gemfile +7 -0
- data/gemfiles/rails_5.1.2.gemfile +7 -0
- data/gemfiles/rails_5.1.3.gemfile +7 -0
- data/gemfiles/rails_5.1.4.gemfile +7 -0
- data/gemfiles/rails_5.1.5.gemfile +7 -0
- data/gemfiles/rails_5.2.0.gemfile +7 -0
- data/lib/store_base_sti_class.rb +2 -0
- data/lib/store_base_sti_class/version.rb +1 -1
- data/lib/store_base_sti_class_for_5_2.rb +155 -0
- data/store_base_sti_class-1.1.0.gem +0 -0
- metadata +15 -100
- data/debug.log +0 -53835
- data/gemfiles/rails_3.0.10.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.11.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.12.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.13.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.14.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.15.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.16.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.17.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.18.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.19.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.20.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.5.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.6.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.7.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.8.gemfile.lock +0 -45
- data/gemfiles/rails_3.0.9.gemfile.lock +0 -45
- data/gemfiles/rails_3.1.0.gemfile.lock +0 -49
- data/gemfiles/rails_3.1.10.gemfile.lock +0 -47
- data/gemfiles/rails_3.1.11.gemfile.lock +0 -47
- data/gemfiles/rails_3.1.12.gemfile.lock +0 -47
- data/gemfiles/rails_3.1.2.gemfile.lock +0 -47
- data/gemfiles/rails_3.1.3.gemfile.lock +0 -47
- data/gemfiles/rails_3.1.4.gemfile.lock +0 -47
- data/gemfiles/rails_3.1.5.gemfile.lock +0 -47
- data/gemfiles/rails_3.1.6.gemfile.lock +0 -47
- data/gemfiles/rails_3.1.7.gemfile.lock +0 -47
- data/gemfiles/rails_3.1.8.gemfile.lock +0 -47
- data/gemfiles/rails_3.1.9.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.0.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.1.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.10.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.11.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.12.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.13.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.14.gemfile.lock +0 -44
- data/gemfiles/rails_3.2.15.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.16.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.17.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.18.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.19.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.2.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.20.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.21.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.22.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.3.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.4.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.5.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.6.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.7.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.8.gemfile.lock +0 -47
- data/gemfiles/rails_3.2.9.gemfile.lock +0 -47
- data/gemfiles/rails_4.0.0.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.1.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.10.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.11.1.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.11.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.12.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.13.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.2.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.3.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.4.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.5.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.6.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.7.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.8.gemfile.lock +0 -49
- data/gemfiles/rails_4.0.9.gemfile.lock +0 -49
- data/gemfiles/rails_4.1.0.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.1.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.10.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.11.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.12.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.13.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.14.1.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.14.2.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.14.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.15.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.2.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.3.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.4.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.5.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.6.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.7.1.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.7.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.8.gemfile.lock +0 -48
- data/gemfiles/rails_4.1.9.gemfile.lock +0 -48
- data/gemfiles/rails_4.2.0.gemfile.lock +0 -48
- data/gemfiles/rails_4.2.1.gemfile.lock +0 -48
- data/gemfiles/rails_4.2.2.gemfile.lock +0 -48
- data/gemfiles/rails_4.2.3.gemfile.lock +0 -48
- data/gemfiles/rails_4.2.4.gemfile.lock +0 -48
- data/gemfiles/rails_4.2.5.1.gemfile.lock +0 -48
- data/gemfiles/rails_4.2.5.2.gemfile.lock +0 -48
- data/gemfiles/rails_4.2.5.gemfile.lock +0 -48
- data/gemfiles/rails_4.2.6.gemfile.lock +0 -48
- data/gemfiles/rails_5.0.1.gemfile.lock +0 -48
- data/storebasestiname_unittest.sql +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aabffbc0536524e6c2a17e341a8959ce740b8c46
|
4
|
+
data.tar.gz: f9d1c2edbd97b6e0971abcb5eb0b567ec0c0350b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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|
|
data/Gemfile.lock
CHANGED
@@ -7,30 +7,31 @@ PATH
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (5.1.
|
11
|
-
activesupport (= 5.1.
|
12
|
-
activerecord (5.1.
|
13
|
-
activemodel (= 5.1.
|
14
|
-
activesupport (= 5.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.
|
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.
|
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.
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
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.
|
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.
|
48
|
+
1.16.1
|
data/lib/store_base_sti_class.rb
CHANGED
@@ -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
|
@@ -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
|
Binary file
|
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.
|
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:
|
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.
|
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.
|
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
|