activerecord_cache 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ type_a_1:
2
+ id: 1
3
+ name: type_a_1
@@ -0,0 +1,3 @@
1
+ type_b_1:
2
+ id: 1
3
+ name: type_b_1
@@ -0,0 +1,14 @@
1
+ type_a:
2
+ id: 1
3
+ name: poly_type_a
4
+ detail_type: CachedTypeARecord
5
+ detail_id: 1
6
+ cached_type_a_record_id: 1
7
+
8
+ type_b:
9
+ id: 2
10
+ name: poly_type_b
11
+ detail_type: CachedTypeBRecord
12
+ detail_id: 1
13
+ cached_type_b_record_id: 1
14
+ cached_type_a_record_id: 1
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Doan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-15 00:00:00.000000000 Z
11
+ date: 2015-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
19
+ version: 4.2.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '4.2'
26
+ version: 4.2.1
27
27
  description: Caches ActiveRecord models for simple finds using the Rails low-level
28
28
  cache
29
29
  email:
@@ -57,7 +57,10 @@ files:
57
57
  - test/dummy/app/models/.gitkeep
58
58
  - test/dummy/app/models/associated_record.rb
59
59
  - test/dummy/app/models/cached_record.rb
60
+ - test/dummy/app/models/cached_type_a_record.rb
61
+ - test/dummy/app/models/cached_type_b_record.rb
60
62
  - test/dummy/app/models/non_primary_associated.rb
63
+ - test/dummy/app/models/poly_record.rb
61
64
  - test/dummy/app/views/layouts/application.html.erb
62
65
  - test/dummy/bin/bundle
63
66
  - test/dummy/bin/rails
@@ -87,10 +90,14 @@ files:
87
90
  - test/dummy/db/migrate/20140715044034_create_cached_records.rb
88
91
  - test/dummy/db/migrate/20140715052133_create_associated_records.rb
89
92
  - test/dummy/db/migrate/20140715053153_create_non_primary_associateds.rb
93
+ - test/dummy/db/migrate/20150709151100_create_cached_type_a_records.rb
94
+ - test/dummy/db/migrate/20150709151130_create_cached_type_b_records.rb
95
+ - test/dummy/db/migrate/20150709151200_create_poly_records.rb
90
96
  - test/dummy/db/schema.rb
91
97
  - test/dummy/db/test.sqlite3
92
98
  - test/dummy/lib/assets/.gitkeep
93
99
  - test/dummy/log/.gitkeep
100
+ - test/dummy/log/test.log
94
101
  - test/dummy/public/404.html
95
102
  - test/dummy/public/422.html
96
103
  - test/dummy/public/500.html
@@ -98,7 +105,10 @@ files:
98
105
  - test/dummy/script/rails
99
106
  - test/dummy/test/fixtures/associated_records.yml
100
107
  - test/dummy/test/fixtures/cached_records.yml
108
+ - test/dummy/test/fixtures/cached_type_a_records.yml
109
+ - test/dummy/test/fixtures/cached_type_b_records.yml
101
110
  - test/dummy/test/fixtures/non_primary_associateds.yml
111
+ - test/dummy/test/fixtures/poly_records.yml
102
112
  - test/dummy/test/unit/associated_record_test.rb
103
113
  - test/dummy/test/unit/cached_record_test.rb
104
114
  - test/dummy/test/unit/non_primary_associated_test.rb