tsumamigui 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c58ebec9f2629957128d3d826729a1a0888ec250
4
+ data.tar.gz: 4a59da2a971ba30319f665b5c3ea1703952e2b0b
5
+ SHA512:
6
+ metadata.gz: 6af52cd0b719b0cf62274391fb8743003263753f97e3850ca3d58f35d21ef97d58d4dfab0fb1b7b7fb057691b0f20672220501062101b96d37d5d990bb4a1831
7
+ data.tar.gz: c9d9a48d63cfb512379159d03ee82e80c3a10cb070f81c8b26387e3a115cb6c06b6cdcd2669a135dba90ff3e353726abf0b4685ec81f0ddb20f76cace8dbfbca
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /.ruby-version
11
+ /vendor/bundle/
12
+
13
+ # rspec failure tracking
14
+ .rspec_status
data/.pryrc ADDED
@@ -0,0 +1,6 @@
1
+ if defined?(PryByebug)
2
+ Pry.commands.alias_command 'c', 'continue'
3
+ Pry.commands.alias_command 's', 'step'
4
+ Pry.commands.alias_command 'n', 'next'
5
+ Pry.commands.alias_command 'f', 'finish'
6
+ end
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --require spec_helper
2
+ --format documentation
3
+ --color
4
+ --order random
data/.rubocop.yml ADDED
@@ -0,0 +1,21 @@
1
+ AllCops:
2
+ DisplayCopNames: true
3
+ Exclude:
4
+ - 'vendor/**/*'
5
+ Style/Documentation:
6
+ Enabled: false
7
+ Style/AsciiComments:
8
+ Enabled: false
9
+ Style/StringLiterals:
10
+ Enabled: false
11
+ Style/NumericLiterals:
12
+ Enabled: false
13
+ Style/FrozenStringLiteralComment:
14
+ Enabled: false
15
+ Metrics/BlockLength:
16
+ Exclude:
17
+ - 'spec/**/*'
18
+ Layout/SpaceAroundEqualsInParameterDefault:
19
+ EnforcedStyle: no_space
20
+ Layout/SpaceInsideHashLiteralBraces:
21
+ EnforcedStyle: no_space
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 obiyuta
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,78 @@
1
+ # Tsumamigui
2
+ ![circleci](https://circleci.com/gh/obiyuta/tsumamigui.svg?&style=shield&circle-token=8e2bda0f04504c2fe43d3fe70ea8ab1b6184806f) [![Code Climate](https://codeclimate.com/github/obiyuta/tsumamigui/badges/gpa.svg)](https://codeclimate.com/github/obiyuta/tsumamigui) [![Test Coverage](https://codeclimate.com/github/obiyuta/tsumamigui/badges/coverage.svg)](https://codeclimate.com/github/obiyuta/tsumamigui/coverage) [![Dependency Status](https://gemnasium.com/badges/github.com/obiyuta/tsumamigui.svg)](https://gemnasium.com/github.com/obiyuta/tsumamigui) [![Inline docs](http://inch-ci.org/github/obiyuta/tsumamigui.svg?branch=master)](http://inch-ci.org/github/obiyuta/tsumamigui)
3
+
4
+ Tsumamigui(つまみぐい) is a simple and hussle-free Ruby web scraping library.
5
+
6
+ ## Requirement
7
+
8
+ Ruby 2.1+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'tsumamigui'
16
+ ```
17
+
18
+ Or install it yourself as:
19
+
20
+ ```
21
+ $ gem install tsumamigui
22
+ ```
23
+
24
+ ## Usage
25
+
26
+ You just give it a URL(or URLs) and Xpath to data you want to get with its label as a hash.
27
+ Then you can get scraped and parsed data as array.
28
+
29
+ ```ruby
30
+ Tsumamigui.scrape('http://example.com', {h1: 'html/body/div/h1/text()'})
31
+
32
+ # Returns:
33
+ # [
34
+ # {h1: 'Example Domain', scraped_from: 'http://example.com'}
35
+ # ]
36
+ ```
37
+
38
+ You can specify multiple URLs if you want to scrape different pages which they have the same HTML structure.
39
+
40
+ ```ruby
41
+ urls = ['http://example.com/page/1', 'http://example.com/page/2']
42
+ Tsumamigui.scrape(urls, {h1: 'html/body/div/h1/text()'})
43
+
44
+ # Returns:
45
+ # [
46
+ # {h1: 'Example Domain 1', scraped_from: 'http://example.com/page/1'}
47
+ # {h1: 'Example Domain 2', scraped_from: 'http://example.com/page/2'}
48
+ # ]
49
+ ```
50
+ ___Important:___ Tsumamigui requests each urls at intervals of 1.0~3.0sec automatically.
51
+
52
+ ## TODO
53
+
54
+ - [ ] Custom request headers.
55
+ - [ ] SSL support. (unchecked)
56
+
57
+ etc...
58
+
59
+ ## Contributing
60
+
61
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/obiyuta/tsumamigui](https://github.com/obiyuta/tsumamigui). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
62
+
63
+ ### Guideline
64
+
65
+ 1. Fork it ( http://github.com/obiyuta/tsumamigui )
66
+ 1. Create your feature branch (git checkout -b my-new-feature)
67
+ 1. Write codes and specs.
68
+ - Run test suite with `bundle exec rspec` and confirm that it passes
69
+ - Run lint checker with the `bundle exec rubocop` and confirm that it passes
70
+ 1. Commit your changes (git commit -am 'Add some feature')
71
+ 1. Push to the branch (git push origin my-new-feature)
72
+ 1. Create new Pull Request
73
+
74
+ ## License
75
+
76
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
77
+
78
+ Copyright (c) 2017 Obi Yuta. See MIT-LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'tsumamigui'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require 'irb'
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/circle.yml ADDED
@@ -0,0 +1,45 @@
1
+ machine:
2
+ timezone: Asia/Tokyo
3
+ ruby:
4
+ version: 2.4.1
5
+ environment:
6
+ CC_TEST_REPORTER_ID: fb2b65ee179ec4ba3ac0f60d2047823566cc14dac0578c4c401532e682f5d435
7
+ database:
8
+ override:
9
+ - echo 'Skipping DB step.'
10
+ dependencies:
11
+ cache_directories:
12
+ - 'vendor/bundle'
13
+ - 'vendor/bundle_2.3.4'
14
+ - 'vendor/bundle_2.2.7'
15
+ - 'vendor/bundle_2.1.6'
16
+ pre:
17
+ - rvm install 2.3.4
18
+ - rvm install 2.2.7
19
+ - rvm install 2.1.6
20
+ override:
21
+ - bundle install --path vendor/bundle
22
+ - rvm-exec 2.3.4 bash -c 'bundle install --path vendor/bundle_2.3.4'
23
+ - rvm-exec 2.2.7 bash -c 'bundle install --path vendor/bundle_2.2.7'
24
+ - rvm-exec 2.1.6 bash -c 'bundle install --path vendor/bundle_2.1.6'
25
+ post:
26
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
27
+ - chmod +x ./cc-test-reporter
28
+ test:
29
+ pre:
30
+ - ./cc-test-reporter before-build
31
+ override:
32
+ - bundle config --local path vendor/bundle_2.3.4
33
+ - rvm-exec 2.3.4 bash -c 'bundle exec rspec'
34
+ - bundle config --local path vendor/bundle_2.2.7
35
+ - rvm-exec 2.2.7 bash -c 'bundle exec rspec'
36
+ - bundle config --local path vendor/bundle_2.1.6
37
+ - rvm-exec 2.1.6 bash -c 'bundle exec rspec'
38
+ - bundle config --local path vendor/bundle
39
+ - bundle exec rubocop
40
+ - bundle exec rspec
41
+ post:
42
+ - ./cc-test-reporter after-build --exit-code $EXIT_CODE
43
+ general:
44
+ artifacts:
45
+ - coverage
data/lib/tsumamigui.rb ADDED
@@ -0,0 +1,21 @@
1
+ require 'tsumamigui/version'
2
+ require 'tsumamigui/request'
3
+ require 'tsumamigui/parser'
4
+
5
+ module Tsumamigui
6
+ class << self
7
+ # @param [String] url
8
+ # @param [Array<String>] url
9
+ # @param [Hash] xpath key and xpath to it
10
+ # @return [Array] parsed contents
11
+ # @example
12
+ # Tsumamigui.scrape('http://example.com', title: '//div[0]/@content')
13
+ # # you can specify muitiple urls at once
14
+ # urls = ['http://example.com', 'http://example.com/sample']
15
+ # Tsumamigui.scrape(urls, title: '//div[0]/@content')
16
+ def scrape(url, xpath)
17
+ documents = Request.run(url)
18
+ Parser.parse(documents, xpath)
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,4 @@
1
+ module Tsumamigui
2
+ class RequestError < StandardError; end
3
+ class ParserError < StandardError; end
4
+ end
@@ -0,0 +1,52 @@
1
+ require 'nokogiri'
2
+ require 'tsumamigui/error'
3
+
4
+ module Tsumamigui
5
+ class Parser
6
+ attr_reader :xpath
7
+
8
+ class << self
9
+ # @param [Array<Tsumamigui::Response>] responses
10
+ # @param [Hash] xpath
11
+ # @return [Array<Hash>]
12
+ def parse(responses, xpath)
13
+ new(xpath).send(:parse, responses)
14
+ end
15
+ end
16
+
17
+ # @param [Hash] xpath Name and xpath to it
18
+ def initialize(xpath)
19
+ @xpath = xpath
20
+ end
21
+
22
+ private
23
+
24
+ # @return [Array<Tsumamigui::Response>] responses
25
+ # @raise [Tsumamigui::ParserError]
26
+ def parse(responses)
27
+ results = []
28
+ responses.each do |res|
29
+ url, html, charset = res.to_array
30
+ result = extract(Nokogiri::HTML.parse(html, nil, charset))
31
+ result[:scraped_from] = url
32
+ results.push(result)
33
+ end
34
+ results
35
+ rescue => e
36
+ raise ParserError, e.message
37
+ end
38
+
39
+ # @param [Object] document Nokogiri::HTML::Document
40
+ # @return [Hash]
41
+ # @raise [Tsumamigui::ParserError]
42
+ def extract(doc)
43
+ result = {}
44
+ @xpath.each do |k, v|
45
+ result[k] = doc.xpath(v).to_s
46
+ end
47
+ result
48
+ rescue => e
49
+ raise ParserError, e.message
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,66 @@
1
+ require 'open-uri'
2
+ require 'tsumamigui/error'
3
+ require 'tsumamigui/response'
4
+
5
+ module Tsumamigui
6
+ class Request
7
+ class << self
8
+ # @param [String] urls
9
+ # @param [Array<String>] urls
10
+ # @return [Array<Tsumamigui::Response>]
11
+ def run(*urls)
12
+ new(urls).send(:run)
13
+ end
14
+ end
15
+
16
+ INTERVAL = 1.0..3.0 # sec
17
+
18
+ attr_reader :urls
19
+
20
+ # @param [String] urls
21
+ # @param [Array<String>] urls
22
+ def initialize(*urls)
23
+ @urls = urls.flatten
24
+ raise ArgumentError, 'No argument is specified' if @urls.empty?
25
+ @urls
26
+ end
27
+
28
+ private
29
+
30
+ # @return [Array<Tsumamigui::Response>]
31
+ def run
32
+ results = []
33
+ @urls.each do |url|
34
+ results.push(fetch(url))
35
+ end
36
+ results
37
+ end
38
+
39
+ # @param [String] url
40
+ # @return [Tsumamigui::Response] response
41
+ # @raise [Tsumamigui::RequestError]
42
+ def fetch(url)
43
+ charset = nil
44
+ sleep(sleep_interval)
45
+ html = open(url, request_options) do |f|
46
+ charset = f.charset
47
+ f.read
48
+ end
49
+
50
+ Response.new(url, html, charset)
51
+ rescue => e
52
+ raise RequestError, e.message
53
+ end
54
+
55
+ # @return [Float] sec 1.0-3.0秒
56
+ def sleep_interval
57
+ Random.rand(INTERVAL)
58
+ end
59
+
60
+ # @return [Hash] options
61
+ def request_options
62
+ homepage = 'https://github.com/obiyuta/tsumamigui'
63
+ {'User-Agent' => "Tsumamigui/#{Tsumamigui::VERSION} (+#{homepage})"}
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,21 @@
1
+ module Tsumamigui
2
+ class Response
3
+ attr_reader :url
4
+ attr_reader :html
5
+ attr_reader :charset
6
+
7
+ # @param [String] url
8
+ # @param [String] html
9
+ # @param [String] charset
10
+ def initialize(url, html, charset)
11
+ @url = url
12
+ @html = html
13
+ @charset = charset
14
+ end
15
+
16
+ # @return [Array]
17
+ def to_array
18
+ [@url, @html, @charset]
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,3 @@
1
+ module Tsumamigui
2
+ VERSION = '0.1.0'.freeze
3
+ end
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'tsumamigui/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'tsumamigui'
9
+ spec.version = Tsumamigui::VERSION
10
+ spec.authors = ['obiyuta']
11
+ spec.email = ['obi.yuta@gmail.com']
12
+
13
+ spec.summary = 'The simple and hussle-free Ruby web scraper'
14
+ spec.description = 'Tsumamigui(つまみぐい) is a simple and hussle-free Ruby web scraping library.'
15
+ spec.homepage = 'https://github.com/obiyuta/tsumamigui'
16
+ spec.license = 'MIT'
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+ spec.bindir = 'exe'
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ['lib']
24
+
25
+ spec.add_dependency 'nokogiri'
26
+
27
+ spec.add_development_dependency 'bundler'
28
+ spec.add_development_dependency 'rake'
29
+ spec.add_development_dependency 'rspec', '~> 3.0'
30
+ spec.add_development_dependency 'rubocop'
31
+ spec.add_development_dependency 'pry-byebug'
32
+ spec.add_development_dependency 'yard'
33
+ spec.add_development_dependency 'webmock'
34
+ spec.add_development_dependency 'simplecov'
35
+ spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.0'
36
+ end
metadata ADDED
@@ -0,0 +1,202 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tsumamigui
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - obiyuta
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-07-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: nokogiri
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
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: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-byebug
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: yard
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: codeclimate-test-reporter
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 1.0.0
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 1.0.0
153
+ description: Tsumamigui(つまみぐい) is a simple and hussle-free Ruby web scraping library.
154
+ email:
155
+ - obi.yuta@gmail.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".pryrc"
162
+ - ".rspec"
163
+ - ".rubocop.yml"
164
+ - Gemfile
165
+ - LICENSE.txt
166
+ - README.md
167
+ - Rakefile
168
+ - bin/console
169
+ - bin/setup
170
+ - circle.yml
171
+ - lib/tsumamigui.rb
172
+ - lib/tsumamigui/error.rb
173
+ - lib/tsumamigui/parser.rb
174
+ - lib/tsumamigui/request.rb
175
+ - lib/tsumamigui/response.rb
176
+ - lib/tsumamigui/version.rb
177
+ - tsumamigui.gemspec
178
+ homepage: https://github.com/obiyuta/tsumamigui
179
+ licenses:
180
+ - MIT
181
+ metadata: {}
182
+ post_install_message:
183
+ rdoc_options: []
184
+ require_paths:
185
+ - lib
186
+ required_ruby_version: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: '0'
191
+ required_rubygems_version: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ requirements: []
197
+ rubyforge_project:
198
+ rubygems_version: 2.6.11
199
+ signing_key:
200
+ specification_version: 4
201
+ summary: The simple and hussle-free Ruby web scraper
202
+ test_files: []