passenger-metrics 0.0.4 → 0.0.5

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: 2246c022f2dc2b7587b3388e2af647603447673b0c60a984c18c3c9bdda70352
4
- data.tar.gz: 8cef8cb511357a930cb57e4e7234e29216a4b2d987e42832d714071f39ff1fe9
3
+ metadata.gz: a0ece3183790878ef70152c7ffd4c33119c9e126fd0cc4a0f0034fd164ff1a80
4
+ data.tar.gz: 8d14dc5b1879632605400d877906d3bbc64f4f19e42307d9120c6836f78af377
5
5
  SHA512:
6
- metadata.gz: 7e5ca72007fa43dc84bb49f5d27cb03f6347b23c8c67009a591f4f5d3a6e1c582889724d0ccdd0306cf2213469fab1f9615259139ce23b62810c98a2c30f91ee
7
- data.tar.gz: d4429774eaefa2016f14b69d693f6c404fb13c5960f9d909123fc8c6482c290b67f789cb421f10c92fe4e7c5649cb4d02d2d256eb31dc4587af910c790d201c1
6
+ metadata.gz: cce9a96901b6aa622ae60bc1d3606baf245143bb96f45bb774165902945b3166a7cee3c0215b4ea6e3a64e299069b2af2f2c32494d1be0f7f807a362e3577109
7
+ data.tar.gz: 0a87aa5880719787514a62a18c9792e327a4dc10771cc4b79bb8cc5519c41f0789ce8a48c5586035be049f0034f2720edf9610a3f0f939e6e31f11edd58f02b8
@@ -0,0 +1,14 @@
1
+ name: CI
2
+ on: [push]
3
+
4
+ jobs:
5
+ test:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v2
9
+ - uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
10
+ with:
11
+ ruby-version: 2.7
12
+ bundler-cache: true
13
+ - run: bundle install
14
+ - run: bundle exec rspec
data/Gemfile CHANGED
@@ -1,11 +1,10 @@
1
1
  source "http://rubygems.org"
2
2
 
3
3
  gem 'crack', '~> 0.4.3'
4
- gem 'aws-sdk', '~> 2.2', '>= 2.2.24'
4
+ gem 'aws-sdk-cloudwatch'
5
5
 
6
6
  group :development do
7
7
  gem 'rspec', '>= 0'
8
- gem 'bundler', '~> 1.0'
9
8
  gem 'jeweler', '~> 2.1', '>= 2.1.2'
10
9
  gem 'guard', '~> 2.13'
11
10
  gem 'guard-rspec', require: false
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # passenger-metrics
2
2
  A ruby gem for reading metrics from the passenger-status command.
3
3
 
4
-
4
+ [![CI Status](https://github.com/controlshift/passenger-metrics/actions/workflows/ci.yml/badge.svg)](https://github.com/controlshift/passenger-metrics/actions/workflows/ci.yml)
@@ -1,4 +1,4 @@
1
- require 'aws-sdk'
1
+ require 'aws-sdk-cloudwatch'
2
2
  require 'crack'
3
3
 
4
4
  module PassengerMetrics
@@ -6,12 +6,12 @@
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "passenger-metrics".freeze
9
- s.version = "0.0.4"
9
+ s.version = "0.0.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Nathan Woodhull".freeze]
14
- s.date = "2018-12-04"
14
+ s.date = "2021-08-04"
15
15
  s.description = "Get passenger metrics from passenger-status into the analytics tool of your choice.".freeze
16
16
  s.email = "nathan@gcontrolshiftlabs.com".freeze
17
17
  s.executables = ["passenger-metrics-cloudwatch".freeze]
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
20
20
  "README.md"
21
21
  ]
22
22
  s.files = [
23
+ ".github/workflows/ci.yml",
23
24
  ".rspec",
24
25
  "Gemfile",
25
26
  "Guardfile",
@@ -47,37 +48,26 @@ Gem::Specification.new do |s|
47
48
  ]
48
49
  s.homepage = "http://github.com/controlshift/passenger-metrics".freeze
49
50
  s.licenses = ["MIT".freeze]
50
- s.rubygems_version = "2.7.6".freeze
51
+ s.rubygems_version = "3.1.6".freeze
51
52
  s.summary = "ruby interface to passenger-status".freeze
52
53
 
53
54
  if s.respond_to? :specification_version then
54
55
  s.specification_version = 4
56
+ end
55
57
 
56
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
57
- s.add_runtime_dependency(%q<crack>.freeze, ["~> 0.4.3"])
58
- s.add_runtime_dependency(%q<aws-sdk>.freeze, [">= 2.2.24", "~> 2.2"])
59
- s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
60
- s.add_development_dependency(%q<bundler>.freeze, ["~> 1.0"])
61
- s.add_development_dependency(%q<jeweler>.freeze, [">= 2.1.2", "~> 2.1"])
62
- s.add_development_dependency(%q<guard>.freeze, ["~> 2.13"])
63
- s.add_development_dependency(%q<guard-rspec>.freeze, [">= 0"])
64
- s.add_development_dependency(%q<byebug>.freeze, [">= 0"])
65
- else
66
- s.add_dependency(%q<crack>.freeze, ["~> 0.4.3"])
67
- s.add_dependency(%q<aws-sdk>.freeze, [">= 2.2.24", "~> 2.2"])
68
- s.add_dependency(%q<rspec>.freeze, [">= 0"])
69
- s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
70
- s.add_dependency(%q<jeweler>.freeze, [">= 2.1.2", "~> 2.1"])
71
- s.add_dependency(%q<guard>.freeze, ["~> 2.13"])
72
- s.add_dependency(%q<guard-rspec>.freeze, [">= 0"])
73
- s.add_dependency(%q<byebug>.freeze, [">= 0"])
74
- end
58
+ if s.respond_to? :add_runtime_dependency then
59
+ s.add_runtime_dependency(%q<crack>.freeze, ["~> 0.4.3"])
60
+ s.add_runtime_dependency(%q<aws-sdk-cloudwatch>.freeze, [">= 0"])
61
+ s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
62
+ s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.1", ">= 2.1.2"])
63
+ s.add_development_dependency(%q<guard>.freeze, ["~> 2.13"])
64
+ s.add_development_dependency(%q<guard-rspec>.freeze, [">= 0"])
65
+ s.add_development_dependency(%q<byebug>.freeze, [">= 0"])
75
66
  else
76
67
  s.add_dependency(%q<crack>.freeze, ["~> 0.4.3"])
77
- s.add_dependency(%q<aws-sdk>.freeze, [">= 2.2.24", "~> 2.2"])
68
+ s.add_dependency(%q<aws-sdk-cloudwatch>.freeze, [">= 0"])
78
69
  s.add_dependency(%q<rspec>.freeze, [">= 0"])
79
- s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
80
- s.add_dependency(%q<jeweler>.freeze, [">= 2.1.2", "~> 2.1"])
70
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.1", ">= 2.1.2"])
81
71
  s.add_dependency(%q<guard>.freeze, ["~> 2.13"])
82
72
  s.add_dependency(%q<guard-rspec>.freeze, [">= 0"])
83
73
  s.add_dependency(%q<byebug>.freeze, [">= 0"])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passenger-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Woodhull
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-04 00:00:00.000000000 Z
11
+ date: 2021-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: crack
@@ -25,25 +25,19 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.4.3
27
27
  - !ruby/object:Gem::Dependency
28
- name: aws-sdk
28
+ name: aws-sdk-cloudwatch
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.2.24
34
- - - "~>"
35
- - !ruby/object:Gem::Version
36
- version: '2.2'
33
+ version: '0'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
38
  - - ">="
42
39
  - !ruby/object:Gem::Version
43
- version: 2.2.24
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '2.2'
40
+ version: '0'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: rspec
49
43
  requirement: !ruby/object:Gem::Requirement
@@ -59,39 +53,25 @@ dependencies:
59
53
  - !ruby/object:Gem::Version
60
54
  version: '0'
61
55
  - !ruby/object:Gem::Dependency
62
- name: bundler
56
+ name: jeweler
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '1.0'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '1.0'
75
- - !ruby/object:Gem::Dependency
76
- name: jeweler
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
61
+ version: '2.1'
79
62
  - - ">="
80
63
  - !ruby/object:Gem::Version
81
64
  version: 2.1.2
82
- - - "~>"
83
- - !ruby/object:Gem::Version
84
- version: '2.1'
85
65
  type: :development
86
66
  prerelease: false
87
67
  version_requirements: !ruby/object:Gem::Requirement
88
68
  requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- version: 2.1.2
92
69
  - - "~>"
93
70
  - !ruby/object:Gem::Version
94
71
  version: '2.1'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 2.1.2
95
75
  - !ruby/object:Gem::Dependency
96
76
  name: guard
97
77
  requirement: !ruby/object:Gem::Requirement
@@ -144,6 +124,7 @@ extra_rdoc_files:
144
124
  - LICENSE
145
125
  - README.md
146
126
  files:
127
+ - ".github/workflows/ci.yml"
147
128
  - ".rspec"
148
129
  - Gemfile
149
130
  - Guardfile
@@ -187,8 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
168
  - !ruby/object:Gem::Version
188
169
  version: '0'
189
170
  requirements: []
190
- rubyforge_project:
191
- rubygems_version: 2.7.6
171
+ rubygems_version: 3.1.6
192
172
  signing_key:
193
173
  specification_version: 4
194
174
  summary: ruby interface to passenger-status