restful_resource 0.8.2 → 0.8.3

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: 32da9d2847a2c6b768d2ae9e2801de9770fe9b3d
4
- data.tar.gz: 03b5f51dcad3422e127b7903cfcbc2495e93e3dd
3
+ metadata.gz: 341d21eb0a3a7d38425a4e2f42d028786a6f084c
4
+ data.tar.gz: b91f20b5b741568b27291064c81a472a9e6a463f
5
5
  SHA512:
6
- metadata.gz: 59bb61a2820ba4f1b2016d2304911fe84a4bb8897e258cd315d4c4134d2bfeca45b478b51ac1a8afc2850972607a4435a23c8cf9a1d60d771030400cfa3c8fda
7
- data.tar.gz: 82a8770275bdd2b2b7fd8a57b3bdda1ac08604d7533d35c893a5b161505845380e76f54e50475d79d7d92681837c8eab3d8d5551c4e389dbdcd6f9e93d63fd82
6
+ metadata.gz: 34a344643e859283d0ccb94ec70d1ac7329a397c8ee41826f9266f7b598ebdc99f56116a6b56de2d078f94367bec5e789d6cfda9412096c7bced4161d64975da
7
+ data.tar.gz: 42f746eee9222cdf0d8ecf3734be9ab0d302353ffb278eeae5f21754535f332b18f203be73a8a6b44b0e4c2cb7a91940b4bebd6d4a5b7d8ad2277ceb0901b1c5
@@ -1,7 +1,7 @@
1
1
  module RestfulResource
2
2
  class Authorization
3
3
  def self.http_authorization(user, password)
4
- 'Basic ' + Base64.encode64("#{user}:#{password}").chomp
4
+ 'Basic ' + Base64.strict_encode64("#{user}:#{password}")
5
5
  end
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module RestfulResource
2
- VERSION = "0.8.2"
2
+ VERSION = "0.8.3"
3
3
  end
@@ -6,7 +6,7 @@ require 'restful_resource/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "restful_resource"
8
8
  spec.version = RestfulResource::VERSION
9
- spec.authors = ["David Santoro"]
9
+ spec.authors = ["David Santoro", "Federico Rebora"]
10
10
  spec.email = ["developers@carwow.co.uk"]
11
11
  spec.description = %q{A simple activerecord inspired rest resource base class implemented using rest-client}
12
12
  spec.summary = %q{A simple activerecord inspired rest resource base class implemented using rest-client}
metadata CHANGED
@@ -1,10 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restful_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Santoro
8
+ - Federico Rebora
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []