nimbu-api 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/nimbu-api/configuration.rb +1 -1
- data/lib/nimbu-api/connection.rb +1 -1
- data/lib/nimbu-api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d46ecce9138da70fc38f67968885f09c69fba87
|
|
4
|
+
data.tar.gz: 3a0d1d29f5e9633f40dd563bbc119050199b1731
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef4921d54f7b18f9e08cbf1272ef2bfe995c8251bd390ef1871a25c0eced1bae05ed1996ff102943e75cd6ce46bbe6fd67b1d94e6695ef25d7c44e8b5739dedc
|
|
7
|
+
data.tar.gz: 3920ceaa8eb93294690550ad64f486f397a80ecc05ed75fd831e107192eb05b0cd00c893b3dafda2d176cceda34749d452786cea187105af31cb547c3bd4467c
|
|
@@ -49,7 +49,7 @@ module Nimbu
|
|
|
49
49
|
DEFAULT_SITE = 'https://www.nimbu.io'.freeze
|
|
50
50
|
|
|
51
51
|
# The default SSL configuration
|
|
52
|
-
DEFAULT_SSL = {}
|
|
52
|
+
DEFAULT_SSL = { :ca_file => File.expand_path("../../../vendor/cacert.pem", __FILE__) }
|
|
53
53
|
|
|
54
54
|
# The value sent in the http header for 'User-Agent' if none is set
|
|
55
55
|
DEFAULT_USER_AGENT = "nimbu-api/#{Nimbu::API::VERSION} (#{RUBY_PLATFORM}) ruby/#{RUBY_VERSION}".freeze
|
data/lib/nimbu-api/connection.rb
CHANGED
|
@@ -74,7 +74,7 @@ module Nimbu
|
|
|
74
74
|
# Returns a Fraday::Connection object
|
|
75
75
|
#
|
|
76
76
|
def connection(options={})
|
|
77
|
-
conn_options = default_options(
|
|
77
|
+
conn_options = default_options(options)
|
|
78
78
|
clear_cache unless options.empty?
|
|
79
79
|
puts "OPTIONS:#{conn_options.inspect}" if ENV['DEBUG']
|
|
80
80
|
|
data/lib/nimbu-api/version.rb
CHANGED