wavefront-sdk 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/wavefront-sdk/base.rb +1 -1
- data/lib/wavefront-sdk/response.rb +2 -1
- data/lib/wavefront-sdk/version.rb +1 -1
- data/wavefront-sdk.gemspec +6 -6
- metadata +6 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a834d2f501fb52ddaf2675e357d5a0ed285a12b9
|
4
|
+
data.tar.gz: 93635191aae83d66e6dde2ec1deaf564046269e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bc7656d0c303bfb6eb9bbb79229afac145331535014fdb852b7213f13ea477f14d26edf85ff04dfd169cb3384714fef7904b6623b2f3ce2e46b8bda0e742277
|
7
|
+
data.tar.gz: b19a17c7a2e6e2d52c6016f4bd3e1e6420b57dd6bf77361d6875fb0a1c3ea384570213a8460a5f81d58bd089a340ed06e41c957dc493bcb8a8e263f739d7347b
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# wavefront-sdk
|
2
|
-
[![Build Status](https://travis-ci.org/snltd/wavefront-sdk.svg?branch=master)](https://travis-ci.org/snltd/wavefront-sdk) [![Code Climate](https://codeclimate.com/github/snltd/wavefront-sdk/badges/gpa.svg)](https://codeclimate.com/github/snltd/wavefront-sdk) [![Issue Count](https://codeclimate.com/github/snltd/wavefront-sdk/badges/issue_count.svg)](https://codeclimate.com/github/snltd/wavefront-sdk) [![
|
2
|
+
[![Build Status](https://travis-ci.org/snltd/wavefront-sdk.svg?branch=master)](https://travis-ci.org/snltd/wavefront-sdk) [![Code Climate](https://codeclimate.com/github/snltd/wavefront-sdk/badges/gpa.svg)](https://codeclimate.com/github/snltd/wavefront-sdk) [![Issue Count](https://codeclimate.com/github/snltd/wavefront-sdk/badges/issue_count.svg)](https://codeclimate.com/github/snltd/wavefront-sdk) [![Dependency Status](https://gemnasium.com/badges/github.com/snltd/wavefront-sdk.svg)](https://gemnasium.com/github.com/snltd/wavefront-sdk) [![Gem Version](https://badge.fury.io/rb/wavefront-sdk.svg)](https://badge.fury.io/rb/wavefront-sdk) ![](http://ruby-gem-downloads-badge.herokuapp.com/wavefront-sdk?type=total)
|
3
3
|
|
4
4
|
This is a Ruby SDK for v2 of
|
5
5
|
[Wavefront](https://www.wavefront.com/)'s public API. It supports Ruby >= 2.2.
|
data/lib/wavefront-sdk/base.rb
CHANGED
@@ -39,6 +39,7 @@ module Wavefront
|
|
39
39
|
|
40
40
|
@status = build_status(raw, status)
|
41
41
|
@response = build_response(raw)
|
42
|
+
|
42
43
|
p self if debug
|
43
44
|
rescue => e
|
44
45
|
puts "could not parse:\n#{json}" if debug
|
@@ -59,7 +60,7 @@ module Wavefront
|
|
59
60
|
raw[:response]
|
60
61
|
end
|
61
62
|
else
|
62
|
-
Map.new
|
63
|
+
Map.new(raw)
|
63
64
|
end
|
64
65
|
else
|
65
66
|
Map.new
|
@@ -1 +1 @@
|
|
1
|
-
WF_SDK_VERSION = '0.2.
|
1
|
+
WF_SDK_VERSION = '0.2.3'.freeze
|
data/wavefront-sdk.gemspec
CHANGED
@@ -20,16 +20,16 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.require_paths = %w(lib)
|
21
21
|
gem.bindir = 'bin'
|
22
22
|
|
23
|
-
gem.
|
24
|
-
gem.
|
25
|
-
gem.
|
26
|
-
gem.
|
23
|
+
gem.add_dependency 'faraday', '>= 0.12.1', '< 0.13'
|
24
|
+
gem.add_dependency 'inifile', '~> 3.0'
|
25
|
+
gem.add_dependency 'addressable', '~> 2.4'
|
26
|
+
gem.add_dependency 'map', '~> 6.6'
|
27
27
|
|
28
28
|
gem.add_development_dependency 'bundler', '~> 1.3'
|
29
29
|
gem.add_development_dependency 'rake', '~> 12.0'
|
30
30
|
gem.add_development_dependency 'yard', '~> 0.9.5'
|
31
|
-
gem.add_development_dependency 'rubocop', '~> 0.
|
32
|
-
gem.add_development_dependency 'webmock', '~>
|
31
|
+
gem.add_development_dependency 'rubocop', '~> 0.49.1'
|
32
|
+
gem.add_development_dependency 'webmock', '~> 3.0'
|
33
33
|
gem.add_development_dependency 'minitest', '~> 5.8', '>= 5.8.0'
|
34
34
|
gem.add_development_dependency 'spy', '~> 0.4.0'
|
35
35
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wavefront-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Fisher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -120,34 +120,28 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: 0.
|
123
|
+
version: 0.49.1
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0.
|
130
|
+
version: 0.49.1
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: webmock
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '
|
138
|
-
- - ">="
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
version: 2.3.2
|
137
|
+
version: '3.0'
|
141
138
|
type: :development
|
142
139
|
prerelease: false
|
143
140
|
version_requirements: !ruby/object:Gem::Requirement
|
144
141
|
requirements:
|
145
142
|
- - "~>"
|
146
143
|
- !ruby/object:Gem::Version
|
147
|
-
version: '
|
148
|
-
- - ">="
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: 2.3.2
|
144
|
+
version: '3.0'
|
151
145
|
- !ruby/object:Gem::Dependency
|
152
146
|
name: minitest
|
153
147
|
requirement: !ruby/object:Gem::Requirement
|