appoptics_apm 4.10.0 → 4.10.1

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
- SHA256:
3
- metadata.gz: df0f7977cb5f0fdf91217b32c632c0349fd66eedca4e3aec3a744c5a93db5fa3
4
- data.tar.gz: b85f35a591b5ce51050cdbbc5a59e1ca8dd3aa92f62578419aaca710fa3e23f7
2
+ SHA1:
3
+ metadata.gz: 7e70295e3dc49a39e001776c90ae399d1c1ee522
4
+ data.tar.gz: bc03b3d467a18370ce889b6c66228172a41efd5c
5
5
  SHA512:
6
- metadata.gz: 347da55c1ec4b00c842b217171a256dc97a04f4c8a9cf57f64cc2a595e2809dc0cacaa7e7e52a7a2635bf203f1706c8e86bc83a54071887a868f5362cfdf86c8
7
- data.tar.gz: 80466d964db1077a415c8d4ca39f63b0cf3af8bdd68f1b1c564389d74bc156c60386dca008e85ba7afecdf4b3650aa5c519ab974b0c25b81a23559ee058aad8b
6
+ metadata.gz: f9d957a9d608fd1c3e3499125c96784b9767485934666986c8ecc1ca6befe89d870eb67b087887d5e6caf274452522e52c70dd773bf624a3144c225334688fe8
7
+ data.tar.gz: 01e0625d7242ea1717d5264e65ab3b53df8f4e534e08ba7c67e6959a1e0478d81cdc2dcb6c08d7361008bdf78dbfd962879a59e0fd2ce3302d5c4e9e38e57d1a
data/.gitignore CHANGED
@@ -30,3 +30,5 @@ gemfiles/vendor*
30
30
  scrap*
31
31
  .irbrc
32
32
  *.code-workspace
33
+ .irb_history
34
+ .bundle/
@@ -14,7 +14,7 @@ rvm:
14
14
  - 2.6.4
15
15
  - 2.5.5
16
16
  - 2.4.5
17
- - 2.7.0-preview1
17
+ - 2.7.0-preview2
18
18
  # - ruby-head
19
19
  # - jruby-9.0.5.0
20
20
 
@@ -34,7 +34,7 @@ matrix:
34
34
  exclude:
35
35
  - rvm: ruby-head
36
36
  gemfile: gemfiles/rails42.gemfile
37
- - rvm: 2.7.0-preview1
37
+ - rvm: 2.7.0-preview2
38
38
  gemfile: gemfiles/rails42.gemfile
39
39
  - rvm: 2.6.4
40
40
  gemfile: gemfiles/rails42.gemfile
@@ -43,9 +43,9 @@ matrix:
43
43
 
44
44
  - rvm: ruby-head
45
45
  env: DBTYPE=mysql
46
- - rvm: 2.7.0-preview1
46
+ - rvm: 2.7.0-preview2
47
47
  env: DBTYPE=mysql
48
- - rmv: 2.6.4
48
+ - rvm: 2.6.4
49
49
  env: DBTYPE=mysql
50
50
  - rvm: 2.5.5
51
51
  env: DBTYPE=mysql
@@ -87,7 +87,7 @@ matrix:
87
87
  env: DBTYPE=mysql2
88
88
  allow_failures:
89
89
  - rvm: ruby-head
90
- - rvm: 2.7.0-preview1
90
+ - rvm: 2.7.0-preview2
91
91
 
92
92
  # FIXME: Figure out if this is still an issue when reviewing cassandra test setup
93
93
  # Attempt Travis/Cassandra fix re: https://github.com/travis-ci/travis-ci/issues/1484
@@ -32,6 +32,7 @@ module AppOpticsAPM
32
32
  # * true on success, false on failure
33
33
  #
34
34
  def increment_metric(name, count = 1, with_hostname = false, tags_kvs = {})
35
+ return true unless AppOpticsAPM.loaded
35
36
  with_hostname = with_hostname ? 1 : 0
36
37
  tags, tags_count = make_tags(tags_kvs)
37
38
  AppOpticsAPM::CustomMetrics.increment(name.to_s, count, with_hostname, nil, tags, tags_count) == 1
@@ -64,6 +65,7 @@ module AppOpticsAPM
64
65
  # * true on success, false on failure
65
66
  #
66
67
  def summary_metric(name, value, count = 1, with_hostname = false, tags_kvs = {})
68
+ return true unless AppOpticsAPM.loaded
67
69
  with_hostname = with_hostname ? 1 : 0
68
70
  tags, tags_count = make_tags(tags_kvs)
69
71
  AppOpticsAPM::CustomMetrics.summary(name.to_s, value, count, with_hostname, nil, tags, tags_count) == 1
@@ -8,7 +8,7 @@ module AppOpticsAPM
8
8
  module Version
9
9
  MAJOR = 4 # breaking,
10
10
  MINOR = 10 # feature,
11
- PATCH = 0 # fix => BFF
11
+ PATCH = 1 # fix => BFF
12
12
 
13
13
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appoptics_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.10.0
4
+ version: 4.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maia Engeli
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-10-04 00:00:00.000000000 Z
13
+ date: 2019-11-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  version: '0'
248
248
  requirements: []
249
249
  rubyforge_project:
250
- rubygems_version: 2.7.6.2
250
+ rubygems_version: 2.6.11
251
251
  signing_key:
252
252
  specification_version: 4
253
253
  summary: AppOptics APM performance instrumentation gem for Ruby