beatport 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -8
- data/VERSION +1 -1
- data/beatport.gemspec +25 -25
- data/lib/beatport/item.rb +1 -0
- data/spec/catalog/label_spec.rb +2 -2
- data/spec/catalog/release_spec.rb +1 -1
- metadata +29 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32c4bac67c092db02a020e354121074dd94d92d8
|
4
|
+
data.tar.gz: e2065a1ebf64d71e3de9eca096c0ff37f704c7e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b02557dd979dc2563643d08420d4ce0f9991403b2bf9d4ffccc601502ebbaab07ff3b6cd45e6a7026de4e33de0c7e9e5b8031e427e155d885ac344f89fa01c4
|
7
|
+
data.tar.gz: ba4515732902e85b11194be0eb1a232de2a89379c70280fd154b3b3f880365790cad65d01d646db5dd4dc9721ddbf0a6eff7fef1b7970872dc6c42d2fb59b537
|
data/Gemfile
CHANGED
@@ -12,12 +12,11 @@ gem 'money', '~> 5.1.1' # https://github.com/RubyMoney/money
|
|
12
12
|
# Include everything needed to run rake, tests, features, etc.
|
13
13
|
group :development do
|
14
14
|
gem 'bundler'
|
15
|
-
gem 'webmock'
|
16
|
-
gem 'jeweler'
|
17
|
-
|
18
|
-
gem '
|
19
|
-
gem 'rspec', '~>
|
20
|
-
gem '
|
21
|
-
gem '
|
22
|
-
gem 'vcr'
|
15
|
+
gem 'webmock', '~> 1.20.4'
|
16
|
+
gem 'jeweler', '~> 2.1.1'
|
17
|
+
gem 'log_buddy', '~> 0.7.0'
|
18
|
+
gem 'rspec', '~> 3.1.0'
|
19
|
+
gem 'rspec-its', '~> 1.0.1'
|
20
|
+
gem 'yard', '~> 0.8.7'
|
21
|
+
gem 'vcr', '~> 2.9.3'
|
23
22
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/beatport.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: beatport 0.2.
|
5
|
+
# stub: beatport 0.2.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "beatport"
|
9
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Mateo Murphy"]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2016-09-13"
|
15
15
|
s.description = "A ruby gem for accessing the beatport api"
|
16
16
|
s.email = "mateo.murphy@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -102,7 +102,7 @@ Gem::Specification.new do |s|
|
|
102
102
|
]
|
103
103
|
s.homepage = "http://github.com/mateomurphy/beatport"
|
104
104
|
s.licenses = ["MIT"]
|
105
|
-
s.rubygems_version = "2.4.
|
105
|
+
s.rubygems_version = "2.4.8"
|
106
106
|
s.summary = "ruby gem for accessing the beatport api"
|
107
107
|
|
108
108
|
if s.respond_to? :specification_version then
|
@@ -114,26 +114,26 @@ Gem::Specification.new do |s|
|
|
114
114
|
s.add_runtime_dependency(%q<faraday>, ["~> 0.8.8"])
|
115
115
|
s.add_runtime_dependency(%q<money>, ["~> 5.1.1"])
|
116
116
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
117
|
-
s.add_development_dependency(%q<webmock>, ["
|
118
|
-
s.add_development_dependency(%q<jeweler>, ["
|
119
|
-
s.add_development_dependency(%q<log_buddy>, ["
|
120
|
-
s.add_development_dependency(%q<rspec>, ["~> 3.0"])
|
121
|
-
s.add_development_dependency(%q<rspec-its>, ["
|
122
|
-
s.add_development_dependency(%q<yard>, ["
|
123
|
-
s.add_development_dependency(%q<vcr>, ["
|
117
|
+
s.add_development_dependency(%q<webmock>, ["~> 1.20.4"])
|
118
|
+
s.add_development_dependency(%q<jeweler>, ["~> 2.1.1"])
|
119
|
+
s.add_development_dependency(%q<log_buddy>, ["~> 0.7.0"])
|
120
|
+
s.add_development_dependency(%q<rspec>, ["~> 3.1.0"])
|
121
|
+
s.add_development_dependency(%q<rspec-its>, ["~> 1.0.1"])
|
122
|
+
s.add_development_dependency(%q<yard>, ["~> 0.8.7"])
|
123
|
+
s.add_development_dependency(%q<vcr>, ["~> 2.9.3"])
|
124
124
|
else
|
125
125
|
s.add_dependency(%q<addressable>, [">= 0"])
|
126
126
|
s.add_dependency(%q<signet>, [">= 0"])
|
127
127
|
s.add_dependency(%q<faraday>, ["~> 0.8.8"])
|
128
128
|
s.add_dependency(%q<money>, ["~> 5.1.1"])
|
129
129
|
s.add_dependency(%q<bundler>, [">= 0"])
|
130
|
-
s.add_dependency(%q<webmock>, ["
|
131
|
-
s.add_dependency(%q<jeweler>, ["
|
132
|
-
s.add_dependency(%q<log_buddy>, ["
|
133
|
-
s.add_dependency(%q<rspec>, ["~> 3.0"])
|
134
|
-
s.add_dependency(%q<rspec-its>, ["
|
135
|
-
s.add_dependency(%q<yard>, ["
|
136
|
-
s.add_dependency(%q<vcr>, ["
|
130
|
+
s.add_dependency(%q<webmock>, ["~> 1.20.4"])
|
131
|
+
s.add_dependency(%q<jeweler>, ["~> 2.1.1"])
|
132
|
+
s.add_dependency(%q<log_buddy>, ["~> 0.7.0"])
|
133
|
+
s.add_dependency(%q<rspec>, ["~> 3.1.0"])
|
134
|
+
s.add_dependency(%q<rspec-its>, ["~> 1.0.1"])
|
135
|
+
s.add_dependency(%q<yard>, ["~> 0.8.7"])
|
136
|
+
s.add_dependency(%q<vcr>, ["~> 2.9.3"])
|
137
137
|
end
|
138
138
|
else
|
139
139
|
s.add_dependency(%q<addressable>, [">= 0"])
|
@@ -141,13 +141,13 @@ Gem::Specification.new do |s|
|
|
141
141
|
s.add_dependency(%q<faraday>, ["~> 0.8.8"])
|
142
142
|
s.add_dependency(%q<money>, ["~> 5.1.1"])
|
143
143
|
s.add_dependency(%q<bundler>, [">= 0"])
|
144
|
-
s.add_dependency(%q<webmock>, ["
|
145
|
-
s.add_dependency(%q<jeweler>, ["
|
146
|
-
s.add_dependency(%q<log_buddy>, ["
|
147
|
-
s.add_dependency(%q<rspec>, ["~> 3.0"])
|
148
|
-
s.add_dependency(%q<rspec-its>, ["
|
149
|
-
s.add_dependency(%q<yard>, ["
|
150
|
-
s.add_dependency(%q<vcr>, ["
|
144
|
+
s.add_dependency(%q<webmock>, ["~> 1.20.4"])
|
145
|
+
s.add_dependency(%q<jeweler>, ["~> 2.1.1"])
|
146
|
+
s.add_dependency(%q<log_buddy>, ["~> 0.7.0"])
|
147
|
+
s.add_dependency(%q<rspec>, ["~> 3.1.0"])
|
148
|
+
s.add_dependency(%q<rspec-its>, ["~> 1.0.1"])
|
149
|
+
s.add_dependency(%q<yard>, ["~> 0.8.7"])
|
150
|
+
s.add_dependency(%q<vcr>, ["~> 2.9.3"])
|
151
151
|
end
|
152
152
|
end
|
153
153
|
|
data/lib/beatport/item.rb
CHANGED
data/spec/catalog/label_spec.rb
CHANGED
@@ -27,8 +27,8 @@ module Beatport::Catalog
|
|
27
27
|
its (:'genres.length') { should be > 1 }
|
28
28
|
its (:'sub_genres.length') { should be > 0 }
|
29
29
|
# its (:display_level) { should == 1 }
|
30
|
-
its (:'images.small.url') { should == "http://geo-media.beatport.com/image/
|
31
|
-
its (:'images.medium.url') { should == "http://geo-media.beatport.com/image/
|
30
|
+
its (:'images.small.url') { should == "http://geo-media.beatport.com/image/491531.jpg"}
|
31
|
+
its (:'images.medium.url') { should == "http://geo-media.beatport.com/image/14195881.jpg"}
|
32
32
|
its (:'images.banner.url') { should == "http://geo-media.beatport.com/image/345152.jpg"}
|
33
33
|
# its (:'top_downloads.length') { should be > 1 }
|
34
34
|
# its (:'featured_releases.length') { should be > 1 }
|
@@ -34,7 +34,7 @@ module Beatport::Catalog
|
|
34
34
|
specify { subject.artists.map(&:name).should include("Paul Keeley") }
|
35
35
|
specify { subject.genres.map(&:name).sort.should == ["Progressive House", "Trance"] }
|
36
36
|
its (:'images.small.url') { should == "http://geo-media.beatport.com/image/392700.jpg" }
|
37
|
-
its (:'images.medium.url') { should == "http://geo-media.beatport.com/image/
|
37
|
+
its (:'images.medium.url') { should == "http://geo-media.beatport.com/image/14195879.jpg" }
|
38
38
|
its (:'images.large.url') { should == "http://geo-media.beatport.com/image/392701.jpg" }
|
39
39
|
its (:'discount.to_s') { should == "33.22" }
|
40
40
|
# its (:'recommendations.releases.length') { should > 1 }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beatport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateo Murphy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -84,100 +84,100 @@ dependencies:
|
|
84
84
|
name: webmock
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 1.20.4
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 1.20.4
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: jeweler
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 2.1.1
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 2.1.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: log_buddy
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 0.7.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 0.7.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rspec
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 3.1.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 3.1.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec-its
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 1.0.1
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 1.0.1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: yard
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - "
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 0.8.7
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - "
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 0.8.7
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: vcr
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - "
|
171
|
+
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
173
|
+
version: 2.9.3
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: 2.9.3
|
181
181
|
description: A ruby gem for accessing the beatport api
|
182
182
|
email: mateo.murphy@gmail.com
|
183
183
|
executables: []
|
@@ -286,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
286
286
|
version: '0'
|
287
287
|
requirements: []
|
288
288
|
rubyforge_project:
|
289
|
-
rubygems_version: 2.4.
|
289
|
+
rubygems_version: 2.4.8
|
290
290
|
signing_key:
|
291
291
|
specification_version: 4
|
292
292
|
summary: ruby gem for accessing the beatport api
|