tomosia_amanaplus_crawl 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0f30081ca8543573b8f1f16c2aaf77384d899152d4f5f424f5008dfe1c7c0fc
4
- data.tar.gz: a819309522dd41b9346a0c43fe538bbd1b380b7524e0a3cac2dc00cdf4193d48
3
+ metadata.gz: 43ec94c9458a2aaf5554bf3eac7728fd8fe4a7e3850a061636ef5bf73569965e
4
+ data.tar.gz: d532f0301d3862807918bd3f1785bf0770302702dfbc4d0d0240f1ac1397a9fa
5
5
  SHA512:
6
- metadata.gz: 23afb7fba2307a0107b549a9e060fe4959de8f89dfad79cd63c0b0c4f2d7627ace2ef447b830ad7ad22c42ed9fb9a9b16b37a73d102386b01489a9046263d64d
7
- data.tar.gz: a2d1201db75b05b6d80fa1a17fa4a0594283d92ad928c2dc22c214305877447ce2aa05685aa57e4bf6a06155416bda62e0d70a3b77dda9d02a8ace6714f09b74
6
+ metadata.gz: d5f54508d8a41443488ae98f9ba966317ad84a001ce1abbc4ad12e5f8c01a6e939670c5900dfd4467e7a16bb215942c96a44c01103ec906f21d839a42f78337a
7
+ data.tar.gz: 4649b6ebed46e5aaddb54d3e2337e88bc4a98cd0399efbc2b4e49aaeaef088bb38eb29e592d60de6d6c7ad4ab090039558860514946f754de491f39427ae06ed
@@ -2,7 +2,6 @@ require "tomosia_amanaplus_crawl/version"
2
2
 
3
3
  module TomosiaAmanaplusCrawl
4
4
  require 'nokogiri'
5
- require 'httparty'
6
5
  require 'open-uri'
7
6
  require 'fileutils'
8
7
  require 'spreadsheet'
@@ -63,7 +62,7 @@ module TomosiaAmanaplusCrawl
63
62
 
64
63
  # tải hình và cập nhật lại size
65
64
  def downloadImages(images, destination)
66
- path = "#{destination}/Downloads" # lưu hình ở folder Downloads
65
+ path = "#{destination}//Downloads" # lưu hình ở folder Downloads
67
66
  Dir.mkdir path unless File.exist? path
68
67
 
69
68
  threads = []
@@ -94,7 +93,7 @@ module TomosiaAmanaplusCrawl
94
93
  end
95
94
 
96
95
  def writeToExcel(images, destination)
97
- path = "#{destination}/File Excel" # lưu file ở folder File Excel
96
+ path = "#{destination}//File Excel" # lưu file ở folder File Excel
98
97
  Dir.mkdir path unless File.exist? path
99
98
 
100
99
  book = Spreadsheet::Workbook.new
@@ -1,3 +1,3 @@
1
1
  module TomosiaAmanaplusCrawl
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -14,7 +14,6 @@ Gem::Specification.new do |spec|
14
14
  spec.executables = 'tomosia_amanaplus_crawl'
15
15
  spec.require_paths = ["lib"]
16
16
 
17
- spec.add_runtime_dependency('httparty', '0.18.1')
18
17
  spec.add_runtime_dependency('nokogiri', '1.10.10')
19
18
  spec.add_runtime_dependency('spreadsheet', '1.2.6')
20
19
  spec.add_runtime_dependency('thor')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomosia_amanaplus_crawl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhat Huy
@@ -10,20 +10,6 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2020-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: httparty
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '='
18
- - !ruby/object:Gem::Version
19
- version: 0.18.1
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '='
25
- - !ruby/object:Gem::Version
26
- version: 0.18.1
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: nokogiri
29
15
  requirement: !ruby/object:Gem::Requirement