oo_auth 0.0.2 → 0.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c1f195a813ed4592a12273dafcf4421832150ef
4
- data.tar.gz: ac91fdf7df2ae7900608a9ff10324ce672989c26
3
+ metadata.gz: fe4f72cf83013da415eb05cc8290d49e6c3843d2
4
+ data.tar.gz: d5c7bbc222785702e4a8f9a31ef1ec6643d449e2
5
5
  SHA512:
6
- metadata.gz: 119fedaad30ed7871268feae52e1eba5f5946482dfd6ba8589ca40abc5402b5443ed1a0ed6db527d3f450c5ac607b7c80f67f220909db38da102eb0868dbaf40
7
- data.tar.gz: 26dd994008db1eb664dbc754c41e10225226a057aa9a1540af5d3b0c34c31b89e9e4607bbf870f7b04bf04f05388245518f0fc27c7f7c39416a9e53bc23753c2
6
+ metadata.gz: 5af4e5b5e6f7199d347c4649839b06322474eaf4beffb999b7561735c8e067dc9e60011840fdc62bbb29d3367ed713a0c1dd47fe07b05da057d3b62c25a66ade
7
+ data.tar.gz: d2858ce8aba4946e5d002652b97965ac8ed4ec2ec21d4c6b71b4d0b4e70b3b3b8c805f5b24831cec6f1b42596019d670f7a0c91c119f8efb7ed554fa80fa85af
@@ -15,8 +15,8 @@ require 'oo_auth/signature'
15
15
  module OoAuth
16
16
 
17
17
  class << self
18
- # Initialize with instance of store
19
- # OoAuth.nonce_store = OoAuth::Nonce::RedisStore.new(namespace: 'foo')
18
+ # Initialize with instance of store
19
+ # OoAuth.nonce_store = OoAuth::Nonce::RedisStore.new(namespace: 'foo')
20
20
  attr_accessor :nonce_store
21
21
 
22
22
 
@@ -91,4 +91,4 @@ module OoAuth
91
91
 
92
92
  end
93
93
 
94
- end
94
+ end
@@ -88,7 +88,8 @@ module OoAuth
88
88
 
89
89
  PARAMETERS.each do |parameter|
90
90
  define_method "#{parameter[6..-1]}" do
91
- oauth_params[parameter]
91
+ params = oauth_params
92
+ params && params[parameter]
92
93
  end
93
94
  end
94
95
 
@@ -132,4 +133,4 @@ module OoAuth
132
133
  end
133
134
 
134
135
  end
135
- end
136
+ end
@@ -1,3 +1,3 @@
1
1
  module OoAuth
2
- VERSION = '0.0.2'
3
- end
2
+ VERSION = '0.1.0'
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oo_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Grosser
@@ -86,16 +86,16 @@ executables: []
86
86
  extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
- - lib/oo_auth/configuration_error.rb
89
+ - lib/oo_auth.rb
90
+ - lib/oo_auth/request_proxy.rb
90
91
  - lib/oo_auth/constants.rb
92
+ - lib/oo_auth/configuration_error.rb
93
+ - lib/oo_auth/version.rb
91
94
  - lib/oo_auth/credentials.rb
92
- - lib/oo_auth/nonce/abstract_store.rb
93
- - lib/oo_auth/nonce/redis_store.rb
94
95
  - lib/oo_auth/nonce.rb
95
- - lib/oo_auth/request_proxy.rb
96
96
  - lib/oo_auth/signature.rb
97
- - lib/oo_auth/version.rb
98
- - lib/oo_auth.rb
97
+ - lib/oo_auth/nonce/abstract_store.rb
98
+ - lib/oo_auth/nonce/redis_store.rb
99
99
  - LICENSE
100
100
  - README.md
101
101
  - CHANGELOG