ddy_remote_resource 1.0.0.rc7 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3eda684bbb39716c9629e360a07bc3b6bb5d79e4
4
- data.tar.gz: 2a40e7774ac0db385ff5bb733b9987a2aed6c0d7
3
+ metadata.gz: f5a921abd25953a42365c383740ed5bdea703c04
4
+ data.tar.gz: 5644b3a134c6ff76ae816852f8c13a2b79d00260
5
5
  SHA512:
6
- metadata.gz: 55e0c1c09e7b11e715e90742d0085e55a9baa986966c7189a51ec84f7c1547fa214a0d8760835919d5863722a449c6683b1e3986bc85363ab08bd1da52e0bcef
7
- data.tar.gz: f201dc6ad221662add5bde0bce1834187a9713c0c82bc33cef727b2b7a19ec86bb59e257a7dc34aa541d6393607570a14817d019aeda241e6f00b8de7c476b9b
6
+ metadata.gz: 9a2b24dd6b7de07771f6f8f3d9722ff7b53732ea28732e0897b4faca27c1606dbaa7f25c2a9f11b8298898259e77092d6ac22af940c2c17698de4c8590478ad1
7
+ data.tar.gz: f31164b21417e9005a09cedfa277ec5f186218ffb81bfa471bfa8ebbd6241e1494e94bee62b9762ae9b8dcecdd7657846fd5a906f6986665f307dec294b4c9bd
@@ -39,15 +39,15 @@ module RemoteResource
39
39
  end
40
40
 
41
41
  def response_code
42
- @response.response_code
42
+ @response.code
43
43
  end
44
44
 
45
45
  def response_body
46
- @response.response_body # TODO: Filter sensitive information using: RemoteResource::Util.filter_params
46
+ @response.body # TODO: Filter sensitive information using: RemoteResource::Util.filter_params
47
47
  end
48
48
 
49
49
  def response_headers
50
- @response.response_headers
50
+ @response.headers
51
51
  end
52
52
 
53
53
  def to_s
@@ -24,6 +24,8 @@ module RemoteResource
24
24
  @response_code ||= @connection_response.response_code
25
25
  end
26
26
 
27
+ alias_method :code, :response_code
28
+
27
29
  def headers
28
30
  @headers ||= @connection_response.headers
29
31
  end
@@ -1,3 +1,3 @@
1
1
  module RemoteResource
2
- VERSION = '1.0.0.rc7'.freeze
2
+ VERSION = '1.0.0'.freeze
3
3
  end
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  RSpec.describe RemoteResource::VERSION do
4
- it { is_expected.to eql '1.0.0.rc7' }
4
+ it { is_expected.to eql '1.0.0' }
5
5
  end
6
6
 
7
7
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddy_remote_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc7
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan van der Pas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-23 00:00:00.000000000 Z
11
+ date: 2017-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -301,9 +301,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
301
301
  version: '0'
302
302
  required_rubygems_version: !ruby/object:Gem::Requirement
303
303
  requirements:
304
- - - ">"
304
+ - - ">="
305
305
  - !ruby/object:Gem::Version
306
- version: 1.3.1
306
+ version: '0'
307
307
  requirements: []
308
308
  rubyforge_project:
309
309
  rubygems_version: 2.5.1