turbulence 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cc515339556ec42ba24bc366cbabdf099372173
4
- data.tar.gz: 93f14f3ed0ee121baed68d6e9a25d2bc88f5b123
3
+ metadata.gz: 9ddbf7b10c94cfd01747886dd397fa075fcc7dff
4
+ data.tar.gz: b93662fd01158ed29fcc2b9d308a8224582a91d1
5
5
  SHA512:
6
- metadata.gz: 9396fedf8cfabf40b3cf7ecf8f4f09184846bd2c3a9489b0c2210056966bf35a9536f3f75bf5ac465f98b8f32531f1621ade7d24e0643a3b8fe1a373993c82ed
7
- data.tar.gz: 9fcc323fb401edc30a9066d8a3dfe0ecc0c586183dcef4ccc91810a1f7caaac420b64079a7e965575f84520e2f1af122a3c7de31fc43f1ede88de8c1f515fe05
6
+ metadata.gz: 1a3a2ba43cfb5fec98e4f99bea0408ad764d23bb00c77bda2684f58e0dcb5566cedaaab7154a433da560ba8613bdcb80210e4a6472376cd47d465da0f1e07022
7
+ data.tar.gz: f822adff77f5400bbbb9a7d86c8fe8319afd2d0d632b081f842addc18f42a8123d3cf87f5ab1fd8974056a755a16713be35d28a777d4087ad59cc270d8c856c8
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- turbulence (1.2.2)
4
+ turbulence (1.2.3)
5
5
  flog (~> 4.1)
6
6
  json (>= 1.4.6)
7
7
  launchy (>= 2.0.0)
data/bin/bule CHANGED
@@ -1,23 +1,14 @@
1
- #!/usr/bin/env ruby_executable_hooks
2
- #
3
- # This file was generated by RubyGems.
4
- #
5
- # The application 'turbulence' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
1
+ #!/usr/bin/env ruby
2
+ require 'turbulence'
3
+ require 'turbulence/checks_environment'
8
4
 
9
- require 'rubygems'
5
+ cli = Turbulence::CommandLineInterface.new(ARGV)
10
6
 
11
- version = ">= 0"
12
-
13
- if ARGV.first
14
- str = ARGV.first
15
- str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16
- if str =~ /\A_(.*)_\z/
17
- version = $1
18
- ARGV.shift
19
- end
7
+ unless Turbulence::ChecksEnvironment.scm_repo?(Dir.pwd)
8
+ STDERR.puts "Turbulence could not calculate metrics, as we could not find a repository in the current directory."
9
+ STDERR.puts "Please run bule from inside a repository."
10
+ exit
20
11
  end
21
12
 
22
- gem 'turbulence', version
23
- load Gem.bin_path('turbulence', 'bule', version)
13
+ cli.generate_bundle
14
+ cli.open_bundle
@@ -1,3 +1,3 @@
1
1
  class Turbulence
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbulence
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Fowler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-03-08 00:00:00.000000000 Z
13
+ date: 2014-06-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: flog
@@ -159,3 +159,4 @@ test_files:
159
159
  - spec/turbulence/scm/git_spec.rb
160
160
  - spec/turbulence/scm/perforce_spec.rb
161
161
  - spec/turbulence/turbulence_spec.rb
162
+ has_rdoc: