local_resource 1.0.0 → 2.0.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e491bec68b7c06f991e4d411f9150518de36a4387feddf943d5050f51488e080
4
- data.tar.gz: bd104dd9ffa4b5d31e21ed67dc2bc4fee2b83a856d0377975a4f4cdef0c03b29
3
+ metadata.gz: c97c0866cb2f28ebb228f13b44fe77acb4862bebf40e62983fe3b875d7f5681d
4
+ data.tar.gz: 74c88c6b83eff1aaadeb087b99fdbe8bb885b1c161799f77a7de5bd655779baa
5
5
  SHA512:
6
- metadata.gz: f5695794518e211a331df0334b1b8c547547c816509ee1d83b9aa2fa1de8d049e6650f27096ebb33d76466721dbf35326f226fdbb14bbc2421be3e3cbe37946c
7
- data.tar.gz: f9dd806b35abe7594eb0c7d27d16a9badf0e0a86c8a38112a05db7cd250987b1b925446fd0048ee1d6a12e3feaef368d401b2cefaa8681c861aa2c938820214b
6
+ metadata.gz: b9626c98e519ab70d6776ff84d01d4cf746bef0bf2faba469e8a8849e3b05e18ecd722e623867eb89e7c39c3a54b3135417251ec63bab84485995cf43321bcaa
7
+ data.tar.gz: 5fe30639879b7a8985ff532e2b4fda9ae6e1f59175f36e9c4cf103730328b0a2f33090950ced2a0b5f46a9ddfa2ef377dba86dc01f076eca6b814333d08e6845
data/.circleci/config.yml CHANGED
@@ -14,10 +14,10 @@ executors:
14
14
  parameters:
15
15
  ruby-version:
16
16
  description: "Ruby version"
17
- default: "2.7"
17
+ default: "3.2"
18
18
  type: string
19
19
  docker:
20
- - image: circleci/ruby:<<parameters.ruby-version>>-node
20
+ - image: cimg/ruby:<<parameters.ruby-version>>-node
21
21
  environment: *env-vars
22
22
 
23
23
  commands:
@@ -55,7 +55,7 @@ jobs:
55
55
  parameters:
56
56
  ruby-version:
57
57
  description: "Ruby version"
58
- default: "2.7"
58
+ default: "3.2"
59
59
  type: string
60
60
  executor:
61
61
  name: main-executor
@@ -93,7 +93,7 @@ workflows:
93
93
  - test:
94
94
  matrix:
95
95
  parameters:
96
- ruby-version: ["2.5", "2.6", "2.7"]
96
+ ruby-version: ["2.7", "3.1", "3.2"]
97
97
  - deploy:
98
98
  context: org-global
99
99
  filters:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7
1
+ 3.2
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ### 2.0.0
6
+
7
+ #### Added
8
+
9
+ * Add Ruby 3 support
10
+
11
+ #### Removed
12
+
13
+ * Remove Ruby 2.5 and 2.6 support
14
+
5
15
  ### 1.0.0
6
16
 
7
17
  #### Changed
data/Gemfile.lock CHANGED
@@ -1,76 +1,82 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- local_resource (1.0.0)
4
+ local_resource (2.0.0)
5
5
  open_uri_redirections
6
6
  rails (>= 6.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (6.1.3.2)
12
- actionpack (= 6.1.3.2)
13
- activesupport (= 6.1.3.2)
11
+ actioncable (7.0.6)
12
+ actionpack (= 7.0.6)
13
+ activesupport (= 7.0.6)
14
14
  nio4r (~> 2.0)
15
15
  websocket-driver (>= 0.6.1)
16
- actionmailbox (6.1.3.2)
17
- actionpack (= 6.1.3.2)
18
- activejob (= 6.1.3.2)
19
- activerecord (= 6.1.3.2)
20
- activestorage (= 6.1.3.2)
21
- activesupport (= 6.1.3.2)
16
+ actionmailbox (7.0.6)
17
+ actionpack (= 7.0.6)
18
+ activejob (= 7.0.6)
19
+ activerecord (= 7.0.6)
20
+ activestorage (= 7.0.6)
21
+ activesupport (= 7.0.6)
22
22
  mail (>= 2.7.1)
23
- actionmailer (6.1.3.2)
24
- actionpack (= 6.1.3.2)
25
- actionview (= 6.1.3.2)
26
- activejob (= 6.1.3.2)
27
- activesupport (= 6.1.3.2)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.6)
27
+ actionpack (= 7.0.6)
28
+ actionview (= 7.0.6)
29
+ activejob (= 7.0.6)
30
+ activesupport (= 7.0.6)
28
31
  mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
29
35
  rails-dom-testing (~> 2.0)
30
- actionpack (6.1.3.2)
31
- actionview (= 6.1.3.2)
32
- activesupport (= 6.1.3.2)
33
- rack (~> 2.0, >= 2.0.9)
36
+ actionpack (7.0.6)
37
+ actionview (= 7.0.6)
38
+ activesupport (= 7.0.6)
39
+ rack (~> 2.0, >= 2.2.4)
34
40
  rack-test (>= 0.6.3)
35
41
  rails-dom-testing (~> 2.0)
36
42
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
- actiontext (6.1.3.2)
38
- actionpack (= 6.1.3.2)
39
- activerecord (= 6.1.3.2)
40
- activestorage (= 6.1.3.2)
41
- activesupport (= 6.1.3.2)
43
+ actiontext (7.0.6)
44
+ actionpack (= 7.0.6)
45
+ activerecord (= 7.0.6)
46
+ activestorage (= 7.0.6)
47
+ activesupport (= 7.0.6)
48
+ globalid (>= 0.6.0)
42
49
  nokogiri (>= 1.8.5)
43
- actionview (6.1.3.2)
44
- activesupport (= 6.1.3.2)
50
+ actionview (7.0.6)
51
+ activesupport (= 7.0.6)
45
52
  builder (~> 3.1)
46
53
  erubi (~> 1.4)
47
54
  rails-dom-testing (~> 2.0)
48
55
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (6.1.3.2)
50
- activesupport (= 6.1.3.2)
56
+ activejob (7.0.6)
57
+ activesupport (= 7.0.6)
51
58
  globalid (>= 0.3.6)
52
- activemodel (6.1.3.2)
53
- activesupport (= 6.1.3.2)
54
- activerecord (6.1.3.2)
55
- activemodel (= 6.1.3.2)
56
- activesupport (= 6.1.3.2)
57
- activestorage (6.1.3.2)
58
- actionpack (= 6.1.3.2)
59
- activejob (= 6.1.3.2)
60
- activerecord (= 6.1.3.2)
61
- activesupport (= 6.1.3.2)
62
- marcel (~> 1.0.0)
63
- mini_mime (~> 1.0.2)
64
- activesupport (6.1.3.2)
59
+ activemodel (7.0.6)
60
+ activesupport (= 7.0.6)
61
+ activerecord (7.0.6)
62
+ activemodel (= 7.0.6)
63
+ activesupport (= 7.0.6)
64
+ activestorage (7.0.6)
65
+ actionpack (= 7.0.6)
66
+ activejob (= 7.0.6)
67
+ activerecord (= 7.0.6)
68
+ activesupport (= 7.0.6)
69
+ marcel (~> 1.0)
70
+ mini_mime (>= 1.1.0)
71
+ activesupport (7.0.6)
65
72
  concurrent-ruby (~> 1.0, >= 1.0.2)
66
73
  i18n (>= 1.6, < 2)
67
74
  minitest (>= 5.1)
68
75
  tzinfo (~> 2.0)
69
- zeitwerk (~> 2.3)
70
76
  ast (2.4.2)
71
77
  builder (3.2.4)
72
78
  coderay (1.1.3)
73
- concurrent-ruby (1.1.9)
79
+ concurrent-ruby (1.2.2)
74
80
  coveralls (0.8.23)
75
81
  json (>= 1.8, < 3)
76
82
  simplecov (~> 0.16.1)
@@ -78,25 +84,26 @@ GEM
78
84
  thor (>= 0.19.4, < 2.0)
79
85
  tins (~> 1.6)
80
86
  crass (1.0.6)
81
- diff-lcs (1.4.4)
87
+ date (3.3.3)
88
+ diff-lcs (1.5.0)
82
89
  docile (1.4.0)
83
- erubi (1.10.0)
84
- factory_bot (6.2.0)
90
+ erubi (1.12.0)
91
+ factory_bot (6.2.1)
85
92
  activesupport (>= 5.0.0)
86
93
  factory_bot_rails (6.2.0)
87
94
  factory_bot (~> 6.2.0)
88
95
  railties (>= 5.0.0)
89
- ffi (1.15.3)
90
- formatador (0.3.0)
91
- globalid (0.4.2)
92
- activesupport (>= 4.2.0)
93
- guard (2.17.0)
96
+ ffi (1.15.5)
97
+ formatador (1.1.0)
98
+ globalid (1.1.0)
99
+ activesupport (>= 5.0)
100
+ guard (2.18.0)
94
101
  formatador (>= 0.2.4)
95
102
  listen (>= 2.7, < 4.0)
96
103
  lumberjack (>= 1.0.12, < 2.0)
97
104
  nenv (~> 0.1)
98
105
  notiffany (~> 0.0)
99
- pry (>= 0.9.12)
106
+ pry (>= 0.13.0)
100
107
  shellany (~> 0.0)
101
108
  thor (>= 0.18.1)
102
109
  guard-compat (1.2.1)
@@ -104,100 +111,117 @@ GEM
104
111
  guard (~> 2.1)
105
112
  guard-compat (~> 1.1)
106
113
  rspec (>= 2.99.0, < 4.0)
107
- i18n (1.8.10)
114
+ i18n (1.14.1)
108
115
  concurrent-ruby (~> 1.0)
109
- jaro_winkler (1.5.4)
110
- json (2.5.1)
111
- listen (3.5.1)
116
+ jaro_winkler (1.5.6)
117
+ json (2.6.3)
118
+ listen (3.8.0)
112
119
  rb-fsevent (~> 0.10, >= 0.10.3)
113
120
  rb-inotify (~> 0.9, >= 0.9.10)
114
- loofah (2.10.0)
121
+ loofah (2.21.3)
115
122
  crass (~> 1.0.2)
116
- nokogiri (>= 1.5.9)
123
+ nokogiri (>= 1.12.0)
117
124
  lumberjack (1.2.8)
118
- mail (2.7.1)
125
+ mail (2.8.1)
119
126
  mini_mime (>= 0.1.1)
120
- marcel (1.0.1)
127
+ net-imap
128
+ net-pop
129
+ net-smtp
130
+ marcel (1.0.2)
121
131
  method_source (1.0.0)
122
- mini_mime (1.0.3)
123
- minitest (5.14.4)
132
+ mini_mime (1.1.2)
133
+ minitest (5.18.1)
124
134
  nenv (0.3.0)
125
- nio4r (2.5.7)
126
- nokogiri (1.11.7-x86_64-darwin)
135
+ net-imap (0.3.6)
136
+ date
137
+ net-protocol
138
+ net-pop (0.1.2)
139
+ net-protocol
140
+ net-protocol (0.2.1)
141
+ timeout
142
+ net-smtp (0.3.3)
143
+ net-protocol
144
+ nio4r (2.5.9)
145
+ nokogiri (1.15.2-arm64-darwin)
146
+ racc (~> 1.4)
147
+ nokogiri (1.15.2-x86_64-darwin)
127
148
  racc (~> 1.4)
128
- nokogiri (1.11.7-x86_64-linux)
149
+ nokogiri (1.15.2-x86_64-linux)
129
150
  racc (~> 1.4)
130
151
  notiffany (0.1.3)
131
152
  nenv (~> 0.1)
132
153
  shellany (~> 0.0)
133
154
  open_uri_redirections (0.2.1)
134
- parallel (1.20.1)
135
- parser (3.0.1.1)
155
+ parallel (1.23.0)
156
+ parser (3.2.2.3)
136
157
  ast (~> 2.4.1)
158
+ racc
137
159
  powerpack (0.1.3)
138
- pry (0.14.1)
160
+ pry (0.14.2)
139
161
  coderay (~> 1.1)
140
162
  method_source (~> 1.0)
141
163
  pry-rails (0.3.9)
142
164
  pry (>= 0.10.4)
143
- psych (4.0.1)
144
- racc (1.5.2)
145
- rack (2.2.3)
146
- rack-test (1.1.0)
147
- rack (>= 1.0, < 3)
148
- rails (6.1.3.2)
149
- actioncable (= 6.1.3.2)
150
- actionmailbox (= 6.1.3.2)
151
- actionmailer (= 6.1.3.2)
152
- actionpack (= 6.1.3.2)
153
- actiontext (= 6.1.3.2)
154
- actionview (= 6.1.3.2)
155
- activejob (= 6.1.3.2)
156
- activemodel (= 6.1.3.2)
157
- activerecord (= 6.1.3.2)
158
- activestorage (= 6.1.3.2)
159
- activesupport (= 6.1.3.2)
165
+ psych (5.1.0)
166
+ stringio
167
+ racc (1.7.1)
168
+ rack (2.2.7)
169
+ rack-test (2.1.0)
170
+ rack (>= 1.3)
171
+ rails (7.0.6)
172
+ actioncable (= 7.0.6)
173
+ actionmailbox (= 7.0.6)
174
+ actionmailer (= 7.0.6)
175
+ actionpack (= 7.0.6)
176
+ actiontext (= 7.0.6)
177
+ actionview (= 7.0.6)
178
+ activejob (= 7.0.6)
179
+ activemodel (= 7.0.6)
180
+ activerecord (= 7.0.6)
181
+ activestorage (= 7.0.6)
182
+ activesupport (= 7.0.6)
160
183
  bundler (>= 1.15.0)
161
- railties (= 6.1.3.2)
162
- sprockets-rails (>= 2.0.0)
184
+ railties (= 7.0.6)
163
185
  rails-dom-testing (2.0.3)
164
186
  activesupport (>= 4.2.0)
165
187
  nokogiri (>= 1.6)
166
- rails-html-sanitizer (1.3.0)
167
- loofah (~> 2.3)
168
- railties (6.1.3.2)
169
- actionpack (= 6.1.3.2)
170
- activesupport (= 6.1.3.2)
188
+ rails-html-sanitizer (1.6.0)
189
+ loofah (~> 2.21)
190
+ nokogiri (~> 1.14)
191
+ railties (7.0.6)
192
+ actionpack (= 7.0.6)
193
+ activesupport (= 7.0.6)
171
194
  method_source
172
- rake (>= 0.8.7)
195
+ rake (>= 12.2)
173
196
  thor (~> 1.0)
174
- rainbow (3.0.0)
175
- rake (13.0.3)
176
- rb-fsevent (0.11.0)
197
+ zeitwerk (~> 2.5)
198
+ rainbow (3.1.1)
199
+ rake (13.0.6)
200
+ rb-fsevent (0.11.2)
177
201
  rb-inotify (0.10.1)
178
202
  ffi (~> 1.0)
179
- rspec (3.10.0)
180
- rspec-core (~> 3.10.0)
181
- rspec-expectations (~> 3.10.0)
182
- rspec-mocks (~> 3.10.0)
183
- rspec-core (3.10.1)
184
- rspec-support (~> 3.10.0)
185
- rspec-expectations (3.10.1)
203
+ rspec (3.12.0)
204
+ rspec-core (~> 3.12.0)
205
+ rspec-expectations (~> 3.12.0)
206
+ rspec-mocks (~> 3.12.0)
207
+ rspec-core (3.12.2)
208
+ rspec-support (~> 3.12.0)
209
+ rspec-expectations (3.12.3)
186
210
  diff-lcs (>= 1.2.0, < 2.0)
187
- rspec-support (~> 3.10.0)
188
- rspec-mocks (3.10.2)
211
+ rspec-support (~> 3.12.0)
212
+ rspec-mocks (3.12.5)
189
213
  diff-lcs (>= 1.2.0, < 2.0)
190
- rspec-support (~> 3.10.0)
191
- rspec-rails (5.0.1)
192
- actionpack (>= 5.2)
193
- activesupport (>= 5.2)
194
- railties (>= 5.2)
195
- rspec-core (~> 3.10)
196
- rspec-expectations (~> 3.10)
197
- rspec-mocks (~> 3.10)
198
- rspec-support (~> 3.10)
199
- rspec-support (3.10.2)
200
- rspec_junit_formatter (0.4.1)
214
+ rspec-support (~> 3.12.0)
215
+ rspec-rails (6.0.3)
216
+ actionpack (>= 6.1)
217
+ activesupport (>= 6.1)
218
+ railties (>= 6.1)
219
+ rspec-core (~> 3.12)
220
+ rspec-expectations (~> 3.12)
221
+ rspec-mocks (~> 3.12)
222
+ rspec-support (~> 3.12)
223
+ rspec-support (3.12.1)
224
+ rspec_junit_formatter (0.6.0)
201
225
  rspec-core (>= 2, < 4, != 2.12.0)
202
226
  rubocop (0.65.0)
203
227
  jaro_winkler (~> 1.5.1)
@@ -210,36 +234,32 @@ GEM
210
234
  unicode-display_width (~> 1.4.0)
211
235
  rubocop-rspec (1.35.0)
212
236
  rubocop (>= 0.60.0)
213
- ruby-progressbar (1.11.0)
237
+ ruby-progressbar (1.13.0)
214
238
  shellany (0.0.1)
215
239
  simplecov (0.16.1)
216
240
  docile (~> 1.1)
217
241
  json (>= 1.8, < 3)
218
242
  simplecov-html (~> 0.10.0)
219
243
  simplecov-html (0.10.2)
220
- sprockets (4.0.2)
221
- concurrent-ruby (~> 1.0)
222
- rack (> 1, < 3)
223
- sprockets-rails (3.2.2)
224
- actionpack (>= 4.0)
225
- activesupport (>= 4.0)
226
- sprockets (>= 3.0.0)
227
- sqlite3 (1.4.2)
244
+ sqlite3 (1.4.4)
245
+ stringio (3.0.7)
228
246
  sync (0.5.0)
229
247
  term-ansicolor (1.7.1)
230
248
  tins (~> 1.0)
231
- thor (1.1.0)
232
- tins (1.29.1)
249
+ thor (1.2.2)
250
+ timeout (0.4.0)
251
+ tins (1.32.1)
233
252
  sync
234
- tzinfo (2.0.4)
253
+ tzinfo (2.0.6)
235
254
  concurrent-ruby (~> 1.0)
236
255
  unicode-display_width (1.4.1)
237
256
  websocket-driver (0.7.5)
238
257
  websocket-extensions (>= 0.1.0)
239
258
  websocket-extensions (0.1.5)
240
- zeitwerk (2.4.2)
259
+ zeitwerk (2.6.8)
241
260
 
242
261
  PLATFORMS
262
+ arm64-darwin-22
243
263
  x86_64-darwin-20
244
264
  x86_64-linux
245
265
 
@@ -1,3 +1,3 @@
1
1
  module LocalResource
2
- VERSION = '1.0.0'
2
+ VERSION = '2.0.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: local_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platanus
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-06-22 00:00:00.000000000 Z
12
+ date: 2023-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -235,7 +235,6 @@ files:
235
235
  - spec/dummy/config/environments/production.rb
236
236
  - spec/dummy/config/environments/test.rb
237
237
  - spec/dummy/config/initializers/application_controller_renderer.rb
238
- - spec/dummy/config/initializers/assets.rb
239
238
  - spec/dummy/config/initializers/backtrace_silencers.rb
240
239
  - spec/dummy/config/initializers/content_security_policy.rb
241
240
  - spec/dummy/config/initializers/cookies_serializer.rb
@@ -281,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
281
280
  - !ruby/object:Gem::Version
282
281
  version: '0'
283
282
  requirements: []
284
- rubygems_version: 3.1.6
283
+ rubygems_version: 3.4.10
285
284
  signing_key:
286
285
  specification_version: 4
287
286
  summary: Engine to treat external resources as if they were local
@@ -303,7 +302,6 @@ test_files:
303
302
  - spec/dummy/bin/rails
304
303
  - spec/dummy/bin/rake
305
304
  - spec/dummy/bin/setup
306
- - spec/dummy/config.ru
307
305
  - spec/dummy/config/application.rb
308
306
  - spec/dummy/config/boot.rb
309
307
  - spec/dummy/config/cable.yml
@@ -313,7 +311,6 @@ test_files:
313
311
  - spec/dummy/config/environments/production.rb
314
312
  - spec/dummy/config/environments/test.rb
315
313
  - spec/dummy/config/initializers/application_controller_renderer.rb
316
- - spec/dummy/config/initializers/assets.rb
317
314
  - spec/dummy/config/initializers/backtrace_silencers.rb
318
315
  - spec/dummy/config/initializers/content_security_policy.rb
319
316
  - spec/dummy/config/initializers/cookies_serializer.rb
@@ -326,6 +323,7 @@ test_files:
326
323
  - spec/dummy/config/puma.rb
327
324
  - spec/dummy/config/routes.rb
328
325
  - spec/dummy/config/storage.yml
326
+ - spec/dummy/config.ru
329
327
  - spec/dummy/db/schema.rb
330
328
  - spec/dummy/package.json
331
329
  - spec/dummy/public/404.html
@@ -1,12 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = '1.0'
5
-
6
- # Add additional assets to the asset load path.
7
- # Rails.application.config.assets.paths << Emoji.images_path
8
-
9
- # Precompile additional assets.
10
- # application.js, application.css, and all non-JS/CSS in the app/assets
11
- # folder are already added.
12
- # Rails.application.config.assets.precompile += %w( admin.js admin.css )