simple-images-downloader 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -18
- data/README.md +3 -2
- data/lib/simple_images_downloader/version.rb +1 -1
- data/simple_images_downloader.gemspec +11 -12
- metadata +44 -72
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e30d4d84458e05078a7cf533a81232c6b9b5ab8f7a23af6ba7eb7d6c4888ad6
|
4
|
+
data.tar.gz: b777465fad42e5f64fa453b517b0580dfee08fe58de96f95ee33d0037e7d366d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4e506b03da3563e420a6b9bd73b621d18e90d257345ee494fcc3f92003f55928399ff77346bef949b32a2366af449655b4889e7859860818b9c85aaa7088f0b
|
7
|
+
data.tar.gz: 2874026b259f142d19fda1be7bd7c3d52b603a8f865bde0320d7f26907efbb32d3a2218ed4b76355fd472a6b90ee5221a73fb0696b5b4bd08c24690782a30b5e
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
simple-images-downloader (1.0.
|
5
|
-
zeitwerk
|
4
|
+
simple-images-downloader (1.0.1)
|
5
|
+
zeitwerk (~> 2.4.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -10,9 +10,6 @@ GEM
|
|
10
10
|
addressable (2.7.0)
|
11
11
|
public_suffix (>= 2.0.2, < 5.0)
|
12
12
|
ast (2.4.1)
|
13
|
-
bundler-audit (0.7.0.1)
|
14
|
-
bundler (>= 1.2.0, < 3)
|
15
|
-
thor (>= 0.18, < 2)
|
16
13
|
byebug (11.1.3)
|
17
14
|
coderay (1.1.3)
|
18
15
|
concurrent-ruby (1.1.7)
|
@@ -25,7 +22,6 @@ GEM
|
|
25
22
|
i18n (1.8.5)
|
26
23
|
concurrent-ruby (~> 1.0)
|
27
24
|
json (2.3.1)
|
28
|
-
memory_profiler (0.9.14)
|
29
25
|
method_source (1.0.0)
|
30
26
|
parallel (1.19.2)
|
31
27
|
parser (2.7.1.4)
|
@@ -78,7 +74,6 @@ GEM
|
|
78
74
|
json (>= 1.8, < 3)
|
79
75
|
simplecov-html (~> 0.10.0)
|
80
76
|
simplecov-html (0.10.2)
|
81
|
-
thor (1.0.1)
|
82
77
|
unicode-display_width (1.7.0)
|
83
78
|
vcr (6.0.0)
|
84
79
|
webmock (3.9.1)
|
@@ -91,21 +86,19 @@ PLATFORMS
|
|
91
86
|
ruby
|
92
87
|
|
93
88
|
DEPENDENCIES
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
pry
|
98
|
-
pry-byebug
|
89
|
+
faker (~> 2.14)
|
90
|
+
pry (~> 0.13.1)
|
91
|
+
pry-byebug (~> 3.9.0)
|
99
92
|
rake (~> 12.0)
|
100
93
|
rspec (~> 3.0)
|
101
|
-
rspec_junit_formatter
|
102
|
-
rubocop
|
103
|
-
rubocop-faker
|
104
|
-
rubocop-rspec
|
94
|
+
rspec_junit_formatter (~> 0.4.1)
|
95
|
+
rubocop (~> 0.91.0)
|
96
|
+
rubocop-faker (~> 1.1.0)
|
97
|
+
rubocop-rspec (~> 1.43.2)
|
105
98
|
simple-images-downloader!
|
106
99
|
simplecov (~> 0.17.1)
|
107
|
-
vcr
|
108
|
-
webmock
|
100
|
+
vcr (~> 6.0.0)
|
101
|
+
webmock (~> 3.9.1)
|
109
102
|
|
110
103
|
RUBY VERSION
|
111
104
|
ruby 2.7.1p83
|
data/README.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
|
-
#
|
1
|
+
# Simple Images Downloader
|
2
2
|
|
3
3
|
[![IlkhamGaysin](https://circleci.com/gh/IlkhamGaysin/simple-images-downloader.svg?style=svg)](https://circleci.com/gh/IlkhamGaysin/simple-images-downloader)
|
4
4
|
[![Maintainability](https://api.codeclimate.com/v1/badges/df8b8fea5a09ad512d54/maintainability)](https://codeclimate.com/github/IlkhamGaysin/simple-images-downloader/maintainability)
|
5
5
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/df8b8fea5a09ad512d54/test_coverage)](https://codeclimate.com/github/IlkhamGaysin/simple-images-downloader/test_coverage)
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/simple-images-downloader.svg)](https://badge.fury.io/rb/simple-images-downloader)
|
6
7
|
|
7
8
|
This gem allows you download images from either source file with list of urls or plain url.
|
8
|
-
The urls must be non redirectable. For now the feature is unsupported. The gem uses `OpenURI` class under the hood and is able to download as small files less than 10KB as large files 100MB.
|
9
|
+
The urls must be non redirectable. For now the feature is unsupported. The gem uses `OpenURI` class under the hood and is able to download as small files less than 10KB as large files, for example 100MB.
|
9
10
|
|
10
11
|
## Dependencies
|
11
12
|
- Ruby >= 2.7.1
|
@@ -30,19 +30,18 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
31
|
spec.require_paths = ['lib']
|
32
32
|
|
33
|
-
spec.
|
34
|
-
|
35
|
-
spec.add_development_dependency '
|
36
|
-
spec.add_development_dependency 'pry'
|
37
|
-
spec.add_development_dependency 'pry-byebug'
|
33
|
+
spec.add_runtime_dependency 'zeitwerk', '~> 2.4.0'
|
34
|
+
|
35
|
+
spec.add_development_dependency 'faker', '~> 2.14'
|
36
|
+
spec.add_development_dependency 'pry', '~> 0.13.1'
|
37
|
+
spec.add_development_dependency 'pry-byebug', '~> 3.9.0'
|
38
38
|
spec.add_development_dependency 'rake', '~> 12.0'
|
39
39
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
40
|
-
spec.add_development_dependency 'rspec_junit_formatter'
|
41
|
-
spec.add_development_dependency 'rubocop'
|
42
|
-
spec.add_development_dependency 'rubocop-faker'
|
43
|
-
spec.add_development_dependency 'rubocop-rspec'
|
40
|
+
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4.1'
|
41
|
+
spec.add_development_dependency 'rubocop', '~> 0.91.0'
|
42
|
+
spec.add_development_dependency 'rubocop-faker', '~> 1.1.0'
|
43
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 1.43.2'
|
44
44
|
spec.add_development_dependency 'simplecov', '~> 0.17.1'
|
45
|
-
spec.add_development_dependency 'vcr'
|
46
|
-
spec.add_development_dependency 'webmock'
|
47
|
-
spec.add_runtime_dependency 'zeitwerk'
|
45
|
+
spec.add_development_dependency 'vcr', '~> 6.0.0'
|
46
|
+
spec.add_development_dependency 'webmock', '~> 3.9.1'
|
48
47
|
end
|
metadata
CHANGED
@@ -1,85 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-images-downloader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IlkhamGaysin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: zeitwerk
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
type: :
|
19
|
+
version: 2.4.0
|
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:
|
26
|
+
version: 2.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: memory_profiler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
31
|
+
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
33
|
+
version: '2.14'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
|
-
- - "
|
38
|
+
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
40
|
+
version: '2.14'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: pry
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
|
-
- - "
|
45
|
+
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
47
|
+
version: 0.13.1
|
62
48
|
type: :development
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
|
-
- - "
|
52
|
+
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
54
|
+
version: 0.13.1
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: pry-byebug
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- - "
|
59
|
+
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
61
|
+
version: 3.9.0
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
|
-
- - "
|
66
|
+
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
68
|
+
version: 3.9.0
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rake
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,58 +98,58 @@ dependencies:
|
|
112
98
|
name: rspec_junit_formatter
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- - "
|
101
|
+
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
103
|
+
version: 0.4.1
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
|
-
- - "
|
108
|
+
- - "~>"
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
110
|
+
version: 0.4.1
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: rubocop
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
128
114
|
requirements:
|
129
|
-
- - "
|
115
|
+
- - "~>"
|
130
116
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
117
|
+
version: 0.91.0
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
|
-
- - "
|
122
|
+
- - "~>"
|
137
123
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
124
|
+
version: 0.91.0
|
139
125
|
- !ruby/object:Gem::Dependency
|
140
126
|
name: rubocop-faker
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|
142
128
|
requirements:
|
143
|
-
- - "
|
129
|
+
- - "~>"
|
144
130
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
131
|
+
version: 1.1.0
|
146
132
|
type: :development
|
147
133
|
prerelease: false
|
148
134
|
version_requirements: !ruby/object:Gem::Requirement
|
149
135
|
requirements:
|
150
|
-
- - "
|
136
|
+
- - "~>"
|
151
137
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
138
|
+
version: 1.1.0
|
153
139
|
- !ruby/object:Gem::Dependency
|
154
140
|
name: rubocop-rspec
|
155
141
|
requirement: !ruby/object:Gem::Requirement
|
156
142
|
requirements:
|
157
|
-
- - "
|
143
|
+
- - "~>"
|
158
144
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
145
|
+
version: 1.43.2
|
160
146
|
type: :development
|
161
147
|
prerelease: false
|
162
148
|
version_requirements: !ruby/object:Gem::Requirement
|
163
149
|
requirements:
|
164
|
-
- - "
|
150
|
+
- - "~>"
|
165
151
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
152
|
+
version: 1.43.2
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: simplecov
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,44 +168,30 @@ dependencies:
|
|
182
168
|
name: vcr
|
183
169
|
requirement: !ruby/object:Gem::Requirement
|
184
170
|
requirements:
|
185
|
-
- - "
|
171
|
+
- - "~>"
|
186
172
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
173
|
+
version: 6.0.0
|
188
174
|
type: :development
|
189
175
|
prerelease: false
|
190
176
|
version_requirements: !ruby/object:Gem::Requirement
|
191
177
|
requirements:
|
192
|
-
- - "
|
178
|
+
- - "~>"
|
193
179
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
180
|
+
version: 6.0.0
|
195
181
|
- !ruby/object:Gem::Dependency
|
196
182
|
name: webmock
|
197
183
|
requirement: !ruby/object:Gem::Requirement
|
198
184
|
requirements:
|
199
|
-
- - "
|
185
|
+
- - "~>"
|
200
186
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
187
|
+
version: 3.9.1
|
202
188
|
type: :development
|
203
189
|
prerelease: false
|
204
190
|
version_requirements: !ruby/object:Gem::Requirement
|
205
191
|
requirements:
|
206
|
-
- - "
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '0'
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: zeitwerk
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - ">="
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: '0'
|
216
|
-
type: :runtime
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - ">="
|
192
|
+
- - "~>"
|
221
193
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
194
|
+
version: 3.9.1
|
223
195
|
description:
|
224
196
|
email:
|
225
197
|
- ilgamgaysin@gmail.com
|