-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
8 changed files
with
39 additions
and
38 deletions.
There are no files selected for viewing
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,6 +1,6 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
source 'https://rubygems.org' | ||
|
||
# Specify your gem's dependencies in command_line_boss.gemspec | ||
gemspec |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
require "bundler/setup" | ||
require "command_line_boss" | ||
require 'bundler/setup' | ||
require 'command_line_boss' | ||
|
||
# You can add fixtures and/or initialization code here to make experimenting | ||
# with your gem easier. You can also use a different console, if you like. | ||
|
||
require "irb" | ||
require 'irb' | ||
IRB.start(__FILE__) |
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,28 +1,28 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative "lib/command_line_boss/version" | ||
require_relative 'lib/command_line_boss/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "command_line_boss" | ||
spec.name = 'command_line_boss' | ||
spec.version = CommandLineBoss::VERSION | ||
spec.authors = ["James Couball"] | ||
spec.email = ["[email protected]"] | ||
spec.authors = ['James Couball'] | ||
spec.email = ['[email protected]'] | ||
|
||
spec.summary = "Command Line Boss is a convenience layer over OptionsParser" | ||
spec.summary = 'Command Line Boss is a convenience layer over OptionsParser' | ||
spec.description = <<~DESCRIPTION | ||
Command Line Boss is a convenience layer over OptionsParser. It provides a simple | ||
way to define command line options and arguments, and then parse them into an options | ||
object. | ||
DESCRIPTION | ||
spec.license = "MIT" | ||
spec.required_ruby_version = ">= 3.1.0" | ||
spec.license = 'MIT' | ||
spec.required_ruby_version = '>= 3.1.0' | ||
|
||
spec.metadata["allowed_push_host"] = "https://rubygems.org" | ||
spec.metadata['allowed_push_host'] = 'https://rubygems.org' | ||
|
||
spec.homepage = "https://github.com/main-branch/command_line_boss" | ||
spec.homepage = 'https://github.com/main-branch/command_line_boss' | ||
|
||
spec.metadata["homepage_uri"] = spec.homepage | ||
spec.metadata["source_code_uri"] = "https://github.com/main-branch/command_line_boss" | ||
spec.metadata['homepage_uri'] = spec.homepage | ||
spec.metadata['source_code_uri'] = 'https://github.com/main-branch/command_line_boss' | ||
spec.metadata['changelog_uri'] = "https://rubydoc.info/gems/#{spec.name}/#{spec.version}/file/CHANGELOG.md" | ||
spec.metadata['documentation_uri'] = "https://rubydoc.info/gems/#{spec.name}/#{spec.version}" | ||
|
||
|
@@ -35,21 +35,22 @@ Gem::Specification.new do |spec| | |
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile]) | ||
end | ||
end | ||
spec.bindir = "exe" | ||
spec.bindir = 'exe' | ||
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
spec.require_paths = ['lib'] | ||
|
||
# Uncomment to register a new dependency of your gem | ||
# spec.add_dependency "example-gem", "~> 1.0" | ||
|
||
spec.add_development_dependency 'bundler-audit', '~> 0.9' | ||
spec.add_development_dependency 'fuubar', '~> 2.5' | ||
spec.add_development_dependency "rake", "~> 13.2" | ||
spec.add_development_dependency "rspec", "~> 3.13" | ||
spec.add_development_dependency "rubocop", "~> 1.64" | ||
spec.add_development_dependency "simplecov", "~> 0.22" | ||
spec.add_development_dependency "simplecov-lcov", "~> 0.8" | ||
spec.add_development_dependency 'rake', '~> 13.2' | ||
spec.add_development_dependency 'rspec', '~> 3.13' | ||
spec.add_development_dependency 'rubocop', '~> 1.64' | ||
spec.add_development_dependency 'simplecov', '~> 0.22' | ||
spec.add_development_dependency 'simplecov-lcov', '~> 0.8' | ||
|
||
# For more information and examples about making a new gem, check out our | ||
# guide at: https://bundler.io/guides/creating_gem.html | ||
spec.metadata['rubygems_mfa_required'] = 'true' | ||
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
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,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module CommandLineBoss | ||
VERSION = "0.1.0" | ||
VERSION = '0.1.0' | ||
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
RSpec.describe CommandLineBoss do | ||
it "has a version number" do | ||
it 'has a version number' do | ||
expect(CommandLineBoss::VERSION).not_to be nil | ||
end | ||
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