yasuri 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/yasuri.gemspec CHANGED
@@ -14,7 +14,8 @@ Gem::Specification.new do |spec|
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ spec.bindir = "exe"
18
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
20
  spec.require_paths = ["lib"]
20
21
 
@@ -28,4 +29,5 @@ Gem::Specification.new do |spec|
28
29
  spec.add_development_dependency "codeclimate-test-reporter"
29
30
 
30
31
  spec.add_dependency "mechanize"
32
+ spec.add_dependency "thor"
31
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yasuri
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAC
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-21 00:00:00.000000000 Z
11
+ date: 2021-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,10 +136,25 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: thor
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  description: Yasuri is an easy web-scraping library for supporting "Mechanize".
140
154
  email:
141
155
  - tac@tac42.net
142
- executables: []
156
+ executables:
157
+ - yasuri
143
158
  extensions: []
144
159
  extra_rdoc_files: []
145
160
  files:
@@ -156,9 +171,11 @@ files:
156
171
  - USAGE.ja.md
157
172
  - USAGE.md
158
173
  - app.rb
174
+ - exe/yasuri
159
175
  - lib/yasuri.rb
160
176
  - lib/yasuri/version.rb
161
177
  - lib/yasuri/yasuri.rb
178
+ - lib/yasuri/yasuri_cli.rb
162
179
  - lib/yasuri/yasuri_links_node.rb
163
180
  - lib/yasuri/yasuri_map_node.rb
164
181
  - lib/yasuri/yasuri_node.rb
@@ -166,6 +183,10 @@ files:
166
183
  - lib/yasuri/yasuri_paginate_node.rb
167
184
  - lib/yasuri/yasuri_struct_node.rb
168
185
  - lib/yasuri/yasuri_text_node.rb
186
+ - spec/cli_resources/tree.json
187
+ - spec/cli_resources/tree.yml
188
+ - spec/cli_resources/tree_wrong.json
189
+ - spec/cli_resources/tree_wrong.yml
169
190
  - spec/htdocs/child01.html
170
191
  - spec/htdocs/child01_sub.html
171
192
  - spec/htdocs/child02.html
@@ -181,6 +202,7 @@ files:
181
202
  - spec/htdocs/struct/structual_text.html
182
203
  - spec/servers/httpserver.rb
183
204
  - spec/spec_helper.rb
205
+ - spec/yasuri_cli_spec.rb
184
206
  - spec/yasuri_links_node_spec.rb
185
207
  - spec/yasuri_map_spec.rb
186
208
  - spec/yasuri_node_spec.rb
@@ -213,6 +235,10 @@ signing_key:
213
235
  specification_version: 4
214
236
  summary: Yasuri is easy scraping library.
215
237
  test_files:
238
+ - spec/cli_resources/tree.json
239
+ - spec/cli_resources/tree.yml
240
+ - spec/cli_resources/tree_wrong.json
241
+ - spec/cli_resources/tree_wrong.yml
216
242
  - spec/htdocs/child01.html
217
243
  - spec/htdocs/child01_sub.html
218
244
  - spec/htdocs/child02.html
@@ -228,6 +254,7 @@ test_files:
228
254
  - spec/htdocs/struct/structual_text.html
229
255
  - spec/servers/httpserver.rb
230
256
  - spec/spec_helper.rb
257
+ - spec/yasuri_cli_spec.rb
231
258
  - spec/yasuri_links_node_spec.rb
232
259
  - spec/yasuri_map_spec.rb
233
260
  - spec/yasuri_node_spec.rb