devstructure 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ require 'json'
10
10
 
11
11
  require 'net/http'
12
12
  require 'net/https'
13
+ require 'openssl'
13
14
  require 'uri'
14
15
 
15
16
  class DevStructure::API < Net::HTTP
@@ -23,7 +24,9 @@ class DevStructure::API < Net::HTTP
23
24
  @newimpl = true
24
25
  uri = URI.parse("https://api.devstructure.com")
25
26
  super uri.host, uri.port
26
- self.use_ssl = "https" == uri.scheme
27
+ if self.use_ssl = "https" == uri.scheme
28
+ self.verify_mode = OpenSSL::SSL::VERIFY_NONE
29
+ end
27
30
  @token = if token
28
31
  token
29
32
  else
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devstructure
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 6
10
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Crowley
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-28 00:00:00 +00:00
18
+ date: 2010-08-05 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -47,7 +47,6 @@ files:
47
47
  - lib/devstructure/api.rb
48
48
  - lib/devstructure/blueprint.rb
49
49
  - lib/devstructure/puppet.rb
50
- - man/man7/ruby-devstructure.7.gz
51
50
  has_rdoc: true
52
51
  homepage: http://github.com/devstructure/ruby-devstructure
53
52
  licenses: []
Binary file