cdn_manager_pcache_probe 0.5 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5c18455fdc55f89cc92409b0125585c42d3a448
4
- data.tar.gz: 7114fbb968368c42b6a1412193e3b864197a909c
3
+ metadata.gz: 63dcfec43db7a8a1afe105f850356a177f35d5b7
4
+ data.tar.gz: 5d5de9da299cf8e045509c51a3cfcb71f164bd42
5
5
  SHA512:
6
- metadata.gz: 479d811d64090730fae41096b3c79c5c802c8dd1a27c361b6e60f0dd1a3508c03de8edc5124130642eb9103f0f045074a0aca09f2e54100527df4fa1bc2f030b
7
- data.tar.gz: faada5c2926833d5053384aeb342136ab2546fda9279b0b4e98586bff33c23f6b3479ca770a95914405de299f05f987778017513cc556af82d018242c794d9df
6
+ metadata.gz: 69f847fc78078d2ea3d1303bfa9aeb842e9f1c71ac12ac3614c131f0018c6ca159cef1541132a0f31b220c92d88819987c4dc65b8b7d69e634e215aca2ce5547
7
+ data.tar.gz: 2ec8aef2b104f4f69b408ed7f4dd913227c152924d250d71affba0899d93ebf1cdb141efe8818f2f98e530b8fff41dac26eb2dc119a2e21e85136647fc913470
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cdn_manager_pcache_probe (0.5)
4
+ cdn_manager_pcache_probe (0.6)
5
5
  multi_json (~> 1.11)
6
6
  rest-client (~> 1.8)
7
7
  thor (~> 0.19)
@@ -63,7 +63,7 @@ module CdnManagerPcacheProbe
63
63
  # post result to the cdn-manager-api
64
64
  if options[:api_base_url]
65
65
  RestClient.post(
66
- File.join(options[:api_base_url], "services", options[:service_name], "metric", options[:metric_name], usage),
66
+ File.join(options[:api_base_url], "services", options[:service_name], "metric", options[:metric_name], usage.round(0).to_s),
67
67
  params: { key: options[:api_key] }
68
68
  )
69
69
  end
@@ -1,3 +1,3 @@
1
1
  module CdnManagerPcacheProbe
2
- VERSION = "0.5"
2
+ VERSION = "0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cdn_manager_pcache_probe
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: '0.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - niwo