next-big-sound 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
data/lib/metric.rb CHANGED
@@ -27,6 +27,9 @@ module NBS
27
27
  return []
28
28
  end
29
29
  end
30
+ #def xml_data_points
31
+ #to_hash["Profiles"][0]["Profile"][0]["DataPoint"].to_xml
32
+ #end
30
33
  def to_xml
31
34
  self.xml ||= fetch
32
35
  end
@@ -10,7 +10,7 @@ module NBS
10
10
  require 'datapoint'
11
11
 
12
12
 
13
- NBS_CONFIG = YAML.load_file("config.yml")
13
+ NBS_CONFIG = YAML.load_file("./config.yml")
14
14
 
15
15
  class Base
16
16
 
@@ -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.2.0"
8
+ s.version = "0.3.0"
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"]
data/test/test_search.rb CHANGED
@@ -23,7 +23,7 @@ class TestNextBigSound < Test::Unit::TestCase
23
23
  assert_equal "The Killers", @searchobj.artists.first.name
24
24
  end
25
25
  should "metrics for profile" do
26
- assert @searchobj.artists.first.profiles.first.is_a?(Profile)
26
+ assert @searchobj.artists.first.profiles["MYSPACE"].is_a?(ArtistProfile)
27
27
  end
28
28
  end
29
29
  #should "have many re"
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 2
7
+ - 3
8
8
  - 0
9
- version: 0.2.0
9
+ version: 0.3.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - jeff durand