git-style-binaries 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  require 'git-style-binary'
2
+ require "pp"
2
3
 
3
4
  module GitStyleBinary
4
5
  def self.command(&block)
@@ -34,7 +35,7 @@ module GitStyleBinary
34
35
  version "#{version_string} (c) #{Time.now.year}"
35
36
  banner <<-EOS
36
37
  #{"SYNOPSIS".colorize(:red)}
37
- #{command.full_name.colorize(:light_blue)} #{all_options_string}
38
+ #{command.full_name.colorize(:light_blue)} #{all_options_string} COMMAND [ARGS]
38
39
 
39
40
  #{"SUBCOMMANDS".colorize(:red)}
40
41
  \#{GitStyleBinary.pretty_known_subcommands.join("\n ")}
@@ -207,8 +207,7 @@ class Parser < Trollop::Parser
207
207
  end
208
208
 
209
209
  def all_options_string
210
- # '#{spec_names.collect(&:to_s).collect{|name| "[".colorize(:magenta) + "--" + name + "]".colorize(:magenta)}.join(" ")} COMMAND [ARGS]'
211
- '#{spec_names.collect(&:to_s).collect{|name| "[" + "--" + name + "]"}.join(" ")} COMMAND [ARGS]'
210
+ '#{spec_names.collect(&:to_s).collect{|name| "[" + "--" + name + "]"}.join(" ")}'
212
211
  end
213
212
 
214
213
  def run(&block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-style-binaries
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2010-02-04 00:00:00.000000000 Z
12
+ date: 2010-02-04 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: trollop
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70197990132200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
24
+ version_requirements: *70197990132200
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: shoulda
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70197990129660 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,12 +32,7 @@ dependencies:
37
32
  version: '0'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *70197990129660
46
36
  description: Ridiculously easy git-style binaries
47
37
  email: nate@natemurray.com
48
38
  executables: []
@@ -94,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
84
  version: '0'
95
85
  requirements: []
96
86
  rubyforge_project:
97
- rubygems_version: 1.8.24
87
+ rubygems_version: 1.8.17
98
88
  signing_key:
99
89
  specification_version: 3
100
90
  summary: Add git-style binaries to your project easily.