hitch 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +18 -49
- data/lib/hitch.rb +2 -1
- metadata +25 -14
data/Rakefile
CHANGED
@@ -1,52 +1,21 @@
|
|
1
|
-
# Look in the tasks/setup.rb file for the various options that can be
|
2
|
-
# configured in this Rakefile. The .rake files in the tasks directory
|
3
|
-
# are where the options are used.
|
4
|
-
|
5
1
|
begin
|
6
|
-
require '
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
require 'jeweler'
|
3
|
+
require 'lib/hitch'
|
4
|
+
require 'fileutils'
|
5
|
+
Jeweler::Tasks.new do |gemspec|
|
6
|
+
gemspec.name = %q{hitch}
|
7
|
+
gemspec.version = Hitch::VERSION
|
8
|
+
gemspec.summary = %q{Hitch allows developers to be properly credited when Pair Programming and using Git.}
|
9
|
+
gemspec.email = %q{rogelio@therubymug.com}
|
10
|
+
gemspec.homepage = %q{http://github.com/therubymug/hitch}
|
11
|
+
gemspec.has_rdoc = false
|
12
|
+
gemspec.authors = ["Rogelio Samour", "Les Hill"]
|
13
|
+
gemspec.files = %w( README.rdoc Rakefile ) + Dir["{bin,lib}/**/*"].sort
|
14
|
+
gemspec.extra_rdoc_files = ["README.rdoc"]
|
15
|
+
gemspec.executables = ["hitch", "unhitch", "hitchrc"]
|
16
|
+
gemspec.add_dependency('highline', '>= 1.5.0')
|
13
17
|
end
|
18
|
+
Jeweler::GemcutterTasks.new
|
19
|
+
rescue LoadError
|
20
|
+
puts "Jeweler not available. Install it with: gem install jeweler"
|
14
21
|
end
|
15
|
-
|
16
|
-
ensure_in_path 'lib'
|
17
|
-
require 'hitch'
|
18
|
-
|
19
|
-
task :default => 'spec:run'
|
20
|
-
|
21
|
-
PROJ.name = 'hitch'
|
22
|
-
PROJ.authors = 'Rogelio J. Samour (therubymug)'
|
23
|
-
PROJ.email = 'rogelio@therubymug.com'
|
24
|
-
PROJ.url = 'http://github.com/therubymug/hitch'
|
25
|
-
PROJ.version = Hitch::VERSION
|
26
|
-
PROJ.rubyforge.name = 'hitch'
|
27
|
-
PROJ.dependencies = ['highline']
|
28
|
-
PROJ.readme_file = 'README.rdoc'
|
29
|
-
|
30
|
-
PROJ.spec.opts << '--color'
|
31
|
-
|
32
|
-
require 'fileutils'
|
33
|
-
|
34
|
-
spec = Gem::Specification.new do |s|
|
35
|
-
s.name = %q{hitch}
|
36
|
-
s.version = Hitch::VERSION
|
37
|
-
s.summary = %q{Hitch allows developers to be properly credited when Pair Programming and using Git.}
|
38
|
-
s.email = %q{ro@hashrocket.com}
|
39
|
-
s.homepage = %q{http://github.com/therubymug/hitch}
|
40
|
-
s.has_rdoc = false
|
41
|
-
s.authors = ["Rogelio Samour", "Les Hill"]
|
42
|
-
s.files = %w( README.rdoc Rakefile ) + Dir["{bin,lib}/**/*"].sort
|
43
|
-
s.extra_rdoc_files = ["README.rdoc"]
|
44
|
-
s.executables = ["hitch", "unhitch", "hitchrc"]
|
45
|
-
s.add_dependency('highline', '>= 1.5.0')
|
46
|
-
end
|
47
|
-
|
48
|
-
desc "Generate the static gemspec required for github"
|
49
|
-
task :gemspec do
|
50
|
-
open("hitch.gemspec", "w").write(spec.to_ruby)
|
51
|
-
end
|
52
|
-
|
data/lib/hitch.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
require 'highline'
|
2
|
+
require 'yaml'
|
2
3
|
require File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib hitch options]))
|
3
4
|
|
4
5
|
module Hitch
|
5
6
|
|
6
7
|
# :stopdoc:
|
7
|
-
VERSION = '0.5.
|
8
|
+
VERSION = '0.5.3'
|
8
9
|
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
|
9
10
|
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
|
10
11
|
# :startdoc:
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hitch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 5
|
8
|
+
- 3
|
9
|
+
version: 0.5.3
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Rogelio Samour
|
@@ -10,26 +15,29 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date:
|
18
|
+
date: 2010-03-02 00:00:00 -05:00
|
14
19
|
default_executable:
|
15
20
|
dependencies:
|
16
21
|
- !ruby/object:Gem::Dependency
|
17
22
|
name: highline
|
18
|
-
|
19
|
-
|
20
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
21
25
|
requirements:
|
22
26
|
- - ">="
|
23
27
|
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 1
|
30
|
+
- 5
|
31
|
+
- 0
|
24
32
|
version: 1.5.0
|
25
|
-
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
26
35
|
description:
|
27
|
-
email:
|
36
|
+
email: rogelio@therubymug.com
|
28
37
|
executables:
|
29
38
|
- hitch
|
30
39
|
- unhitch
|
31
40
|
- hitchrc
|
32
|
-
- hitchstatus
|
33
41
|
extensions: []
|
34
42
|
|
35
43
|
extra_rdoc_files:
|
@@ -39,6 +47,7 @@ files:
|
|
39
47
|
- Rakefile
|
40
48
|
- bin/hitch
|
41
49
|
- bin/hitchrc
|
50
|
+
- bin/hitchstatus
|
42
51
|
- bin/unhitch
|
43
52
|
- lib/hitch.rb
|
44
53
|
- lib/hitch/options.rb
|
@@ -47,28 +56,30 @@ homepage: http://github.com/therubymug/hitch
|
|
47
56
|
licenses: []
|
48
57
|
|
49
58
|
post_install_message:
|
50
|
-
rdoc_options:
|
51
|
-
|
59
|
+
rdoc_options:
|
60
|
+
- --charset=UTF-8
|
52
61
|
require_paths:
|
53
62
|
- lib
|
54
63
|
required_ruby_version: !ruby/object:Gem::Requirement
|
55
64
|
requirements:
|
56
65
|
- - ">="
|
57
66
|
- !ruby/object:Gem::Version
|
67
|
+
segments:
|
68
|
+
- 0
|
58
69
|
version: "0"
|
59
|
-
version:
|
60
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
71
|
requirements:
|
62
72
|
- - ">="
|
63
73
|
- !ruby/object:Gem::Version
|
74
|
+
segments:
|
75
|
+
- 0
|
64
76
|
version: "0"
|
65
|
-
version:
|
66
77
|
requirements: []
|
67
78
|
|
68
79
|
rubyforge_project:
|
69
|
-
rubygems_version: 1.3.
|
80
|
+
rubygems_version: 1.3.6
|
70
81
|
signing_key:
|
71
|
-
specification_version:
|
82
|
+
specification_version: 3
|
72
83
|
summary: Hitch allows developers to be properly credited when Pair Programming and using Git.
|
73
84
|
test_files: []
|
74
85
|
|