rest-client 1.7.1-x64-mingw32 → 1.7.2.rc1-x64-mingw32

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/.gitignore CHANGED
@@ -1,9 +1,7 @@
1
1
  *.gem
2
- .idea
3
- .rvmrc
4
- Gemfile.lock
5
- doc
6
- pkg
7
- rdoc
8
- scratchpad.rb
9
- /.bundle/
2
+ /Gemfile.lock
3
+ /.bundle
4
+ /vendor
5
+ /doc
6
+ /pkg
7
+ /rdoc
@@ -320,7 +320,12 @@ module RestClient
320
320
  # certificates using the win32 API.
321
321
  if RestClient::Platform.windows?
322
322
  RestClient::Windows::RootCerts.instance.to_a.uniq.each do |cert|
323
- cert_store.add_cert(cert)
323
+ begin
324
+ cert_store.add_cert(cert)
325
+ rescue OpenSSL::X509::StoreError => err
326
+ # ignore duplicate certs
327
+ raise unless err.message == 'cert already in hash table'
328
+ end
324
329
  end
325
330
  end
326
331
 
@@ -1,5 +1,5 @@
1
1
  module RestClient
2
- VERSION = '1.7.1' unless defined?(self::VERSION)
2
+ VERSION = '1.7.2.rc1' unless defined?(self::VERSION)
3
3
 
4
4
  def self.version
5
5
  VERSION
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
5
- prerelease:
4
+ version: 1.7.2.rc1
5
+ prerelease: 6
6
6
  platform: x64-mingw32
7
7
  authors:
8
8
  - REST Client Team
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-09 00:00:00.000000000 Z
12
+ date: 2014-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: webmock
@@ -227,12 +227,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
227
227
  required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  none: false
229
229
  requirements:
230
- - - ! '>='
230
+ - - ! '>'
231
231
  - !ruby/object:Gem::Version
232
- version: '0'
233
- segments:
234
- - 0
235
- hash: 180610527669865713
232
+ version: 1.3.1
236
233
  requirements: []
237
234
  rubyforge_project:
238
235
  rubygems_version: 1.8.23.2