generated from mattbrictson/gem
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4ce1cd
commit ca3276b
Showing
21 changed files
with
79 additions
and
356 deletions.
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Release notes for this project are kept here: https://github.com/mattbrictson/gem/releases | ||
Release notes for this project are kept here: https://github.com/mattbrictson/bundle_update_interactive/releases |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
require_relative "lib/bundle_update_interactive/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "bundle_update_interactive" | ||
spec.version = BundleUpdateInteractive::VERSION | ||
spec.authors = ["Matt Brictson"] | ||
spec.email = ["opensource@mattbrictson.com"] | ||
|
||
spec.summary = "TODO" | ||
spec.homepage = "https://github.com/mattbrictson/bundle_update_interactive" | ||
spec.license = "MIT" | ||
spec.required_ruby_version = ">= 3.1" | ||
|
||
spec.metadata = { | ||
"bug_tracker_uri" => "https://github.com/mattbrictson/bundle_update_interactive/issues", | ||
"changelog_uri" => "https://github.com/mattbrictson/bundle_update_interactive/releases", | ||
"source_code_uri" => "https://github.com/mattbrictson/bundle_update_interactive", | ||
"homepage_uri" => spec.homepage, | ||
"rubygems_mfa_required" => "true" | ||
} | ||
|
||
# Specify which files should be added to the gem when it is released. | ||
spec.files = Dir.glob(%w[LICENSE.txt README.md {exe,lib}/**/*]).reject { |f| File.directory?(f) } | ||
spec.bindir = "exe" | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
|
||
# Runtime dependencies | ||
spec.add_dependency "thor", "~> 1.2" | ||
end |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require "bundle_update_interactive" | ||
BundleUpdateInteractive::CLI.start(ARGV) |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module BundleUpdateInteractive | ||
autoload :CLI, "bundle_update_interactive/cli" | ||
autoload :VERSION, "bundle_update_interactive/version" | ||
autoload :ThorExt, "bundle_update_interactive/thor_ext" | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require "thor" | ||
|
||
module BundleUpdateInteractive | ||
class CLI < Thor | ||
extend ThorExt::Start | ||
|
||
map %w[-v --version] => "version" | ||
|
||
desc "version", "Display bundle_update_interactive version", hide: true | ||
def version | ||
say "bundle_update_interactive/#{VERSION} #{RUBY_DESCRIPTION}" | ||
end | ||
end | ||
end |
2 changes: 1 addition & 1 deletion
2
lib/example/thor_ext.rb → lib/bundle_update_interactive/thor_ext.rb
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
2 changes: 1 addition & 1 deletion
2
lib/example/version.rb → lib/bundle_update_interactive/version.rb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Example | ||
module BundleUpdateInteractive | ||
VERSION = "0.1.0".freeze | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.