twiauth 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/twiauth/client.rb +2 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.rc1
1
+ 1.0.0.rc2
@@ -14,8 +14,8 @@ module TwiAuth
14
14
  # @client = TwiAuth::Client.new( {:key => @consumer_key, :secret => @consumer_secret})
15
15
  #
16
16
  def initialize(consumer, options = {})
17
- # raise "options are nil" if options.nil?
18
- self.access_token = nil # options[:access_token]
17
+ raise "options are nil" if options.nil?
18
+ self.access_token = options[:access_token]
19
19
  if self.access_token.nil?
20
20
  raise "consumer could not be nil!" if consumer.nil?
21
21
  self.consumer = connect(consumer['key'], consumer['secret'])
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: twiauth
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 1.0.0.rc1
5
+ version: 1.0.0.rc2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sascha Wessel