-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from kerrizor/github-29_stack-to-deep
reverts change to bin that was autogenerated by RubyGems
- Loading branch information
Showing
3 changed files
with
12 additions
and
21 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,7 +1,7 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
turbulence (1.2.2) | ||
turbulence (1.2.3) | ||
flog (~> 4.1) | ||
json (>= 1.4.6) | ||
launchy (>= 2.0.0) | ||
|
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,23 +1,14 @@ | ||
#!/usr/bin/env ruby_executable_hooks | ||
# | ||
# This file was generated by RubyGems. | ||
# | ||
# The application 'turbulence' is installed as part of a gem, and | ||
# this file is here to facilitate running it. | ||
# | ||
#!/usr/bin/env ruby | ||
require 'turbulence' | ||
require 'turbulence/checks_environment' | ||
|
||
require 'rubygems' | ||
cli = Turbulence::CommandLineInterface.new(ARGV) | ||
|
||
version = ">= 0" | ||
|
||
if ARGV.first | ||
str = ARGV.first | ||
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding | ||
if str =~ /\A_(.*)_\z/ | ||
version = $1 | ||
ARGV.shift | ||
end | ||
unless Turbulence::ChecksEnvironment.scm_repo?(Dir.pwd) | ||
STDERR.puts "Turbulence could not calculate metrics, as we could not find a repository in the current directory." | ||
STDERR.puts "Please run bule from inside a repository." | ||
exit | ||
end | ||
|
||
gem 'turbulence', version | ||
load Gem.bin_path('turbulence', 'bule', version) | ||
cli.generate_bundle | ||
cli.open_bundle |
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,3 +1,3 @@ | ||
class Turbulence | ||
VERSION = "1.2.2" | ||
VERSION = "1.2.3" | ||
end |