delivery_state_jp 1.0.18 → 1.0.21

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
- SHA256:
3
- metadata.gz: '0186a4528a2ef682624b413d0d7ee0491ba19ebd51489ebe78d529632e1110a4'
4
- data.tar.gz: 5d27e5cba77e7e0e6f7db39d4d5d550d05d2bf4b86bdbbc4ac01d3a21b305bee
2
+ SHA1:
3
+ metadata.gz: b5f133f6232bcf4b435bac7b972b0377a165c348
4
+ data.tar.gz: 768010cd77e0954d103158dc1767dcb89f91a714
5
5
  SHA512:
6
- metadata.gz: 38b6219ed56074ff20e48dee1203cf43e0efc83972cbe1f98b4e28b808659a2bc058c50227282277f78487a679dabcba8cfb7c02c8e8648fd9b01fb5b85e9f71
7
- data.tar.gz: 529d6f90ef8c23ba7a6cc4f30cf0fe46a189cf2bfb8c8328a6c5f96ca8fe52edbc340d55f76ddabf2e30a45fc689e361d5f5340a2bb1744f0fa7862dc761e90e
6
+ metadata.gz: 524d74e710d73f71bd54678bd0b5df89b059cfd0b927cdbd996be2e41bb599b0597a6cd6c4ee264b0cadcbdf499c3273922af56d9e7ee4e11b1ce4c1c10f7802
7
+ data.tar.gz: 03fa61ed9e512c4e6da79aac5881bed089ce766c9995421043e8d86c82c08d5e8ff7df4cd5b2f49f2b538ddd6c416a390760eb12c3f923b43f0017c0e0fc0850
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.18.gem
50
+ gem push delivery_state_jp-1.0.21.gem
51
51
  ```
@@ -1,7 +1,7 @@
1
1
  module DeliveryStateJp
2
2
  class Seino < DeliveryStateJp::Base
3
3
  def self.action_url
4
- 'http://track.seino.co.jp/cgi-bin/gnpquery.pgm'
4
+ 'https://track.seino.co.jp/cgi-bin/gnpquery.pgm'
5
5
  end
6
6
 
7
7
  def self.post_params(number)
@@ -1,3 +1,3 @@
1
1
  module DeliveryStateJp
2
- VERSION = "1.0.18"
2
+ VERSION = "1.0.21"
3
3
  end
@@ -1,8 +1,7 @@
1
1
  module DeliveryStateJp
2
2
  class Yamato < DeliveryStateJp::Base
3
3
  def self.delivery_state(args)
4
- doc = Nokogiri::HTML.parse(response_body(args).force_encoding("UTF-8"), nil, charset)
5
- content = doc.xpath('/html/body/p/script[4]').first.children.first.content
4
+ content = response_body(args).force_encoding("UTF-8")
6
5
  if m = content.match(/1件目.+\n.+.+\n.+\n.+swd.write.+>(?<state>.+)\<br\>\<\/font\>\<\/td\>/)
7
6
  m[:state]
8
7
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delivery_state_jp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - nyaahara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-22 00:00:00.000000000 Z
11
+ date: 2022-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -111,7 +111,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubygems_version: 3.2.3
114
+ rubyforge_project:
115
+ rubygems_version: 2.6.13
115
116
  signing_key:
116
117
  specification_version: 4
117
118
  summary: delivery_state_jp can get status from japanese delivery solutions