arbor_peakflow_ruby 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/arbor_peakflow_ruby.gemspec +1 -1
- data/lib/arbor_peakflow_ruby/client.rb +5 -5
- data/lib/arbor_peakflow_ruby/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 107a4ba589faf91efa59b547df57bdda5e081184
|
4
|
+
data.tar.gz: b3bdb8e8a0a2cf2d3a55d9adf64b3cd9759b79c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aefe5421f8ab5ddb84f56071e492dcff995f4e4ba03f68e64a8513b59cec7029c3950950375a8b9d7352bb82ddb26d2eab4e73415c44878220429caf57ba7c1a
|
7
|
+
data.tar.gz: 710d2c9934fe98283e3c5e78f4e0032fc283646c2108464a499479bab500927622fee1a0d5103be4700a3c6b5a17c075055b364e25321a847d3b3714dd2f8423
|
data/.travis.yml
CHANGED
data/arbor_peakflow_ruby.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.add_development_dependency 'bundler', '~> 1.9'
|
25
25
|
spec.add_development_dependency 'rake', '~> 10.4'
|
26
|
-
spec.add_development_dependency 'minitest', '~> 5.
|
26
|
+
spec.add_development_dependency 'minitest', '~> 5.6'
|
27
27
|
spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
|
28
28
|
spec.add_runtime_dependency 'hurley', '~> 0.1'
|
29
29
|
end
|
@@ -45,9 +45,9 @@ module Arbor
|
|
45
45
|
attr_reader :hosts, :api_key
|
46
46
|
def initialize(arguments = {})
|
47
47
|
@hosts = arguments[:hosts] || \
|
48
|
-
arguments[:host]
|
49
|
-
arguments[:url]
|
50
|
-
arguments[:urls]
|
48
|
+
arguments[:host] || \
|
49
|
+
arguments[:url] || \
|
50
|
+
arguments[:urls] || \
|
51
51
|
ENV.fetch('PEAKFLOW_URL')
|
52
52
|
|
53
53
|
@api_key ||= arguments[:api_key]
|
@@ -60,10 +60,10 @@ module Arbor
|
|
60
60
|
@ssl_verify = arguments[:ssl_verify] || \
|
61
61
|
false
|
62
62
|
|
63
|
-
@ca_path = arguments[:ca_path]
|
63
|
+
@ca_path = arguments[:ca_path] || \
|
64
64
|
`openssl version -d`.split(/"/)[1] + '/certs'
|
65
65
|
|
66
|
-
@ssl_version = arguments[:ssl_version]
|
66
|
+
@ssl_version = arguments[:ssl_version] || \
|
67
67
|
'SSLv23'
|
68
68
|
|
69
69
|
@client.ssl_options.skip_verification = !@ssl_verify
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arbor_peakflow_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Kirsche
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '5.
|
47
|
+
version: '5.6'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '5.
|
54
|
+
version: '5.6'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: codeclimate-test-reporter
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
129
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.4.
|
130
|
+
rubygems_version: 2.4.6
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Arbor Peakflow 6.0 API interaction gem
|