audio_addict 0.4.8 → 0.4.9

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: c0152ce2e687ff7ff033fe0fad7fb6b39059f4eea62994e5b25cf47ad064156c
4
- data.tar.gz: 94b7e1c571902d38c8d38bb5b6918d690bd703194af9fb531278682352132f55
3
+ metadata.gz: 91453f066ec4703611e4661a6d4a0c31aea11a287b6707e17ce901afbe52d8d8
4
+ data.tar.gz: 1230f8e7dc1de069d6fc3379ebcff09d0a339ec2f0a9a5ebf703a7f4e19f2f3b
5
5
  SHA512:
6
- metadata.gz: 23e3ab72e97df4960ac38505ca8193be9cb4e4c28643698725fcc403f258d36e576fb7304ba76680617a63ff90fda057cc6d76c6b406259eb7787dc5cd7f1c25
7
- data.tar.gz: b57d9f08fe604844e7463f63f4c101b268dc010701a36c81213a429f5d6a8c2ef642243097e2992e81ff35b65c620d88f956517060775e8228c4faf198fd907f
6
+ metadata.gz: 2067364585f243a622f2b7f3ffc040e49e26fbb1c7569c7f4ed8929b45ce7fd3563f07628a2252eacac2b6f134cbbcce702f0dc921c7f44c315da97a39f44d30
7
+ data.tar.gz: 66ae0609a8e6c4b846fd599e2376a81d517d757c2d6ace61d9cf2325e6a4732c3c1d436e6a8c5901b9cef49274b9d36ed6e0df2c76a8c07447e40834d8638946
@@ -2,7 +2,7 @@ module AudioAddict
2
2
  module AutoProperties
3
3
  attr_reader :properties
4
4
 
5
- def method_missing(method_sym, *args, &block)
5
+ def method_missing(method_sym, *args, &)
6
6
  respond_to?(method_sym) ? properties[method_sym.to_s] : super
7
7
  end
8
8
 
@@ -5,7 +5,7 @@ module AudioAddict
5
5
  class << self
6
6
  attr_writer :path
7
7
 
8
- def method_missing(name, *args, &_blk)
8
+ def method_missing(name, *args, &)
9
9
  if name.to_s.end_with? '='
10
10
  name = name[0..-2].to_sym
11
11
  properties[name] = args.first
@@ -37,7 +37,7 @@ module AudioAddict
37
37
  end
38
38
 
39
39
  def initialize(network)
40
- @network = network
40
+ @network = network.to_sym
41
41
  end
42
42
 
43
43
  def inspectable
@@ -45,15 +45,15 @@ module AudioAddict
45
45
  end
46
46
 
47
47
  def name
48
- NETWORKS[network.to_sym]
48
+ NETWORKS[network]
49
49
  end
50
50
 
51
51
  def domain
52
- DOMAINS[network.to_sym]
52
+ DOMAINS[network]
53
53
  end
54
54
 
55
55
  def url_template
56
- channel_path = network == 'zenradio' ? 'zr%{channel_key}_aac' : '%{channel_key}'
56
+ channel_path = network == :zenradio ? 'zr%{channel_key}' : '%{channel_key}'
57
57
  "http://prem2.#{domain}:80/#{channel_path}?%{listen_key}"
58
58
  end
59
59
 
@@ -1,3 +1,3 @@
1
1
  module AudioAddict
2
- VERSION = '0.4.8'
2
+ VERSION = '0.4.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audio_addict
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-09-07 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: colsole
@@ -175,45 +174,45 @@ dependencies:
175
174
  - !ruby/object:Gem::Version
176
175
  version: '4'
177
176
  - !ruby/object:Gem::Dependency
178
- name: ostruct
177
+ name: logger
179
178
  requirement: !ruby/object:Gem::Requirement
180
179
  requirements:
181
180
  - - ">="
182
181
  - !ruby/object:Gem::Version
183
- version: '0'
182
+ version: '1'
184
183
  - - "<"
185
184
  - !ruby/object:Gem::Version
186
- version: '2'
185
+ version: '3'
187
186
  type: :runtime
188
187
  prerelease: false
189
188
  version_requirements: !ruby/object:Gem::Requirement
190
189
  requirements:
191
190
  - - ">="
192
191
  - !ruby/object:Gem::Version
193
- version: '0'
192
+ version: '1'
194
193
  - - "<"
195
194
  - !ruby/object:Gem::Version
196
- version: '2'
195
+ version: '3'
197
196
  - !ruby/object:Gem::Dependency
198
- name: logger
197
+ name: ostruct
199
198
  requirement: !ruby/object:Gem::Requirement
200
199
  requirements:
201
200
  - - ">="
202
201
  - !ruby/object:Gem::Version
203
- version: '1'
202
+ version: '0'
204
203
  - - "<"
205
204
  - !ruby/object:Gem::Version
206
- version: '3'
205
+ version: '2'
207
206
  type: :runtime
208
207
  prerelease: false
209
208
  version_requirements: !ruby/object:Gem::Requirement
210
209
  requirements:
211
210
  - - ">="
212
211
  - !ruby/object:Gem::Version
213
- version: '1'
212
+ version: '0'
214
213
  - - "<"
215
214
  - !ruby/object:Gem::Version
216
- version: '3'
215
+ version: '2'
217
216
  description: Command line for playlist management and voting for AudioAddict radio
218
217
  networks
219
218
  email: db@dannyben.com
@@ -259,7 +258,6 @@ metadata:
259
258
  changelog_uri: https://github.com/DannyBen/audio_addict/blob/master/CHANGELOG.md
260
259
  source_code_uri: https://github.com/DannyBen/audio_addict
261
260
  rubygems_mfa_required: 'true'
262
- post_install_message:
263
261
  rdoc_options: []
264
262
  require_paths:
265
263
  - lib
@@ -267,15 +265,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
267
265
  requirements:
268
266
  - - ">="
269
267
  - !ruby/object:Gem::Version
270
- version: 3.0.0
268
+ version: '3.1'
271
269
  required_rubygems_version: !ruby/object:Gem::Requirement
272
270
  requirements:
273
271
  - - ">="
274
272
  - !ruby/object:Gem::Version
275
273
  version: '0'
276
274
  requirements: []
277
- rubygems_version: 3.5.16
278
- signing_key:
275
+ rubygems_version: 3.6.2
279
276
  specification_version: 4
280
277
  summary: AudioAddict Command Line
281
278
  test_files: []