Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rake task to build release packages that bundle traveling ruby #19

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Extract VERSION constant
The gem version needs to be referenced in multiple places so a `Parity::VERSION`
constant was extracted to hold this value.
  • Loading branch information
JoelQ committed Jan 5, 2015
commit ffe920cf2f53f27426a0ee820b0e4df7ba9dd3b8
3 changes: 3 additions & 0 deletions lib/parity.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
$LOAD_PATH << File.expand_path("..", __FILE__)

require "parity/version"
require "parity/configuration"
require "parity/environment"
require "parity/usage"
Expand Down
3 changes: 3 additions & 0 deletions lib/parity/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Parity
VERSION = "0.4.1"
end
4 changes: 3 additions & 1 deletion parity.gemspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require File.expand_path("../lib/parity/version", __FILE__)

Gem::Specification.new do |spec|
spec.authors = ["Dan Croak"]

Expand All @@ -14,5 +16,5 @@ Gem::Specification.new do |spec|
spec.name = "parity"
spec.require_paths = ["lib"]
spec.summary = "Shell commands for development, staging, and production parity."
spec.version = "0.4.1"
spec.version = Parity::VERSION
end