delivery_state_jp 1.0.11 → 1.0.12

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: e2ba83a815913c511d49498dc84d75bb1a641c86c2a0e122d5f531b06da6d4b3
4
- data.tar.gz: e442b3cc2fcc99fb2c24c1d397ee8e9cd587937811d9215c84a95d46e6daa441
3
+ metadata.gz: a41381f4fcfcf88210f1fa51fccc61e34f4335cc7e958b0eb9358d44e22e34c6
4
+ data.tar.gz: 70688350f459acef811faa757b1592d9167f360677efa7b834052dd5d9cd9363
5
5
  SHA512:
6
- metadata.gz: 5f73f348159dc026513ed68902deb1d0c69c0f7cae871af210aede17e2e2f4dd18e2d04b272da02d5f4dea20b99894bef1eb2a0f0c5a5d2d203d58e841279e03
7
- data.tar.gz: 0b4146d5bdfcfdc09f8c419b33a36d5c0d81184c9e4c64dc5ca70305509fe0e4c18ea29c914fa963d44aa29058cf298b90a65acfdd2ca583fafcb33de334f5c0
6
+ metadata.gz: 133f08137248847a669f4b20da108b9909b641cc759e724f463ea1dfa9f2ff787dc80717724c5ee7ca29331b735d56d991e5265ef60cd6e3868b378d15eb6d59
7
+ data.tar.gz: 18050cdc74d63ed60fcd0bd052bf004b996808efbcf911e3abe49aae23517d455040f56d8f7b06f5476f05cc7812f21ffdf0ac5292811e020bdef40bf37d11a2
data/README.md CHANGED
@@ -47,5 +47,5 @@ The gem is available as open source under the terms of the [MIT License](http://
47
47
 
48
48
  ```angular2
49
49
  gem build delivery_state_jp.gemspec
50
- gem push delivery_state_jp-1.0.11.gem
50
+ gem push delivery_state_jp-1.0.12.gem
51
51
  ```
@@ -32,5 +32,5 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency 'bundler', '~> 1.11'
33
33
  spec.add_development_dependency 'rake', '~> 10.0'
34
34
  spec.add_development_dependency 'rspec', '~> 3.0'
35
- # spec.add_development_dependency 'pry-byebug', '~> 0'
35
+ spec.add_dependency 'pry-byebug'
36
36
  end
@@ -1,3 +1,5 @@
1
+ require 'net/http'
2
+
1
3
  module DeliveryStateJp
2
4
  class Base
3
5
  def self.delivery_state(args)
@@ -1,3 +1,3 @@
1
1
  module DeliveryStateJp
2
- VERSION = "1.0.11"
2
+ VERSION = "1.0.12"
3
3
  end
@@ -2,7 +2,7 @@ module DeliveryStateJp
2
2
  class Yamato < DeliveryStateJp::Base
3
3
  def self.delivery_state(args)
4
4
  doc = Nokogiri::HTML.parse(response_body(args), nil, charset)
5
- doc.css('a[class=js-tracking-detail]').first.text
5
+ doc.css('a[class=js-tracking-detail]').text
6
6
  end
7
7
 
8
8
  def self.action_url
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delivery_state_jp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - nyaahara
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-byebug
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description: delivery_state_jp can get status from japanese delivery solutions
70
84
  email:
71
85
  - d.niihara@gmail.com