brainz_releases 0.0.3 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  require 'nokogiri'
2
2
  require 'open-uri'
3
3
  require 'net/http'
4
- require 'CGI'
4
+ require 'cgi'
5
5
  require 'Date' unless defined?(Date) == "constant"
6
6
 
7
7
  module BrainzReleases
@@ -1,3 +1,3 @@
1
1
  module BrainzReleases
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.6"
3
3
  end
data/spec/search_spec.rb CHANGED
@@ -145,7 +145,7 @@ describe BrainzReleases::Search do
145
145
  end
146
146
 
147
147
  it "should include the releases returned by releases_xml" do
148
- @brainz_search.results.map(&:artist).should include("Bibio")
148
+ @brainz_search.results.map(&:artist_name).should include("Bibio")
149
149
  @brainz_search.results.map(&:title).should include("Mind Bokeh")
150
150
  @brainz_search.results.first.should be_kind_of(BrainzReleases::Release)
151
151
  @brainz_search.results.length.should == 20
metadata CHANGED
@@ -5,9 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- segments_generated: true
10
- version: 0.0.3
8
+ - 6
9
+ version: 0.0.6
11
10
  platform: ruby
12
11
  authors:
13
12
  - Paul Sturgess
@@ -15,39 +14,37 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-12-07 00:00:00 +00:00
17
+ date: 2012-05-10 00:00:00 +01:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- version_requirements: &id001 !ruby/object:Gem::Requirement
21
+ requirement: &id001 !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - ~>
25
24
  - !ruby/object:Gem::Version
26
25
  segments:
27
26
  - 1
28
27
  - 4
29
- segments_generated: true
30
28
  version: "1.4"
31
- requirement: *id001
32
29
  name: nokogiri
33
30
  prerelease: false
34
31
  type: :runtime
32
+ version_requirements: *id001
35
33
  - !ruby/object:Gem::Dependency
36
- version_requirements: &id002 !ruby/object:Gem::Requirement
34
+ requirement: &id002 !ruby/object:Gem::Requirement
37
35
  requirements:
38
36
  - - ~>
39
37
  - !ruby/object:Gem::Version
40
38
  segments:
41
39
  - 2
42
40
  - 6
43
- segments_generated: true
44
41
  version: "2.6"
45
- requirement: *id002
46
42
  name: rspec
47
43
  prerelease: false
48
44
  type: :development
45
+ version_requirements: *id002
49
46
  - !ruby/object:Gem::Dependency
50
- version_requirements: &id003 !ruby/object:Gem::Requirement
47
+ requirement: &id003 !ruby/object:Gem::Requirement
51
48
  requirements:
52
49
  - - ~>
53
50
  - !ruby/object:Gem::Version
@@ -55,12 +52,11 @@ dependencies:
55
52
  - 1
56
53
  - 3
57
54
  - 0
58
- segments_generated: true
59
55
  version: 1.3.0
60
- requirement: *id003
61
56
  name: fakeweb
62
57
  prerelease: false
63
58
  type: :development
59
+ version_requirements: *id003
64
60
  description: Uses the MusicBrainz XML Web Service (version 2) to extract the releases for an artist and turns them into nice ruby objects.
65
61
  email:
66
62
  - paulsturgess@gmail.com
@@ -102,7 +98,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
98
  - !ruby/object:Gem::Version
103
99
  segments:
104
100
  - 0
105
- segments_generated: true
106
101
  version: "0"
107
102
  required_rubygems_version: !ruby/object:Gem::Requirement
108
103
  requirements:
@@ -110,7 +105,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
105
  - !ruby/object:Gem::Version
111
106
  segments:
112
107
  - 0
113
- segments_generated: true
114
108
  version: "0"
115
109
  requirements: []
116
110