-
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.
Makes
git-version-bump
a development-only dependency
- Loading branch information
1 parent
006c08f
commit 22d341d
Showing
5 changed files
with
62 additions
and
6 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
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 |
---|---|---|
|
@@ -11,4 +11,5 @@ gem 'rspec', '~> 3.0' | |
|
||
gem 'rubocop', '~> 1.21' | ||
gem 'rubocop-performance' | ||
gem 'git-version-bump' | ||
|
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,12 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'git-version-bump' | ||
require_relative 'lib/corgibytes/freshli/commons/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'freshli-commons' | ||
|
||
spec.version = GVB.version | ||
spec.date = GVB.date | ||
spec.version = Corgibytes::Freshli::Commons::VERSION | ||
|
||
spec.authors = ['M. Scott Ford'] | ||
spec.email = ['[email protected]'] | ||
|
@@ -27,6 +26,7 @@ Gem::Specification.new do |spec| | |
end | ||
# include gRPC generated files in the gem | ||
generated_files = Dir.glob('lib/corgibytes/freshli/commons/step_definitions/grpc/*.rb') | ||
generated_files += ['lib/corgibytes/freshli/commons/version.rb'] | ||
git_files + generated_files | ||
end | ||
spec.bindir = 'exe' | ||
|
@@ -40,7 +40,6 @@ Gem::Specification.new do |spec| | |
spec.add_dependency 'grpc-tools' | ||
spec.add_dependency 'rspec-expectations' | ||
spec.add_dependency 'sqlite3' | ||
spec.add_dependency 'git-version-bump' | ||
|
||
# For more information and examples about making a new gem, check out our | ||
# guide at: https://bundler.io/guides/creating_gem.html | ||
|
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,9 @@ | ||
module Corgibytes | ||
module Freshli | ||
module Commons | ||
# The actual version number is generated by the git-version-bump gem | ||
# before the gem is built. | ||
VERSION = "0.0.0" | ||
end | ||
end | ||
end |