delivery_state_jp 1.0.15 → 1.0.16

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: 0c6a38481dabc89b53493509801da344af904edfee0fae51a96dbfbbead5dd06
4
- data.tar.gz: d3a270aa5d60cd4c44bc1cf5645cf49a3abeca8751a00c34812e94c29fb71972
3
+ metadata.gz: ac392e812ab3a78030ebb70e1cc262f7fc4c863db27faa1e066018185ab6217b
4
+ data.tar.gz: 16019a502d7d6da391fdd0cb3fe9ed5e3fe958bcbdf51686323df0b59a994c71
5
5
  SHA512:
6
- metadata.gz: f420e7bb6fa26b65f1edded31be1ebd0e8ecef0ad7e76ce3e9ca354c3a84bc968a73865f395d083bbcbeff2355ee7d0966315faeedf76bb87cd4fcba49df3f3b
7
- data.tar.gz: 2fcb8690e9c5f39e0d9bce85fe934e78954dfbb535bbf4962f8fc932f1f98d86bc8ed16ebd9bc0b6a1a005bd54ddb42e4cef3318c3c09f1ecbb47ba583e381b4
6
+ metadata.gz: 2ed5f057f1813926fc6a9dc337da7246976974459a2c5938a4c68cdf2eb582463509b8e8a418c6ab8d52bd0187a99d3f83c55677a96560525fadc43a767ddb71
7
+ data.tar.gz: c0dd97412e49fe2505c8381942426a7d65c5357cb679d57dcc938eb5c20fd1454ff7ead3508720c57c7a08df293d4ab435fd2591399b7923d2351f2d4c6246c7
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.15.gem
50
+ gem push delivery_state_jp-1.0.16.gem
51
51
  ```
@@ -1,3 +1,3 @@
1
1
  module DeliveryStateJp
2
- VERSION = "1.0.15"
2
+ VERSION = "1.0.16"
3
3
  end
@@ -1,13 +1,8 @@
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), nil, charset)
5
- content = doc.xpath('/html/body/p/script[4]').first.children.first.content
6
- if m = content.match(/1件目.+\n.+.+\n.+\n.+swd.write.+>(?<state>.+)\<br\>\<\/font\>\<\/td\>/)
7
- m[:state]
8
- else
9
- '不明'
10
- end
4
+ # doc = Nokogiri::HTML.parse(response_body(args), nil, charset)
5
+ response_body(args)
11
6
  end
12
7
 
13
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.15
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - nyaahara