news2kindle 0.2.2 → 0.2.3

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: ff3f81306cbaaa66a709b03d7355207ae3c7b893e5bacef9a7ab4c940e9c1a17
4
- data.tar.gz: 5ef5c094403022ffa6204a4e920cbe4733d09235e49e2c6881c295f094a92789
3
+ metadata.gz: a6cc9e1d42f8430667dac981594f88b678189d73c9edcb6fde4f2d8a23c0b550
4
+ data.tar.gz: 5864cab9b7c87d0d0cf7da3b37e6f164594e573409315236edab2a410caf1609
5
5
  SHA512:
6
- metadata.gz: 499a9149f5d169cb1157802825d0d9c55fbd1fb806d8e18dac7e8a175bd2206e8a11b183ade36a5950003836da0dc79a7d364297ab596e60679e75497e433b8a
7
- data.tar.gz: eeb15821111272313ca3c37644988f997bfe07aa91d67a687bae12599fa789e995700834011b9a189409efc6f9940c5dfaf3a15acc1374ae580d3afc67e90ca9
6
+ metadata.gz: e354cd3ef62ecabec13d42908fcf321c3b446612ed1448c895165be72cd42b1fb3699117d3e8c68d6ff7abd433df2bf5a2a9d2b5499fafcdcbd7aaf082b20a79
7
+ data.tar.gz: 8d5ad6e8aa3989021b18919fe08797bed13f4e75279ec8ef2e5b5d380549f9b0d7ef6aaefc37d9889fea4befb151029c6102a695517dbb1d66479b84c7c4de25
data/.travis.yml CHANGED
@@ -2,12 +2,11 @@ sudo: false
2
2
  cache: bundler
3
3
 
4
4
  before_install:
5
- - gem install bundler -v 1.16.2
5
+ - gem install bundler -v 1.17.2
6
6
 
7
7
  rvm:
8
- - 2.4.5
9
- - 2.5.4
10
- - 2.6.3
8
+ - 2.5.6
9
+ - 2.6.4
11
10
 
12
11
  script: bundle exec rake
13
12
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- news2kindle (0.2.2)
4
+ news2kindle (0.2.3)
5
5
  dropbox_api
6
6
  kindlegen
7
7
  mail
@@ -14,21 +14,22 @@ PATH
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- activemodel (5.2.3)
18
- activesupport (= 5.2.3)
19
- activesupport (5.2.3)
17
+ activemodel (6.0.0)
18
+ activesupport (= 6.0.0)
19
+ activesupport (6.0.0)
20
20
  concurrent-ruby (~> 1.0, >= 1.0.2)
21
21
  i18n (>= 0.7, < 2)
22
22
  minitest (~> 5.1)
23
23
  tzinfo (~> 1.1)
24
- bson (4.4.2)
24
+ zeitwerk (~> 2.1, >= 2.1.8)
25
+ bson (4.5.0)
25
26
  coderay (1.1.2)
26
27
  concurrent-ruby (1.1.5)
27
28
  connection_pool (2.2.2)
28
29
  diff-lcs (1.3)
29
- domain_name (0.5.20180417)
30
+ domain_name (0.5.20190701)
30
31
  unf (>= 0.0.5, < 1.0.0)
31
- dropbox_api (0.1.16)
32
+ dropbox_api (0.1.17)
32
33
  faraday (>= 0.8, <= 0.15.4)
33
34
  oauth2 (~> 1.1)
34
35
  faraday (0.15.4)
@@ -37,7 +38,7 @@ GEM
37
38
  domain_name (~> 0.5)
38
39
  i18n (1.6.0)
39
40
  concurrent-ruby (~> 1.0)
40
- jwt (2.1.0)
41
+ jwt (2.2.1)
41
42
  kindlegen (3.0.3)
42
43
  rake
43
44
  rubyzip
@@ -53,24 +54,24 @@ GEM
53
54
  ntlm-http (~> 0.1, >= 0.1.1)
54
55
  webrobots (>= 0.0.9, < 0.2)
55
56
  method_source (0.9.2)
56
- mime-types (3.2.2)
57
+ mime-types (3.3)
57
58
  mime-types-data (~> 3.2015)
58
- mime-types-data (3.2019.0331)
59
- mini_mime (1.0.1)
59
+ mime-types-data (3.2019.0904)
60
+ mini_mime (1.0.2)
60
61
  mini_portile2 (2.4.0)
61
- minitest (5.11.3)
62
- mongo (2.8.0)
62
+ minitest (5.12.0)
63
+ mongo (2.10.2)
63
64
  bson (>= 4.4.2, < 5.0.0)
64
- mongoid (7.0.2)
65
- activemodel (>= 5.1, < 6.0.0)
65
+ mongoid (7.0.5)
66
+ activemodel (>= 5.1, < 6.1)
66
67
  mongo (>= 2.5.1, < 3.0.0)
67
68
  multi_json (1.13.1)
68
69
  multi_xml (0.6.0)
69
- multipart-post (2.1.0)
70
+ multipart-post (2.1.1)
70
71
  net-http-digest_auth (1.4.1)
71
- net-http-persistent (3.0.1)
72
+ net-http-persistent (3.1.0)
72
73
  connection_pool (~> 2.2)
73
- nokogiri (1.10.3)
74
+ nokogiri (1.10.4)
74
75
  mini_portile2 (~> 2.4.0)
75
76
  ntlm-http (0.1.1)
76
77
  oauth2 (1.4.1)
@@ -84,21 +85,21 @@ GEM
84
85
  coderay (~> 1.1.0)
85
86
  method_source (~> 0.9.0)
86
87
  rack (2.0.7)
87
- rake (12.3.2)
88
+ rake (12.3.3)
88
89
  rspec (3.8.0)
89
90
  rspec-core (~> 3.8.0)
90
91
  rspec-expectations (~> 3.8.0)
91
92
  rspec-mocks (~> 3.8.0)
92
- rspec-core (3.8.0)
93
+ rspec-core (3.8.2)
93
94
  rspec-support (~> 3.8.0)
94
- rspec-expectations (3.8.3)
95
+ rspec-expectations (3.8.4)
95
96
  diff-lcs (>= 1.2.0, < 2.0)
96
97
  rspec-support (~> 3.8.0)
97
- rspec-mocks (3.8.0)
98
+ rspec-mocks (3.8.1)
98
99
  diff-lcs (>= 1.2.0, < 2.0)
99
100
  rspec-support (~> 3.8.0)
100
- rspec-support (3.8.0)
101
- rubyzip (1.2.2)
101
+ rspec-support (3.8.2)
102
+ rubyzip (2.0.0)
102
103
  systemu (2.6.5)
103
104
  thread_safe (0.3.6)
104
105
  tzinfo (1.2.5)
@@ -107,6 +108,7 @@ GEM
107
108
  unf_ext
108
109
  unf_ext (0.0.7.6)
109
110
  webrobots (0.1.2)
111
+ zeitwerk (2.1.10)
110
112
 
111
113
  PLATFORMS
112
114
  ruby
@@ -44,8 +44,11 @@ module News2Kindle
44
44
  form['LA0120Form01:LA0120Password'] = @nikkei_pw
45
45
  form.click_button
46
46
  end
47
- agent.get(TOP)
48
- agent.page.form_with(name: 'autoPostForm').click_button
47
+ begin # skip the confirmation page if exist
48
+ agent.get(TOP)
49
+ agent.page.form_with(name: 'autoPostForm').click_button
50
+ rescue NoMethodError
51
+ end
49
52
  else
50
53
  agent.get(TOP)
51
54
  end
@@ -1,3 +1,3 @@
1
1
  module News2Kindle
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: news2kindle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-10 00:00:00.000000000 Z
11
+ date: 2019-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kindlegen