tomo-plugin-rollbar 0.1.0 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +21 -6
- data/lib/tomo/plugin/rollbar.rb +5 -7
- data/lib/tomo/plugin/rollbar/version.rb +4 -3
- metadata +11 -117
- data/.gitignore +0 -9
- data/.prettierignore +0 -2
- data/.rubocop.yml +0 -75
- data/.travis.yml +0 -11
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -4
- data/Rakefile +0 -101
- data/tomo-plugin-rollbar.gemspec +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ef4ea3668ac5ec14cc0456d3d91c0745dacc7bb0cf5b918051b26edb311bbb7
|
4
|
+
data.tar.gz: 51e9bf8aea24c23a620d96c7c108b7f48d365acd35c281ed804d7653eddd543d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30ac0bc6e63ad5f40309d96e7b16d15e945327154d1c97c55f26078c666217699c61f277e399eaf7756e7fc8e30217fc6bb7a6cc04e2697af3b39447f53f1918
|
7
|
+
data.tar.gz: c25ce6c8a6799616dcd9c5f8fdcb8b59eced8e73c15ee0a0fb5b0a5ee0f96a0bd92c97ce5420889712c25fb28f13c49c5a124d7947216b294bf198e365c7164e
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,22 @@
|
|
1
1
|
# tomo-plugin-rollbar
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/tomo-plugin-rollbar.svg)](https://rubygems.org/gems/tomo-plugin-rollbar)
|
4
|
-
[![
|
4
|
+
[![Circle](https://circleci.com/gh/mattbrictson/tomo-plugin-rollbar/tree/main.svg?style=shield)](https://app.circleci.com/pipelines/github/mattbrictson/tomo-plugin-rollbar?branch=main)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/mattbrictson/tomo-plugin-rollbar/badges/gpa.svg)](https://codeclimate.com/github/mattbrictson/tomo-plugin-rollbar)
|
6
6
|
|
7
7
|
This is a [tomo](https://github.com/mattbrictson/tomo) plugin that sends a notification to [Rollbar](https://rollbar.com) on a successful deploy.
|
8
8
|
|
9
|
+
---
|
10
|
+
|
11
|
+
- [Installation](#installation)
|
12
|
+
- [Settings](#settings)
|
13
|
+
- [Tasks](#tasks)
|
14
|
+
- [Support](#support)
|
15
|
+
- [License](#license)
|
16
|
+
- [Code of conduct](#code-of-conduct)
|
17
|
+
- [Contribution guide](#contribution-guide)
|
18
|
+
|
19
|
+
|
9
20
|
## Installation
|
10
21
|
|
11
22
|
Run:
|
@@ -52,14 +63,18 @@ Sends an HTTP POST notification to the Rollbar API describing the release that w
|
|
52
63
|
|
53
64
|
Note that this task must run _after_ `git:create_release` in the deploy sequence in order to have access to the release information.
|
54
65
|
|
55
|
-
##
|
66
|
+
## Support
|
56
67
|
|
57
|
-
|
68
|
+
If you want to report a bug, or have ideas, feedback or questions about the gem, [let me know via GitHub issues](https://github.com/mattbrictson/tomo-plugin-rollbar/issues/new) and I will do my best to provide a helpful answer. Happy hacking!
|
58
69
|
|
59
70
|
## License
|
60
71
|
|
61
|
-
The gem is available as open source under the terms of the [MIT License](
|
72
|
+
The gem is available as open source under the terms of the [MIT License](LICENSE.txt).
|
73
|
+
|
74
|
+
## Code of conduct
|
75
|
+
|
76
|
+
Everyone interacting in this project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](CODE_OF_CONDUCT.md).
|
62
77
|
|
63
|
-
##
|
78
|
+
## Contribution guide
|
64
79
|
|
65
|
-
|
80
|
+
Pull requests are welcome!
|
data/lib/tomo/plugin/rollbar.rb
CHANGED
@@ -2,13 +2,11 @@ require "tomo"
|
|
2
2
|
require_relative "rollbar/tasks"
|
3
3
|
require_relative "rollbar/version"
|
4
4
|
|
5
|
-
module Tomo::Plugin
|
6
|
-
|
7
|
-
extend Tomo::PluginDSL
|
5
|
+
module Tomo::Plugin::Rollbar
|
6
|
+
extend Tomo::PluginDSL
|
8
7
|
|
9
|
-
|
8
|
+
tasks Tomo::Plugin::Rollbar::Tasks
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
end
|
10
|
+
defaults rollbar_env: nil,
|
11
|
+
rollbar_token: nil
|
14
12
|
end
|
metadata
CHANGED
@@ -1,147 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomo-plugin-rollbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tomo
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '2.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '5.11'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '5.11'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: minitest-reporters
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.3'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
16
|
requirements:
|
66
17
|
- - "~>"
|
67
18
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1.
|
69
|
-
|
70
|
-
name: rake
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '12.3'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '12.3'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rubocop
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - '='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 0.71.0
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - '='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 0.71.0
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rubocop-performance
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - '='
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 1.3.0
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - '='
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 1.3.0
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: webmock
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '3.6'
|
118
|
-
type: :development
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
119
21
|
prerelease: false
|
120
22
|
version_requirements: !ruby/object:Gem::Requirement
|
121
23
|
requirements:
|
122
24
|
- - "~>"
|
123
25
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
125
|
-
description:
|
26
|
+
version: '1.0'
|
27
|
+
description:
|
126
28
|
email:
|
127
29
|
- opensource@mattbrictson.com
|
128
30
|
executables: []
|
129
31
|
extensions: []
|
130
32
|
extra_rdoc_files: []
|
131
33
|
files:
|
132
|
-
- ".gitignore"
|
133
|
-
- ".prettierignore"
|
134
|
-
- ".rubocop.yml"
|
135
|
-
- ".travis.yml"
|
136
|
-
- CODE_OF_CONDUCT.md
|
137
|
-
- Gemfile
|
138
34
|
- LICENSE.txt
|
139
35
|
- README.md
|
140
|
-
- Rakefile
|
141
36
|
- lib/tomo/plugin/rollbar.rb
|
142
37
|
- lib/tomo/plugin/rollbar/tasks.rb
|
143
38
|
- lib/tomo/plugin/rollbar/version.rb
|
144
|
-
- tomo-plugin-rollbar.gemspec
|
145
39
|
homepage: https://github.com/mattbrictson/tomo-plugin-rollbar
|
146
40
|
licenses:
|
147
41
|
- MIT
|
@@ -150,7 +44,7 @@ metadata:
|
|
150
44
|
changelog_uri: https://github.com/mattbrictson/tomo-plugin-rollbar/releases
|
151
45
|
homepage_uri: https://github.com/mattbrictson/tomo-plugin-rollbar
|
152
46
|
source_code_uri: https://github.com/mattbrictson/tomo-plugin-rollbar
|
153
|
-
post_install_message:
|
47
|
+
post_install_message:
|
154
48
|
rdoc_options: []
|
155
49
|
require_paths:
|
156
50
|
- lib
|
@@ -158,15 +52,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
52
|
requirements:
|
159
53
|
- - ">="
|
160
54
|
- !ruby/object:Gem::Version
|
161
|
-
version: 2.
|
55
|
+
version: 2.5.0
|
162
56
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
57
|
requirements:
|
164
58
|
- - ">="
|
165
59
|
- !ruby/object:Gem::Version
|
166
60
|
version: '0'
|
167
61
|
requirements: []
|
168
|
-
rubygems_version: 3.
|
169
|
-
signing_key:
|
62
|
+
rubygems_version: 3.2.7
|
63
|
+
signing_key:
|
170
64
|
specification_version: 4
|
171
65
|
summary: Provides rollbar tasks for tomo
|
172
66
|
test_files: []
|
data/.gitignore
DELETED
data/.prettierignore
DELETED
data/.rubocop.yml
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
require: rubocop-performance
|
2
|
-
|
3
|
-
AllCops:
|
4
|
-
DisplayCopNames: true
|
5
|
-
DisplayStyleGuide: true
|
6
|
-
TargetRubyVersion: 2.4
|
7
|
-
Exclude:
|
8
|
-
- "tmp/**/*"
|
9
|
-
- "vendor/**/*"
|
10
|
-
|
11
|
-
Metrics/AbcSize:
|
12
|
-
Max: 16
|
13
|
-
Exclude:
|
14
|
-
- "test/**/*"
|
15
|
-
|
16
|
-
Metrics/BlockLength:
|
17
|
-
Exclude:
|
18
|
-
- "*.gemspec"
|
19
|
-
- "Rakefile"
|
20
|
-
|
21
|
-
Metrics/ClassLength:
|
22
|
-
Exclude:
|
23
|
-
- "test/**/*"
|
24
|
-
|
25
|
-
Metrics/MethodLength:
|
26
|
-
Exclude:
|
27
|
-
- "test/**/*"
|
28
|
-
|
29
|
-
Metrics/LineLength:
|
30
|
-
Exclude:
|
31
|
-
- "*.gemspec"
|
32
|
-
|
33
|
-
Layout/AlignHash:
|
34
|
-
EnforcedColonStyle:
|
35
|
-
- table
|
36
|
-
- key
|
37
|
-
EnforcedHashRocketStyle:
|
38
|
-
- table
|
39
|
-
- key
|
40
|
-
|
41
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
42
|
-
EnforcedStyle: no_space
|
43
|
-
|
44
|
-
Naming/MemoizedInstanceVariableName:
|
45
|
-
Enabled: false
|
46
|
-
|
47
|
-
Naming/VariableNumber:
|
48
|
-
Enabled: false
|
49
|
-
|
50
|
-
Style/BarePercentLiterals:
|
51
|
-
EnforcedStyle: percent_q
|
52
|
-
|
53
|
-
Style/ClassAndModuleChildren:
|
54
|
-
Enabled: false
|
55
|
-
|
56
|
-
Style/Documentation:
|
57
|
-
Enabled: false
|
58
|
-
|
59
|
-
Style/DoubleNegation:
|
60
|
-
Enabled: false
|
61
|
-
|
62
|
-
Style/EmptyMethod:
|
63
|
-
Enabled: false
|
64
|
-
|
65
|
-
Style/FrozenStringLiteralComment:
|
66
|
-
Enabled: false
|
67
|
-
|
68
|
-
Style/HashSyntax:
|
69
|
-
EnforcedStyle: ruby19
|
70
|
-
|
71
|
-
Style/StringLiterals:
|
72
|
-
EnforcedStyle: double_quotes
|
73
|
-
|
74
|
-
Style/TrivialAccessors:
|
75
|
-
AllowPredicates: true
|
data/.travis.yml
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
2
|
-
|
3
|
-
## Our Pledge
|
4
|
-
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
-
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
-
orientation.
|
11
|
-
|
12
|
-
## Our Standards
|
13
|
-
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
15
|
-
include:
|
16
|
-
|
17
|
-
* Using welcoming and inclusive language
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
19
|
-
* Gracefully accepting constructive criticism
|
20
|
-
* Focusing on what is best for the community
|
21
|
-
* Showing empathy towards other community members
|
22
|
-
|
23
|
-
Examples of unacceptable behavior by participants include:
|
24
|
-
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
-
advances
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
-
* Public or private harassment
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
30
|
-
address, without explicit permission
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
-
professional setting
|
33
|
-
|
34
|
-
## Our Responsibilities
|
35
|
-
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
38
|
-
response to any instances of unacceptable behavior.
|
39
|
-
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
-
threatening, offensive, or harmful.
|
45
|
-
|
46
|
-
## Scope
|
47
|
-
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
-
when an individual is representing the project or its community. Examples of
|
50
|
-
representing a project or community include using an official project e-mail
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
53
|
-
further defined and clarified by project maintainers.
|
54
|
-
|
55
|
-
## Enforcement
|
56
|
-
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at opensource@mattbrictson.com. All
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
63
|
-
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
66
|
-
members of the project's leadership.
|
67
|
-
|
68
|
-
## Attribution
|
69
|
-
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
-
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
-
|
73
|
-
[homepage]: http://contributor-covenant.org
|
74
|
-
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,101 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
require "rake/testtask"
|
3
|
-
require "rubocop/rake_task"
|
4
|
-
|
5
|
-
task default: %i[test rubocop]
|
6
|
-
|
7
|
-
RuboCop::RakeTask.new
|
8
|
-
|
9
|
-
Rake::TestTask.new("test") do |t|
|
10
|
-
t.libs << "test"
|
11
|
-
t.libs << "lib"
|
12
|
-
t.test_files = FileList["test/**/*_test.rb"]
|
13
|
-
end
|
14
|
-
|
15
|
-
task bump: %w[bump:bundler bump:ruby bump:year]
|
16
|
-
|
17
|
-
namespace :bump do
|
18
|
-
task :bundler do
|
19
|
-
version = Gemfile.bundler_version
|
20
|
-
replace_in_file ".travis.yml", /bundler -v (\S+)/ => version
|
21
|
-
end
|
22
|
-
|
23
|
-
task :ruby do
|
24
|
-
lowest = RubyVersions.lowest_supported
|
25
|
-
lowest_minor = RubyVersions.lowest_supported_minor
|
26
|
-
|
27
|
-
replace_in_file "tomo-plugin-rollbar.gemspec",
|
28
|
-
/ruby_version = ">= (.*)"/ => lowest
|
29
|
-
replace_in_file ".rubocop.yml", /TargetRubyVersion: (.*)/ => lowest_minor
|
30
|
-
|
31
|
-
travis = YAML.safe_load(open(".travis.yml"))
|
32
|
-
travis["rvm"] = RubyVersions.latest_supported_patches + ["ruby-head"]
|
33
|
-
IO.write(".travis.yml", YAML.dump(travis))
|
34
|
-
end
|
35
|
-
|
36
|
-
task :year do
|
37
|
-
replace_in_file "LICENSE.txt", /\(c\) (\d+)/ => Date.today.year.to_s
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
require "date"
|
42
|
-
require "open-uri"
|
43
|
-
require "yaml"
|
44
|
-
|
45
|
-
def replace_in_file(path, replacements)
|
46
|
-
contents = IO.read(path)
|
47
|
-
orig_contents = contents.dup
|
48
|
-
replacements.each do |regexp, text|
|
49
|
-
contents.gsub!(regexp) do |match|
|
50
|
-
match[regexp, 1] = text
|
51
|
-
match
|
52
|
-
end
|
53
|
-
end
|
54
|
-
IO.write(path, contents) if contents != orig_contents
|
55
|
-
end
|
56
|
-
|
57
|
-
module Gemfile
|
58
|
-
class << self
|
59
|
-
def bundler_version
|
60
|
-
lock_file[/BUNDLED WITH\n (\S+)$/, 1]
|
61
|
-
end
|
62
|
-
|
63
|
-
private
|
64
|
-
|
65
|
-
def lock_file
|
66
|
-
@_lock_file ||= IO.read("Gemfile.lock")
|
67
|
-
end
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
module RubyVersions
|
72
|
-
class << self
|
73
|
-
def lowest_supported
|
74
|
-
"#{lowest_supported_minor}.0"
|
75
|
-
end
|
76
|
-
|
77
|
-
def lowest_supported_minor
|
78
|
-
latest_supported_patches.first[/\d+\.\d+/]
|
79
|
-
end
|
80
|
-
|
81
|
-
def latest
|
82
|
-
latest_supported_patches.last
|
83
|
-
end
|
84
|
-
|
85
|
-
def latest_supported_patches
|
86
|
-
patches = [versions[:stable], versions[:security_maintenance]].flatten
|
87
|
-
patches.map(&Gem::Version.method(:new)).sort.map(&:to_s)
|
88
|
-
end
|
89
|
-
|
90
|
-
private
|
91
|
-
|
92
|
-
def versions
|
93
|
-
@_versions ||= begin
|
94
|
-
yaml = open(
|
95
|
-
"https://raw.githubusercontent.com/ruby/www.ruby-lang.org/master/_data/downloads.yml"
|
96
|
-
)
|
97
|
-
YAML.safe_load(yaml, symbolize_names: true)
|
98
|
-
end
|
99
|
-
end
|
100
|
-
end
|
101
|
-
end
|
data/tomo-plugin-rollbar.gemspec
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
lib = File.expand_path("lib", __dir__)
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require "tomo/plugin/rollbar/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "tomo-plugin-rollbar"
|
7
|
-
spec.version = Tomo::Plugin::Rollbar::VERSION
|
8
|
-
spec.authors = ["Matt Brictson"]
|
9
|
-
spec.email = ["opensource@mattbrictson.com"]
|
10
|
-
|
11
|
-
spec.summary = "Provides rollbar tasks for tomo"
|
12
|
-
spec.homepage = "https://github.com/mattbrictson/tomo-plugin-rollbar"
|
13
|
-
spec.license = "MIT"
|
14
|
-
|
15
|
-
spec.metadata = {
|
16
|
-
"bug_tracker_uri" => "https://github.com/mattbrictson/tomo-plugin-rollbar/issues",
|
17
|
-
"changelog_uri" => "https://github.com/mattbrictson/tomo-plugin-rollbar/releases",
|
18
|
-
"homepage_uri" => "https://github.com/mattbrictson/tomo-plugin-rollbar",
|
19
|
-
"source_code_uri" => "https://github.com/mattbrictson/tomo-plugin-rollbar"
|
20
|
-
}
|
21
|
-
|
22
|
-
# Specify which files should be added to the gem when it is released.
|
23
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
25
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(docs|test|spec|features)/}) }
|
26
|
-
end
|
27
|
-
spec.bindir = "exe"
|
28
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
|
-
spec.require_paths = ["lib"]
|
30
|
-
|
31
|
-
spec.required_ruby_version = ">= 2.4.0"
|
32
|
-
|
33
|
-
spec.add_dependency "tomo"
|
34
|
-
|
35
|
-
spec.add_development_dependency "bundler", "~> 2.0"
|
36
|
-
spec.add_development_dependency "minitest", "~> 5.11"
|
37
|
-
spec.add_development_dependency "minitest-reporters", "~> 1.3"
|
38
|
-
spec.add_development_dependency "rake", "~> 12.3"
|
39
|
-
spec.add_development_dependency "rubocop", "0.71.0"
|
40
|
-
spec.add_development_dependency "rubocop-performance", "1.3.0"
|
41
|
-
spec.add_development_dependency "webmock", "~> 3.6"
|
42
|
-
end
|