syobocal 0.13.0 → 0.14.0

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: a2b86d38d425a78a79903d700e893f1bf830a862ac4cd088124ad613d24890f3
4
- data.tar.gz: b911625bb75f55c90efd4cdf3ab66aa64501ce0cf329f01a022bc3e3ee131834
3
+ metadata.gz: 737c5456c21b70925571795e9b8f81b35ba89738065dfaec3332c11d3920e19f
4
+ data.tar.gz: 26ef1a657a390e37fef06c2a0ac7ed681a3bbd951fb6f779f248a61bc08aaddd
5
5
  SHA512:
6
- metadata.gz: 6efb4dad943bdffd02a0e75c1b9a21cfd25637e84f9d4822ffaab15a7eff5360669580ad22955d8d04cb5f79966d9292a1f9ad5c27d5aec1644e0b8d8060ad3b
7
- data.tar.gz: 55590f077651aa76520e8d076cf8b122d8c1c7ea8dc2e06fc65c7e3a2bf9f0f58731c0a4cb44e3bb148084e051b6b4293ce97475a40d3944edf9244c33f67ffc
6
+ metadata.gz: cb49862e127d7abba99f6a09fe93e2f357d4e331243e6236314c23c1d9e5384cd39af7501009c77ab07ac0a7f8a00ae71082f5f5b6fbb1060da31051160d03b7
7
+ data.tar.gz: 3aaf9a0a8bdfbf76e703608dadbd97d6f6971ec787772e0507aeeae47109dc179654e5fd56c4e50e0b691df8df5c8cd3525f7395d42c0e43f68de059038efa60
@@ -1,7 +1,7 @@
1
1
  module Syobocal
2
2
  module CalChk
3
3
  def get(params = {})
4
- parse(open(url(params)))
4
+ parse(URI.open(url(params)))
5
5
  end
6
6
 
7
7
  def url(params = {})
data/lib/syobocal/db.rb CHANGED
@@ -36,7 +36,7 @@ module Syobocal
36
36
 
37
37
  module TitleLookup
38
38
  def get(params = {})
39
- parse(open(url(params)))
39
+ parse(URI.open(url(params)))
40
40
  end
41
41
 
42
42
  def url(params)
@@ -91,7 +91,7 @@ module Syobocal
91
91
 
92
92
  module ProgLookup
93
93
  def get(params = {})
94
- parse(open(url(params)))
94
+ parse(URI.open(url(params)))
95
95
  end
96
96
 
97
97
  def url(params)
@@ -143,7 +143,7 @@ module Syobocal
143
143
 
144
144
  module ChLookup
145
145
  def get(params = {})
146
- parse(open(url(params)))
146
+ parse(URI.open(url(params)))
147
147
  end
148
148
 
149
149
  def url(params)
@@ -189,7 +189,7 @@ module Syobocal
189
189
 
190
190
  module ChGroupLookup
191
191
  def get(params = {})
192
- parse(open(url(params)))
192
+ parse(URI.open(url(params)))
193
193
  end
194
194
 
195
195
  def url(params)
@@ -231,7 +231,7 @@ module Syobocal
231
231
 
232
232
  module TitleViewCount
233
233
  def get(params = {})
234
- parse(open(url(params)))
234
+ parse(URI.open(url(params)))
235
235
  end
236
236
 
237
237
  def url(params)
@@ -247,7 +247,7 @@ module Syobocal
247
247
 
248
248
  module TitleRankHistory
249
249
  def get(params = {})
250
- parse(open(url(params)))
250
+ parse(URI.open(url(params)))
251
251
  end
252
252
 
253
253
  def url(params)
@@ -263,7 +263,7 @@ module Syobocal
263
263
 
264
264
  module TitlePointHistory
265
265
  def get(params = {})
266
- parse(open(url(params)))
266
+ parse(URI.open(url(params)))
267
267
  end
268
268
 
269
269
  def url(params)
@@ -279,7 +279,7 @@ module Syobocal
279
279
 
280
280
  module TitlePointTop
281
281
  def get(params = {})
282
- parse(open(url(params)))
282
+ parse(URI.open(url(params)))
283
283
  end
284
284
 
285
285
  def url(params)
data/lib/syobocal/json.rb CHANGED
@@ -2,7 +2,7 @@ module Syobocal
2
2
  module JSON
3
3
  module TitleMedium
4
4
  def get(params = {})
5
- parse(open(url(params)))
5
+ parse(URI.open(url(params)))
6
6
  end
7
7
 
8
8
  def url(params = {})
@@ -18,7 +18,7 @@ module Syobocal
18
18
 
19
19
  module TitleLarge
20
20
  def get(params = {})
21
- parse(open(url(params)))
21
+ parse(URI.open(url(params)))
22
22
  end
23
23
 
24
24
  def url(params = {})
@@ -34,7 +34,7 @@ module Syobocal
34
34
 
35
35
  module TitleFull
36
36
  def get(params = {})
37
- parse(open(url(params)))
37
+ parse(URI.open(url(params)))
38
38
  end
39
39
 
40
40
  def url(params = {})
@@ -50,7 +50,7 @@ module Syobocal
50
50
 
51
51
  module ProgramByPID
52
52
  def get(params = {})
53
- parse(open(url(params)))
53
+ parse(URI.open(url(params)))
54
54
  end
55
55
 
56
56
  def url(params = {})
@@ -66,7 +66,7 @@ module Syobocal
66
66
 
67
67
  module ProgramByCount
68
68
  def get(params = {})
69
- parse(open(url(params)))
69
+ parse(URI.open(url(params)))
70
70
  end
71
71
 
72
72
  def url(params = {})
@@ -82,7 +82,7 @@ module Syobocal
82
82
 
83
83
  module ProgramByDate
84
84
  def get(params = {})
85
- parse(open(url(params)))
85
+ parse(URI.open(url(params)))
86
86
  end
87
87
 
88
88
  def url(params = {})
@@ -98,7 +98,7 @@ module Syobocal
98
98
 
99
99
  module SubTitles
100
100
  def get(params = {})
101
- parse(open(url(params)))
101
+ parse(URI.open(url(params)))
102
102
  end
103
103
 
104
104
  def url(params = {})
@@ -114,7 +114,7 @@ module Syobocal
114
114
 
115
115
  module ChFilter
116
116
  def get(params = {})
117
- parse(open(url(params)))
117
+ parse(URI.open(url(params)))
118
118
  end
119
119
 
120
120
  def url(params = {})
@@ -130,7 +130,7 @@ module Syobocal
130
130
 
131
131
  module ChIDFilter
132
132
  def get(params = {})
133
- parse(open(url(params)))
133
+ parse(URI.open(url(params)))
134
134
  end
135
135
 
136
136
  def url(params = {})
data/lib/syobocal/rss.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Syobocal
2
2
  module RSS
3
3
  def get(params = {})
4
- parse(open(url(params)))
4
+ parse(URI.open(url(params)))
5
5
  end
6
6
 
7
7
  def url(params = {})
data/lib/syobocal/rss2.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Syobocal
2
2
  module RSS2
3
3
  def get(params = {})
4
- parse(open(url(params)))
4
+ parse(URI.open(url(params)))
5
5
  end
6
6
 
7
7
  def url(params = {})
@@ -1,3 +1,3 @@
1
1
  module Syobocal
2
- VERSION = "0.13.0"
2
+ VERSION = "0.14.0"
3
3
  end
data/syobocal.gemspec CHANGED
@@ -24,7 +24,12 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ["lib"]
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 2.0"
27
- spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rake", ">= 13.0"
28
28
  spec.add_development_dependency "minitest", "~> 5.0"
29
29
  spec.add_development_dependency "rufo", "~> 0.7"
30
+ spec.add_dependency "open-uri", "~> 0.2"
31
+ spec.add_dependency "rexml", "~> 3.2"
32
+ spec.add_dependency "rss", "~> 0.2"
33
+
34
+ spec.required_ruby_version = ">= 3.0.0"
30
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syobocal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - xmisao
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-24 00:00:00.000000000 Z
11
+ date: 2022-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,48 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.7'
69
+ - !ruby/object:Gem::Dependency
70
+ name: open-uri
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.2'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.2'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rexml
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.2'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.2'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rss
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.2'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.2'
69
111
  description: Syoboi Calendar is the oldest and biggest ANIME information site, supported
70
112
  and hosted by anime fans in Japan. This gem make it easy to download information
71
113
  using web APIs of this site.
@@ -122,7 +164,7 @@ homepage: https://github.com/xmisao/syobocal
122
164
  licenses:
123
165
  - MIT
124
166
  metadata: {}
125
- post_install_message:
167
+ post_install_message:
126
168
  rdoc_options: []
127
169
  require_paths:
128
170
  - lib
@@ -130,15 +172,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
172
  requirements:
131
173
  - - ">="
132
174
  - !ruby/object:Gem::Version
133
- version: '0'
175
+ version: 3.0.0
134
176
  required_rubygems_version: !ruby/object:Gem::Requirement
135
177
  requirements:
136
178
  - - ">="
137
179
  - !ruby/object:Gem::Version
138
180
  version: '0'
139
181
  requirements: []
140
- rubygems_version: 3.0.3
141
- signing_key:
182
+ rubygems_version: 3.2.3
183
+ signing_key:
142
184
  specification_version: 4
143
185
  summary: Simple gem for Syoboi Calendar
144
186
  test_files: []