fop 0.1.0 → 0.1.1

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: fcf19e8fcf71e09014e4401f353d50e7598f174e44f70ae6954938d0baaf23d0
4
- data.tar.gz: 427ea3b525cfb67a95b7b7aeba49afdb2d233c8fce121be6fb3a668188979166
3
+ metadata.gz: 655fefa320e09871e6e20a614c6e31639807e1f98eee33d0f860468e8d803177
4
+ data.tar.gz: 1cbeb2f12f3194d801d19457d55162afc0ecb96690707154eeccd5ceb9e348bd
5
5
  SHA512:
6
- metadata.gz: 191c6a6288663a77c93514dd3f03ecdc632769251824473d47e93bb8c7085017d367f75ece4a3cba572ec7ba327d80d8a4a318f3ce6231c6a1333009892f03b3
7
- data.tar.gz: a68c2b3698ac4913fa6cedc89557fe0f2db6af66b6e590e0b991c807b6b0c3c8eca2030b3c9fcd55bd104c2052531aa846d743d8611a160e9b8c3a5267593b3c
6
+ metadata.gz: 4bdae87131dbb8a06185f7cb80f077c43081c573f9d88c7712d116a436bae9a5c6ee4fdc67d5a0bcbcaead1abddd838ad519c87a8c1f60fcf32aa2bd3a00a9cd
7
+ data.tar.gz: 8797886b3669a9d28efb6e377e1e8393d967c33dfff9e547ddd80f362853a72421ff4a821eee5d6ae44fd6ed76042c32cfcf857dce4f2acc2d3cbe80a42e1311
@@ -1,30 +1,30 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fop (0.1.0)
4
+ fop (0.1.1)
5
5
  nokogiri
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  diff-lcs (1.3)
11
- mini_portile2 (2.3.0)
12
- nokogiri (1.8.1)
13
- mini_portile2 (~> 2.3.0)
14
- rake (12.3.0)
15
- rspec (3.7.0)
16
- rspec-core (~> 3.7.0)
17
- rspec-expectations (~> 3.7.0)
18
- rspec-mocks (~> 3.7.0)
19
- rspec-core (3.7.0)
20
- rspec-support (~> 3.7.0)
21
- rspec-expectations (3.7.0)
11
+ mini_portile2 (2.4.0)
12
+ nokogiri (1.10.3)
13
+ mini_portile2 (~> 2.4.0)
14
+ rake (12.3.3)
15
+ rspec (3.8.0)
16
+ rspec-core (~> 3.8.0)
17
+ rspec-expectations (~> 3.8.0)
18
+ rspec-mocks (~> 3.8.0)
19
+ rspec-core (3.8.2)
20
+ rspec-support (~> 3.8.0)
21
+ rspec-expectations (3.8.4)
22
22
  diff-lcs (>= 1.2.0, < 2.0)
23
- rspec-support (~> 3.7.0)
24
- rspec-mocks (3.7.0)
23
+ rspec-support (~> 3.8.0)
24
+ rspec-mocks (3.8.1)
25
25
  diff-lcs (>= 1.2.0, < 2.0)
26
- rspec-support (~> 3.7.0)
27
- rspec-support (3.7.0)
26
+ rspec-support (~> 3.8.0)
27
+ rspec-support (3.8.2)
28
28
 
29
29
  PLATFORMS
30
30
  ruby
@@ -36,4 +36,4 @@ DEPENDENCIES
36
36
  rspec (~> 3.0)
37
37
 
38
38
  BUNDLED WITH
39
- 1.16.0
39
+ 1.17.3
@@ -194,15 +194,15 @@ module Fop
194
194
  end
195
195
 
196
196
  def post_form(data)
197
- Nokogiri::HTML(Net::HTTP.post_form(ENDPOINT_URI, data).tap(&:value).body.encode("UTF-8", "Shift_JIS"))
197
+ Nokogiri::HTML(Net::HTTP.post_form(ENDPOINT_URI, data).tap(&:value).body)
198
198
  end
199
199
 
200
200
  def form_page
201
- @form_page ||= Nokogiri::HTML(open(ENDPOINT_URI, 'r', &:read).encode("UTF-8", "Shift_JIS"))
201
+ @form_page ||= Nokogiri::HTML(open(ENDPOINT_URI, 'r', &:read))
202
202
  end
203
203
 
204
204
  def data_js
205
- @data_js ||= open(DATA_JS_URI, 'r', &:read).encode("UTF-8", "Shift_JIS")
205
+ @data_js ||= open(DATA_JS_URI, 'r', &:read)
206
206
  end
207
207
  end
208
208
  end
@@ -1,3 +1,3 @@
1
1
  module Fop
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: fop
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
  - Sorah Fukumori
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2019-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -106,8 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubyforge_project:
110
- rubygems_version: 2.7.3
109
+ rubygems_version: 3.0.3
111
110
  signing_key:
112
111
  specification_version: 4
113
112
  summary: scraping client of Japan Airlines FOP/Mileage calculator