pmetric 1.0.0 → 1.1.0
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/CHANGELOG.md +10 -1
- data/LICENSE +21 -0
- data/lib/pmetric/version.rb +1 -1
- metadata +3 -16
- data/.circleci/config.yml +0 -43
- data/.gitignore +0 -10
- data/.ruby-gemset +0 -1
- data/.ruby-version +0 -1
- data/Appraisals +0 -7
- data/Gemfile +0 -4
- data/Rakefile +0 -9
- data/bin/console +0 -14
- data/gemfiles/.bundle/config +0 -2
- data/gemfiles/activesupport_3.gemfile +0 -7
- data/gemfiles/activesupport_3.gemfile.lock +0 -54
- data/gemfiles/activesupport_5.gemfile +0 -7
- data/gemfiles/activesupport_5.gemfile.lock +0 -60
- data/pmetric.gemspec +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6de46f6ef5f036dc35f0301c4ee5f432140bd504
|
4
|
+
data.tar.gz: e87247bd826253200f96c428c63998ae664a273e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1391b0ef410015fe08a2aa6db6642518912a87fe68ef934e520017352f80c01a7a0be856558a87e975acfe4406e1bbafd47c9d4b3cd234f5678919eac1443e10
|
7
|
+
data.tar.gz: 28cfb673401bd3b63c38ace20b0113361393d34963678018dcff29b452ee78302ea37a78ab5d2c3d215079027f4a62282da0de57c41d93f04080bb7b7967ce7f
|
data/CHANGELOG.md
CHANGED
@@ -7,9 +7,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [1.1.0] - 2017-06-06
|
11
|
+
|
12
|
+
### Added
|
13
|
+
* MIT `LICENSE`
|
14
|
+
|
15
|
+
### Changed
|
16
|
+
* Updated `spec.files`
|
17
|
+
|
10
18
|
## [1.0.0] - 2017-06-05
|
11
19
|
|
12
20
|
Initial Release!
|
13
21
|
|
14
|
-
[Unreleased]: https://github.com/500friends/pmetric/compare/v1.
|
22
|
+
[Unreleased]: https://github.com/500friends/pmetric/compare/v1.1.0...HEAD
|
23
|
+
[1.1.0]: https://github.com/500friends/pmetric/compare/v1.0.0...v1.1.0
|
15
24
|
[1.0.0]: https://github.com/500friends/pmetric/tree/v1.0.0
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 500friends
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/lib/pmetric/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pmetric
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Braden Schaeffer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: influxdb
|
@@ -121,21 +121,9 @@ executables: []
|
|
121
121
|
extensions: []
|
122
122
|
extra_rdoc_files: []
|
123
123
|
files:
|
124
|
-
- ".circleci/config.yml"
|
125
|
-
- ".gitignore"
|
126
|
-
- ".ruby-gemset"
|
127
|
-
- ".ruby-version"
|
128
|
-
- Appraisals
|
129
124
|
- CHANGELOG.md
|
130
|
-
-
|
125
|
+
- LICENSE
|
131
126
|
- README.md
|
132
|
-
- Rakefile
|
133
|
-
- bin/console
|
134
|
-
- gemfiles/.bundle/config
|
135
|
-
- gemfiles/activesupport_3.gemfile
|
136
|
-
- gemfiles/activesupport_3.gemfile.lock
|
137
|
-
- gemfiles/activesupport_5.gemfile
|
138
|
-
- gemfiles/activesupport_5.gemfile.lock
|
139
127
|
- lib/pmetric.rb
|
140
128
|
- lib/pmetric/collector.rb
|
141
129
|
- lib/pmetric/collector/base.rb
|
@@ -144,7 +132,6 @@ files:
|
|
144
132
|
- lib/pmetric/configuration.rb
|
145
133
|
- lib/pmetric/testing.rb
|
146
134
|
- lib/pmetric/version.rb
|
147
|
-
- pmetric.gemspec
|
148
135
|
homepage: https://github.com/500friends/pmetric
|
149
136
|
licenses: []
|
150
137
|
metadata: {}
|
data/.circleci/config.yml
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
version: 2
|
2
|
-
jobs:
|
3
|
-
build:
|
4
|
-
working_directory: ~/pmetric
|
5
|
-
|
6
|
-
docker:
|
7
|
-
- image: ruby:2.2.4
|
8
|
-
|
9
|
-
environment:
|
10
|
-
BUNDLE_PATH: "vendor/bundle"
|
11
|
-
|
12
|
-
steps:
|
13
|
-
- checkout
|
14
|
-
- run: gem install bundler
|
15
|
-
|
16
|
-
# Restore bundle cache
|
17
|
-
- type: cache-restore
|
18
|
-
key: pmetric-2.2.4-{{ checksum "pmetric.gemspec" }}
|
19
|
-
|
20
|
-
# Bundle install dependencies
|
21
|
-
- run: bundle install
|
22
|
-
|
23
|
-
# Install appraisal
|
24
|
-
- run: bundle exec appraisal install
|
25
|
-
|
26
|
-
# Store bundle cache
|
27
|
-
- type: cache-save
|
28
|
-
key: pmetric-2.2.4-{{ checksum "pmetric.gemspec" }}
|
29
|
-
paths:
|
30
|
-
- vendor/bundle
|
31
|
-
|
32
|
-
# Run rspec in parallel
|
33
|
-
- type: shell
|
34
|
-
command: |
|
35
|
-
bundle exec appraisal rspec --profile 10 \
|
36
|
-
--format RspecJunitFormatter \
|
37
|
-
--out /tmp/test-results/rspec.xml \
|
38
|
-
--format progress \
|
39
|
-
$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
|
40
|
-
|
41
|
-
# Save artifacts
|
42
|
-
- type: store_test_results
|
43
|
-
path: /tmp/test-results
|
data/.gitignore
DELETED
data/.ruby-gemset
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
prism_d
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.2.4
|
data/Appraisals
DELETED
data/Gemfile
DELETED
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "pmetric"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
data/gemfiles/.bundle/config
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
pmetric (0.1.0)
|
5
|
-
activesupport (>= 3.2.22, < 6)
|
6
|
-
influxdb (~> 0.3.14)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
activesupport (3.2.22.4)
|
12
|
-
i18n (~> 0.6, >= 0.6.4)
|
13
|
-
multi_json (~> 1.0)
|
14
|
-
appraisal (2.2.0)
|
15
|
-
bundler
|
16
|
-
rake
|
17
|
-
thor (>= 0.14.0)
|
18
|
-
cause (0.1)
|
19
|
-
diff-lcs (1.3)
|
20
|
-
i18n (0.8.4)
|
21
|
-
influxdb (0.3.14)
|
22
|
-
cause
|
23
|
-
json
|
24
|
-
json (2.1.0)
|
25
|
-
multi_json (1.12.1)
|
26
|
-
rake (10.5.0)
|
27
|
-
rspec (3.6.0)
|
28
|
-
rspec-core (~> 3.6.0)
|
29
|
-
rspec-expectations (~> 3.6.0)
|
30
|
-
rspec-mocks (~> 3.6.0)
|
31
|
-
rspec-core (3.6.0)
|
32
|
-
rspec-support (~> 3.6.0)
|
33
|
-
rspec-expectations (3.6.0)
|
34
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
-
rspec-support (~> 3.6.0)
|
36
|
-
rspec-mocks (3.6.0)
|
37
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
-
rspec-support (~> 3.6.0)
|
39
|
-
rspec-support (3.6.0)
|
40
|
-
thor (0.19.4)
|
41
|
-
|
42
|
-
PLATFORMS
|
43
|
-
ruby
|
44
|
-
|
45
|
-
DEPENDENCIES
|
46
|
-
activesupport (= 3.2.22.4)
|
47
|
-
appraisal
|
48
|
-
bundler (~> 1.13)
|
49
|
-
pmetric!
|
50
|
-
rake (~> 10.0)
|
51
|
-
rspec (~> 3.0)
|
52
|
-
|
53
|
-
BUNDLED WITH
|
54
|
-
1.15.0
|
@@ -1,60 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
pmetric (0.1.0)
|
5
|
-
activesupport (>= 3.2.22, < 6)
|
6
|
-
influxdb (~> 0.3.14)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
activesupport (5.1.1)
|
12
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
i18n (~> 0.7)
|
14
|
-
minitest (~> 5.1)
|
15
|
-
tzinfo (~> 1.1)
|
16
|
-
appraisal (2.2.0)
|
17
|
-
bundler
|
18
|
-
rake
|
19
|
-
thor (>= 0.14.0)
|
20
|
-
cause (0.1)
|
21
|
-
concurrent-ruby (1.0.5)
|
22
|
-
diff-lcs (1.3)
|
23
|
-
i18n (0.8.4)
|
24
|
-
influxdb (0.3.14)
|
25
|
-
cause
|
26
|
-
json
|
27
|
-
json (2.1.0)
|
28
|
-
minitest (5.10.2)
|
29
|
-
rake (10.5.0)
|
30
|
-
rspec (3.6.0)
|
31
|
-
rspec-core (~> 3.6.0)
|
32
|
-
rspec-expectations (~> 3.6.0)
|
33
|
-
rspec-mocks (~> 3.6.0)
|
34
|
-
rspec-core (3.6.0)
|
35
|
-
rspec-support (~> 3.6.0)
|
36
|
-
rspec-expectations (3.6.0)
|
37
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
-
rspec-support (~> 3.6.0)
|
39
|
-
rspec-mocks (3.6.0)
|
40
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
-
rspec-support (~> 3.6.0)
|
42
|
-
rspec-support (3.6.0)
|
43
|
-
thor (0.19.4)
|
44
|
-
thread_safe (0.3.6)
|
45
|
-
tzinfo (1.2.3)
|
46
|
-
thread_safe (~> 0.1)
|
47
|
-
|
48
|
-
PLATFORMS
|
49
|
-
ruby
|
50
|
-
|
51
|
-
DEPENDENCIES
|
52
|
-
activesupport (>= 5.0)
|
53
|
-
appraisal
|
54
|
-
bundler (~> 1.13)
|
55
|
-
pmetric!
|
56
|
-
rake (~> 10.0)
|
57
|
-
rspec (~> 3.0)
|
58
|
-
|
59
|
-
BUNDLED WITH
|
60
|
-
1.15.0
|
data/pmetric.gemspec
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'pmetric/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "pmetric"
|
8
|
-
spec.version = PMetric::VERSION
|
9
|
-
spec.authors = ["Braden Schaeffer"]
|
10
|
-
spec.email = ["bschaeffer@merkleinc.com"]
|
11
|
-
|
12
|
-
spec.summary = %q{InfluxDB Metrics for Rails apps.}
|
13
|
-
spec.description = %q{Enables configurable metric collection for Rails apps.}
|
14
|
-
spec.homepage = "https://github.com/500friends/pmetric"
|
15
|
-
|
16
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
-
f.match(%r{^(spec)/})
|
18
|
-
end
|
19
|
-
|
20
|
-
spec.require_paths = ["lib"]
|
21
|
-
|
22
|
-
# Monitoring Gems
|
23
|
-
spec.add_dependency 'influxdb', '~> 0.3.14'
|
24
|
-
spec.add_dependency 'activesupport', '>= 3.2.22', '< 6'
|
25
|
-
|
26
|
-
spec.add_development_dependency 'appraisal'
|
27
|
-
spec.add_development_dependency 'rspec_junit_formatter'
|
28
|
-
spec.add_development_dependency 'bundler', '~> 1.13'
|
29
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
30
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
31
|
-
end
|