-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a single place to define the Gem Version
- Loading branch information
1 parent
4332366
commit 95c6bfd
Showing
2 changed files
with
4 additions
and
2 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,8 +1,10 @@ | ||
require "rake" | ||
|
||
require 'awesome_print/version' | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
maurogeorge
Author
Collaborator
|
||
|
||
Gem::Specification.new do |s| | ||
s.name = "awesome_print" | ||
s.version = "1.6.2" | ||
s.version = AwesomePrint.version | ||
# s.platform = Gem::Platform::RUBY | ||
s.authors = "Michael Dvorkin" | ||
s.date = Time.now.strftime("%Y-%m-%d") | ||
|
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 @@ | ||
module AwesomePrint | ||
def self.version | ||
'1.6.2' | ||
'2.0.0.beta' | ||
end | ||
end |
This line is causing CI to fail:
I approve of the idea, though; what's the right way to
require_relative
in a multi-version-compatible gem these days?