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 +4 -4
- data/README.md +1 -1
- data/delivery_state_jp.gemspec +1 -1
- data/lib/delivery_state_jp/base.rb +2 -0
- data/lib/delivery_state_jp/version.rb +1 -1
- data/lib/delivery_state_jp/yamato.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a41381f4fcfcf88210f1fa51fccc61e34f4335cc7e958b0eb9358d44e22e34c6
|
4
|
+
data.tar.gz: 70688350f459acef811faa757b1592d9167f360677efa7b834052dd5d9cd9363
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 133f08137248847a669f4b20da108b9909b641cc759e724f463ea1dfa9f2ff787dc80717724c5ee7ca29331b735d56d991e5265ef60cd6e3868b378d15eb6d59
|
7
|
+
data.tar.gz: 18050cdc74d63ed60fcd0bd052bf004b996808efbcf911e3abe49aae23517d455040f56d8f7b06f5476f05cc7812f21ffdf0ac5292811e020bdef40bf37d11a2
|
data/README.md
CHANGED
data/delivery_state_jp.gemspec
CHANGED
@@ -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
|
-
|
35
|
+
spec.add_dependency 'pry-byebug'
|
36
36
|
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]').
|
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.
|
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
|