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 +5 -5
- data/.travis.yml +3 -3
- data/Gemfile.lock +31 -29
- data/lib/news2kindle/generator/internet-watch.rb +1 -1
- data/lib/news2kindle/version.rb +1 -1
- data/news2kindle.gemspec +1 -1
- metadata +11 -6
- data/.tachikoma.yml +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e0d34c543c061201544fcee0ccd68b3e01cce180ce1a0d9822bb9fd8c3db4618
|
4
|
+
data.tar.gz: 802398bdce7deb79c21b08c0b20ec21095c5b84e579984a32c28664a21d4e1b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d45477e45cb994a4395f562632a7bb21c2057383eb9e0240ef10b871b4a5ff73212cbdf124c90db7b941b85412f273300bc44d2b3989b298589730cc77b79e0
|
7
|
+
data.tar.gz: 12aab9e50185810d2fe65b384a9a4e8acacb7d9c1c68bee8d21b2d5cf9e5f88c635edd6cdc1e7e5f32a4737905d217e49840a088a623ea83180b0d17d605b654
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
news2kindle (0.2.
|
4
|
+
news2kindle (0.2.1)
|
5
5
|
dropbox_api
|
6
6
|
kindlegen
|
7
7
|
mail
|
8
8
|
mechanize
|
9
|
-
mongoid (
|
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.
|
18
|
-
activesupport (= 5.
|
19
|
-
activesupport (5.
|
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 (
|
21
|
+
i18n (>= 0.7, < 2)
|
22
22
|
minitest (~> 5.1)
|
23
23
|
tzinfo (~> 1.1)
|
24
|
-
bson (4.
|
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.
|
29
|
+
domain_name (0.5.20180417)
|
29
30
|
unf (>= 0.0.5, < 1.0.0)
|
30
|
-
dropbox_api (0.1.
|
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.
|
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.
|
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 (
|
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.
|
61
|
-
mongo (2.
|
62
|
-
bson (>= 4.
|
63
|
-
mongoid (
|
64
|
-
activemodel (
|
65
|
-
mongo (>= 2.
|
66
|
-
multi_json (1.
|
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 (
|
71
|
-
|
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.
|
83
|
+
pry (0.11.3)
|
82
84
|
coderay (~> 1.1.0)
|
83
85
|
method_source (~> 0.9.0)
|
84
|
-
rack (2.0.
|
85
|
-
rake (12.
|
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.
|
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.
|
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.
|
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.
|
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.
|
122
|
+
1.16.2
|
@@ -31,7 +31,7 @@ module News2Kindle
|
|
31
31
|
now = opts[:now]
|
32
32
|
items = []
|
33
33
|
|
34
|
-
rdf_file = "
|
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
|
data/lib/news2kindle/version.rb
CHANGED
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', '
|
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.
|
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:
|
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.
|
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'
|