proletarian-oauth 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/oauth/consumer.rb +8 -0
  2. data/oauth.gemspec +1 -1
  3. metadata +1 -1
@@ -158,6 +158,10 @@ module OAuth
158
158
  @options[:authorize_path]
159
159
  end
160
160
 
161
+ def authenticate_path
162
+ @options[:authenticate_path]
163
+ end
164
+
161
165
  def access_token_path
162
166
  @options[:access_token_path]
163
167
  end
@@ -174,6 +178,10 @@ module OAuth
174
178
  def authorize_url
175
179
  @options[:authorize_url]||site+authorize_path
176
180
  end
181
+
182
+ def authorize_url
183
+ @options[:authenticate_url]||site+authenticate_path
184
+ end
177
185
 
178
186
  def authorize_url?
179
187
  @options[:authorize_url]!=nil
data/oauth.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{oauth}
5
- s.version = "0.3.3"
5
+ s.version = "0.3.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Pelle Braendgaard", "Blaine Cook", "Larry Halff", "Jesse Clark", "Jon Crosby", "Seth Fitzsimmons"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proletarian-oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pelle Braendgaard