socialyzer 0.0.2 → 0.0.3

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.
@@ -1,3 +1,3 @@
1
1
  module Socialyzer
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/socialyzer.rb CHANGED
@@ -21,6 +21,10 @@ module Socialyzer
21
21
  api_request(:twitter_user, :user => screen_name)
22
22
  end
23
23
 
24
+ def self.daily_best(screen_name)
25
+ api_request(:daily_best, :user => screen_name)["schedule"]
26
+ end
27
+
24
28
  def self.api_request(action, options={})
25
29
  env = options.delete(:env) || :production
26
30
  options.merge!(:key => API_KEY)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-30 00:00:00.000000000 Z
12
+ date: 2012-12-30 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  version: '0'
73
73
  requirements: []
74
74
  rubyforge_project:
75
- rubygems_version: 1.8.24
75
+ rubygems_version: 1.8.19
76
76
  signing_key:
77
77
  specification_version: 3
78
78
  summary: A ruby library for dealing with the Socialyzer API