rockstar 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d81aec3fca0321d806351b30c59356327806f1cb
4
+ data.tar.gz: d33c05067a1860886c67d80957f6344686d365c6
5
+ SHA512:
6
+ metadata.gz: ee14569f91eb775700bcda56a9c110d05b66772ae8c6e243d2793e42dd8253016823b171959821454e36598af8473d0f6851183ad443ea06ca11ddf570aad96e
7
+ data.tar.gz: c78eb183f630a7ff31163baeba9fbea4ee44d95c55c7cb26939dc0093dee22ac5f9a883042b3fc4f73b69d1c0deecd81f427b6c8fbeb81a4b7d39ab2c07ace72
@@ -4,3 +4,6 @@ notifications:
4
4
  rvm:
5
5
  - 1.8.7
6
6
  - 1.9.2
7
+ - 1.9.3
8
+ - 2.0.0
9
+ - 2.1.0
data/Gemfile CHANGED
@@ -1,11 +1,14 @@
1
1
  # A sample Gemfile
2
2
  source "http://rubygems.org"
3
3
 
4
- gem "rake"
5
- gem "hpricot", ">=0.4.86"
6
- gem "i18n"
7
- gem "activesupport", ">=1.4.2"
4
+ gem "rake", ">= 0.10.0"
5
+ gem "i18n", ">= 0.5.0"
8
6
 
9
7
  group :development do
10
- gem "jeweler"
8
+ gem "jeweler", ">= 2.0.0"
9
+ end
10
+
11
+ group :test do
12
+ gem "hpricot", ">= 0.4.0"
13
+ gem "activesupport", ">=1.4.2"
11
14
  end
@@ -2,21 +2,61 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  activesupport (3.0.8)
5
- git (1.2.5)
5
+ addressable (2.3.5)
6
+ builder (3.2.2)
7
+ descendants_tracker (0.0.3)
8
+ faraday (0.8.9)
9
+ multipart-post (~> 1.2.0)
10
+ git (1.2.6)
11
+ github_api (0.11.1)
12
+ addressable (~> 2.3)
13
+ descendants_tracker (~> 0.0.1)
14
+ faraday (~> 0.8, < 0.10)
15
+ hashie (>= 1.2)
16
+ multi_json (>= 1.7.5, < 2.0)
17
+ nokogiri (~> 1.6.0)
18
+ oauth2
19
+ hashie (2.0.5)
20
+ highline (1.6.20)
6
21
  hpricot (0.8.4)
22
+ httpauth (0.2.0)
7
23
  i18n (0.5.0)
8
- jeweler (1.5.2)
9
- bundler (~> 1.0.0)
24
+ jeweler (2.0.0)
25
+ builder
26
+ bundler (>= 1.0)
10
27
  git (>= 1.2.5)
28
+ github_api
29
+ highline (>= 1.6.15)
30
+ nokogiri (>= 1.5.10)
11
31
  rake
12
- rake (0.8.7)
32
+ rdoc
33
+ json (1.8.1)
34
+ jwt (0.1.10)
35
+ multi_json (>= 1.5)
36
+ mini_portile (0.5.2)
37
+ multi_json (1.8.4)
38
+ multi_xml (0.5.5)
39
+ multipart-post (1.2.0)
40
+ nokogiri (1.6.1)
41
+ mini_portile (~> 0.5.0)
42
+ oauth2 (0.9.2)
43
+ faraday (~> 0.8)
44
+ httpauth (~> 0.2)
45
+ jwt (~> 0.1.4)
46
+ multi_json (~> 1.0)
47
+ multi_xml (~> 0.5)
48
+ rack (~> 1.2)
49
+ rack (1.5.2)
50
+ rake (10.1.1)
51
+ rdoc (4.1.1)
52
+ json (~> 1.4)
13
53
 
14
54
  PLATFORMS
15
55
  ruby
16
56
 
17
57
  DEPENDENCIES
18
58
  activesupport (>= 1.4.2)
19
- hpricot (>= 0.4.86)
20
- i18n
21
- jeweler
22
- rake
59
+ hpricot (>= 0.4.0)
60
+ i18n (>= 0.5.0)
61
+ jeweler (>= 2.0.0)
62
+ rake (>= 0.10.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.1
1
+ 0.8.0
@@ -59,7 +59,7 @@
59
59
  module Rockstar
60
60
  class Artist < Base
61
61
  attr_accessor :name, :mbid, :listenercount, :playcount, :rank, :url, :thumbnail
62
- attr_accessor :summary, :content, :images, :count, :streamable
62
+ attr_accessor :summary, :content, :images, :count, :streamable, :tags
63
63
  attr_accessor :chartposition
64
64
 
65
65
  # used for similar artists
@@ -79,8 +79,8 @@ module Rockstar
79
79
 
80
80
  def initialize(name, o={})
81
81
  raise ArgumentError, "Name or mbid is required" if name.blank? && o[:mbid].blank?
82
- @name = name
83
- @mbid = o[:mbid] unless o[:mbid].nil?
82
+ @name = name unless name.blank?
83
+ @mbid = o[:mbid] unless o[:mbid].blank?
84
84
 
85
85
  options = {:include_info => false}.merge(o)
86
86
  load_info if options[:include_info]
@@ -96,6 +96,7 @@ module Rockstar
96
96
 
97
97
  return self if xml.nil?
98
98
 
99
+ self.name = (xml).at(:name).inner_html if (xml).at(:name)
99
100
  self.mbid = (xml).at(:mbid).inner_html if (xml).at(:mbid)
100
101
  self.listenercount = (xml).at(:listeners).inner_html if (xml).at(:listeners)
101
102
  self.playcount = (xml).at(:playcount).inner_html if (xml).at(:playcount)
@@ -122,6 +123,8 @@ module Rockstar
122
123
 
123
124
  self.streamable = (xml).at(:streamable).inner_html == '1' ? 'yes' : 'no' if self.streamable.nil? && (xml).at(:streamable)
124
125
 
126
+ self.tags = (xml/'tag/name').collect(&:inner_html)
127
+
125
128
  self
126
129
  end
127
130
 
@@ -2,14 +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: rockstar 0.8.0 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "rockstar"
8
- s.version = "0.7.1"
9
+ s.version = "0.8.0"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Bodo Tasche"]
12
- s.date = "2013-02-19"
14
+ s.date = "2014-01-14"
13
15
  s.description = "This gem is an updated version of jnunemakers scrobbler gem. Rockstar uses v2.0 of the last.fm api."
14
16
  s.email = "bodo@putpat.tv"
15
17
  s.extra_rdoc_files = [
@@ -57,6 +59,7 @@ Gem::Specification.new do |s|
57
59
  "test/fixtures/xml/artist/getevents_artist_Metallica.xml",
58
60
  "test/fixtures/xml/artist/getimages_artist_Metallica_page_2.xml",
59
61
  "test/fixtures/xml/artist/getinfo_artist_Metallica.xml",
62
+ "test/fixtures/xml/artist/getinfo_artist_slayer.xml",
60
63
  "test/fixtures/xml/artist/getinfo_mbid_65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab.xml",
61
64
  "test/fixtures/xml/artist/getsimilar_artist_Metallica.xml",
62
65
  "test/fixtures/xml/artist/gettopalbums_artist_Metallica.xml",
@@ -118,57 +121,29 @@ Gem::Specification.new do |s|
118
121
  "test/unit/test_venue.rb"
119
122
  ]
120
123
  s.homepage = "http://github.com/putpat/rockstar"
121
- s.require_paths = ["lib"]
122
- s.rubygems_version = "1.8.23"
124
+ s.rubygems_version = "2.2.0"
123
125
  s.summary = "wrapper for audioscrobbler (last.fm) web services"
124
- s.test_files = [
125
- "examples/album.rb",
126
- "examples/artist.rb",
127
- "examples/geo.rb",
128
- "examples/scrobble.rb",
129
- "examples/tag.rb",
130
- "examples/track.rb",
131
- "examples/user.rb",
132
- "test/mocks/rest.rb",
133
- "test/test_helper.rb",
134
- "test/unit/test_album.rb",
135
- "test/unit/test_artist.rb",
136
- "test/unit/test_chart.rb",
137
- "test/unit/test_geo.rb",
138
- "test/unit/test_library.rb",
139
- "test/unit/test_rockstar.rb",
140
- "test/unit/test_tag.rb",
141
- "test/unit/test_track.rb",
142
- "test/unit/test_user.rb",
143
- "test/unit/test_venue.rb"
144
- ]
145
126
 
146
127
  if s.respond_to? :specification_version then
147
- s.specification_version = 3
128
+ s.specification_version = 4
148
129
 
149
130
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
150
- s.add_runtime_dependency(%q<rake>, [">= 0"])
151
- s.add_runtime_dependency(%q<hpricot>, [">= 0.4.86"])
152
- s.add_runtime_dependency(%q<i18n>, [">= 0"])
153
- s.add_runtime_dependency(%q<activesupport>, [">= 1.4.2"])
154
- s.add_development_dependency(%q<jeweler>, [">= 0"])
131
+ s.add_runtime_dependency(%q<rake>, [">= 0.10.0"])
132
+ s.add_runtime_dependency(%q<i18n>, [">= 0.5.0"])
133
+ s.add_development_dependency(%q<jeweler>, [">= 2.0.0"])
155
134
  s.add_runtime_dependency(%q<hpricot>, [">= 0.4.86"])
156
135
  s.add_runtime_dependency(%q<activesupport>, [">= 1.4.2"])
157
136
  else
158
- s.add_dependency(%q<rake>, [">= 0"])
159
- s.add_dependency(%q<hpricot>, [">= 0.4.86"])
160
- s.add_dependency(%q<i18n>, [">= 0"])
161
- s.add_dependency(%q<activesupport>, [">= 1.4.2"])
162
- s.add_dependency(%q<jeweler>, [">= 0"])
137
+ s.add_dependency(%q<rake>, [">= 0.10.0"])
138
+ s.add_dependency(%q<i18n>, [">= 0.5.0"])
139
+ s.add_dependency(%q<jeweler>, [">= 2.0.0"])
163
140
  s.add_dependency(%q<hpricot>, [">= 0.4.86"])
164
141
  s.add_dependency(%q<activesupport>, [">= 1.4.2"])
165
142
  end
166
143
  else
167
- s.add_dependency(%q<rake>, [">= 0"])
168
- s.add_dependency(%q<hpricot>, [">= 0.4.86"])
169
- s.add_dependency(%q<i18n>, [">= 0"])
170
- s.add_dependency(%q<activesupport>, [">= 1.4.2"])
171
- s.add_dependency(%q<jeweler>, [">= 0"])
144
+ s.add_dependency(%q<rake>, [">= 0.10.0"])
145
+ s.add_dependency(%q<i18n>, [">= 0.5.0"])
146
+ s.add_dependency(%q<jeweler>, [">= 2.0.0"])
172
147
  s.add_dependency(%q<hpricot>, [">= 0.4.86"])
173
148
  s.add_dependency(%q<activesupport>, [">= 1.4.2"])
174
149
  end
@@ -0,0 +1,120 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <lfm status="ok">
3
+ <artist>
4
+ <name>Slayer</name>
5
+ <mbid>72de5171-38cf-4734-bc8a-6ac374dea523</mbid>
6
+ <url>http://www.last.fm/music/Slayer</url>
7
+ <image size="small">http://userserve-ak.last.fm/serve/34/47163093.jpg</image>
8
+ <image size="medium">http://userserve-ak.last.fm/serve/64/47163093.jpg</image>
9
+ <image size="large">http://userserve-ak.last.fm/serve/126/47163093.jpg</image>
10
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/47163093.jpg</image>
11
+ <image size="mega">http://userserve-ak.last.fm/serve/500/47163093/Slayer.jpg</image>
12
+ <streamable>1</streamable>
13
+ <ontour>0</ontour>
14
+ <stats>
15
+ <listeners>1209438</listeners>
16
+ <playcount>65355945</playcount>
17
+ </stats>
18
+
19
+ <similar>
20
+ <artist>
21
+ <name>Exodus</name>
22
+ <url>http://www.last.fm/music/Exodus</url>
23
+ <image size="small">http://userserve-ak.last.fm/serve/34/2244858.jpg</image>
24
+ <image size="medium">http://userserve-ak.last.fm/serve/64/2244858.jpg</image>
25
+ <image size="large">http://userserve-ak.last.fm/serve/126/2244858.jpg</image>
26
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/2244858.jpg</image>
27
+ <image size="mega">http://userserve-ak.last.fm/serve/_/2244858/Exodus.jpg</image>
28
+
29
+ </artist>
30
+ <artist>
31
+ <name>Sodom</name>
32
+ <url>http://www.last.fm/music/Sodom</url>
33
+ <image size="small">http://userserve-ak.last.fm/serve/34/111054.gif</image>
34
+ <image size="medium">http://userserve-ak.last.fm/serve/64/111054.gif</image>
35
+ <image size="large">http://userserve-ak.last.fm/serve/126/111054.gif</image>
36
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/111054.gif</image>
37
+ <image size="mega">http://userserve-ak.last.fm/serve/_/111054/Sodom.gif</image>
38
+
39
+ </artist>
40
+ <artist>
41
+ <name>Kreator</name>
42
+ <url>http://www.last.fm/music/Kreator</url>
43
+ <image size="small">http://userserve-ak.last.fm/serve/34/22075305.jpg</image>
44
+ <image size="medium">http://userserve-ak.last.fm/serve/64/22075305.jpg</image>
45
+ <image size="large">http://userserve-ak.last.fm/serve/126/22075305.jpg</image>
46
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/22075305.jpg</image>
47
+ <image size="mega">http://userserve-ak.last.fm/serve/500/22075305/Kreator+MM_resize.jpg</image>
48
+
49
+ </artist>
50
+ <artist>
51
+ <name>Anthrax</name>
52
+ <url>http://www.last.fm/music/Anthrax</url>
53
+ <image size="small">http://userserve-ak.last.fm/serve/34/81588821.jpg</image>
54
+ <image size="medium">http://userserve-ak.last.fm/serve/64/81588821.jpg</image>
55
+ <image size="large">http://userserve-ak.last.fm/serve/126/81588821.jpg</image>
56
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/81588821.jpg</image>
57
+ <image size="mega">http://userserve-ak.last.fm/serve/_/81588821/Anthrax+Heaviest+fuckin+band+in+the+wo.jpg</image>
58
+
59
+ </artist>
60
+ <artist>
61
+ <name>Testament</name>
62
+ <url>http://www.last.fm/music/Testament</url>
63
+ <image size="small">http://userserve-ak.last.fm/serve/34/24780115.jpg</image>
64
+ <image size="medium">http://userserve-ak.last.fm/serve/64/24780115.jpg</image>
65
+ <image size="large">http://userserve-ak.last.fm/serve/126/24780115.jpg</image>
66
+ <image size="extralarge">http://userserve-ak.last.fm/serve/252/24780115.jpg</image>
67
+ <image size="mega">http://userserve-ak.last.fm/serve/500/24780115/Testament+test2.jpg</image>
68
+
69
+ </artist>
70
+ </similar>
71
+ <tags>
72
+ <tag>
73
+ <name>thrash metal</name>
74
+ <url>http://www.last.fm/tag/thrash%20metal</url>
75
+ </tag>
76
+ <tag>
77
+ <name>metal</name>
78
+ <url>http://www.last.fm/tag/metal</url>
79
+ </tag>
80
+ <tag>
81
+ <name>speed metal</name>
82
+ <url>http://www.last.fm/tag/speed%20metal</url>
83
+ </tag>
84
+ <tag>
85
+ <name>heavy metal</name>
86
+ <url>http://www.last.fm/tag/heavy%20metal</url>
87
+ </tag>
88
+ <tag>
89
+ <name>thrash</name>
90
+ <url>http://www.last.fm/tag/thrash</url>
91
+ </tag>
92
+ </tags>
93
+ <bio>
94
+ <links>
95
+ <link rel="original" href="http://www.last.fm/music/Slayer/+wiki" />
96
+ </links>
97
+ <published>Mon, 24 May 2010 15:32:09 +0000</published>
98
+ <summary>
99
+ <![CDATA[ Slayer is a <a href="http://www.last.fm/tag/thrash%20metal" class="bbcode_tag" rel="tag">thrash metal</a> band from US, formed in 1981. The band was founded by guitarists <a href="http://www.last.fm/music/Jeff+Hanneman" class="bbcode_artist">Jeff Hanneman</a> and <a href="http://www.last.fm/music/Kerry+King" class="bbcode_artist">Kerry King</a>. The band was credited as one of the &quot;Big Four&quot; <a href="http://www.last.fm/tag/thrash%20metal" class="bbcode_tag" rel="tag">thrash metal</a> bands, along with <a href="http://www.last.fm/music/Metallica" class="bbcode_artist">Metallica</a>, <a href="http://www.last.fm/music/Anthrax" class="bbcode_artist">Anthrax</a>, and <a href="http://www.last.fm/music/Megadeth" class="bbcode_artist">Megadeth</a>. Slayer's musical traits involve fast tremolo picking, guitar solos, double bass drumming, and shouting vocals. The band's lyrics and album art, which cover topics such as death, deviants, suicide, genocide, necrophilia, insanity, Nazism, religion, Satanism...
100
+
101
+ <a href="http://www.last.fm/music/Slayer">Read more about Slayer on Last.fm</a>.
102
+ ]]>
103
+ </summary>
104
+ <content>
105
+ <![CDATA[ Slayer is a <a href="http://www.last.fm/tag/thrash%20metal" class="bbcode_tag" rel="tag">thrash metal</a> band from US, formed in 1981. The band was founded by guitarists <a href="http://www.last.fm/music/Jeff+Hanneman" class="bbcode_artist">Jeff Hanneman</a> and <a href="http://www.last.fm/music/Kerry+King" class="bbcode_artist">Kerry King</a>. The band was credited as one of the &quot;Big Four&quot; <a href="http://www.last.fm/tag/thrash%20metal" class="bbcode_tag" rel="tag">thrash metal</a> bands, along with <a href="http://www.last.fm/music/Metallica" class="bbcode_artist">Metallica</a>, <a href="http://www.last.fm/music/Anthrax" class="bbcode_artist">Anthrax</a>, and <a href="http://www.last.fm/music/Megadeth" class="bbcode_artist">Megadeth</a>. Slayer's musical traits involve fast tremolo picking, guitar solos, double bass drumming, and shouting vocals. The band's lyrics and album art, which cover topics such as death, deviants, suicide, genocide, necrophilia, insanity, Nazism, religion, Satanism...
106
+
107
+ <a href="http://www.last.fm/music/Slayer">Read more about Slayer on Last.fm</a>.
108
+
109
+
110
+ User-contributed text is available under the Creative Commons By-SA License and may also be available under the GNU FDL.]]>
111
+ </content>
112
+ <placeformed>US</placeformed> <yearformed>1981</yearformed>
113
+ <formationlist>
114
+ <formation>
115
+ <yearfrom>1981</yearfrom>
116
+ <yearto></yearto>
117
+ </formation>
118
+ </formationlist>
119
+ </bio>
120
+ </artist></lfm>
@@ -27,11 +27,12 @@ class TestArtist < Test::Unit::TestCase
27
27
  assert_equal("65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab", artist.mbid)
28
28
  assert_match(/an American metal band formed in 1981/, artist.summary)
29
29
  assert_equal("http://userserve-ak.last.fm/serve/64/3679639.jpg", artist.images['medium'])
30
+ assert_equal("http://userserve-ak.last.fm/serve/64/3679639.jpg", artist.images['medium'])
30
31
  end
31
32
 
32
33
  test 'should return the default artist profile image' do
33
34
  assert_equal("http://userserve-ak.last.fm/serve/64/3679639.jpg", @artist.image)
34
- assert_equal("http://userserve-ak.last.fm/serve/126/3679639.jpg", @artist.image(:large))
35
+ assert_equal("thrash metal", @artist.tags.first)
35
36
  end
36
37
 
37
38
  test 'should load additional user images' do
@@ -101,11 +102,22 @@ class TestArtist < Test::Unit::TestCase
101
102
  end
102
103
 
103
104
  test 'should load artist by mbid' do
104
- artist = Rockstar::Artist.new("Metallica",
105
- :mbid => "65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab",
105
+ artist = Rockstar::Artist.new(nil,
106
+ :mbid => "65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab",
106
107
  :include_info => true)
108
+ assert_equal("Metallica", artist.name)
109
+ assert_equal("http://www.last.fm/music/Metallica", artist.url)
107
110
  assert_equal("http://www.last.fm/music/Metallica", artist.url)
108
111
  assert_equal("65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab", artist.mbid)
109
112
  assert_match(/an American metal band formed in 1981/, artist.summary)
110
113
  end
114
+
115
+ test 'should use last.fm artist name for returned artist name' do
116
+ artist = Rockstar::Artist.new('slayer', :include_info => true)
117
+ assert_equal("Slayer", artist.name)
118
+ assert_equal("http://www.last.fm/music/Slayer", artist.url)
119
+ assert_equal("http://www.last.fm/music/Slayer", artist.url)
120
+ assert_equal("72de5171-38cf-4734-bc8a-6ac374dea523", artist.mbid)
121
+ assert_match(/Slayer's musical traits involve fast tremolo picking/, artist.summary)
122
+ end
111
123
  end
metadata CHANGED
@@ -1,126 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rockstar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
5
- prerelease:
4
+ version: 0.8.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Bodo Tasche
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-19 00:00:00.000000000 Z
11
+ date: 2014-01-14 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: 0.10.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
31
- name: hpricot
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: 0.4.86
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: 0.4.86
26
+ version: 0.10.0
46
27
  - !ruby/object:Gem::Dependency
47
28
  name: i18n
48
29
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
30
  requirements:
51
- - - ! '>='
31
+ - - ">="
52
32
  - !ruby/object:Gem::Version
53
- version: '0'
33
+ version: 0.5.0
54
34
  type: :runtime
55
35
  prerelease: false
56
36
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
37
  requirements:
59
- - - ! '>='
38
+ - - ">="
60
39
  - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
63
- name: activesupport
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: 1.4.2
70
- type: :runtime
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: 1.4.2
40
+ version: 0.5.0
78
41
  - !ruby/object:Gem::Dependency
79
42
  name: jeweler
80
43
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
44
  requirements:
83
- - - ! '>='
45
+ - - ">="
84
46
  - !ruby/object:Gem::Version
85
- version: '0'
47
+ version: 2.0.0
86
48
  type: :development
87
49
  prerelease: false
88
50
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
51
  requirements:
91
- - - ! '>='
52
+ - - ">="
92
53
  - !ruby/object:Gem::Version
93
- version: '0'
54
+ version: 2.0.0
94
55
  - !ruby/object:Gem::Dependency
95
56
  name: hpricot
96
57
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
58
  requirements:
99
- - - ! '>='
59
+ - - ">="
100
60
  - !ruby/object:Gem::Version
101
61
  version: 0.4.86
102
62
  type: :runtime
103
63
  prerelease: false
104
64
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
65
  requirements:
107
- - - ! '>='
66
+ - - ">="
108
67
  - !ruby/object:Gem::Version
109
68
  version: 0.4.86
110
69
  - !ruby/object:Gem::Dependency
111
70
  name: activesupport
112
71
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
72
  requirements:
115
- - - ! '>='
73
+ - - ">="
116
74
  - !ruby/object:Gem::Version
117
75
  version: 1.4.2
118
76
  type: :runtime
119
77
  prerelease: false
120
78
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
79
  requirements:
123
- - - ! '>='
80
+ - - ">="
124
81
  - !ruby/object:Gem::Version
125
82
  version: 1.4.2
126
83
  description: This gem is an updated version of jnunemakers scrobbler gem. Rockstar
@@ -131,7 +88,7 @@ extensions: []
131
88
  extra_rdoc_files:
132
89
  - README.md
133
90
  files:
134
- - .travis.yml
91
+ - ".travis.yml"
135
92
  - Gemfile
136
93
  - Gemfile.lock
137
94
  - History.txt
@@ -172,6 +129,7 @@ files:
172
129
  - test/fixtures/xml/artist/getevents_artist_Metallica.xml
173
130
  - test/fixtures/xml/artist/getimages_artist_Metallica_page_2.xml
174
131
  - test/fixtures/xml/artist/getinfo_artist_Metallica.xml
132
+ - test/fixtures/xml/artist/getinfo_artist_slayer.xml
175
133
  - test/fixtures/xml/artist/getinfo_mbid_65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab.xml
176
134
  - test/fixtures/xml/artist/getsimilar_artist_Metallica.xml
177
135
  - test/fixtures/xml/artist/gettopalbums_artist_Metallica.xml
@@ -233,48 +191,25 @@ files:
233
191
  - test/unit/test_venue.rb
234
192
  homepage: http://github.com/putpat/rockstar
235
193
  licenses: []
194
+ metadata: {}
236
195
  post_install_message:
237
196
  rdoc_options: []
238
197
  require_paths:
239
198
  - lib
240
199
  required_ruby_version: !ruby/object:Gem::Requirement
241
- none: false
242
200
  requirements:
243
- - - ! '>='
201
+ - - ">="
244
202
  - !ruby/object:Gem::Version
245
203
  version: '0'
246
- segments:
247
- - 0
248
- hash: 1486621520134366537
249
204
  required_rubygems_version: !ruby/object:Gem::Requirement
250
- none: false
251
205
  requirements:
252
- - - ! '>='
206
+ - - ">="
253
207
  - !ruby/object:Gem::Version
254
208
  version: '0'
255
209
  requirements: []
256
210
  rubyforge_project:
257
- rubygems_version: 1.8.23
211
+ rubygems_version: 2.2.0
258
212
  signing_key:
259
- specification_version: 3
213
+ specification_version: 4
260
214
  summary: wrapper for audioscrobbler (last.fm) web services
261
- test_files:
262
- - examples/album.rb
263
- - examples/artist.rb
264
- - examples/geo.rb
265
- - examples/scrobble.rb
266
- - examples/tag.rb
267
- - examples/track.rb
268
- - examples/user.rb
269
- - test/mocks/rest.rb
270
- - test/test_helper.rb
271
- - test/unit/test_album.rb
272
- - test/unit/test_artist.rb
273
- - test/unit/test_chart.rb
274
- - test/unit/test_geo.rb
275
- - test/unit/test_library.rb
276
- - test/unit/test_rockstar.rb
277
- - test/unit/test_tag.rb
278
- - test/unit/test_track.rb
279
- - test/unit/test_user.rb
280
- - test/unit/test_venue.rb
215
+ test_files: []