news2kindle 0.2.0 → 0.2.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
- SHA1:
3
- metadata.gz: b6359f3d5bd815e2288ae183bdf574a429f64318
4
- data.tar.gz: 746ab24028ae050952b3b84a58d78ec8b0e7230c
2
+ SHA256:
3
+ metadata.gz: e0d34c543c061201544fcee0ccd68b3e01cce180ce1a0d9822bb9fd8c3db4618
4
+ data.tar.gz: 802398bdce7deb79c21b08c0b20ec21095c5b84e579984a32c28664a21d4e1b4
5
5
  SHA512:
6
- metadata.gz: 45d90ea6ee619e73aad9c61ad2cdcca1ecd5ef3493553618bb8ba79e534dc5582b5a6bd62f9c39e20a6420345537a886b1f16025b0dfa01162cce7875998d5ef
7
- data.tar.gz: 4a5fc8651f8163b566191c048fe49387599db5b6e6e5c381d68762fb5ed26a6137bb368a52dd5d5eadfc6adb6bedf5d6c151958d5900073a96f4b34273dfd676
6
+ metadata.gz: 2d45477e45cb994a4395f562632a7bb21c2057383eb9e0240ef10b871b4a5ff73212cbdf124c90db7b941b85412f273300bc44d2b3989b298589730cc77b79e0
7
+ data.tar.gz: 12aab9e50185810d2fe65b384a9a4e8acacb7d9c1c68bee8d21b2d5cf9e5f88c635edd6cdc1e7e5f32a4737905d217e49840a088a623ea83180b0d17d605b654
data/.travis.yml CHANGED
@@ -2,11 +2,11 @@ sudo: false
2
2
  cache: bundler
3
3
 
4
4
  before_install:
5
- - gem install bundler -v 1.16.0.pre.3
5
+ - gem install bundler -v 1.16.2
6
6
 
7
7
  rvm:
8
- - 2.3.5
9
- - 2.4.2
8
+ - 2.4.4
9
+ - 2.5.1
10
10
 
11
11
  script: bundle exec rake
12
12
 
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- news2kindle (0.2.0)
4
+ news2kindle (0.2.1)
5
5
  dropbox_api
6
6
  kindlegen
7
7
  mail
8
8
  mechanize
9
- mongoid (~> 6.1)
9
+ mongoid (>= 6.1, < 8.0)
10
10
  nokogiri
11
11
  pit
12
12
  systemu
@@ -14,27 +14,28 @@ PATH
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- activemodel (5.1.4)
18
- activesupport (= 5.1.4)
19
- activesupport (5.1.4)
17
+ activemodel (5.2.0)
18
+ activesupport (= 5.2.0)
19
+ activesupport (5.2.0)
20
20
  concurrent-ruby (~> 1.0, >= 1.0.2)
21
- i18n (~> 0.7)
21
+ i18n (>= 0.7, < 2)
22
22
  minitest (~> 5.1)
23
23
  tzinfo (~> 1.1)
24
- bson (4.2.2)
24
+ bson (4.3.0)
25
25
  coderay (1.1.2)
26
26
  concurrent-ruby (1.0.5)
27
+ connection_pool (2.2.2)
27
28
  diff-lcs (1.3)
28
- domain_name (0.5.20170404)
29
+ domain_name (0.5.20180417)
29
30
  unf (>= 0.0.5, < 1.0.0)
30
- dropbox_api (0.1.10)
31
+ dropbox_api (0.1.12)
31
32
  faraday (~> 0.9, ~> 0.8)
32
33
  oauth2 (~> 1.1)
33
34
  faraday (0.12.2)
34
35
  multipart-post (>= 1.2, < 3)
35
36
  http-cookie (1.0.3)
36
37
  domain_name (~> 0.5)
37
- i18n (0.9.1)
38
+ i18n (1.0.1)
38
39
  concurrent-ruby (~> 1.0)
39
40
  jwt (1.5.6)
40
41
  kindlegen (3.0.3)
@@ -42,12 +43,12 @@ GEM
42
43
  rubyzip
43
44
  mail (2.7.0)
44
45
  mini_mime (>= 0.1.1)
45
- mechanize (2.7.5)
46
+ mechanize (2.7.6)
46
47
  domain_name (~> 0.5, >= 0.5.1)
47
48
  http-cookie (~> 1.0)
48
49
  mime-types (>= 1.17.2)
49
50
  net-http-digest_auth (~> 1.1, >= 1.1.1)
50
- net-http-persistent (~> 2.5, >= 2.5.2)
51
+ net-http-persistent (>= 2.5.2)
51
52
  nokogiri (~> 1.6)
52
53
  ntlm-http (~> 0.1, >= 0.1.1)
53
54
  webrobots (>= 0.0.9, < 0.2)
@@ -57,18 +58,19 @@ GEM
57
58
  mime-types-data (3.2016.0521)
58
59
  mini_mime (1.0.0)
59
60
  mini_portile2 (2.3.0)
60
- minitest (5.10.3)
61
- mongo (2.4.3)
62
- bson (>= 4.2.1, < 5.0.0)
63
- mongoid (6.2.1)
64
- activemodel (~> 5.1)
65
- mongo (>= 2.4.1, < 3.0.0)
66
- multi_json (1.12.2)
61
+ minitest (5.11.3)
62
+ mongo (2.5.3)
63
+ bson (>= 4.3.0, < 5.0.0)
64
+ mongoid (7.0.1)
65
+ activemodel (>= 5.1, < 6.0.0)
66
+ mongo (>= 2.5.1, < 3.0.0)
67
+ multi_json (1.13.1)
67
68
  multi_xml (0.6.0)
68
69
  multipart-post (2.0.0)
69
70
  net-http-digest_auth (1.4.1)
70
- net-http-persistent (2.9.4)
71
- nokogiri (1.8.1)
71
+ net-http-persistent (3.0.0)
72
+ connection_pool (~> 2.2)
73
+ nokogiri (1.8.4)
72
74
  mini_portile2 (~> 2.3.0)
73
75
  ntlm-http (0.1.1)
74
76
  oauth2 (1.4.0)
@@ -78,16 +80,16 @@ GEM
78
80
  multi_xml (~> 0.5)
79
81
  rack (>= 1.2, < 3)
80
82
  pit (0.0.7)
81
- pry (0.11.2)
83
+ pry (0.11.3)
82
84
  coderay (~> 1.1.0)
83
85
  method_source (~> 0.9.0)
84
- rack (2.0.3)
85
- rake (12.2.1)
86
+ rack (2.0.5)
87
+ rake (12.3.1)
86
88
  rspec (3.7.0)
87
89
  rspec-core (~> 3.7.0)
88
90
  rspec-expectations (~> 3.7.0)
89
91
  rspec-mocks (~> 3.7.0)
90
- rspec-core (3.7.0)
92
+ rspec-core (3.7.1)
91
93
  rspec-support (~> 3.7.0)
92
94
  rspec-expectations (3.7.0)
93
95
  diff-lcs (>= 1.2.0, < 2.0)
@@ -95,15 +97,15 @@ GEM
95
97
  rspec-mocks (3.7.0)
96
98
  diff-lcs (>= 1.2.0, < 2.0)
97
99
  rspec-support (~> 3.7.0)
98
- rspec-support (3.7.0)
100
+ rspec-support (3.7.1)
99
101
  rubyzip (1.2.1)
100
102
  systemu (2.6.5)
101
103
  thread_safe (0.3.6)
102
- tzinfo (1.2.4)
104
+ tzinfo (1.2.5)
103
105
  thread_safe (~> 0.1)
104
106
  unf (0.1.4)
105
107
  unf_ext
106
- unf_ext (0.0.7.4)
108
+ unf_ext (0.0.7.5)
107
109
  webrobots (0.1.2)
108
110
 
109
111
  PLATFORMS
@@ -117,4 +119,4 @@ DEPENDENCIES
117
119
  rspec
118
120
 
119
121
  BUNDLED WITH
120
- 1.16.0.pre.3
122
+ 1.16.2
@@ -31,7 +31,7 @@ module News2Kindle
31
31
  now = opts[:now]
32
32
  items = []
33
33
 
34
- rdf_file = "http://rss.rssad.jp/rss/internetwatch/internet.rdf"
34
+ rdf_file = "https://internet.watch.impress.co.jp/data/rss/1.0/iw/feed.rdf"
35
35
  rdf = retry_loop( 5 ) do
36
36
  Nokogiri(open(rdf_file, 'r:utf-8', &:read))
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module News2Kindle
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/news2kindle.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency 'nokogiri'
29
29
  spec.add_dependency 'pit'
30
30
  spec.add_dependency 'dropbox_api'
31
- spec.add_dependency 'mongoid', '~> 6.1'
31
+ spec.add_dependency 'mongoid', '>= 6.1', '< 8.0'
32
32
 
33
33
  spec.add_development_dependency "bundler"
34
34
  spec.add_development_dependency "rake"
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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-14 00:00:00.000000000 Z
11
+ date: 2018-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kindlegen
@@ -112,16 +112,22 @@ dependencies:
112
112
  name: mongoid
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '6.1'
118
+ - - "<"
119
+ - !ruby/object:Gem::Version
120
+ version: '8.0'
118
121
  type: :runtime
119
122
  prerelease: false
120
123
  version_requirements: !ruby/object:Gem::Requirement
121
124
  requirements:
122
- - - "~>"
125
+ - - ">="
123
126
  - !ruby/object:Gem::Version
124
127
  version: '6.1'
128
+ - - "<"
129
+ - !ruby/object:Gem::Version
130
+ version: '8.0'
125
131
  - !ruby/object:Gem::Dependency
126
132
  name: bundler
127
133
  requirement: !ruby/object:Gem::Requirement
@@ -188,7 +194,6 @@ extra_rdoc_files: []
188
194
  files:
189
195
  - ".gitignore"
190
196
  - ".rspec"
191
- - ".tachikoma.yml"
192
197
  - ".travis.yml"
193
198
  - Gemfile
194
199
  - Gemfile.lock
@@ -238,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
243
  version: '0'
239
244
  requirements: []
240
245
  rubyforge_project:
241
- rubygems_version: 2.5.2.1
246
+ rubygems_version: 2.7.7
242
247
  signing_key:
243
248
  specification_version: 4
244
249
  summary: scrape some news site and deliver to kindle
data/.tachikoma.yml DELETED
@@ -1 +0,0 @@
1
- strategy: 'bundler'