Skip to content

Commit

Permalink
Merge pull request #30 from kerrizor/github-29_stack-to-deep
Browse files Browse the repository at this point in the history
reverts change to bin that was autogenerated by RubyGems
  • Loading branch information
kerrizor committed Jun 3, 2014
2 parents 316552b + 7ba6a5f commit b8e1869
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
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)
Expand Down
29 changes: 10 additions & 19 deletions bin/bule
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
2 changes: 1 addition & 1 deletion lib/turbulence/version.rb
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

0 comments on commit b8e1869

Please sign in to comment.