influx_reporter 1.2.1 → 1.2.2

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
  SHA256:
3
- metadata.gz: 57bda7a3bf8991136728f85c0b41ad5fc211b67df2a63be374f9a8768ed5da7a
4
- data.tar.gz: 9d24646c7df82f1403cec4d05a0409e6399a4dd2b3709062e32aec4dd954df4f
3
+ metadata.gz: 2b0730709cd958cf778fb9a098097e7e0cd5480de1d1eb5dae0741bd231d74f0
4
+ data.tar.gz: 63a762abff77d226038ece2240435626bf903efa95e7e1b1fb2c35a4f2e811a1
5
5
  SHA512:
6
- metadata.gz: 311f468d39832e4a6b8965baec16c01a27052962677b163202ee3a9b01a7c83b69e490f95f7e142f140819836529e3a5bc03bca277c03676bc48d2edbf2a4a39
7
- data.tar.gz: 80efbae557e082df196364025fd54dfd1339e452491dd219e4ce01138a9dd7dae1d2d18b5c1eb2367b612af2116443749c236b507906ceda73645994979bbcca
6
+ metadata.gz: 9b1b90c44b16e924f69be8ac91f558796612ea33576927d8f353d45cd5187205ac4a41da0dff6a6a6c862100d3124a007f6a2173f91aee4010acc9f5850a5c26
7
+ data.tar.gz: 6044d661cfb071d19119ed39b1b1fdff97378c9eab9e200b312c7de258d051aff87ebdf0453c8829cb09a238c3dd8d5dabb6d33c3d3fa9881297bff3cd0e7858
data/Gemfile CHANGED
@@ -2,6 +2,4 @@
2
2
 
3
3
  eval_gemfile 'gemfiles/Gemfile.rails-5.0.x'
4
4
 
5
- gem 'pry'
6
- gem 'ruby-debug-ide'
7
- gem 'debase'
5
+ gem 'pry'
data/README.md CHANGED
@@ -34,8 +34,8 @@ require 'influx_reporter'
34
34
 
35
35
  # set up an InfluxReporter configuration
36
36
  config = InfluxReporter::Configuration.new do |conf|
37
- conf.influx_reporter.database = 'endpoints'
38
- conf.influx_reporter.influx_db = {
37
+ conf.database = 'endpoints'
38
+ conf.influx_db = {
39
39
  host: 'influxdb.local',
40
40
  port: '8080'
41
41
  }
@@ -25,5 +25,5 @@ gem 'resque', require: false
25
25
 
26
26
  # Freeze Sidekiq to < 5 in Ruby 2.2 Gemfiles
27
27
  if RUBY_VERSION >= '2'
28
- gem 'sidekiq', (RUBY_VERSION >= '2.2.2' ? '~> 5' : '~> 4'), require: false
28
+ gem 'sidekiq', (RUBY_VERSION >= '2.5.0' ? '~> 6' : '~> 4'), require: false
29
29
  end
@@ -0,0 +1,5 @@
1
+ eval_gemfile File.expand_path('../Gemfile.base', __FILE__)
2
+
3
+ gem 'rails', '~> 5.0.0'
4
+ gem 'tzinfo-data'
5
+ gem 'sinatra'
@@ -14,7 +14,7 @@ module InfluxReporter
14
14
  # @param config [InfluxReporter::Configuration]
15
15
  def initialize(config)
16
16
  @config = config
17
- @client = InfluxDB::Client.new config.database, config.influx_db.merge(time_precision: 'ns')
17
+ @client = InfluxDB::Client.new config.database, **config.influx_db.merge(time_precision: 'ns')
18
18
  @state = ClientState.new config
19
19
  end
20
20
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InfluxReporter
4
- VERSION = '1.2.1'
4
+ VERSION = '1.2.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: influx_reporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kacper Kawecki
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-12 00:00:00.000000000 Z
11
+ date: 2022-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description:
55
+ description:
56
56
  email: kacper@geniebelt.com
57
57
  executables: []
58
58
  extensions: []
@@ -77,6 +77,7 @@ files:
77
77
  - gemfiles/Gemfile.rails-4.1.x
78
78
  - gemfiles/Gemfile.rails-4.2.x
79
79
  - gemfiles/Gemfile.rails-5.0.x
80
+ - gemfiles/Gemfile.rails-6.0.x
80
81
  - gemfiles/Gemfile.rails-HEAD
81
82
  - influx_reporter.gemspec
82
83
  - lib/influx_reporter.rb
@@ -167,7 +168,7 @@ homepage: https://github.com/GenieBelt/influx-reporter
167
168
  licenses:
168
169
  - BSD-3-Clause
169
170
  metadata: {}
170
- post_install_message:
171
+ post_install_message:
171
172
  rdoc_options: []
172
173
  require_paths:
173
174
  - lib
@@ -182,9 +183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
183
  - !ruby/object:Gem::Version
183
184
  version: '0'
184
185
  requirements: []
185
- rubyforge_project:
186
- rubygems_version: 2.7.7
187
- signing_key:
186
+ rubygems_version: 3.0.9
187
+ signing_key:
188
188
  specification_version: 4
189
189
  summary: Metrics collector for rails and InfluxDB based on Opbeat Ruby client library
190
190
  test_files: []