scraper_rb 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4b01521d5e4d7aee51cce39790a306c9c2be362461025c738b539fbde5d9a43
4
- data.tar.gz: e0ebb0969b2e1c7fb151bce41824b23fc4e415931b5ce3c44286578aeb8557e4
3
+ metadata.gz: 879c8d4f6057bdb06c36073d71063a9ef40ad0544484bab1546093621e24c319
4
+ data.tar.gz: f75e6f6e2105d8cc9dbd4e7808c061a0148115904e29fee6f93ab39ac54b270b
5
5
  SHA512:
6
- metadata.gz: ff4af0bdbbe06ff13addae47f905a08c200c96edc18d1fb05f2caf46784ecad6c684cd875ef19354dc661af2fe1a270ace55c22efb4a0bd66c7893d86f8b62e9
7
- data.tar.gz: 4a111ec06fa205873b94a93f31924f60a3c6ddce1cbadcfc7a60fe7c76ca1c95996c39a9f93d54bcd7ee12d853673be8f10d69b54019e601106818f7b6baadfb
6
+ metadata.gz: 54764b1ddda207a57b1a2c6ae12e62bdc5c823f855e04aeed18e3f9fd3064545c19e162a3bc3f51b53b545d891cb4fa74d98c0766cc1cc762a07308a9d3716e5
7
+ data.tar.gz: bdc1300679693f8b8f4956f502256ae481b8959171785041f2fb42cef554c4dee9d82787c5b1454fe2274ce6189544d48731f2ba851974c3e9ae5c61ba5ef28a
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 0.1.0
2
+ current_version = 0.1.1
3
3
  commit = True
4
4
 
5
5
  [bumpversion:file:README.md]
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- scraper_rb (0.1.0)
4
+ scraper_rb (0.1.1)
5
5
  faraday (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  ## Requirements
10
10
 
11
11
  1. You need to signup for [Prompt API][promptapi-signup]
12
- 1. You need to subscribe [bincheck-api][bincheck-api], test drive is **free!!!**
12
+ 1. You need to subscribe [scraper-api][scraper-api], test drive is **free!!!**
13
13
  1. You need to set `PROMPTAPI_TOKEN` environment variable after subscription.
14
14
 
15
15
  then;
@@ -21,7 +21,7 @@ $ gem install scraper_rb
21
21
  or; install from GitHub:
22
22
 
23
23
  ```bash
24
- $ gem install scraper_rb --version "0.1.0" --source "https://rubygems.pkg.github.com/promptapi"
24
+ $ gem install scraper_rb --version "0.1.1" --source "https://rubygems.pkg.github.com/promptapi"
25
25
  ```
26
26
 
27
27
  ---
@@ -21,8 +21,6 @@ module ScraperRb
21
21
 
22
22
  class << self
23
23
  def new(url, params={}, timeout=10)
24
- puts "params: #{params}" if ENV['RUBY_DEVELOPMENT']
25
- puts "timeout: #{timeout}" if ENV['RUBY_DEVELOPMENT']
26
24
  ScraperRb::Scraper.new(url, params, timeout)
27
25
  end
28
26
  end
@@ -40,7 +38,6 @@ module ScraperRb
40
38
  request: {timeout: timeout},
41
39
  headers: {'Accept' => 'application/json', 'apikey' => ENV['PROMPTAPI_TOKEN']},
42
40
  }
43
- puts "-> params: #{params}"
44
41
  params.each do |key, value|
45
42
  @options[:params][key] = value if VALID_PARAMS.map(&:to_sym).include?(key)
46
43
  end
@@ -1,3 +1,3 @@
1
1
  module ScraperRb
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scraper_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Prompt API
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-07 00:00:00.000000000 Z
11
+ date: 2020-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wirble