zuora_connect 2.0.5za → 2.0.5zb
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/app/models/zuora_connect/telegraf.rb +2 -2
- data/lib/zuora_connect/version.rb +1 -1
- metadata +29 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 898764bb4ec6ea1096d9ba4e8004db1537e7772f50ca31ea10501f40e32d7d7e
|
4
|
+
data.tar.gz: ce3bca59b4f2abc4f8fe47338865d42849d9edb9b033d777bef4f5d99209519f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e02c83bd67b8763b39b83d4da651d4f062d8754183d33d06533277cfc054d770eb4c7eeb1b7b5456057f070aa911aeb0aa82295dde6a4d0a25b3937ca7c390a2
|
7
|
+
data.tar.gz: 38222ac4217cdbcb0a357d7b9092acbeb7c1473a4eb9c510c9a54b17fc0fde92e40ca7dcdd2ffb7a900439b2ed649c87610f009ff76081e4b0c741c4d4bdc7a7
|
@@ -19,7 +19,7 @@ module ZuoraConnect
|
|
19
19
|
end
|
20
20
|
rescue => ex
|
21
21
|
self.host = nil
|
22
|
-
ZuoraConnect.logger.warn(self.format_metric_log('Telegraf', "Failed to connect: #{ex.class}"))
|
22
|
+
ZuoraConnect.logger.warn(self.format_metric_log('Telegraf', "Failed to connect: #{ex.class}")) if Rails.env.to_s != 'production'
|
23
23
|
end
|
24
24
|
|
25
25
|
def write(direction: 'Unknown', tags: {}, values: {})
|
@@ -56,7 +56,7 @@ module ZuoraConnect
|
|
56
56
|
self.host.write InfluxDB::PointValue.new({series: series, tags: tags, values: values}).dump
|
57
57
|
rescue => ex
|
58
58
|
self.connect
|
59
|
-
ZuoraConnect.logger.warn(self.format_metric_log('Telegraf',"Failed to write udp: #{ex.class}"))
|
59
|
+
ZuoraConnect.logger.warn(self.format_metric_log('Telegraf',"Failed to write udp: #{ex.class}")) if Rails.env.to_s != 'production'
|
60
60
|
end
|
61
61
|
|
62
62
|
def format_metric_log(message, dump = nil)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5zb
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
@@ -418,44 +418,44 @@ signing_key:
|
|
418
418
|
specification_version: 4
|
419
419
|
summary: Summary of Connect.
|
420
420
|
test_files:
|
421
|
+
- test/lib/generators/zuora_connect/datatable_generator_test.rb
|
421
422
|
- test/integration/navigation_test.rb
|
422
|
-
- test/
|
423
|
+
- test/test_helper.rb
|
424
|
+
- test/models/zuora_connect/app_instance_test.rb
|
423
425
|
- test/fixtures/zuora_connect/app_instances.yml
|
424
|
-
- test/
|
425
|
-
- test/
|
426
|
+
- test/controllers/zuora_connect/api/v1/app_instance_controller_test.rb
|
427
|
+
- test/zuora_connect_test.rb
|
428
|
+
- test/dummy/README.rdoc
|
429
|
+
- test/dummy/Rakefile
|
426
430
|
- test/dummy/app/assets/stylesheets/application.css
|
427
431
|
- test/dummy/app/assets/javascripts/application.js
|
432
|
+
- test/dummy/app/controllers/application_controller.rb
|
428
433
|
- test/dummy/app/helpers/application_helper.rb
|
429
|
-
- test/dummy/
|
430
|
-
- test/dummy/
|
431
|
-
- test/dummy/bin/rake
|
432
|
-
- test/dummy/bin/rails
|
433
|
-
- test/dummy/config/routes.rb
|
434
|
-
- test/dummy/config/environment.rb
|
435
|
-
- test/dummy/config/application.rb
|
436
|
-
- test/dummy/config/boot.rb
|
437
|
-
- test/dummy/config/database.yml
|
434
|
+
- test/dummy/app/views/layouts/application.html.erb
|
435
|
+
- test/dummy/config/environments/test.rb
|
438
436
|
- test/dummy/config/environments/production.rb
|
439
437
|
- test/dummy/config/environments/development.rb
|
440
|
-
- test/dummy/config/
|
441
|
-
- test/dummy/config/
|
442
|
-
- test/dummy/config/locales/en.yml
|
443
|
-
- test/dummy/config/initializers/inflections.rb
|
444
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
445
|
-
- test/dummy/config/initializers/mime_types.rb
|
446
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
438
|
+
- test/dummy/config/database.yml
|
439
|
+
- test/dummy/config/routes.rb
|
447
440
|
- test/dummy/config/initializers/assets.rb
|
448
441
|
- test/dummy/config/initializers/cookies_serializer.rb
|
442
|
+
- test/dummy/config/initializers/mime_types.rb
|
443
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
444
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
449
445
|
- test/dummy/config/initializers/session_store.rb
|
450
446
|
- test/dummy/config/initializers/wrap_parameters.rb
|
451
|
-
- test/dummy/
|
447
|
+
- test/dummy/config/initializers/inflections.rb
|
448
|
+
- test/dummy/config/locales/en.yml
|
449
|
+
- test/dummy/config/environment.rb
|
450
|
+
- test/dummy/config/application.rb
|
451
|
+
- test/dummy/config/boot.rb
|
452
|
+
- test/dummy/config/secrets.yml
|
453
|
+
- test/dummy/bin/setup
|
454
|
+
- test/dummy/bin/rails
|
455
|
+
- test/dummy/bin/bundle
|
456
|
+
- test/dummy/bin/rake
|
457
|
+
- test/dummy/config.ru
|
458
|
+
- test/dummy/public/422.html
|
452
459
|
- test/dummy/public/500.html
|
460
|
+
- test/dummy/public/favicon.ico
|
453
461
|
- test/dummy/public/404.html
|
454
|
-
- test/dummy/public/422.html
|
455
|
-
- test/dummy/Rakefile
|
456
|
-
- test/dummy/README.rdoc
|
457
|
-
- test/dummy/config.ru
|
458
|
-
- test/lib/generators/zuora_connect/datatable_generator_test.rb
|
459
|
-
- test/test_helper.rb
|
460
|
-
- test/zuora_connect_test.rb
|
461
|
-
- test/models/zuora_connect/app_instance_test.rb
|