rest-client 1.7.0.rc1-x86-mswin32 → 1.7.0-x86-mswin32

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.

data/README.rdoc CHANGED
@@ -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.
data/lib/restclient.rb CHANGED
@@ -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,134 +1,151 @@
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: x86-mswin32
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
132
  - !ruby/object:Gem::Dependency
118
133
  name: ffi
119
134
  requirement: !ruby/object:Gem::Requirement
135
+ none: false
120
136
  requirements:
121
- - - "~>"
137
+ - - ~>
122
138
  - !ruby/object:Gem::Version
123
139
  version: '1.9'
124
140
  type: :runtime
125
141
  prerelease: false
126
142
  version_requirements: !ruby/object:Gem::Requirement
143
+ none: false
127
144
  requirements:
128
- - - "~>"
145
+ - - ~>
129
146
  - !ruby/object:Gem::Version
130
147
  version: '1.9'
131
- description: 'A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework
148
+ description: ! 'A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework
132
149
  style of specifying actions: get, put, post, delete.'
133
150
  email: rest.client@librelist.com
134
151
  executables:
@@ -138,9 +155,9 @@ extra_rdoc_files:
138
155
  - README.rdoc
139
156
  - history.md
140
157
  files:
141
- - ".gitignore"
142
- - ".rspec"
143
- - ".travis.yml"
158
+ - .gitignore
159
+ - .rspec
160
+ - .travis.yml
144
161
  - AUTHORS
145
162
  - Gemfile
146
163
  - LICENSE
@@ -191,26 +208,30 @@ files:
191
208
  homepage: https://github.com/rest-client/rest-client
192
209
  licenses:
193
210
  - MIT
194
- metadata: {}
195
211
  post_install_message:
196
212
  rdoc_options: []
197
213
  require_paths:
198
214
  - lib
199
215
  required_ruby_version: !ruby/object:Gem::Requirement
216
+ none: false
200
217
  requirements:
201
- - - ">="
218
+ - - ! '>='
202
219
  - !ruby/object:Gem::Version
203
220
  version: 1.9.2
204
221
  required_rubygems_version: !ruby/object:Gem::Requirement
222
+ none: false
205
223
  requirements:
206
- - - ">"
224
+ - - ! '>='
207
225
  - !ruby/object:Gem::Version
208
- version: 1.3.1
226
+ version: '0'
227
+ segments:
228
+ - 0
229
+ hash: -729981454636718562
209
230
  requirements: []
210
231
  rubyforge_project:
211
- rubygems_version: 2.2.2
232
+ rubygems_version: 1.8.23.2
212
233
  signing_key:
213
- specification_version: 4
234
+ specification_version: 3
214
235
  summary: Simple HTTP and REST client for Ruby, inspired by microframework syntax for
215
236
  specifying actions.
216
237
  test_files:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 2d699b6440cdf287b5eead6906ff2004779ff5d9
4
- data.tar.gz: 0fcc327c71f6de3dedd09553fe28cff7ca495dfe
5
- SHA512:
6
- metadata.gz: 2e43cd87dfe800af7a3e79d0e218f6dfa318cb19f4f240040d53d4839aa5a1b8e7a8f1c785554e9ec09976d9035696edcfca17786d8eadee352a795dcecaebac
7
- data.tar.gz: babca6e328be2fea240478a4bafecdf9d4c2fd223b563aa34b6c2353f0fc1b6535cb4c2e5d172febfeb07d57a230bbd58b78f61c90a8ec730add4e5819c56efb