next-big-sound 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.1
1
+ 0.8.2
@@ -1,6 +1,6 @@
1
1
  module NBS
2
2
  class Artist
3
-
3
+ extend NBS::MemcachedMemoize
4
4
  attr_accessor :artist_id, :name, :xml, :options, :post_params
5
5
 
6
6
  PROFILES = %w(all myspace lastfm ilike facebook twitter youtube reverbnation ourstage soundcloud purevolume bebo virb amiestreet jamlegend vimeo)
@@ -17,7 +17,7 @@ module NBS
17
17
  end
18
18
  end
19
19
 
20
- def fetch_profiles
20
+ def fetch_profiles(artist,sdate,edate)
21
21
  if self.post_params.empty?
22
22
  puts "not doing expected action"
23
23
  puts self.post_params
@@ -73,7 +73,7 @@ module NBS
73
73
  return profs
74
74
  end
75
75
  def to_xml
76
- self.xml ||= fetch_profiles
76
+ self.xml ||= fetch_profiles(self.artist_id,self.options["start_date"], self.options["end_date"])
77
77
  end
78
78
  def to_hash
79
79
  Hash.from_xml(self.to_xml)
@@ -103,5 +103,6 @@ module NBS
103
103
  end
104
104
  return arr
105
105
  end
106
+ remember :fetch_profiles
106
107
  end
107
108
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{next-big-sound}
8
- s.version = "0.8.1"
8
+ s.version = "0.8.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jeff durand"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - 1
9
- version: 0.8.1
8
+ - 2
9
+ version: 0.8.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - jeff durand