tomo-plugin-rollbar 0.1.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b24254f3aeca5bc4e055c68734891d660411ace7a08190e3d882e24da70c478c
4
- data.tar.gz: 01c56f73a7e4e24c44808d5fab7045b5aae02dfca598909a69e519a0ac88aaf1
3
+ metadata.gz: 0ff52d8d1a1cbe3ab45d499c6b921c1aa6b4cef64f32965e5eab47f73e618e70
4
+ data.tar.gz: df0382c4326d041e04ec2315b29ee115315171584ee0d5ca9a8d2b17d27a960d
5
5
  SHA512:
6
- metadata.gz: ab25f7873f8221a3eadaef4ab7ffa7d51787390c148714c98e900ef7ca34b08ef9f85c63594b16a841dde1f6f73aac4c5c88323948e4f72d0aceb5d0cee5b415
7
- data.tar.gz: 1df216b06a7f21fc2b6f7f3a73bb02b5a3dc37df580b38d8a4ac5b9fef4539ccfeffa6e49714eaa78273a4b895423c14ca28f0a280364a428045c8925e2f9dea
6
+ metadata.gz: c27761fb7b00025147f101342b01d7ba7f825e9af619ce376f5b10a87cac2b7c78c5d1e2bbdbc8a87b4a4533dd334abeadca43d1d6646eec045aa33b9eb3aac7
7
+ data.tar.gz: 693f5d62ed9ba29c94c6536e22d0c866186d7c5bda394c3b884df8ce013b5f973fe7dc3e571af39f1e8a7128fff1cc22f5790933f147324ac94a285498f9ea63
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019 Matt Brictson
3
+ Copyright (c) 2021 Matt Brictson
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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
- [![Travis](https://img.shields.io/travis/mattbrictson/tomo-plugin-rollbar.svg?label=travis)](https://travis-ci.org/mattbrictson/tomo-plugin-rollbar)
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
- ## Contributing
66
+ ## Support
56
67
 
57
- Bug reports and pull requests are welcome.
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](https://opensource.org/licenses/MIT).
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
- ## Code of Conduct
78
+ ## Contribution guide
64
79
 
65
- Everyone interacting in this project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/mattbrictson/tomo-plugin-rollbar/blob/master/CODE_OF_CONDUCT.md).
80
+ Pull requests are welcome!
@@ -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
- module Rollbar
7
- extend Tomo::PluginDSL
5
+ module Tomo::Plugin::Rollbar
6
+ extend Tomo::PluginDSL
8
7
 
9
- tasks Tomo::Plugin::Rollbar::Tasks
8
+ tasks Tomo::Plugin::Rollbar::Tasks
10
9
 
11
- defaults rollbar_env: nil,
12
- rollbar_token: nil
13
- end
10
+ defaults rollbar_env: nil,
11
+ rollbar_token: nil
14
12
  end
@@ -1,7 +1,8 @@
1
1
  module Tomo
2
2
  module Plugin
3
- module Rollbar
4
- VERSION = "0.1.1".freeze
5
- end
6
3
  end
7
4
  end
5
+
6
+ module Tomo::Plugin::Rollbar
7
+ VERSION = "1.1.0".freeze
8
+ end
metadata CHANGED
@@ -1,150 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomo-plugin-rollbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.1.0
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: 2019-06-26 00:00:00.000000000 Z
11
+ date: 2021-06-06 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.3'
69
- - !ruby/object:Gem::Dependency
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.4.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.4.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: '3.6'
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
- - ".github/main.workflow"
133
- - ".github/release-drafter.yml"
134
- - ".gitignore"
135
- - ".prettierignore"
136
- - ".rubocop.yml"
137
- - ".travis.yml"
138
- - CHANGELOG.md
139
- - CODE_OF_CONDUCT.md
140
- - Gemfile
141
34
  - LICENSE.txt
142
35
  - README.md
143
- - Rakefile
144
36
  - lib/tomo/plugin/rollbar.rb
145
37
  - lib/tomo/plugin/rollbar/tasks.rb
146
38
  - lib/tomo/plugin/rollbar/version.rb
147
- - tomo-plugin-rollbar.gemspec
148
39
  homepage: https://github.com/mattbrictson/tomo-plugin-rollbar
149
40
  licenses:
150
41
  - MIT
@@ -153,7 +44,7 @@ metadata:
153
44
  changelog_uri: https://github.com/mattbrictson/tomo-plugin-rollbar/releases
154
45
  homepage_uri: https://github.com/mattbrictson/tomo-plugin-rollbar
155
46
  source_code_uri: https://github.com/mattbrictson/tomo-plugin-rollbar
156
- post_install_message:
47
+ post_install_message:
157
48
  rdoc_options: []
158
49
  require_paths:
159
50
  - lib
@@ -161,15 +52,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
52
  requirements:
162
53
  - - ">="
163
54
  - !ruby/object:Gem::Version
164
- version: 2.4.0
55
+ version: 2.6.0
165
56
  required_rubygems_version: !ruby/object:Gem::Requirement
166
57
  requirements:
167
58
  - - ">="
168
59
  - !ruby/object:Gem::Version
169
60
  version: '0'
170
61
  requirements: []
171
- rubygems_version: 3.0.4
172
- signing_key:
62
+ rubygems_version: 3.2.19
63
+ signing_key:
173
64
  specification_version: 4
174
65
  summary: Provides rollbar tasks for tomo
175
66
  test_files: []
@@ -1,9 +0,0 @@
1
- workflow "Push" {
2
- on = "push"
3
- resolves = ["Draft Release"]
4
- }
5
-
6
- action "Draft Release" {
7
- uses = "toolmantim/release-drafter@v5.1.1"
8
- secrets = ["GITHUB_TOKEN"]
9
- }
@@ -1,17 +0,0 @@
1
- name-template: "$NEXT_PATCH_VERSION"
2
- tag-template: "v$NEXT_PATCH_VERSION"
3
- categories:
4
- - title: "⚠️ Breaking Changes"
5
- label: "⚠️ Breaking"
6
- - title: "✨ New Features"
7
- label: "✨ Feature"
8
- - title: "🐛 Bug Fixes"
9
- label: "🐛 Bug Fix"
10
- - title: "📚 Documentation"
11
- label: "📚 Docs"
12
- - title: "🏠 Housekeeping"
13
- label: "🏠 Housekeeping"
14
- change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
15
- no-changes-template: "- No changes"
16
- template: |
17
- $CHANGES
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
- /Gemfile.lock
data/.prettierignore DELETED
@@ -1,2 +0,0 @@
1
- /.travis.yml
2
- /CODE_OF_CONDUCT.md
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
@@ -1,14 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- branches:
6
- only:
7
- - master
8
- rvm:
9
- - 2.4.6
10
- - 2.5.5
11
- - 2.6.3
12
- - ruby-head
13
- before_install: gem install bundler -v 2.0.1
14
- script: bundle exec rake
data/CHANGELOG.md DELETED
@@ -1 +0,0 @@
1
- Release notes for this project are kept here: https://github.com/mattbrictson/tomo-plugin-rollbar/releases
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
@@ -1,4 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in tomo-plugin-rollbar.gemspec
4
- gemspec
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
@@ -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.4.0"
41
- spec.add_development_dependency "webmock", "~> 3.6"
42
- end