brainz_releases 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,7 +66,7 @@ module BrainzReleases
66
66
  end
67
67
 
68
68
  def artist_param
69
- mbid ? "arid:#{mbid}" : "artist:#{name}"
69
+ mbid && mbid != "" ? "arid:#{mbid}" : "artist:#{name}"
70
70
  end
71
71
 
72
72
  end
@@ -1,3 +1,3 @@
1
1
  module BrainzReleases
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,57 +1,76 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: brainz_releases
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 3
9
+ segments_generated: true
10
+ version: 0.0.3
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Paul Sturgess
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-12-07 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: nokogiri
16
- requirement: &70173419819720 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
17
+
18
+ date: 2011-12-07 00:00:00 +00:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
+ requirements:
19
24
  - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '1.4'
22
- type: :runtime
25
+ - !ruby/object:Gem::Version
26
+ segments:
27
+ - 1
28
+ - 4
29
+ segments_generated: true
30
+ version: "1.4"
31
+ requirement: *id001
32
+ name: nokogiri
23
33
  prerelease: false
24
- version_requirements: *70173419819720
25
- - !ruby/object:Gem::Dependency
26
- name: rspec
27
- requirement: &70173419819180 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
34
+ type: :runtime
35
+ - !ruby/object:Gem::Dependency
36
+ version_requirements: &id002 !ruby/object:Gem::Requirement
37
+ requirements:
30
38
  - - ~>
31
- - !ruby/object:Gem::Version
32
- version: '2.6'
33
- type: :development
39
+ - !ruby/object:Gem::Version
40
+ segments:
41
+ - 2
42
+ - 6
43
+ segments_generated: true
44
+ version: "2.6"
45
+ requirement: *id002
46
+ name: rspec
34
47
  prerelease: false
35
- version_requirements: *70173419819180
36
- - !ruby/object:Gem::Dependency
37
- name: fakeweb
38
- requirement: &70173419818640 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
48
+ type: :development
49
+ - !ruby/object:Gem::Dependency
50
+ version_requirements: &id003 !ruby/object:Gem::Requirement
51
+ requirements:
41
52
  - - ~>
42
- - !ruby/object:Gem::Version
53
+ - !ruby/object:Gem::Version
54
+ segments:
55
+ - 1
56
+ - 3
57
+ - 0
58
+ segments_generated: true
43
59
  version: 1.3.0
44
- type: :development
60
+ requirement: *id003
61
+ name: fakeweb
45
62
  prerelease: false
46
- version_requirements: *70173419818640
47
- description: Uses the MusicBrainz XML Web Service (version 2) to extract the releases
48
- for an artist and turns them into nice ruby objects.
49
- email:
63
+ type: :development
64
+ description: Uses the MusicBrainz XML Web Service (version 2) to extract the releases for an artist and turns them into nice ruby objects.
65
+ email:
50
66
  - paulsturgess@gmail.com
51
67
  executables: []
68
+
52
69
  extensions: []
70
+
53
71
  extra_rdoc_files: []
54
- files:
72
+
73
+ files:
55
74
  - .DS_Store
56
75
  - .gitignore
57
76
  - Gemfile
@@ -68,32 +87,39 @@ files:
68
87
  - spec/release_spec.rb
69
88
  - spec/search_spec.rb
70
89
  - spec/spec_helper.rb
90
+ has_rdoc: true
71
91
  homepage: https://github.com/paulsturgess/brainz_releases
72
92
  licenses: []
93
+
73
94
  post_install_message:
74
95
  rdoc_options: []
75
- require_paths:
96
+
97
+ require_paths:
76
98
  - lib
77
- required_ruby_version: !ruby/object:Gem::Requirement
78
- none: false
79
- requirements:
80
- - - ! '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- required_rubygems_version: !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ! '>='
87
- - !ruby/object:Gem::Version
88
- version: '0'
99
+ required_ruby_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ segments:
104
+ - 0
105
+ segments_generated: true
106
+ version: "0"
107
+ required_rubygems_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ segments:
112
+ - 0
113
+ segments_generated: true
114
+ version: "0"
89
115
  requirements: []
116
+
90
117
  rubyforge_project: brainz_releases
91
- rubygems_version: 1.8.10
118
+ rubygems_version: 1.3.6
92
119
  signing_key:
93
120
  specification_version: 3
94
- summary: Provides a ruby interface for extracting the releases for an artist from
95
- MusicBrainz
96
- test_files:
121
+ summary: Provides a ruby interface for extracting the releases for an artist from MusicBrainz
122
+ test_files:
97
123
  - spec/brainz_releases_spec.rb
98
124
  - spec/fixtures/ok.xml
99
125
  - spec/release_spec.rb