Skip to content

Commit

Permalink
restucture gem
Browse files Browse the repository at this point in the history
  • Loading branch information
Guslington committed May 25, 2020
1 parent b026fe5 commit a36a53f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions cfn_manage.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,32 @@ Gem::Specification.new do |spec|
spec.name = 'cfn_manage'
spec.version = CfnManage::VERSION
spec.summary = 'Manage AWS Cloud Formation stacks'
spec.description = ''
spec.description = 'Start and stop aws resources in a cloudformation stack'
spec.authors = ['Base2Services', 'Nikola Tosic', 'Angus Vine']
spec.homepage = 'https://github.com/base2Services/cfn-start-stop-stack/blob/master/README.md'
spec.email = '[email protected]'
spec.files = FileList['lib/**/*.rb', 'bin/*']
spec.license = "MIT"

# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata["allowed_push_host"] = 'https://rubygems.org'

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/base2services/aws-client-vpn"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end

# 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(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.homepage = 'https://github.com/base2Services/cfn-start-stop-stack/blob/master/README.md'
spec.license = 'MIT'
spec.executables << 'cfn_manage'

spec.required_ruby_version = '~> 2.5'

Expand Down
File renamed without changes.
File renamed without changes.
Empty file removed scripts/.gitkeep
Empty file.

0 comments on commit a36a53f

Please sign in to comment.