tomosia_icon8_crawl 0.1.3 → 0.1.4
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 +4 -4
- data/Gemfile.lock +60 -60
- data/lib/tomosia_icon8_crawl.rb +1 -2
- data/lib/tomosia_icon8_crawl/version.rb +1 -1
- data/tomosia_icon8_crawl.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c21279b8197476970de56e3a4b69f19920e7b385b654a4c419ed3cf590957316
|
4
|
+
data.tar.gz: abb7c3ca0fe358faa2b62e858dcf0e00b03d18de2d8e4b5b1dd0febe4dd71024
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a85aa7ba63cfd10f42dfca35e223f120ad72602808a3e3ca282ce5aa4988848776a8957fd567287209c0c8f66ac106f19351ab8104f7c4e5805affcd738b3b3
|
7
|
+
data.tar.gz: d565d7ecf7cc89ca1a79535dec886616b96649a3f5f3fbafcf368ff1cb290e8c31cb418fbc180e6e1c27701b623178b74fbd20f965f82e1bcde37a59407851b3
|
data/Gemfile.lock
CHANGED
@@ -1,60 +1,60 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
tomosia_icon8_crawl (0.1.
|
5
|
-
httparty
|
6
|
-
nokogiri
|
7
|
-
pry
|
8
|
-
thor
|
9
|
-
writeexcel
|
10
|
-
|
11
|
-
GEM
|
12
|
-
remote: https://rubygems.org/
|
13
|
-
specs:
|
14
|
-
coderay (1.1.3)
|
15
|
-
diff-lcs (1.4.4)
|
16
|
-
httparty (0.17.3)
|
17
|
-
mime-types (~> 3.0)
|
18
|
-
multi_xml (>= 0.5.2)
|
19
|
-
method_source (1.0.0)
|
20
|
-
mime-types (3.3.1)
|
21
|
-
mime-types-data (~> 3.2015)
|
22
|
-
mime-types-data (3.2020.0512)
|
23
|
-
mini_portile2 (2.4.0)
|
24
|
-
multi_xml (0.6.0)
|
25
|
-
nokogiri (1.10.10-x64-mingw32)
|
26
|
-
mini_portile2 (~> 2.4.0)
|
27
|
-
pry (0.13.1)
|
28
|
-
coderay (~> 1.1)
|
29
|
-
method_source (~> 1.0)
|
30
|
-
rake (12.3.3)
|
31
|
-
rspec (3.9.0)
|
32
|
-
rspec-core (~> 3.9.0)
|
33
|
-
rspec-expectations (~> 3.9.0)
|
34
|
-
rspec-mocks (~> 3.9.0)
|
35
|
-
rspec-core (3.9.2)
|
36
|
-
rspec-support (~> 3.9.3)
|
37
|
-
rspec-expectations (3.9.2)
|
38
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
39
|
-
rspec-support (~> 3.9.0)
|
40
|
-
rspec-mocks (3.9.1)
|
41
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
-
rspec-support (~> 3.9.0)
|
43
|
-
rspec-support (3.9.3)
|
44
|
-
thor (1.0.1)
|
45
|
-
writeexcel (1.0.5)
|
46
|
-
|
47
|
-
PLATFORMS
|
48
|
-
x64-mingw32
|
49
|
-
|
50
|
-
DEPENDENCIES
|
51
|
-
bundler
|
52
|
-
httparty (~> 0.17.3)
|
53
|
-
pry (~> 0.13.1)
|
54
|
-
rake (~> 12.0)
|
55
|
-
rspec (~> 3.0)
|
56
|
-
tomosia_icon8_crawl!
|
57
|
-
writeexcel (~> 1.0, >= 1.0.5)
|
58
|
-
|
59
|
-
BUNDLED WITH
|
60
|
-
2.1.4
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
tomosia_icon8_crawl (0.1.4)
|
5
|
+
httparty
|
6
|
+
nokogiri
|
7
|
+
pry
|
8
|
+
thor
|
9
|
+
writeexcel
|
10
|
+
|
11
|
+
GEM
|
12
|
+
remote: https://rubygems.org/
|
13
|
+
specs:
|
14
|
+
coderay (1.1.3)
|
15
|
+
diff-lcs (1.4.4)
|
16
|
+
httparty (0.17.3)
|
17
|
+
mime-types (~> 3.0)
|
18
|
+
multi_xml (>= 0.5.2)
|
19
|
+
method_source (1.0.0)
|
20
|
+
mime-types (3.3.1)
|
21
|
+
mime-types-data (~> 3.2015)
|
22
|
+
mime-types-data (3.2020.0512)
|
23
|
+
mini_portile2 (2.4.0)
|
24
|
+
multi_xml (0.6.0)
|
25
|
+
nokogiri (1.10.10-x64-mingw32)
|
26
|
+
mini_portile2 (~> 2.4.0)
|
27
|
+
pry (0.13.1)
|
28
|
+
coderay (~> 1.1)
|
29
|
+
method_source (~> 1.0)
|
30
|
+
rake (12.3.3)
|
31
|
+
rspec (3.9.0)
|
32
|
+
rspec-core (~> 3.9.0)
|
33
|
+
rspec-expectations (~> 3.9.0)
|
34
|
+
rspec-mocks (~> 3.9.0)
|
35
|
+
rspec-core (3.9.2)
|
36
|
+
rspec-support (~> 3.9.3)
|
37
|
+
rspec-expectations (3.9.2)
|
38
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
39
|
+
rspec-support (~> 3.9.0)
|
40
|
+
rspec-mocks (3.9.1)
|
41
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
+
rspec-support (~> 3.9.0)
|
43
|
+
rspec-support (3.9.3)
|
44
|
+
thor (1.0.1)
|
45
|
+
writeexcel (1.0.5)
|
46
|
+
|
47
|
+
PLATFORMS
|
48
|
+
x64-mingw32
|
49
|
+
|
50
|
+
DEPENDENCIES
|
51
|
+
bundler
|
52
|
+
httparty (~> 0.17.3)
|
53
|
+
pry (~> 0.13.1)
|
54
|
+
rake (~> 12.0)
|
55
|
+
rspec (~> 3.0)
|
56
|
+
tomosia_icon8_crawl!
|
57
|
+
writeexcel (~> 1.0, >= 1.0.5)
|
58
|
+
|
59
|
+
BUNDLED WITH
|
60
|
+
2.1.4
|
data/lib/tomosia_icon8_crawl.rb
CHANGED
@@ -52,7 +52,7 @@ module TomosiaIcon8Crawl
|
|
52
52
|
worksheet.write_string(0, 0, 'STT', format)
|
53
53
|
worksheet.write_string(0, 1, 'NAME', format)
|
54
54
|
worksheet.write_string(0, 2, 'URL', format)
|
55
|
-
worksheet.write_string(0, 3, 'SIZE', format)
|
55
|
+
worksheet.write_string(0, 3, 'SIZE(byte)', format)
|
56
56
|
worksheet.write_string(0, 4, 'EXTENSION', format)
|
57
57
|
|
58
58
|
multi = []
|
@@ -115,7 +115,6 @@ module TomosiaIcon8Crawl
|
|
115
115
|
ext = File.extname(img).delete('.')
|
116
116
|
threads << Thread.new do
|
117
117
|
download_image(des, img)
|
118
|
-
@size = @size.to_s + "byte"
|
119
118
|
row = {"index" => index, "name" => title, "url" => img, "size" => @size, "extension" => ext}
|
120
119
|
@data.push(row)
|
121
120
|
end
|
data/tomosia_icon8_crawl.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.authors = ["ninh-tomosia"]
|
7
7
|
spec.email = ["tt.ninh.le@tomosia.com"]
|
8
8
|
|
9
|
-
spec.summary = %q{tomosia-icon8-crawl using download image from
|
9
|
+
spec.summary = %q{tomosia-icon8-crawl using download image from icons8.com}
|
10
10
|
spec.homepage = "https://github.com/ninh-tomosia/tomosia-icon8-crawl"
|
11
11
|
spec.license = "MIT"
|
12
12
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomosia_icon8_crawl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ninh-tomosia
|
@@ -170,5 +170,5 @@ requirements: []
|
|
170
170
|
rubygems_version: 3.1.2
|
171
171
|
signing_key:
|
172
172
|
specification_version: 4
|
173
|
-
summary: tomosia-icon8-crawl using download image from
|
173
|
+
summary: tomosia-icon8-crawl using download image from icons8.com
|
174
174
|
test_files: []
|