rest-client 1.7.0.rc1 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rest-client might be problematic. Click here for more details.

@@ -1,7 +1,6 @@
1
1
  = REST Client -- simple DSL for accessing HTTP and REST resources
2
2
 
3
- Build status: {<img src="https://travis-ci.org/rest-client/rest-client.png" />}[https://travis-ci.org/rest-client/rest-client]
4
-
3
+ Build status: {<img src="https://travis-ci.org/rest-client/rest-client.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/rest-client/rest-client]
5
4
 
6
5
  A simple HTTP and REST client for Ruby, inspired by the Sinatra's microframework style
7
6
  of specifying actions: get, put, post, delete.
@@ -1,7 +1,8 @@
1
+ require 'net/http'
2
+ require 'openssl'
3
+ require 'stringio'
1
4
  require 'uri'
2
5
  require 'zlib'
3
- require 'stringio'
4
- require 'net/https'
5
6
 
6
7
  require File.dirname(__FILE__) + '/restclient/version'
7
8
  require File.dirname(__FILE__) + '/restclient/platform'
@@ -460,7 +460,7 @@ module RestClient
460
460
  size += chunk.size
461
461
  if RestClient.log
462
462
  if size == 0
463
- RestClient.log << "%s %s done (0 length file\n)" % [@method, @url]
463
+ RestClient.log << "%s %s done (0 length file)\n" % [@method, @url]
464
464
  elsif total == 0
465
465
  RestClient.log << "%s %s (zero content length)\n" % [@method, @url]
466
466
  else
@@ -1,5 +1,5 @@
1
1
  module RestClient
2
- VERSION = '1.7.0.rc1' unless defined?(self::VERSION)
2
+ VERSION = '1.7.0' unless defined?(self::VERSION)
3
3
 
4
4
  def self.version
5
5
  VERSION
metadata CHANGED
@@ -1,120 +1,135 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0.rc1
4
+ version: 1.7.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - REST Client Team
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-05-01 00:00:00.000000000 Z
12
+ date: 2014-07-08 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: webmock
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: '1.4'
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.4'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rspec
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: '2.4'
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: '2.4'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: pry
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - ">="
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - ">="
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: pry-doc
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - ">="
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - ">="
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: rdoc
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - ">="
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: 2.4.2
76
- - - "<"
86
+ - - <
77
87
  - !ruby/object:Gem::Version
78
88
  version: '5.0'
79
89
  type: :development
80
90
  prerelease: false
81
91
  version_requirements: !ruby/object:Gem::Requirement
92
+ none: false
82
93
  requirements:
83
- - - ">="
94
+ - - ! '>='
84
95
  - !ruby/object:Gem::Version
85
96
  version: 2.4.2
86
- - - "<"
97
+ - - <
87
98
  - !ruby/object:Gem::Version
88
99
  version: '5.0'
89
100
  - !ruby/object:Gem::Dependency
90
101
  name: mime-types
91
102
  requirement: !ruby/object:Gem::Requirement
103
+ none: false
92
104
  requirements:
93
- - - "~>"
105
+ - - ~>
94
106
  - !ruby/object:Gem::Version
95
107
  version: '2.0'
96
108
  type: :runtime
97
109
  prerelease: false
98
110
  version_requirements: !ruby/object:Gem::Requirement
111
+ none: false
99
112
  requirements:
100
- - - "~>"
113
+ - - ~>
101
114
  - !ruby/object:Gem::Version
102
115
  version: '2.0'
103
116
  - !ruby/object:Gem::Dependency
104
117
  name: netrc
105
118
  requirement: !ruby/object:Gem::Requirement
119
+ none: false
106
120
  requirements:
107
- - - "~>"
121
+ - - ~>
108
122
  - !ruby/object:Gem::Version
109
123
  version: '0.7'
110
124
  type: :runtime
111
125
  prerelease: false
112
126
  version_requirements: !ruby/object:Gem::Requirement
127
+ none: false
113
128
  requirements:
114
- - - "~>"
129
+ - - ~>
115
130
  - !ruby/object:Gem::Version
116
131
  version: '0.7'
117
- description: 'A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework
132
+ description: ! 'A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework
118
133
  style of specifying actions: get, put, post, delete.'
119
134
  email: rest.client@librelist.com
120
135
  executables:
@@ -124,9 +139,9 @@ extra_rdoc_files:
124
139
  - README.rdoc
125
140
  - history.md
126
141
  files:
127
- - ".gitignore"
128
- - ".rspec"
129
- - ".travis.yml"
142
+ - .gitignore
143
+ - .rspec
144
+ - .travis.yml
130
145
  - AUTHORS
131
146
  - Gemfile
132
147
  - LICENSE
@@ -177,26 +192,30 @@ files:
177
192
  homepage: https://github.com/rest-client/rest-client
178
193
  licenses:
179
194
  - MIT
180
- metadata: {}
181
195
  post_install_message:
182
196
  rdoc_options: []
183
197
  require_paths:
184
198
  - lib
185
199
  required_ruby_version: !ruby/object:Gem::Requirement
200
+ none: false
186
201
  requirements:
187
- - - ">="
202
+ - - ! '>='
188
203
  - !ruby/object:Gem::Version
189
204
  version: 1.9.2
190
205
  required_rubygems_version: !ruby/object:Gem::Requirement
206
+ none: false
191
207
  requirements:
192
- - - ">"
208
+ - - ! '>='
193
209
  - !ruby/object:Gem::Version
194
- version: 1.3.1
210
+ version: '0'
211
+ segments:
212
+ - 0
213
+ hash: 1437568158515358727
195
214
  requirements: []
196
215
  rubyforge_project:
197
- rubygems_version: 2.2.2
216
+ rubygems_version: 1.8.23.2
198
217
  signing_key:
199
- specification_version: 4
218
+ specification_version: 3
200
219
  summary: Simple HTTP and REST client for Ruby, inspired by microframework syntax for
201
220
  specifying actions.
202
221
  test_files:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: bf3dedbad07361a8b9256ccfe76b123db48c00b3
4
- data.tar.gz: 74cc0618213110d4aababe7911c367e84e2f813b
5
- SHA512:
6
- metadata.gz: 1230bc04a0a791ff416e9592dbd9ecf96bc315f39ddcebdd41266f4e84dbfd5ded56a79796a13e4b4598f2a0443c09dc8e925a73351e4d77bebd62d43338dc3f
7
- data.tar.gz: 3a90bb3dc2297d6a6206780c4b088633ec098c535195592b86e481902cd794974ce0552b668ab75f1992eda0615c6ffc1282e76f835de72fdd5d8836ff89b491