dd_post_gauge 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: 86d3db28dc0132b3448caced037d2a34d16fb12e620b9a1e5d2de2a545b5df6f
4
- data.tar.gz: f7d0479e08082a9f717563fab6741a193a6f907febe1ac58a5f6b8cc06291502
3
+ metadata.gz: cedcd4e4d136befc6643d6050131d0225e12aae40719b6ef4e76c6801c331463
4
+ data.tar.gz: cb7fecb5827f3e531ac46334af08a254168e5a4549e2db7b1b5c644a5f130c58
5
5
  SHA512:
6
- metadata.gz: 4fed6fda52b431da547ad7388034fabb97aae5fca87d3fd1a08209211373959c15debad34a070d792edff90c89e929250a4b48333d3051b88d88ce391a632d28
7
- data.tar.gz: 5a3047aa3833b10e6f74076713417f97b5694d44e8608385465000be53160fe168bf41210d8590518cdce2d216006138b9fee689a090b9184aabd0d2d070e680
6
+ metadata.gz: cd62d0e67be54a443fb477cb2880faaff833e3769cc63d4e707bd0ca1c63b3a0e1eba8ce0598c6f25ead349f13e97baadff0a305851c69afb7b88d10bafffe57
7
+ data.tar.gz: c3e6db281a8b24139ac01a6c145695a671e7c44b434870fd5386a661560c053cabe487291c5ad78dcc2e6facc46d54279f599a408bcd7b4d6d531e9438ec8487
data/.rubocop.yml CHANGED
@@ -1,5 +1,9 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
4
+
1
5
  AllCops:
2
- TargetRubyVersion: 2.7
6
+ TargetRubyVersion: 3.0
3
7
  NewCops: enable
4
8
 
5
9
  Style/StringLiterals:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.0] - 2024-03-23
4
+
5
+ - Update gems.
6
+ - Accepted Ruby version is more than equal 3.0.0
7
+
3
8
  ## [0.1.0] - 2022-12-04
4
9
 
5
10
  - Initial release
data/Gemfile CHANGED
@@ -10,3 +10,5 @@ gem "rake", "~> 13.0"
10
10
  gem "rspec", "~> 3.0"
11
11
 
12
12
  gem "rubocop", "~> 1.21"
13
+ gem "rubocop-rake", "~> 0.6.0"
14
+ gem "rubocop-rspec", "~> 2.27.1"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dd_post_gauge (0.1.0)
4
+ dd_post_gauge (0.2.0)
5
5
  datadog_api_client
6
6
  dotenv
7
7
  thor
@@ -10,58 +10,73 @@ GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
12
  ast (2.4.2)
13
- datadog_api_client (2.4.0)
13
+ datadog_api_client (2.21.0)
14
14
  httparty (~> 0.20, >= 0.20.0)
15
+ uuidtools (~> 2.1.5, >= 2.1.5)
15
16
  zeitwerk (~> 2.6, >= 2.6.0)
16
- diff-lcs (1.5.0)
17
- dotenv (2.8.1)
18
- httparty (0.20.0)
19
- mime-types (~> 3.0)
17
+ diff-lcs (1.5.1)
18
+ dotenv (3.1.0)
19
+ httparty (0.21.0)
20
+ mini_mime (>= 1.0.0)
20
21
  multi_xml (>= 0.5.2)
21
- json (2.6.2)
22
- mime-types (3.4.1)
23
- mime-types-data (~> 3.2015)
24
- mime-types-data (3.2022.0105)
22
+ json (2.7.1)
23
+ language_server-protocol (3.17.0.3)
24
+ mini_mime (1.1.5)
25
25
  multi_xml (0.6.0)
26
- parallel (1.22.1)
27
- parser (3.1.3.0)
26
+ parallel (1.24.0)
27
+ parser (3.3.0.5)
28
28
  ast (~> 2.4.1)
29
+ racc
30
+ racc (1.7.3)
29
31
  rainbow (3.1.1)
30
- rake (13.0.6)
31
- regexp_parser (2.6.1)
32
- rexml (3.2.5)
33
- rspec (3.11.0)
34
- rspec-core (~> 3.11.0)
35
- rspec-expectations (~> 3.11.0)
36
- rspec-mocks (~> 3.11.0)
37
- rspec-core (3.11.0)
38
- rspec-support (~> 3.11.0)
39
- rspec-expectations (3.11.1)
32
+ rake (13.1.0)
33
+ regexp_parser (2.9.0)
34
+ rexml (3.2.6)
35
+ rspec (3.13.0)
36
+ rspec-core (~> 3.13.0)
37
+ rspec-expectations (~> 3.13.0)
38
+ rspec-mocks (~> 3.13.0)
39
+ rspec-core (3.13.0)
40
+ rspec-support (~> 3.13.0)
41
+ rspec-expectations (3.13.0)
40
42
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.11.0)
42
- rspec-mocks (3.11.1)
43
+ rspec-support (~> 3.13.0)
44
+ rspec-mocks (3.13.0)
43
45
  diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.11.0)
45
- rspec-support (3.11.1)
46
- rubocop (1.39.0)
46
+ rspec-support (~> 3.13.0)
47
+ rspec-support (3.13.1)
48
+ rubocop (1.62.1)
47
49
  json (~> 2.3)
50
+ language_server-protocol (>= 3.17.0)
48
51
  parallel (~> 1.10)
49
- parser (>= 3.1.2.1)
52
+ parser (>= 3.3.0.2)
50
53
  rainbow (>= 2.2.2, < 4.0)
51
54
  regexp_parser (>= 1.8, < 3.0)
52
55
  rexml (>= 3.2.5, < 4.0)
53
- rubocop-ast (>= 1.23.0, < 2.0)
56
+ rubocop-ast (>= 1.31.1, < 2.0)
54
57
  ruby-progressbar (~> 1.7)
55
- unicode-display_width (>= 1.4.0, < 3.0)
56
- rubocop-ast (1.24.0)
57
- parser (>= 3.1.1.0)
58
- ruby-progressbar (1.11.0)
59
- thor (1.2.1)
60
- unicode-display_width (2.3.0)
61
- zeitwerk (2.6.6)
58
+ unicode-display_width (>= 2.4.0, < 3.0)
59
+ rubocop-ast (1.31.2)
60
+ parser (>= 3.3.0.4)
61
+ rubocop-capybara (2.20.0)
62
+ rubocop (~> 1.41)
63
+ rubocop-factory_bot (2.25.1)
64
+ rubocop (~> 1.41)
65
+ rubocop-rake (0.6.0)
66
+ rubocop (~> 1.0)
67
+ rubocop-rspec (2.27.1)
68
+ rubocop (~> 1.40)
69
+ rubocop-capybara (~> 2.17)
70
+ rubocop-factory_bot (~> 2.22)
71
+ ruby-progressbar (1.13.0)
72
+ thor (1.3.1)
73
+ unicode-display_width (2.5.0)
74
+ uuidtools (2.1.5)
75
+ zeitwerk (2.6.13)
62
76
 
63
77
  PLATFORMS
64
78
  arm64-darwin-21
79
+ arm64-darwin-23
65
80
  x86_64-linux
66
81
 
67
82
  DEPENDENCIES
@@ -69,6 +84,8 @@ DEPENDENCIES
69
84
  rake (~> 13.0)
70
85
  rspec (~> 3.0)
71
86
  rubocop (~> 1.21)
87
+ rubocop-rake (~> 0.6.0)
88
+ rubocop-rspec (~> 2.27.1)
72
89
 
73
90
  BUNDLED WITH
74
91
  2.3.22
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "Datadog post gauge by wrapping datadog api"
13
13
  spec.homepage = "https://github.com/junara/dd_post_gauge"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = ">= 2.7.0"
15
+ spec.required_ruby_version = ">= 3.0.0"
16
16
 
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
18
  spec.metadata["source_code_uri"] = spec.homepage
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "datadog_api_client"
4
- require_relative "./gauge_body"
4
+ require_relative "gauge_body"
5
5
 
6
6
  module DdPostGauge
7
7
  class Client
@@ -34,7 +34,7 @@ module DdPostGauge
34
34
 
35
35
  private
36
36
 
37
- # @param [Time] timestamp
37
+ # @param [Time, nil] timestamp
38
38
  # @return [Integer]
39
39
  def unix_timestamp(timestamp)
40
40
  if timestamp
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DdPostGauge
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dd_post_gauge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - junara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2024-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: datadog_api_client
@@ -102,14 +102,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - ">="
104
104
  - !ruby/object:Gem::Version
105
- version: 2.7.0
105
+ version: 3.0.0
106
106
  required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
- rubygems_version: 3.3.7
112
+ rubygems_version: 3.5.3
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Datadog post gauge