git-style-binaries 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +12 -11
- data/lib/ext/colorize.rb +1 -1
- data/lib/git-style-binary.rb +1 -1
- data/lib/git-style-binary/commands/help.rb +1 -1
- data/lib/git-style-binary/helpers/pager.rb +1 -1
- data/test/running_binaries_test.rb +1 -1
- metadata +13 -24
data/Rakefile
CHANGED
@@ -3,21 +3,21 @@ require 'rake'
|
|
3
3
|
|
4
4
|
begin
|
5
5
|
require 'jeweler'
|
6
|
-
Jeweler::Tasks.new do |
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "git-style-binaries"
|
8
|
+
gem.description = %Q{Ridiculously easy git-style binaries}
|
9
|
+
gem.summary =<<-EOF
|
10
10
|
Add git-style binaries to your project easily.
|
11
11
|
EOF
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
gem.email = "nate@natemurray.com"
|
13
|
+
gem.homepage = "http://github.com/jashmenn/git-style-binaries"
|
14
|
+
gem.authors = ["Nate Murray"]
|
15
|
+
gem.add_dependency 'trollop'
|
16
|
+
gem.add_dependency 'shoulda' # for running the tests
|
17
17
|
|
18
18
|
excludes = /(README\.html)/
|
19
|
-
|
20
|
-
|
19
|
+
gem.files = (FileList["[A-Z]*.*", "{bin,examples,generators,lib,rails,spec,test,vendor}/**/*", 'Rakefile', 'LICENSE*']).delete_if{|f| f =~ excludes}
|
20
|
+
gem.extra_rdoc_files = FileList["README*", "ChangeLog*", "LICENSE*"].delete_if{|f| f =~ excludes}
|
21
21
|
end
|
22
22
|
rescue LoadError
|
23
23
|
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
@@ -47,6 +47,7 @@ end
|
|
47
47
|
task :default => :test
|
48
48
|
|
49
49
|
require 'rake/rdoctask'
|
50
|
+
require 'yaml'
|
50
51
|
Rake::RDocTask.new do |rdoc|
|
51
52
|
if File.exist?('VERSION.yml')
|
52
53
|
config = YAML.load(File.read('VERSION.yml'))
|
data/lib/ext/colorize.rb
CHANGED
@@ -86,7 +86,7 @@ class String
|
|
86
86
|
return self if ENV['NO_COLOR']
|
87
87
|
|
88
88
|
begin
|
89
|
-
require 'Win32/Console/ANSI' if
|
89
|
+
require 'Win32/Console/ANSI' if RUBY_PLATFORM =~ /win32/
|
90
90
|
rescue LoadError
|
91
91
|
raise 'You must gem install win32console to use color on Windows'
|
92
92
|
end
|
data/lib/git-style-binary.rb
CHANGED
@@ -10,7 +10,7 @@ $:.unshift(File.dirname(__FILE__) + "/../vendor/gems")
|
|
10
10
|
begin
|
11
11
|
require 'trollop'
|
12
12
|
rescue LoadError
|
13
|
-
puts "There was an error loading #{library}. Try running
|
13
|
+
puts "There was an error loading #{library}. Try running 'gem install #{library}' to correct the problem"
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
@@ -9,7 +9,7 @@ module GitStyleBinary
|
|
9
9
|
# this is slightly ugly b/c it has to muck around in the internals to
|
10
10
|
# get information about commands other than itself. This isn't a
|
11
11
|
# typical case
|
12
|
-
|
12
|
+
self.class.send :define_method, :educate_about_command do |name|
|
13
13
|
load_all_commands
|
14
14
|
if GitStyleBinary.known_commands.has_key?(name)
|
15
15
|
cmd = GitStyleBinary.known_commands[name]
|
metadata
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-style-binaries
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 0
|
7
|
-
- 1
|
8
|
-
- 10
|
9
|
-
version: 0.1.10
|
4
|
+
version: 0.1.11
|
10
5
|
platform: ruby
|
11
6
|
authors:
|
12
7
|
- Nate Murray
|
@@ -14,33 +9,29 @@ autorequire:
|
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
11
|
|
17
|
-
date: 2010-
|
12
|
+
date: 2010-02-04 00:00:00 -08:00
|
18
13
|
default_executable:
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
16
|
name: trollop
|
22
|
-
|
23
|
-
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
20
|
requirements:
|
25
21
|
- - ">="
|
26
22
|
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 0
|
29
23
|
version: "0"
|
30
|
-
|
31
|
-
version_requirements: *id001
|
24
|
+
version:
|
32
25
|
- !ruby/object:Gem::Dependency
|
33
26
|
name: shoulda
|
34
|
-
|
35
|
-
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - ">="
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
segments:
|
40
|
-
- 0
|
41
33
|
version: "0"
|
42
|
-
|
43
|
-
version_requirements: *id002
|
34
|
+
version:
|
44
35
|
description: Ridiculously easy git-style binaries
|
45
36
|
email: nate@natemurray.com
|
46
37
|
executables: []
|
@@ -86,20 +77,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
86
77
|
requirements:
|
87
78
|
- - ">="
|
88
79
|
- !ruby/object:Gem::Version
|
89
|
-
segments:
|
90
|
-
- 0
|
91
80
|
version: "0"
|
81
|
+
version:
|
92
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
83
|
requirements:
|
94
84
|
- - ">="
|
95
85
|
- !ruby/object:Gem::Version
|
96
|
-
segments:
|
97
|
-
- 0
|
98
86
|
version: "0"
|
87
|
+
version:
|
99
88
|
requirements: []
|
100
89
|
|
101
90
|
rubyforge_project:
|
102
|
-
rubygems_version: 1.3.
|
91
|
+
rubygems_version: 1.3.5
|
103
92
|
signing_key:
|
104
93
|
specification_version: 3
|
105
94
|
summary: Add git-style binaries to your project easily.
|