audio_addict 0.4.7 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/audio_addict/api.rb +1 -0
- data/lib/audio_addict/auto_properties.rb +1 -1
- data/lib/audio_addict/config.rb +1 -1
- data/lib/audio_addict/radio.rb +4 -4
- data/lib/audio_addict/version.rb +1 -1
- data/lib/audio_addict.rb +0 -1
- metadata +87 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91453f066ec4703611e4661a6d4a0c31aea11a287b6707e17ce901afbe52d8d8
|
4
|
+
data.tar.gz: 1230f8e7dc1de069d6fc3379ebcff09d0a339ec2f0a9a5ebf703a7f4e19f2f3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2067364585f243a622f2b7f3ffc040e49e26fbb1c7569c7f4ed8929b45ce7fd3563f07628a2252eacac2b6f134cbbcce702f0dc921c7f44c315da97a39f44d30
|
7
|
+
data.tar.gz: 66ae0609a8e6c4b846fd599e2376a81d517d757c2d6ace61d9cf2325e6a4732c3c1d436e6a8c5901b9cef49274b9d36ed6e0df2c76a8c07447e40834d8638946
|
data/lib/audio_addict/api.rb
CHANGED
data/lib/audio_addict/config.rb
CHANGED
data/lib/audio_addict/radio.rb
CHANGED
@@ -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
|
48
|
+
NETWORKS[network]
|
49
49
|
end
|
50
50
|
|
51
51
|
def domain
|
52
|
-
DOMAINS[network
|
52
|
+
DOMAINS[network]
|
53
53
|
end
|
54
54
|
|
55
55
|
def url_template
|
56
|
-
channel_path = network ==
|
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
|
|
data/lib/audio_addict/version.rb
CHANGED
data/lib/audio_addict.rb
CHANGED
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.
|
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:
|
10
|
+
date: 2025-01-12 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: colsole
|
@@ -101,6 +100,9 @@ dependencies:
|
|
101
100
|
- - ">="
|
102
101
|
- !ruby/object:Gem::Version
|
103
102
|
version: '0'
|
103
|
+
- - "<"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '1'
|
104
106
|
type: :runtime
|
105
107
|
prerelease: false
|
106
108
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -108,27 +110,99 @@ dependencies:
|
|
108
110
|
- - ">="
|
109
111
|
- !ruby/object:Gem::Version
|
110
112
|
version: '0'
|
113
|
+
- - "<"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '1'
|
111
116
|
- !ruby/object:Gem::Dependency
|
112
117
|
name: bigdecimal
|
113
118
|
requirement: !ruby/object:Gem::Requirement
|
114
119
|
requirements:
|
115
120
|
- - ">="
|
116
121
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
122
|
+
version: '2'
|
123
|
+
- - "<"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '4'
|
118
126
|
type: :runtime
|
119
127
|
prerelease: false
|
120
128
|
version_requirements: !ruby/object:Gem::Requirement
|
121
129
|
requirements:
|
122
130
|
- - ">="
|
123
131
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
132
|
+
version: '2'
|
133
|
+
- - "<"
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '4'
|
125
136
|
- !ruby/object:Gem::Dependency
|
126
137
|
name: csv
|
138
|
+
requirement: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '2'
|
143
|
+
- - "<"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '4'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '2'
|
153
|
+
- - "<"
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '4'
|
156
|
+
- !ruby/object:Gem::Dependency
|
157
|
+
name: json
|
158
|
+
requirement: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '1'
|
163
|
+
- - "<"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '4'
|
166
|
+
type: :runtime
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '1'
|
173
|
+
- - "<"
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '4'
|
176
|
+
- !ruby/object:Gem::Dependency
|
177
|
+
name: logger
|
178
|
+
requirement: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '1'
|
183
|
+
- - "<"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '3'
|
186
|
+
type: :runtime
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '1'
|
193
|
+
- - "<"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '3'
|
196
|
+
- !ruby/object:Gem::Dependency
|
197
|
+
name: ostruct
|
127
198
|
requirement: !ruby/object:Gem::Requirement
|
128
199
|
requirements:
|
129
200
|
- - ">="
|
130
201
|
- !ruby/object:Gem::Version
|
131
202
|
version: '0'
|
203
|
+
- - "<"
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '2'
|
132
206
|
type: :runtime
|
133
207
|
prerelease: false
|
134
208
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -136,6 +210,9 @@ dependencies:
|
|
136
210
|
- - ">="
|
137
211
|
- !ruby/object:Gem::Version
|
138
212
|
version: '0'
|
213
|
+
- - "<"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '2'
|
139
216
|
description: Command line for playlist management and voting for AudioAddict radio
|
140
217
|
networks
|
141
218
|
email: db@dannyben.com
|
@@ -177,8 +254,10 @@ homepage: https://github.com/dannyben/audio_addict
|
|
177
254
|
licenses:
|
178
255
|
- MIT
|
179
256
|
metadata:
|
257
|
+
bug_tracker_uri: https://github.com/DannyBen/audio_addict/issues
|
258
|
+
changelog_uri: https://github.com/DannyBen/audio_addict/blob/master/CHANGELOG.md
|
259
|
+
source_code_uri: https://github.com/DannyBen/audio_addict
|
180
260
|
rubygems_mfa_required: 'true'
|
181
|
-
post_install_message:
|
182
261
|
rdoc_options: []
|
183
262
|
require_paths:
|
184
263
|
- lib
|
@@ -186,15 +265,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
186
265
|
requirements:
|
187
266
|
- - ">="
|
188
267
|
- !ruby/object:Gem::Version
|
189
|
-
version: 3.
|
268
|
+
version: '3.1'
|
190
269
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
270
|
requirements:
|
192
271
|
- - ">="
|
193
272
|
- !ruby/object:Gem::Version
|
194
273
|
version: '0'
|
195
274
|
requirements: []
|
196
|
-
rubygems_version: 3.
|
197
|
-
signing_key:
|
275
|
+
rubygems_version: 3.6.2
|
198
276
|
specification_version: 4
|
199
277
|
summary: AudioAddict Command Line
|
200
278
|
test_files: []
|