rails_picture 0.1.1 → 0.2.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: 28574426228d63c2304d47b30fed29314d5215e5a1a0f383179205fd5c5185c5
4
- data.tar.gz: ddd1854b8e4548fc6cf7f10fb54533003c5a36ba9c6af74aa0748f80715a277c
3
+ metadata.gz: 75ba9ef1f65ea1486ec57e4e01222b0240ecd5fc5ad71ff6c81cdd28f57c1c5a
4
+ data.tar.gz: eda039f82ce8e4a088210ae49bbbbfec8bed5252d356f7d8944d2db4d48a92ed
5
5
  SHA512:
6
- metadata.gz: 9cb47838919e94a48cb9dbb4c7c50a2597b8f6431585b9888308743f272fa62c827e629def29e2b168d9b8f2382d98152f7dd2964ffbf588a0e113bb15179eab
7
- data.tar.gz: acc96233d5e7db84475eb0164554ef573160baadf9af1615ddfc7b7934aa3f73e2d6357d56e70b64c4a92f0cf5e41865ee4009b94c6a4458c2c86bd327abb4b4
6
+ metadata.gz: 52656c6b9fd6b702aa40f2a1b5ef63cb70d117952d036a685afff85ed93241f5cfe2c3fbc8fa5e41a0bca721a1edb5c5eb82e0582c6230046d161aafe0fc0437
7
+ data.tar.gz: 33553cbd1c237e180a7b64bae0d298bdcb30db369bd5dd47c7fdef90d740378e1e53b75cd9353d54e62d5ca313484638cef70802dad19c14d4ca0e5b250d54de
@@ -10,7 +10,7 @@ jobs:
10
10
  - name: Set up Ruby
11
11
  uses: ruby/setup-ruby@v1
12
12
  with:
13
- ruby-version: 3.0.0
13
+ ruby-version: 3.0.2
14
14
  - name: Cache Ruby Gems
15
15
  uses: actions/cache@v2
16
16
  with:
@@ -19,7 +19,7 @@ jobs:
19
19
  restore-keys: gems-
20
20
  - name: Run the default task
21
21
  run: |
22
- gem install bundler -v 2.2.3
22
+ gem install bundler -v 2.2.27
23
23
  bundle config path vendor/bundle
24
24
  bundle install --jobs 4 --retry 3
25
25
  bundle exec rake
data/.rubocop.yml CHANGED
@@ -7,7 +7,7 @@ require:
7
7
  - rubocop-rake
8
8
 
9
9
  AllCops:
10
- TargetRubyVersion: 3.0.0
10
+ TargetRubyVersion: 3.0.2
11
11
  NewCops: enable
12
12
 
13
13
  Style/StringLiterals:
data/Gemfile CHANGED
@@ -18,4 +18,5 @@ gem 'rubocop'
18
18
  gem 'rubocop-rails'
19
19
  gem 'rubocop-rake'
20
20
  gem 'rubocop-rspec'
21
+ gem 'sprockets-rails'
21
22
  gem 'sqlite3'
data/Gemfile.lock CHANGED
@@ -1,184 +1,209 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_picture (0.1.1)
5
- rails (~> 6.1.3)
4
+ rails_picture (0.2.0)
5
+ rails (>= 6.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (6.1.3)
11
- actionpack (= 6.1.3)
12
- activesupport (= 6.1.3)
10
+ actioncable (7.0.1)
11
+ actionpack (= 7.0.1)
12
+ activesupport (= 7.0.1)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
- actionmailbox (6.1.3)
16
- actionpack (= 6.1.3)
17
- activejob (= 6.1.3)
18
- activerecord (= 6.1.3)
19
- activestorage (= 6.1.3)
20
- activesupport (= 6.1.3)
15
+ actionmailbox (7.0.1)
16
+ actionpack (= 7.0.1)
17
+ activejob (= 7.0.1)
18
+ activerecord (= 7.0.1)
19
+ activestorage (= 7.0.1)
20
+ activesupport (= 7.0.1)
21
21
  mail (>= 2.7.1)
22
- actionmailer (6.1.3)
23
- actionpack (= 6.1.3)
24
- actionview (= 6.1.3)
25
- activejob (= 6.1.3)
26
- activesupport (= 6.1.3)
22
+ net-imap
23
+ net-pop
24
+ net-smtp
25
+ actionmailer (7.0.1)
26
+ actionpack (= 7.0.1)
27
+ actionview (= 7.0.1)
28
+ activejob (= 7.0.1)
29
+ activesupport (= 7.0.1)
27
30
  mail (~> 2.5, >= 2.5.4)
31
+ net-imap
32
+ net-pop
33
+ net-smtp
28
34
  rails-dom-testing (~> 2.0)
29
- actionpack (6.1.3)
30
- actionview (= 6.1.3)
31
- activesupport (= 6.1.3)
32
- rack (~> 2.0, >= 2.0.9)
35
+ actionpack (7.0.1)
36
+ actionview (= 7.0.1)
37
+ activesupport (= 7.0.1)
38
+ rack (~> 2.0, >= 2.2.0)
33
39
  rack-test (>= 0.6.3)
34
40
  rails-dom-testing (~> 2.0)
35
41
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
- actiontext (6.1.3)
37
- actionpack (= 6.1.3)
38
- activerecord (= 6.1.3)
39
- activestorage (= 6.1.3)
40
- activesupport (= 6.1.3)
42
+ actiontext (7.0.1)
43
+ actionpack (= 7.0.1)
44
+ activerecord (= 7.0.1)
45
+ activestorage (= 7.0.1)
46
+ activesupport (= 7.0.1)
47
+ globalid (>= 0.6.0)
41
48
  nokogiri (>= 1.8.5)
42
- actionview (6.1.3)
43
- activesupport (= 6.1.3)
49
+ actionview (7.0.1)
50
+ activesupport (= 7.0.1)
44
51
  builder (~> 3.1)
45
52
  erubi (~> 1.4)
46
53
  rails-dom-testing (~> 2.0)
47
54
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
- activejob (6.1.3)
49
- activesupport (= 6.1.3)
55
+ activejob (7.0.1)
56
+ activesupport (= 7.0.1)
50
57
  globalid (>= 0.3.6)
51
- activemodel (6.1.3)
52
- activesupport (= 6.1.3)
53
- activerecord (6.1.3)
54
- activemodel (= 6.1.3)
55
- activesupport (= 6.1.3)
56
- activestorage (6.1.3)
57
- actionpack (= 6.1.3)
58
- activejob (= 6.1.3)
59
- activerecord (= 6.1.3)
60
- activesupport (= 6.1.3)
61
- marcel (~> 0.3.1)
62
- mimemagic (~> 0.3.2)
63
- activesupport (6.1.3)
58
+ activemodel (7.0.1)
59
+ activesupport (= 7.0.1)
60
+ activerecord (7.0.1)
61
+ activemodel (= 7.0.1)
62
+ activesupport (= 7.0.1)
63
+ activestorage (7.0.1)
64
+ actionpack (= 7.0.1)
65
+ activejob (= 7.0.1)
66
+ activerecord (= 7.0.1)
67
+ activesupport (= 7.0.1)
68
+ marcel (~> 1.0)
69
+ mini_mime (>= 1.1.0)
70
+ activesupport (7.0.1)
64
71
  concurrent-ruby (~> 1.0, >= 1.0.2)
65
72
  i18n (>= 1.6, < 2)
66
73
  minitest (>= 5.1)
67
74
  tzinfo (~> 2.0)
68
- zeitwerk (~> 2.3)
69
- addressable (2.7.0)
75
+ addressable (2.8.0)
70
76
  public_suffix (>= 2.0.2, < 5.0)
71
77
  ast (2.4.2)
72
78
  awesome_print (1.9.2)
73
- brakeman (5.0.0)
79
+ brakeman (5.2.0)
74
80
  builder (3.2.4)
75
- capybara (3.35.3)
81
+ capybara (3.36.0)
76
82
  addressable
83
+ matrix
77
84
  mini_mime (>= 0.1.3)
78
85
  nokogiri (~> 1.8)
79
86
  rack (>= 1.6.0)
80
87
  rack-test (>= 0.6.3)
81
88
  regexp_parser (>= 1.5, < 3.0)
82
89
  xpath (~> 3.2)
83
- capybara-screenshot (1.0.25)
90
+ capybara-screenshot (1.0.26)
84
91
  capybara (>= 1.0, < 4)
85
92
  launchy
86
93
  cliver (0.3.2)
87
94
  coderay (1.1.3)
88
- concurrent-ruby (1.1.8)
95
+ concurrent-ruby (1.1.9)
89
96
  crass (1.0.6)
90
97
  cuprite (0.13)
91
98
  capybara (>= 2.1, < 4)
92
99
  ferrum (~> 0.11.0)
93
- diff-lcs (1.4.4)
100
+ diff-lcs (1.5.0)
101
+ digest (3.1.0)
94
102
  erubi (1.10.0)
95
103
  ferrum (0.11)
96
104
  addressable (~> 2.5)
97
105
  cliver (~> 0.3)
98
106
  concurrent-ruby (~> 1.1)
99
107
  websocket-driver (>= 0.6, < 0.8)
100
- globalid (0.4.2)
101
- activesupport (>= 4.2.0)
102
- i18n (1.8.9)
108
+ globalid (1.0.0)
109
+ activesupport (>= 5.0)
110
+ i18n (1.9.1)
103
111
  concurrent-ruby (~> 1.0)
112
+ io-wait (0.2.1)
104
113
  launchy (2.5.0)
105
114
  addressable (~> 2.7)
106
- loofah (2.9.0)
115
+ loofah (2.13.0)
107
116
  crass (~> 1.0.2)
108
117
  nokogiri (>= 1.5.9)
109
118
  mail (2.7.1)
110
119
  mini_mime (>= 0.1.1)
111
- marcel (0.3.3)
112
- mimemagic (~> 0.3.2)
120
+ marcel (1.0.2)
121
+ matrix (0.4.2)
113
122
  method_source (1.0.0)
114
- mimemagic (0.3.5)
115
- mini_mime (1.0.2)
116
- minitest (5.14.4)
117
- nio4r (2.5.7)
118
- nokogiri (1.11.2-x86_64-linux)
123
+ mini_mime (1.1.2)
124
+ minitest (5.15.0)
125
+ net-imap (0.2.3)
126
+ digest
127
+ net-protocol
128
+ strscan
129
+ net-pop (0.1.1)
130
+ digest
131
+ net-protocol
132
+ timeout
133
+ net-protocol (0.1.2)
134
+ io-wait
135
+ timeout
136
+ net-smtp (0.3.1)
137
+ digest
138
+ net-protocol
139
+ timeout
140
+ nio4r (2.5.8)
141
+ nokogiri (1.13.1-x86_64-darwin)
142
+ racc (~> 1.4)
143
+ nokogiri (1.13.1-x86_64-linux)
119
144
  racc (~> 1.4)
120
- parallel (1.20.1)
121
- parser (3.0.0.0)
145
+ parallel (1.21.0)
146
+ parser (3.1.0.0)
122
147
  ast (~> 2.4.1)
123
- prettier (1.5.3)
124
- pry (0.14.0)
148
+ prettier (2.0.0)
149
+ pry (0.14.1)
125
150
  coderay (~> 1.1)
126
151
  method_source (~> 1.0)
127
- pry-doc (1.1.0)
152
+ pry-doc (1.3.0)
128
153
  pry (~> 0.11)
129
154
  yard (~> 0.9.11)
130
155
  pry-rails (0.3.9)
131
156
  pry (>= 0.10.4)
132
157
  public_suffix (4.0.6)
133
- puma (5.2.2)
158
+ puma (5.6.1)
134
159
  nio4r (~> 2.0)
135
- racc (1.5.2)
160
+ racc (1.6.0)
136
161
  rack (2.2.3)
137
162
  rack-test (1.1.0)
138
163
  rack (>= 1.0, < 3)
139
- rails (6.1.3)
140
- actioncable (= 6.1.3)
141
- actionmailbox (= 6.1.3)
142
- actionmailer (= 6.1.3)
143
- actionpack (= 6.1.3)
144
- actiontext (= 6.1.3)
145
- actionview (= 6.1.3)
146
- activejob (= 6.1.3)
147
- activemodel (= 6.1.3)
148
- activerecord (= 6.1.3)
149
- activestorage (= 6.1.3)
150
- activesupport (= 6.1.3)
164
+ rails (7.0.1)
165
+ actioncable (= 7.0.1)
166
+ actionmailbox (= 7.0.1)
167
+ actionmailer (= 7.0.1)
168
+ actionpack (= 7.0.1)
169
+ actiontext (= 7.0.1)
170
+ actionview (= 7.0.1)
171
+ activejob (= 7.0.1)
172
+ activemodel (= 7.0.1)
173
+ activerecord (= 7.0.1)
174
+ activestorage (= 7.0.1)
175
+ activesupport (= 7.0.1)
151
176
  bundler (>= 1.15.0)
152
- railties (= 6.1.3)
153
- sprockets-rails (>= 2.0.0)
177
+ railties (= 7.0.1)
154
178
  rails-dom-testing (2.0.3)
155
179
  activesupport (>= 4.2.0)
156
180
  nokogiri (>= 1.6)
157
- rails-html-sanitizer (1.3.0)
181
+ rails-html-sanitizer (1.4.2)
158
182
  loofah (~> 2.3)
159
- railties (6.1.3)
160
- actionpack (= 6.1.3)
161
- activesupport (= 6.1.3)
183
+ railties (7.0.1)
184
+ actionpack (= 7.0.1)
185
+ activesupport (= 7.0.1)
162
186
  method_source
163
- rake (>= 0.8.7)
187
+ rake (>= 12.2)
164
188
  thor (~> 1.0)
165
- rainbow (3.0.0)
166
- rake (13.0.3)
167
- regexp_parser (2.1.1)
168
- rexml (3.2.4)
189
+ zeitwerk (~> 2.5)
190
+ rainbow (3.1.1)
191
+ rake (13.0.6)
192
+ regexp_parser (2.2.0)
193
+ rexml (3.2.5)
169
194
  rspec (3.10.0)
170
195
  rspec-core (~> 3.10.0)
171
196
  rspec-expectations (~> 3.10.0)
172
197
  rspec-mocks (~> 3.10.0)
173
- rspec-core (3.10.1)
198
+ rspec-core (3.10.2)
174
199
  rspec-support (~> 3.10.0)
175
- rspec-expectations (3.10.1)
200
+ rspec-expectations (3.10.2)
176
201
  diff-lcs (>= 1.2.0, < 2.0)
177
202
  rspec-support (~> 3.10.0)
178
- rspec-mocks (3.10.2)
203
+ rspec-mocks (3.10.3)
179
204
  diff-lcs (>= 1.2.0, < 2.0)
180
205
  rspec-support (~> 3.10.0)
181
- rspec-rails (5.0.0)
206
+ rspec-rails (5.1.0)
182
207
  actionpack (>= 5.2)
183
208
  activesupport (>= 5.2)
184
209
  railties (>= 5.2)
@@ -186,27 +211,26 @@ GEM
186
211
  rspec-expectations (~> 3.10)
187
212
  rspec-mocks (~> 3.10)
188
213
  rspec-support (~> 3.10)
189
- rspec-support (3.10.2)
190
- rubocop (1.11.0)
214
+ rspec-support (3.10.3)
215
+ rubocop (1.25.0)
191
216
  parallel (~> 1.10)
192
- parser (>= 3.0.0.0)
217
+ parser (>= 3.1.0.0)
193
218
  rainbow (>= 2.2.2, < 4.0)
194
219
  regexp_parser (>= 1.8, < 3.0)
195
220
  rexml
196
- rubocop-ast (>= 1.2.0, < 2.0)
221
+ rubocop-ast (>= 1.15.1, < 2.0)
197
222
  ruby-progressbar (~> 1.7)
198
223
  unicode-display_width (>= 1.4.0, < 3.0)
199
- rubocop-ast (1.4.1)
200
- parser (>= 2.7.1.5)
201
- rubocop-rails (2.9.1)
224
+ rubocop-ast (1.15.1)
225
+ parser (>= 3.0.1.1)
226
+ rubocop-rails (2.13.2)
202
227
  activesupport (>= 4.2.0)
203
228
  rack (>= 1.1)
204
- rubocop (>= 0.90.0, < 2.0)
205
- rubocop-rake (0.5.1)
206
- rubocop
207
- rubocop-rspec (2.2.0)
229
+ rubocop (>= 1.7.0, < 2.0)
230
+ rubocop-rake (0.6.0)
208
231
  rubocop (~> 1.0)
209
- rubocop-ast (>= 1.1.0)
232
+ rubocop-rspec (2.8.0)
233
+ rubocop (~> 1.19)
210
234
  ruby-progressbar (1.11.0)
211
235
  slim (4.1.0)
212
236
  temple (>= 0.7.6, < 0.9)
@@ -214,26 +238,31 @@ GEM
214
238
  sprockets (4.0.2)
215
239
  concurrent-ruby (~> 1.0)
216
240
  rack (> 1, < 3)
217
- sprockets-rails (3.2.2)
218
- actionpack (>= 4.0)
219
- activesupport (>= 4.0)
241
+ sprockets-rails (3.4.2)
242
+ actionpack (>= 5.2)
243
+ activesupport (>= 5.2)
220
244
  sprockets (>= 3.0.0)
221
245
  sqlite3 (1.4.2)
246
+ strscan (3.0.1)
222
247
  temple (0.8.2)
223
- thor (1.1.0)
248
+ thor (1.2.1)
224
249
  tilt (2.0.10)
250
+ timeout (0.2.0)
225
251
  tzinfo (2.0.4)
226
252
  concurrent-ruby (~> 1.0)
227
- unicode-display_width (2.0.0)
228
- websocket-driver (0.7.3)
253
+ unicode-display_width (2.1.0)
254
+ webrick (1.7.0)
255
+ websocket-driver (0.7.5)
229
256
  websocket-extensions (>= 0.1.0)
230
257
  websocket-extensions (0.1.5)
231
258
  xpath (3.2.0)
232
259
  nokogiri (~> 1.8)
233
- yard (0.9.26)
234
- zeitwerk (2.4.2)
260
+ yard (0.9.27)
261
+ webrick (~> 1.7.0)
262
+ zeitwerk (2.5.4)
235
263
 
236
264
  PLATFORMS
265
+ x86_64-darwin-20
237
266
  x86_64-linux
238
267
 
239
268
  DEPENDENCIES
@@ -257,7 +286,8 @@ DEPENDENCIES
257
286
  rubocop-rake
258
287
  rubocop-rspec
259
288
  slim
289
+ sprockets-rails
260
290
  sqlite3
261
291
 
262
292
  BUNDLED WITH
263
- 2.2.3
293
+ 2.2.32
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsPicture
4
- VERSION = '0.1.1'
4
+ VERSION = '0.2.0'
5
5
  end
@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.metadata['homepage_uri'] = spec.homepage
18
18
  spec.metadata['source_code_uri'] = 'https://github.com/OskarsEzerins/rails_picture'
19
19
  spec.metadata['changelog_uri'] = 'https://github.com/OskarsEzerins/rails_picture/blob/main/CHANGELOG.md'
20
+ spec.metadata['rubygems_mfa_required'] = 'true'
20
21
 
21
22
  # Specify which files should be added to the gem when it is released.
22
23
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -30,7 +31,7 @@ Gem::Specification.new do |spec|
30
31
  # For more information and examples about making a new gem, checkout our
31
32
  # guide at: https://bundler.io/guides/creating_gem.html
32
33
 
33
- spec.add_dependency 'rails', '~> 6.1.3'
34
+ spec.add_dependency 'rails', '>= 6.1'
34
35
 
35
36
  spec.add_development_dependency 'capybara'
36
37
  spec.add_development_dependency 'capybara-screenshot'
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_picture
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oskars Ezerins
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-17 00:00:00.000000000 Z
11
+ date: 2022-01-29 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: 6.1.3
19
+ version: '6.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: 6.1.3
26
+ version: '6.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -157,7 +157,8 @@ metadata:
157
157
  homepage_uri: https://github.com/OskarsEzerins/rails_picture
158
158
  source_code_uri: https://github.com/OskarsEzerins/rails_picture
159
159
  changelog_uri: https://github.com/OskarsEzerins/rails_picture/blob/main/CHANGELOG.md
160
- post_install_message:
160
+ rubygems_mfa_required: 'true'
161
+ post_install_message:
161
162
  rdoc_options: []
162
163
  require_paths:
163
164
  - lib
@@ -172,8 +173,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
173
  - !ruby/object:Gem::Version
173
174
  version: '0'
174
175
  requirements: []
175
- rubygems_version: 3.2.3
176
- signing_key:
176
+ rubygems_version: 3.2.32
177
+ signing_key:
177
178
  specification_version: 4
178
179
  summary: Rails picture_tag helper
179
180
  test_files: []