signalfx 2.0.4 → 2.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8e984af9364b7b5edd7301eaa77af61db6e1ab0
4
- data.tar.gz: 31567a7139549a9dbf7550035b15a110ac98bdaa
3
+ metadata.gz: d1cec7a5de514b8432cd66c22f331d2fb4fd14ed
4
+ data.tar.gz: bd426b759f14b86519cf7c932816fca1f54ff107
5
5
  SHA512:
6
- metadata.gz: db738f89f61018f03ce556387e93ccf91eb3297dab3d179ea5d14096dcd23730a5843cc3a5f455593879b75abbb4455433a5db60f348fbcf6077e1a9828b9c71
7
- data.tar.gz: fc876256de5043675cae2bf2dfcfc5346ff6e19d39827dd7fed951c0885a78540ebf78d8ec09dfdbfd08d82701ff7858204489b67563b9245649cbe115b6a47c
6
+ metadata.gz: edc96a9293d8d1361c8f6726bf7b44c3522c9a13d4d3d2dd9c1d583349bed2762589ab133e502d7e814ee5aec9c3712bd4f61b9bf2b45eba66590730cee67f2b
7
+ data.tar.gz: 436e10fdca7a8f89624ff59938af0ee226cd8a1d8f08f95ffdcf11435f48eafcd0916ba07eeb0678fb8a3cc1b87610287085c4a0e8e772e5e6808c2dcad0e2d2
@@ -1,7 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- signalfx (2.0.4)
4
+ signalfx (2.0.5)
5
+ activesupport (>= 3.2)
5
6
  protobuf (>= 3.5.1)
6
7
  rest-client (~> 2.0)
7
8
  websocket-client-simple (~> 0.3.0)
@@ -9,9 +10,9 @@ PATH
9
10
  GEM
10
11
  remote: https://rubygems.org/
11
12
  specs:
12
- activesupport (5.1.5)
13
+ activesupport (5.2.1)
13
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
- i18n (~> 0.7)
15
+ i18n (>= 0.7, < 2)
15
16
  minitest (~> 5.1)
16
17
  tzinfo (~> 1.1)
17
18
  addressable (2.5.2)
@@ -23,7 +24,7 @@ GEM
23
24
  daemons (1.2.4)
24
25
  diff-lcs (1.2.5)
25
26
  docile (1.3.1)
26
- domain_name (0.5.20170404)
27
+ domain_name (0.5.20180417)
27
28
  unf (>= 0.0.5, < 1.0.0)
28
29
  event_emitter (0.2.6)
29
30
  eventmachine (1.2.5)
@@ -33,17 +34,17 @@ GEM
33
34
  hashdiff (0.3.7)
34
35
  http-cookie (1.0.3)
35
36
  domain_name (~> 0.5)
36
- i18n (0.9.5)
37
+ i18n (1.1.0)
37
38
  concurrent-ruby (~> 1.0)
38
39
  json (2.1.0)
39
40
  method_source (0.8.2)
40
41
  middleware (0.1.0)
41
- mime-types (3.1)
42
+ mime-types (3.2.2)
42
43
  mime-types-data (~> 3.2015)
43
- mime-types-data (3.2016.0521)
44
+ mime-types-data (3.2018.0812)
44
45
  minitest (5.11.3)
45
46
  netrc (0.11.0)
46
- protobuf (3.8.1)
47
+ protobuf (3.8.4)
47
48
  activesupport (>= 3.2)
48
49
  middleware
49
50
  thor
@@ -94,7 +95,7 @@ GEM
94
95
  addressable (>= 2.3.6)
95
96
  crack (>= 0.3.2)
96
97
  hashdiff
97
- websocket (1.2.5)
98
+ websocket (1.2.8)
98
99
  websocket-client-simple (0.3.0)
99
100
  event_emitter
100
101
  websocket
@@ -117,4 +118,4 @@ DEPENDENCIES
117
118
  webmock (~> 2.3.1)
118
119
 
119
120
  BUNDLED WITH
120
- 1.16.1
121
+ 1.16.3
data/README.md CHANGED
@@ -21,6 +21,14 @@ Or install it yourself as:
21
21
 
22
22
  $ gem install signalfx
23
23
 
24
+ #### Installing with Ruby 2.2.0 and 2.2.1
25
+
26
+ This library's protobuf dependency requires activesupport >=3.2. 5.x versions of activesupport require Ruby >=2.2.2,
27
+ so users of older Ruby versions will need to install activesupport 4.2.10 before signalfx to avoid attempts of
28
+ installing a more recent gem. Building and installing signalfx from source will fulfill this for you:
29
+
30
+ $ gem build signalfx.gemspec && gem install signalfx-<current_version>.gem
31
+
24
32
  ## Usage
25
33
 
26
34
  ### API access token
@@ -208,7 +208,7 @@ class SignalFxClient
208
208
 
209
209
  headers = {HEADER_CONTENT_TYPE => header_content_type,
210
210
  HEADER_API_TOKEN_KEY => @api_token,
211
- HEADER_USER_AGENT_KEY => Version::NAME + '/' + Version::VERSION + http_user_agents}
211
+ HEADER_USER_AGENT_KEY => SignalFx::Version::NAME + '/' + SignalFx::Version::VERSION + http_user_agents}
212
212
 
213
213
  RestClient::Request.execute(
214
214
  method: :post,
@@ -1,6 +1,8 @@
1
1
  # Copyright (C) 2015-2016 SignalFx, Inc. All rights reserved.
2
2
 
3
- module Version
4
- VERSION = '2.0.4'
5
- NAME = 'signalfx-ruby-client'
6
- end
3
+ module SignalFx
4
+ module Version
5
+ VERSION = '2.0.5'
6
+ NAME = 'signalfx-ruby-client'
7
+ end
8
+ end
@@ -5,7 +5,7 @@ require_relative 'lib/signalfx/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "signalfx"
8
- spec.version = Version::VERSION
8
+ spec.version = SignalFx::Version::VERSION
9
9
  spec.authors = ["SignalFx, Inc"]
10
10
  spec.email = ["info@signalfx.com"]
11
11
 
@@ -36,6 +36,12 @@ Gem::Specification.new do |spec|
36
36
  spec.add_development_dependency "thin", "~> 1.7"
37
37
  spec.add_development_dependency "pry"
38
38
  spec.add_development_dependency "faye-websocket", "~> 0.10.7"
39
+
40
+ # protobuf enforces this check but builds with a newer Ruby version so it's not enabled.
41
+ # Incorporating here to allow 2.2.0-1 users to successfully build and install signalfx.
42
+ active_support_max_version = "< 5" if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.2.2")
43
+ spec.add_dependency "activesupport", '>= 3.2', active_support_max_version
44
+
39
45
  spec.add_dependency "protobuf", ">= 3.5.1"
40
46
  spec.add_dependency "rest-client", "~> 2.0"
41
47
  spec.add_dependency 'websocket-client-simple', "~> 0.3.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signalfx
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - SignalFx, Inc
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-18 00:00:00.000000000 Z
11
+ date: 2018-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.10.7
111
+ - !ruby/object:Gem::Dependency
112
+ name: activesupport
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '3.2'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '3.2'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: protobuf
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -204,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
218
  version: '0'
205
219
  requirements: []
206
220
  rubyforge_project:
207
- rubygems_version: 2.6.13
221
+ rubygems_version: 2.5.2
208
222
  signing_key:
209
223
  specification_version: 4
210
224
  summary: Ruby client library for SignalFx