cached_resource 6.0.0 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cached_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Morgan Brown
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-18 00:00:00.000000000 Z
11
+ date: 2024-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeresource
@@ -80,47 +80,27 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: appraisal
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
83
  description: Enables request-based caching for ActiveResource
98
- email: brown.mhg@gmail.com
84
+ email: cached_resource@email.mhgbrown.is
99
85
  executables: []
100
86
  extensions: []
101
87
  extra_rdoc_files: []
102
88
  files:
89
+ - ".github/workflows/ruby.yml"
103
90
  - ".gitignore"
104
91
  - ".rspec"
105
- - ".travis.yml"
106
- - Appraisals
92
+ - FUNDING.json
107
93
  - Gemfile
108
94
  - LICENSE
109
95
  - README.md
110
96
  - Rakefile
111
97
  - cached_resource.gemspec
112
98
  - gemfiles/4.2.gemfile
113
- - gemfiles/4.2.gemfile.lock
114
99
  - gemfiles/5.0.gemfile
115
- - gemfiles/5.0.gemfile.lock
116
100
  - gemfiles/5.1.gemfile
117
- - gemfiles/5.1.gemfile.lock
118
101
  - gemfiles/6.0.gemfile
119
- - gemfiles/6.0.gemfile.lock
120
102
  - gemfiles/6.1.gemfile
121
- - gemfiles/6.1.gemfile.lock
122
103
  - gemfiles/7.0.gemfile
123
- - gemfiles/7.0.gemfile.lock
124
104
  - lib/cached_resource.rb
125
105
  - lib/cached_resource/cached_resource.rb
126
106
  - lib/cached_resource/caching.rb
@@ -142,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
142
122
  requirements:
143
123
  - - ">="
144
124
  - !ruby/object:Gem::Version
145
- version: '0'
125
+ version: 1.9.0
146
126
  required_rubygems_version: !ruby/object:Gem::Requirement
147
127
  requirements:
148
128
  - - ">="
@@ -153,4 +133,8 @@ rubygems_version: 3.1.6
153
133
  signing_key:
154
134
  specification_version: 4
155
135
  summary: Caching for ActiveResource
156
- test_files: []
136
+ test_files:
137
+ - spec/cached_resource/cached_resource_spec.rb
138
+ - spec/cached_resource/caching_spec.rb
139
+ - spec/cached_resource/configuration_spec.rb
140
+ - spec/spec_helper.rb
data/.travis.yml DELETED
@@ -1,43 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- before_install:
4
- - gem install bundler:1.17.3
5
- cache: bundler
6
-
7
- rvm:
8
- - 2.2.4
9
- - 2.3.4
10
- - 2.4.1
11
- - 2.5.8
12
- - 2.7.2
13
-
14
- gemfile:
15
- - gemfiles/4.2.gemfile
16
- - gemfiles/5.0.gemfile
17
- - gemfiles/5.1.gemfile
18
- - gemfiles/6.0.gemfile
19
- - gemfiles/6.1.gemfile
20
- - gemfiles/7.0.gemfile
21
-
22
- jobs:
23
- exclude:
24
- - rvm: 2.2.4
25
- gemfile: gemfiles/6.0.gemfile
26
- - rvm: 2.3.4
27
- gemfile: gemfiles/6.0.gemfile
28
- - rvm: 2.4.1
29
- gemfile: gemfiles/6.0.gemfile
30
- - rvm: 2.2.4
31
- gemfile: gemfiles/6.1.gemfile
32
- - rvm: 2.3.4
33
- gemfile: gemfiles/6.1.gemfile
34
- - rvm: 2.4.1
35
- gemfile: gemfiles/6.1.gemfile
36
- - rvm: 2.2.4
37
- gemfile: gemfiles/7.0.gemfile
38
- - rvm: 2.3.4
39
- gemfile: gemfiles/7.0.gemfile
40
- - rvm: 2.4.1
41
- gemfile: gemfiles/7.0.gemfile
42
- - rvm: 2.5.8
43
- gemfile: gemfiles/7.0.gemfile
data/Appraisals DELETED
@@ -1,28 +0,0 @@
1
- appraise "4.2" do
2
- gem "rails", "~> 4.2.0"
3
- # https://stackoverflow.com/questions/60226893/rails-nomethoderror-undefined-method-new-for-bigdecimalclass
4
- gem "bigdecimal", "1.3.5"
5
- end
6
-
7
- appraise "5.0" do
8
- gem "rails", "~> 5.0.0"
9
- end
10
-
11
- appraise "5.1" do
12
- gem "rails", "~> 5.1.0"
13
- end
14
-
15
- # requires ruby >= 2.5.0
16
- appraise "6.0" do
17
- gem "rails", "~> 6.0.0"
18
- end
19
-
20
- # requires ruby >= 2.5.0
21
- appraise "6.1" do
22
- gem "rails", "~> 6.1.0"
23
- end
24
-
25
- # requires ruby >= 2.7.0
26
- appraise "7.0" do
27
- gem "rails", "~> 7.0.0"
28
- end
@@ -1,142 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- cached_resource (5.3.0)
5
- activeresource (>= 4.0)
6
- activesupport (>= 4.0)
7
- nilio (>= 1.0)
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- actionmailer (4.2.9)
13
- actionpack (= 4.2.9)
14
- actionview (= 4.2.9)
15
- activejob (= 4.2.9)
16
- mail (~> 2.5, >= 2.5.4)
17
- rails-dom-testing (~> 1.0, >= 1.0.5)
18
- actionpack (4.2.9)
19
- actionview (= 4.2.9)
20
- activesupport (= 4.2.9)
21
- rack (~> 1.6)
22
- rack-test (~> 0.6.2)
23
- rails-dom-testing (~> 1.0, >= 1.0.5)
24
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- actionview (4.2.9)
26
- activesupport (= 4.2.9)
27
- builder (~> 3.1)
28
- erubis (~> 2.7.0)
29
- rails-dom-testing (~> 1.0, >= 1.0.5)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
31
- activejob (4.2.9)
32
- activesupport (= 4.2.9)
33
- globalid (>= 0.3.0)
34
- activemodel (4.2.9)
35
- activesupport (= 4.2.9)
36
- builder (~> 3.1)
37
- activerecord (4.2.9)
38
- activemodel (= 4.2.9)
39
- activesupport (= 4.2.9)
40
- arel (~> 6.0)
41
- activeresource (4.1.0)
42
- activemodel (~> 4.0)
43
- activesupport (~> 4.0)
44
- rails-observers (~> 0.1.2)
45
- activesupport (4.2.9)
46
- i18n (~> 0.7)
47
- minitest (~> 5.1)
48
- thread_safe (~> 0.3, >= 0.3.4)
49
- tzinfo (~> 1.1)
50
- appraisal (2.2.0)
51
- bundler
52
- rake
53
- thor (>= 0.14.0)
54
- arel (6.0.4)
55
- bigdecimal (1.3.5)
56
- builder (3.2.3)
57
- concurrent-ruby (1.0.5)
58
- diff-lcs (1.3)
59
- erubis (2.7.0)
60
- globalid (0.4.0)
61
- activesupport (>= 4.2.0)
62
- i18n (0.8.4)
63
- loofah (2.0.3)
64
- nokogiri (>= 1.5.9)
65
- mail (2.6.6)
66
- mime-types (>= 1.16, < 4)
67
- mime-types (3.1)
68
- mime-types-data (~> 3.2015)
69
- mime-types-data (3.2016.0521)
70
- mini_portile2 (2.2.0)
71
- minitest (5.10.2)
72
- nilio (1.0.0)
73
- nokogiri (1.8.0)
74
- mini_portile2 (~> 2.2.0)
75
- rack (1.6.8)
76
- rack-test (0.6.3)
77
- rack (>= 1.0)
78
- rails (4.2.9)
79
- actionmailer (= 4.2.9)
80
- actionpack (= 4.2.9)
81
- actionview (= 4.2.9)
82
- activejob (= 4.2.9)
83
- activemodel (= 4.2.9)
84
- activerecord (= 4.2.9)
85
- activesupport (= 4.2.9)
86
- bundler (>= 1.3.0, < 2.0)
87
- railties (= 4.2.9)
88
- sprockets-rails
89
- rails-deprecated_sanitizer (1.0.3)
90
- activesupport (>= 4.2.0.alpha)
91
- rails-dom-testing (1.0.8)
92
- activesupport (>= 4.2.0.beta, < 5.0)
93
- nokogiri (~> 1.6)
94
- rails-deprecated_sanitizer (>= 1.0.1)
95
- rails-html-sanitizer (1.0.3)
96
- loofah (~> 2.0)
97
- rails-observers (0.1.5)
98
- activemodel (>= 4.0)
99
- railties (4.2.9)
100
- actionpack (= 4.2.9)
101
- activesupport (= 4.2.9)
102
- rake (>= 0.8.7)
103
- thor (>= 0.18.1, < 2.0)
104
- rake (12.0.0)
105
- rspec (3.6.0)
106
- rspec-core (~> 3.6.0)
107
- rspec-expectations (~> 3.6.0)
108
- rspec-mocks (~> 3.6.0)
109
- rspec-core (3.6.0)
110
- rspec-support (~> 3.6.0)
111
- rspec-expectations (3.6.0)
112
- diff-lcs (>= 1.2.0, < 2.0)
113
- rspec-support (~> 3.6.0)
114
- rspec-mocks (3.6.0)
115
- diff-lcs (>= 1.2.0, < 2.0)
116
- rspec-support (~> 3.6.0)
117
- rspec-support (3.6.0)
118
- sprockets (3.7.1)
119
- concurrent-ruby (~> 1.0)
120
- rack (> 1, < 3)
121
- sprockets-rails (3.2.0)
122
- actionpack (>= 4.0)
123
- activesupport (>= 4.0)
124
- sprockets (>= 3.0.0)
125
- thor (0.19.4)
126
- thread_safe (0.3.6)
127
- tzinfo (1.2.3)
128
- thread_safe (~> 0.1)
129
-
130
- PLATFORMS
131
- ruby
132
-
133
- DEPENDENCIES
134
- appraisal
135
- bigdecimal (= 1.3.5)
136
- cached_resource!
137
- rails (~> 4.2.0)
138
- rake
139
- rspec
140
-
141
- BUNDLED WITH
142
- 1.17.3
@@ -1,149 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- cached_resource (5.3.0)
5
- activeresource (>= 4.0)
6
- activesupport (>= 4.0)
7
- nilio (>= 1.0)
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- actioncable (5.0.2)
13
- actionpack (= 5.0.2)
14
- nio4r (>= 1.2, < 3.0)
15
- websocket-driver (~> 0.6.1)
16
- actionmailer (5.0.2)
17
- actionpack (= 5.0.2)
18
- actionview (= 5.0.2)
19
- activejob (= 5.0.2)
20
- mail (~> 2.5, >= 2.5.4)
21
- rails-dom-testing (~> 2.0)
22
- actionpack (5.0.2)
23
- actionview (= 5.0.2)
24
- activesupport (= 5.0.2)
25
- rack (~> 2.0)
26
- rack-test (~> 0.6.3)
27
- rails-dom-testing (~> 2.0)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- actionview (5.0.2)
30
- activesupport (= 5.0.2)
31
- builder (~> 3.1)
32
- erubis (~> 2.7.0)
33
- rails-dom-testing (~> 2.0)
34
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
35
- activejob (5.0.2)
36
- activesupport (= 5.0.2)
37
- globalid (>= 0.3.6)
38
- activemodel (5.0.2)
39
- activesupport (= 5.0.2)
40
- activemodel-serializers-xml (1.0.2)
41
- activemodel (> 5.x)
42
- activesupport (> 5.x)
43
- builder (~> 3.1)
44
- activerecord (5.0.2)
45
- activemodel (= 5.0.2)
46
- activesupport (= 5.0.2)
47
- arel (~> 7.0)
48
- activeresource (5.1.1)
49
- activemodel (>= 5.0, < 7)
50
- activemodel-serializers-xml (~> 1.0)
51
- activesupport (>= 5.0, < 7)
52
- activesupport (5.0.2)
53
- concurrent-ruby (~> 1.0, >= 1.0.2)
54
- i18n (~> 0.7)
55
- minitest (~> 5.1)
56
- tzinfo (~> 1.1)
57
- appraisal (2.2.0)
58
- bundler
59
- rake
60
- thor (>= 0.14.0)
61
- arel (7.1.4)
62
- builder (3.2.3)
63
- concurrent-ruby (1.0.5)
64
- diff-lcs (1.3)
65
- erubis (2.7.0)
66
- globalid (0.4.0)
67
- activesupport (>= 4.2.0)
68
- i18n (0.8.4)
69
- loofah (2.0.3)
70
- nokogiri (>= 1.5.9)
71
- mail (2.6.6)
72
- mime-types (>= 1.16, < 4)
73
- method_source (0.8.2)
74
- mime-types (3.1)
75
- mime-types-data (~> 3.2015)
76
- mime-types-data (3.2016.0521)
77
- mini_portile2 (2.2.0)
78
- minitest (5.10.2)
79
- nilio (1.0.0)
80
- nio4r (2.1.0)
81
- nokogiri (1.8.0)
82
- mini_portile2 (~> 2.2.0)
83
- rack (2.0.3)
84
- rack-test (0.6.3)
85
- rack (>= 1.0)
86
- rails (5.0.2)
87
- actioncable (= 5.0.2)
88
- actionmailer (= 5.0.2)
89
- actionpack (= 5.0.2)
90
- actionview (= 5.0.2)
91
- activejob (= 5.0.2)
92
- activemodel (= 5.0.2)
93
- activerecord (= 5.0.2)
94
- activesupport (= 5.0.2)
95
- bundler (>= 1.3.0, < 2.0)
96
- railties (= 5.0.2)
97
- sprockets-rails (>= 2.0.0)
98
- rails-dom-testing (2.0.3)
99
- activesupport (>= 4.2.0)
100
- nokogiri (>= 1.6)
101
- rails-html-sanitizer (1.0.3)
102
- loofah (~> 2.0)
103
- railties (5.0.2)
104
- actionpack (= 5.0.2)
105
- activesupport (= 5.0.2)
106
- method_source
107
- rake (>= 0.8.7)
108
- thor (>= 0.18.1, < 2.0)
109
- rake (12.0.0)
110
- rspec (3.6.0)
111
- rspec-core (~> 3.6.0)
112
- rspec-expectations (~> 3.6.0)
113
- rspec-mocks (~> 3.6.0)
114
- rspec-core (3.6.0)
115
- rspec-support (~> 3.6.0)
116
- rspec-expectations (3.6.0)
117
- diff-lcs (>= 1.2.0, < 2.0)
118
- rspec-support (~> 3.6.0)
119
- rspec-mocks (3.6.0)
120
- diff-lcs (>= 1.2.0, < 2.0)
121
- rspec-support (~> 3.6.0)
122
- rspec-support (3.6.0)
123
- sprockets (3.7.1)
124
- concurrent-ruby (~> 1.0)
125
- rack (> 1, < 3)
126
- sprockets-rails (3.2.0)
127
- actionpack (>= 4.0)
128
- activesupport (>= 4.0)
129
- sprockets (>= 3.0.0)
130
- thor (0.19.4)
131
- thread_safe (0.3.6)
132
- tzinfo (1.2.3)
133
- thread_safe (~> 0.1)
134
- websocket-driver (0.6.5)
135
- websocket-extensions (>= 0.1.0)
136
- websocket-extensions (0.1.2)
137
-
138
- PLATFORMS
139
- ruby
140
-
141
- DEPENDENCIES
142
- appraisal
143
- cached_resource!
144
- rails (~> 5.0.0)
145
- rake
146
- rspec
147
-
148
- BUNDLED WITH
149
- 1.17.3
@@ -1,149 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- cached_resource (5.3.0)
5
- activeresource (>= 4.0)
6
- activesupport (>= 4.0)
7
- nilio (>= 1.0)
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- actioncable (5.1.2)
13
- actionpack (= 5.1.2)
14
- nio4r (~> 2.0)
15
- websocket-driver (~> 0.6.1)
16
- actionmailer (5.1.2)
17
- actionpack (= 5.1.2)
18
- actionview (= 5.1.2)
19
- activejob (= 5.1.2)
20
- mail (~> 2.5, >= 2.5.4)
21
- rails-dom-testing (~> 2.0)
22
- actionpack (5.1.2)
23
- actionview (= 5.1.2)
24
- activesupport (= 5.1.2)
25
- rack (~> 2.0)
26
- rack-test (~> 0.6.3)
27
- rails-dom-testing (~> 2.0)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- actionview (5.1.2)
30
- activesupport (= 5.1.2)
31
- builder (~> 3.1)
32
- erubi (~> 1.4)
33
- rails-dom-testing (~> 2.0)
34
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
35
- activejob (5.1.2)
36
- activesupport (= 5.1.2)
37
- globalid (>= 0.3.6)
38
- activemodel (5.1.2)
39
- activesupport (= 5.1.2)
40
- activemodel-serializers-xml (1.0.2)
41
- activemodel (> 5.x)
42
- activesupport (> 5.x)
43
- builder (~> 3.1)
44
- activerecord (5.1.2)
45
- activemodel (= 5.1.2)
46
- activesupport (= 5.1.2)
47
- arel (~> 8.0)
48
- activeresource (5.1.1)
49
- activemodel (>= 5.0, < 7)
50
- activemodel-serializers-xml (~> 1.0)
51
- activesupport (>= 5.0, < 7)
52
- activesupport (5.1.2)
53
- concurrent-ruby (~> 1.0, >= 1.0.2)
54
- i18n (~> 0.7)
55
- minitest (~> 5.1)
56
- tzinfo (~> 1.1)
57
- appraisal (2.2.0)
58
- bundler
59
- rake
60
- thor (>= 0.14.0)
61
- arel (8.0.0)
62
- builder (3.2.3)
63
- concurrent-ruby (1.0.5)
64
- diff-lcs (1.3)
65
- erubi (1.6.0)
66
- globalid (0.4.0)
67
- activesupport (>= 4.2.0)
68
- i18n (0.8.4)
69
- loofah (2.0.3)
70
- nokogiri (>= 1.5.9)
71
- mail (2.6.6)
72
- mime-types (>= 1.16, < 4)
73
- method_source (0.8.2)
74
- mime-types (3.1)
75
- mime-types-data (~> 3.2015)
76
- mime-types-data (3.2016.0521)
77
- mini_portile2 (2.2.0)
78
- minitest (5.10.2)
79
- nilio (1.0.0)
80
- nio4r (2.1.0)
81
- nokogiri (1.8.0)
82
- mini_portile2 (~> 2.2.0)
83
- rack (2.0.3)
84
- rack-test (0.6.3)
85
- rack (>= 1.0)
86
- rails (5.1.2)
87
- actioncable (= 5.1.2)
88
- actionmailer (= 5.1.2)
89
- actionpack (= 5.1.2)
90
- actionview (= 5.1.2)
91
- activejob (= 5.1.2)
92
- activemodel (= 5.1.2)
93
- activerecord (= 5.1.2)
94
- activesupport (= 5.1.2)
95
- bundler (>= 1.3.0, < 2.0)
96
- railties (= 5.1.2)
97
- sprockets-rails (>= 2.0.0)
98
- rails-dom-testing (2.0.3)
99
- activesupport (>= 4.2.0)
100
- nokogiri (>= 1.6)
101
- rails-html-sanitizer (1.0.3)
102
- loofah (~> 2.0)
103
- railties (5.1.2)
104
- actionpack (= 5.1.2)
105
- activesupport (= 5.1.2)
106
- method_source
107
- rake (>= 0.8.7)
108
- thor (>= 0.18.1, < 2.0)
109
- rake (12.0.0)
110
- rspec (3.6.0)
111
- rspec-core (~> 3.6.0)
112
- rspec-expectations (~> 3.6.0)
113
- rspec-mocks (~> 3.6.0)
114
- rspec-core (3.6.0)
115
- rspec-support (~> 3.6.0)
116
- rspec-expectations (3.6.0)
117
- diff-lcs (>= 1.2.0, < 2.0)
118
- rspec-support (~> 3.6.0)
119
- rspec-mocks (3.6.0)
120
- diff-lcs (>= 1.2.0, < 2.0)
121
- rspec-support (~> 3.6.0)
122
- rspec-support (3.6.0)
123
- sprockets (3.7.1)
124
- concurrent-ruby (~> 1.0)
125
- rack (> 1, < 3)
126
- sprockets-rails (3.2.0)
127
- actionpack (>= 4.0)
128
- activesupport (>= 4.0)
129
- sprockets (>= 3.0.0)
130
- thor (0.19.4)
131
- thread_safe (0.3.6)
132
- tzinfo (1.2.3)
133
- thread_safe (~> 0.1)
134
- websocket-driver (0.6.5)
135
- websocket-extensions (>= 0.1.0)
136
- websocket-extensions (0.1.2)
137
-
138
- PLATFORMS
139
- ruby
140
-
141
- DEPENDENCIES
142
- appraisal
143
- cached_resource!
144
- rails (~> 5.1.0)
145
- rake
146
- rspec
147
-
148
- BUNDLED WITH
149
- 1.17.3