restfull_oauth 0.2.1 → 0.2.2

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: adff2d769488a9b7c5d78441db5a39a6ca03e0b5
4
- data.tar.gz: df0c13f39fe659544008d71bdc22b088fb6307e9
3
+ metadata.gz: b2d85fa081e5831969e75cbb4455e259c8f3a729
4
+ data.tar.gz: 81e8453a3bdf83beac5b1ec0eb9a64d22c0ce9c5
5
5
  SHA512:
6
- metadata.gz: 0a3b23e46e9d8c1dd363052b00a92354ef818c9863d18e21b7816def9d47e5ec5bcf860d8eeda50853cbaf0a036572acf3528df3f1c205ffd7a79321cb443ab3
7
- data.tar.gz: c9310088344850749e4c4fe13be33cb2fbd0430435c4297bd1c67ad5294b8564aded8e15e8ae622509a1133d229dc15770ed022436cf0179ce7e5b767abace91
6
+ metadata.gz: 348642752888d5fab1f36b924ced722d624bff0a644ff9a8e6be3679c270dd5c758f2b63cce1b4937fae76271d459a13791318742c1249cb09e1cce97654b69b
7
+ data.tar.gz: 8ea2f079ed55a687bfc7d7ba1c09d4f2cc991664f57a73c8770fb9f15fafc710368242ae5644b3c71cb670d9d3440d41eb864b6f9f95d8eb3c045c9c20651ba0
@@ -26,8 +26,6 @@ module RestfullOauth
26
26
  # >> puts JSON.parse(response.body).to_yaml
27
27
 
28
28
  class Connection
29
- attr_accessor :session, :config, :logger
30
-
31
29
  def initialize(config = {})
32
30
  @config = config
33
31
  self
@@ -99,7 +97,7 @@ module RestfullOauth
99
97
  headers = { 'Authorization' => header,
100
98
  'Content-Type' => 'application/json'
101
99
  }
102
- headers.each do |key|
100
+ headers.keys.each do |key|
103
101
  request[key] = headers[key]
104
102
  end
105
103
  request.body = post_data
@@ -1,3 +1,3 @@
1
1
  module RestfullOauth
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restfull_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel.van.den.Oord