yabeda-rails 0.7.1 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build-release.yml +82 -0
- data/.github/workflows/lint.yml +25 -0
- data/.github/workflows/test.yml +53 -0
- data/.rubocop.yml +3 -4
- data/CHANGELOG.md +27 -0
- data/Gemfile +20 -3
- data/README.md +33 -1
- data/lib/yabeda/rails/config.rb +13 -0
- data/lib/yabeda/rails/railtie.rb +1 -1
- data/lib/yabeda/rails/version.rb +1 -1
- data/lib/yabeda/rails.rb +28 -4
- data/yabeda-rails-logo.png +0 -0
- data/yabeda-rails.gemspec +5 -1
- metadata +49 -11
- data/.travis.yml +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95166b3713d896663737aaf5fb6c485df43557d946c510f957fb3ab42e3e0d38
|
4
|
+
data.tar.gz: 0a8c2b72c450564b8fad46c1ac67c9895f342366d36d967611f576bd63275cea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 512a1d39088979606534b7de183e26aeed5aa2b7d4f2394b8b21cfb0b9ceec0735e35d34ef7a3a8a738468f4fc72d28a1825604f143a00b88e2649bcfd5b44dd
|
7
|
+
data.tar.gz: cc4b86dab98e360b4d5b481a593533f60f0d5af3d70a0acda3f45935968097eef02fef32ec6b65e57bc260a0d3d7f34561b2584f3f0a001da238e182b7bfd285
|
@@ -0,0 +1,82 @@
|
|
1
|
+
name: Build and release gem to RubyGems
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- v*
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
release:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- uses: actions/checkout@v2
|
13
|
+
with:
|
14
|
+
fetch-depth: 0 # Fetch current tag as annotated. See https://github.com/actions/checkout/issues/290
|
15
|
+
- uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: 2.7
|
18
|
+
- name: "Extract data from tag: version, message, body"
|
19
|
+
id: tag
|
20
|
+
run: |
|
21
|
+
git fetch --tags --force # Really fetch annotated tag. See https://github.com/actions/checkout/issues/290#issuecomment-680260080
|
22
|
+
echo ::set-output name=version::${GITHUB_REF#refs/tags/v}
|
23
|
+
echo ::set-output name=subject::$(git for-each-ref $GITHUB_REF --format='%(contents:subject)')
|
24
|
+
BODY="$(git for-each-ref $GITHUB_REF --format='%(contents:body)')"
|
25
|
+
# Extract changelog entries between this and previous version headers
|
26
|
+
escaped_version=$(echo ${GITHUB_REF#refs/tags/v} | sed -e 's/[]\/$*.^[]/\\&/g')
|
27
|
+
changelog=$(awk "BEGIN{inrelease=0} /## ${escaped_version}/{inrelease=1;next} /## [0-9]+\.[0-9]+\.[0-9]+/{inrelease=0;exit} {if (inrelease) print}" CHANGELOG.md)
|
28
|
+
# Multiline body for release. See https://github.community/t/set-output-truncates-multiline-strings/16852/5
|
29
|
+
BODY="${BODY}"$'\n'"${changelog}"
|
30
|
+
BODY="${BODY//'%'/'%25'}"
|
31
|
+
BODY="${BODY//$'\n'/'%0A'}"
|
32
|
+
BODY="${BODY//$'\r'/'%0D'}"
|
33
|
+
echo "::set-output name=body::$BODY"
|
34
|
+
# Add pre-release option if tag name has any suffix after vMAJOR.MINOR.PATCH
|
35
|
+
if [[ ${GITHUB_REF#refs/tags/} =~ ^v[0-9]+\.[0-9]+\.[0-9]+.+ ]]; then
|
36
|
+
echo ::set-output name=prerelease::true
|
37
|
+
fi
|
38
|
+
- name: Build gem
|
39
|
+
run: gem build
|
40
|
+
- name: Calculate checksums
|
41
|
+
run: sha256sum yabeda-rails-${{ steps.tag.outputs.version }}.gem > SHA256SUM
|
42
|
+
- name: Check version
|
43
|
+
run: ls -l yabeda-rails-${{ steps.tag.outputs.version }}.gem
|
44
|
+
- name: Create Release
|
45
|
+
id: create_release
|
46
|
+
uses: actions/create-release@v1
|
47
|
+
env:
|
48
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
49
|
+
with:
|
50
|
+
tag_name: ${{ github.ref }}
|
51
|
+
release_name: ${{ steps.tag.outputs.subject }}
|
52
|
+
body: ${{ steps.tag.outputs.body }}
|
53
|
+
draft: false
|
54
|
+
prerelease: ${{ steps.tag.outputs.prerelease }}
|
55
|
+
- name: Upload built gem as release asset
|
56
|
+
uses: actions/upload-release-asset@v1
|
57
|
+
env:
|
58
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
59
|
+
with:
|
60
|
+
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
61
|
+
asset_path: yabeda-rails-${{ steps.tag.outputs.version }}.gem
|
62
|
+
asset_name: yabeda-rails-${{ steps.tag.outputs.version }}.gem
|
63
|
+
asset_content_type: application/x-tar
|
64
|
+
- name: Upload checksums as release asset
|
65
|
+
uses: actions/upload-release-asset@v1
|
66
|
+
env:
|
67
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
68
|
+
with:
|
69
|
+
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
70
|
+
asset_path: SHA256SUM
|
71
|
+
asset_name: SHA256SUM
|
72
|
+
asset_content_type: text/plain
|
73
|
+
- name: Publish to GitHub packages
|
74
|
+
env:
|
75
|
+
GEM_HOST_API_KEY: Bearer ${{ secrets.GITHUB_TOKEN }}
|
76
|
+
run: |
|
77
|
+
gem push yabeda-rails-${{ steps.tag.outputs.version }}.gem --host https://rubygems.pkg.github.com/${{ github.repository_owner }}
|
78
|
+
- name: Publish to RubyGems
|
79
|
+
env:
|
80
|
+
GEM_HOST_API_KEY: "${{ secrets.RUBYGEMS_API_KEY }}"
|
81
|
+
run: |
|
82
|
+
gem push yabeda-rails-${{ steps.tag.outputs.version }}.gem
|
@@ -0,0 +1,25 @@
|
|
1
|
+
name: Lint
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- '**'
|
8
|
+
tags-ignore:
|
9
|
+
- 'v*'
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
rubocop:
|
13
|
+
# Skip running tests for local pull requests (use push event instead), run only for foreign ones
|
14
|
+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login != github.event.pull_request.base.repo.owner.login
|
15
|
+
name: RuboCop
|
16
|
+
runs-on: ubuntu-latest
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v2
|
19
|
+
- uses: ruby/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
ruby-version: "3.1"
|
22
|
+
bundler-cache: true
|
23
|
+
- name: Lint Ruby code with RuboCop
|
24
|
+
run: |
|
25
|
+
bundle exec rubocop
|
@@ -0,0 +1,53 @@
|
|
1
|
+
name: Tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- '**'
|
8
|
+
tags-ignore:
|
9
|
+
- 'v*'
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
test:
|
13
|
+
name: 'Rails ${{ matrix.rails }} × Ruby ${{ matrix.ruby }}'
|
14
|
+
# Skip running tests for local pull requests (use push event instead), run only for foreign ones
|
15
|
+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login != github.event.pull_request.base.repo.owner.login
|
16
|
+
runs-on: ubuntu-latest
|
17
|
+
strategy:
|
18
|
+
fail-fast: false
|
19
|
+
matrix:
|
20
|
+
include:
|
21
|
+
- ruby: "3.1"
|
22
|
+
rails: "HEAD"
|
23
|
+
- ruby: "3.0"
|
24
|
+
rails: "7.0"
|
25
|
+
- ruby: "2.7"
|
26
|
+
rails: "6.1"
|
27
|
+
- ruby: "2.6"
|
28
|
+
rails: "6.0"
|
29
|
+
- ruby: "2.5"
|
30
|
+
rails: "5.2"
|
31
|
+
container:
|
32
|
+
image: ruby:${{ matrix.ruby }}
|
33
|
+
env:
|
34
|
+
CI: true
|
35
|
+
RAILS_VERSION: ${{ matrix.rails }}
|
36
|
+
steps:
|
37
|
+
- uses: actions/checkout@v2
|
38
|
+
- uses: actions/cache@v2
|
39
|
+
with:
|
40
|
+
path: vendor/bundle
|
41
|
+
key: bundle-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}-${{ hashFiles('**/Gemfile') }}
|
42
|
+
restore-keys: |
|
43
|
+
bundle-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}-${{ hashFiles('**/Gemfile') }}
|
44
|
+
bundle-${{ matrix.ruby }}-
|
45
|
+
- name: Upgrade Bundler to 2.0 (for older Rubies)
|
46
|
+
run: gem install bundler -v '~> 2.0'
|
47
|
+
- name: Bundle install
|
48
|
+
run: |
|
49
|
+
bundle config path vendor/bundle
|
50
|
+
bundle install
|
51
|
+
bundle update
|
52
|
+
- name: Run RSpec
|
53
|
+
run: bundle exec rspec
|
data/.rubocop.yml
CHANGED
@@ -3,16 +3,13 @@ require:
|
|
3
3
|
- rubocop-rspec
|
4
4
|
|
5
5
|
AllCops:
|
6
|
-
TargetRubyVersion: 2.
|
6
|
+
TargetRubyVersion: 2.4
|
7
7
|
|
8
8
|
Metrics/BlockLength:
|
9
9
|
Exclude:
|
10
10
|
- "Gemfile"
|
11
11
|
- "spec/**/*"
|
12
12
|
|
13
|
-
Style/BracesAroundHashParameters:
|
14
|
-
EnforcedStyle: context_dependent
|
15
|
-
|
16
13
|
Style/StringLiterals:
|
17
14
|
EnforcedStyle: double_quotes
|
18
15
|
|
@@ -44,3 +41,5 @@ Style/TrailingCommaInHashLiteral:
|
|
44
41
|
Enabled: true
|
45
42
|
EnforcedStyleForMultiline: consistent_comma
|
46
43
|
|
44
|
+
Bundler/DuplicatedGem:
|
45
|
+
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## 0.8.1 - 2022-06-06
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
|
12
|
+
- Fill status codes for responses with unhandled exceptions. [@dks17][] in [#24](https://github.com/yabeda-rb/yabeda-rails/pull/24)
|
13
|
+
|
14
|
+
## 0.8.0 - 2022-05-30
|
15
|
+
|
16
|
+
### Added
|
17
|
+
|
18
|
+
- Add ability to expose custom Apdex target value for later use in graphs/alerts. [@Envek][] in [#18](https://github.com/yabeda-rb/yabeda-rails/pull/18)
|
19
|
+
|
20
|
+
### Changed
|
21
|
+
|
22
|
+
- Reduce number of dependencies by depending only on railties instead of the whole Ruby on Rails. [@lautis][] in [#23](https://github.com/yabeda-rb/yabeda-rails/pull/23).
|
23
|
+
|
24
|
+
## 0.7.2 - 2021-03-15
|
25
|
+
|
26
|
+
### Fixed
|
27
|
+
|
28
|
+
- Fix undesirable overwrite of metric tags when global `default_tag` is declared with one of tag names that are being used by yabeda-rails, like `controller`. [@liaden] in [#19](https://github.com/yabeda-rb/yabeda-rails/pull/19)
|
29
|
+
|
8
30
|
## 0.7.1 - 2020-10-02
|
9
31
|
|
10
32
|
### Changed
|
@@ -58,3 +80,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
58
80
|
- Initial release of evil-metrics-rails gem. @Envek
|
59
81
|
|
60
82
|
Basic metrics for request durations by controller, action, status, format, and method. ActiveRecord and ActionView timings.
|
83
|
+
|
84
|
+
[@Envek]: https://github.com/Envek "Andrey Novikov"
|
85
|
+
[@liaden]: https://github.com/liaden "Joel Johnson"
|
86
|
+
[@lautis]: https://github.com/lautis "Ville Lautanala"
|
87
|
+
[@dks17]: https://github.com/dks17 "Konstantin"
|
data/Gemfile
CHANGED
@@ -7,10 +7,27 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
7
7
|
# Specify your gem's dependencies in yabeda-rails.gemspec
|
8
8
|
gemspec
|
9
9
|
|
10
|
+
rails_version = ENV.fetch("RAILS_VERSION", "~> 7.0")
|
11
|
+
case rails_version
|
12
|
+
when "HEAD"
|
13
|
+
git "https://github.com/rails/rails.git" do
|
14
|
+
gem "rails"
|
15
|
+
gem "activesupport"
|
16
|
+
gem "railties"
|
17
|
+
end
|
18
|
+
else
|
19
|
+
rails_version = "~> #{rails_version}.0" if rails_version.match?(/^\d+\.\d+$/)
|
20
|
+
gem "rails", rails_version
|
21
|
+
gem "activesupport", rails_version
|
22
|
+
gem "railties", rails_version
|
23
|
+
end
|
24
|
+
|
10
25
|
group :development, :test do
|
11
|
-
gem "
|
12
|
-
gem "
|
26
|
+
gem "yabeda", "~> 0.11" # Test helpers
|
27
|
+
gem "rspec-rails"
|
28
|
+
|
29
|
+
gem "debug"
|
13
30
|
|
14
|
-
gem "rubocop"
|
31
|
+
gem "rubocop", "~> 1.8"
|
15
32
|
gem "rubocop-rspec"
|
16
33
|
end
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Yabeda::
|
1
|
+
# ![Yabeda::Rails](./yabeda-rails-logo.png)
|
2
2
|
|
3
3
|
Built-in metrics for out-of-the box [Rails] applications monitoring.
|
4
4
|
|
@@ -83,6 +83,38 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
83
83
|
|
84
84
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
85
85
|
|
86
|
+
### Releasing
|
87
|
+
|
88
|
+
1. Bump version number in `lib/yabeda/rails/version.rb`
|
89
|
+
|
90
|
+
In case of pre-releases keep in mind [rubygems/rubygems#3086](https://github.com/rubygems/rubygems/issues/3086) and check version with command like `Gem::Version.new(Yabeda::Rails::VERSION).to_s`
|
91
|
+
|
92
|
+
2. Fill `CHANGELOG.md` with missing changes, add header with version and date.
|
93
|
+
|
94
|
+
3. Make a commit:
|
95
|
+
|
96
|
+
```sh
|
97
|
+
git add lib/yabeda/rails/version.rb CHANGELOG.md
|
98
|
+
version=$(ruby -r ./lib/yabeda/rails/version.rb -e "puts Gem::Version.new(Yabeda::Rails::VERSION)")
|
99
|
+
git commit --message="${version}: " --edit
|
100
|
+
```
|
101
|
+
|
102
|
+
4. Create annotated tag:
|
103
|
+
|
104
|
+
```sh
|
105
|
+
git tag v${version} --annotate --message="${version}: " --edit --sign
|
106
|
+
```
|
107
|
+
|
108
|
+
5. Fill version name into subject line and (optionally) some description (list of changes will be taken from changelog and appended automatically)
|
109
|
+
|
110
|
+
6. Push it:
|
111
|
+
|
112
|
+
```sh
|
113
|
+
git push --follow-tags
|
114
|
+
```
|
115
|
+
|
116
|
+
7. You're done!
|
117
|
+
|
86
118
|
## Contributing
|
87
119
|
|
88
120
|
Bug reports and pull requests are welcome on GitHub at https://github.com/yabeda-rb/yabeda-rails.
|
data/lib/yabeda/rails/railtie.rb
CHANGED
data/lib/yabeda/rails/version.rb
CHANGED
data/lib/yabeda/rails.rb
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "yabeda"
|
4
|
+
require "active_support"
|
5
|
+
require "rails/railtie"
|
4
6
|
require "yabeda/rails/railtie"
|
7
|
+
require "yabeda/rails/config"
|
5
8
|
|
6
9
|
module Yabeda
|
10
|
+
# Minimal set of Rails-specific metrics for using with Yabeda
|
7
11
|
module Rails
|
8
12
|
LONG_RUNNING_REQUEST_BUCKETS = [
|
9
13
|
0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, # standard
|
@@ -19,8 +23,12 @@ module Yabeda
|
|
19
23
|
controller_handlers << block
|
20
24
|
end
|
21
25
|
|
26
|
+
# Declare metrics and install event handlers for collecting themya
|
27
|
+
# rubocop: disable Metrics/MethodLength, Metrics/BlockLength, Metrics/AbcSize
|
22
28
|
def install!
|
23
29
|
Yabeda.configure do
|
30
|
+
config = Config.new
|
31
|
+
|
24
32
|
group :rails
|
25
33
|
|
26
34
|
counter :requests_total, comment: "A counter of the total number of HTTP requests rails processed.",
|
@@ -39,15 +47,22 @@ module Yabeda
|
|
39
47
|
comment: "A histogram of the activerecord execution time.",
|
40
48
|
tags: %i[controller action status format method]
|
41
49
|
|
50
|
+
if config.apdex_target
|
51
|
+
gauge :apdex_target, unit: :seconds,
|
52
|
+
comment: "Tolerable time for Apdex (T value: maximum duration of satisfactory request)"
|
53
|
+
collect { rails_apdex_target.set({}, config.apdex_target) }
|
54
|
+
end
|
55
|
+
|
42
56
|
ActiveSupport::Notifications.subscribe "process_action.action_controller" do |*args|
|
43
57
|
event = ActiveSupport::Notifications::Event.new(*args)
|
44
58
|
labels = {
|
45
59
|
controller: event.payload[:params]["controller"],
|
46
60
|
action: event.payload[:params]["action"],
|
47
|
-
status: event
|
61
|
+
status: Yabeda::Rails.event_status_code(event),
|
48
62
|
format: event.payload[:format],
|
49
63
|
method: event.payload[:method].downcase,
|
50
|
-
}
|
64
|
+
}
|
65
|
+
labels.merge!(event.payload.slice(*Yabeda.default_tags.keys - labels.keys))
|
51
66
|
|
52
67
|
rails_requests_total.increment(labels)
|
53
68
|
rails_request_duration.measure(labels, Yabeda::Rails.ms2s(event.duration))
|
@@ -60,9 +75,18 @@ module Yabeda
|
|
60
75
|
end
|
61
76
|
end
|
62
77
|
end
|
78
|
+
# rubocop: enable Metrics/MethodLength, Metrics/BlockLength, Metrics/AbcSize
|
63
79
|
|
64
|
-
def ms2s(
|
65
|
-
(
|
80
|
+
def ms2s(milliseconds)
|
81
|
+
(milliseconds.to_f / 1000).round(3)
|
82
|
+
end
|
83
|
+
|
84
|
+
def event_status_code(event)
|
85
|
+
if event.payload[:status].nil? && event.payload[:exception].present?
|
86
|
+
ActionDispatch::ExceptionWrapper.status_code_for_exception(event.payload[:exception].first)
|
87
|
+
else
|
88
|
+
event.payload[:status]
|
89
|
+
end
|
66
90
|
end
|
67
91
|
end
|
68
92
|
end
|
Binary file
|
data/yabeda-rails.gemspec
CHANGED
@@ -22,8 +22,12 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
+
spec.required_ruby_version = ">= 2.4"
|
26
|
+
|
27
|
+
spec.add_dependency "activesupport"
|
28
|
+
spec.add_dependency "anyway_config", ">= 1.3", "< 3"
|
29
|
+
spec.add_dependency "railties"
|
25
30
|
spec.add_dependency "yabeda", "~> 0.8"
|
26
|
-
spec.add_dependency "rails"
|
27
31
|
|
28
32
|
spec.add_development_dependency "bundler", "~> 2.0"
|
29
33
|
spec.add_development_dependency "rake", "~> 13.0"
|
metadata
CHANGED
@@ -1,31 +1,51 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yabeda-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Novikov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: anyway_config
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.3'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '3'
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '1.3'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '3'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: railties
|
29
49
|
requirement: !ruby/object:Gem::Requirement
|
30
50
|
requirements:
|
31
51
|
- - ">="
|
@@ -38,6 +58,20 @@ dependencies:
|
|
38
58
|
- - ">="
|
39
59
|
- !ruby/object:Gem::Version
|
40
60
|
version: '0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: yabeda
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0.8'
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0.8'
|
41
75
|
- !ruby/object:Gem::Dependency
|
42
76
|
name: bundler
|
43
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,10 +121,12 @@ executables: []
|
|
87
121
|
extensions: []
|
88
122
|
extra_rdoc_files: []
|
89
123
|
files:
|
124
|
+
- ".github/workflows/build-release.yml"
|
125
|
+
- ".github/workflows/lint.yml"
|
126
|
+
- ".github/workflows/test.yml"
|
90
127
|
- ".gitignore"
|
91
128
|
- ".rspec"
|
92
129
|
- ".rubocop.yml"
|
93
|
-
- ".travis.yml"
|
94
130
|
- CHANGELOG.md
|
95
131
|
- Gemfile
|
96
132
|
- LICENSE.txt
|
@@ -99,8 +135,10 @@ files:
|
|
99
135
|
- bin/console
|
100
136
|
- bin/setup
|
101
137
|
- lib/yabeda/rails.rb
|
138
|
+
- lib/yabeda/rails/config.rb
|
102
139
|
- lib/yabeda/rails/railtie.rb
|
103
140
|
- lib/yabeda/rails/version.rb
|
141
|
+
- yabeda-rails-logo.png
|
104
142
|
- yabeda-rails.gemspec
|
105
143
|
homepage: https://github.com/yabeda-rb/yabeda-rails
|
106
144
|
licenses:
|
@@ -114,14 +152,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
152
|
requirements:
|
115
153
|
- - ">="
|
116
154
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
155
|
+
version: '2.4'
|
118
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
157
|
requirements:
|
120
158
|
- - ">="
|
121
159
|
- !ruby/object:Gem::Version
|
122
160
|
version: '0'
|
123
161
|
requirements: []
|
124
|
-
rubygems_version: 3.1.
|
162
|
+
rubygems_version: 3.1.6
|
125
163
|
signing_key:
|
126
164
|
specification_version: 4
|
127
165
|
summary: Extensible metrics for monitoring Ruby on Rails application
|