oauth-plugin 0.3.10 → 0.3.11

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.10
1
+ 0.3.11
@@ -28,7 +28,6 @@ class ClientApplication < ActiveRecord::Base
28
28
  value = signature.verify
29
29
  value
30
30
  rescue OAuth::Signature::UnknownSignatureMethod => e
31
- logger.info "ERROR"+e.to_s
32
31
  false
33
32
  end
34
33
  end
@@ -18,6 +18,11 @@ module OAuth
18
18
  return verified && current_token.is_a?(::AccessToken)
19
19
  end
20
20
 
21
+ # Skip the authenticity filter if we have an oauth token
22
+ def verify_authenticity_token
23
+ super unless oauth?
24
+ end
25
+
21
26
  def oauth?
22
27
  current_token!=nil
23
28
  end
data/oauth-plugin.gemspec CHANGED
@@ -1,12 +1,15 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
1
4
  # -*- encoding: utf-8 -*-
2
5
 
3
6
  Gem::Specification.new do |s|
4
7
  s.name = %q{oauth-plugin}
5
- s.version = "0.3.10"
8
+ s.version = "0.3.11"
6
9
 
7
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
11
  s.authors = ["Pelle Braendgaard"]
9
- s.date = %q{2009-07-29}
12
+ s.date = %q{2009-09-10}
10
13
  s.description = %q{Rails plugin for implementing an OAuth Provider or Consumer}
11
14
  s.email = %q{oauth-ruby@googlegroups.com}
12
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pelle Braendgaard
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-29 00:00:00 -04:00
12
+ date: 2009-09-10 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency