user-stream-receiver 0.4.0 → 0.5.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.4.0
1
+ 0.5.0
@@ -8,13 +8,16 @@ class UserStreamReceiver
8
8
  CONSUMER_SECRET = 'x6dzx1oFjgDrtJSM2v8YYEYhyN2LnB1zUOeNo9Y'
9
9
 
10
10
  attr_accessor :pit_file
11
+ attr_accessor :access_token
11
12
 
12
13
  def initialize(pit_file = 'user-stream-receiver')
13
14
  @pit_file = pit_file
14
15
  end
15
16
 
16
- def new_from_access_token(access_token)
17
- @access_token = access_token
17
+ def self.new_from_access_token(access_token)
18
+ me = self.new
19
+ me.access_token = access_token
20
+ me
18
21
  end
19
22
 
20
23
  def access_token
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{user-stream-receiver}
8
- s.version = "0.4.0"
8
+ s.version = "0.5.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["hitode909"]
12
- s.date = %q{2011-01-18}
12
+ s.date = %q{2011-01-24}
13
13
  s.description = %q{User Stream Receiver.}
14
14
  s.email = %q{hitode909@gmail.com}
15
15
  s.executables = ["user-stream-receiver", "user-stream-receiver-insert-mongo"]
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 4
7
+ - 5
8
8
  - 0
9
- version: 0.4.0
9
+ version: 0.5.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - hitode909
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-18 00:00:00 +09:00
17
+ date: 2011-01-24 00:00:00 +09:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ">="
144
144
  - !ruby/object:Gem::Version
145
- hash: 3483099514278908081
145
+ hash: 141089716308019746
146
146
  segments:
147
147
  - 0
148
148
  version: "0"