Last active
September 15, 2023 15:00
-
-
Save halostatue/eea3914ad22e9e19970476310a66fb70 to your computer and use it in GitHub Desktop.
Gem-based test for licensed bug with app_identity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: bug | |
allowed: | |
- mit | |
apps: | |
- source_path: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
# NOTE: This file is not the canonical source of dependencies. Edit the | |
# Rakefile, instead. | |
source "https://rubygems.org/" | |
gemspec | |
# gem "optimist", "~> 3.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
Gem::Specification.new do |spec| | |
spec.name = "licensed-bug" | |
spec.version = "0.0.0" | |
spec.authors = ["Austin Ziegler"] | |
spec.email = ["[email protected]"] | |
spec.summary = "Bug test" | |
spec.description = "Bug test" | |
spec.required_ruby_version = ">= 2.6.0" | |
# Specify which files should be added to the gem when it is released. | |
# The `git ls-files -z` loads the files in the RubyGem that have been added into git. | |
spec.files = Dir.chdir(__dir__) do | |
`git ls-files -z`.split("\x0").reject do |f| | |
(File.expand_path(f) == __FILE__) || | |
f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile]) | |
end | |
end | |
spec.bindir = "exe" | |
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } | |
spec.require_paths = ["lib"] | |
spec.add_dependency "optimist", "~> 3.1" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment