hen 0.2.1 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/bin/hen +4 -1
- data/lib/hen/version.rb +1 -1
- data/lib/hens/rdoc.rake +1 -1
- metadata +18 -9
data/README
CHANGED
data/bin/hen
CHANGED
@@ -112,7 +112,10 @@ case action = ARGV.shift
|
|
112
112
|
|
113
113
|
if remote
|
114
114
|
url, label = remote.split('=', 2).reverse
|
115
|
-
system('git', 'remote', 'add', label
|
115
|
+
system('git', 'remote', 'add', label ||= 'origin', url)
|
116
|
+
|
117
|
+
system('git', 'config', 'branch.master.remote', label)
|
118
|
+
system('git', 'config', 'branch.master.merge', 'refs/heads/master')
|
116
119
|
end
|
117
120
|
end
|
118
121
|
}
|
data/lib/hen/version.rb
CHANGED
data/lib/hens/rdoc.rake
CHANGED
@@ -87,7 +87,7 @@ rescue RuntimeError => err
|
|
87
87
|
pages_url = git.url_for_remote(git_remote)
|
88
88
|
clone_dir = ".#{git_branch}"
|
89
89
|
elsif git_remote = git.find_remote(/git@github\.com:/)
|
90
|
-
git_remote, clone_url = git_remote.split
|
90
|
+
git_remote, clone_url = git_remote.split[0..1]
|
91
91
|
clone_dir = ".clone-#{$$}-#{rand(100)}"
|
92
92
|
end
|
93
93
|
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
9
|
+
- 3
|
10
|
+
version: 0.2.3
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Jens Wille
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-07-01 00:00:00 +02:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: ruby-nuggets
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 21
|
27
30
|
segments:
|
28
31
|
- 0
|
29
32
|
- 3
|
@@ -35,9 +38,11 @@ dependencies:
|
|
35
38
|
name: highline
|
36
39
|
prerelease: false
|
37
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
38
42
|
requirements:
|
39
43
|
- - ">="
|
40
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
41
46
|
segments:
|
42
47
|
- 0
|
43
48
|
version: "0"
|
@@ -81,35 +86,39 @@ licenses: []
|
|
81
86
|
|
82
87
|
post_install_message:
|
83
88
|
rdoc_options:
|
84
|
-
- --title
|
85
|
-
- hen Application documentation
|
86
|
-
- --main
|
87
|
-
- README
|
88
89
|
- --line-numbers
|
89
90
|
- --inline-source
|
90
|
-
- --
|
91
|
+
- --main
|
92
|
+
- README
|
91
93
|
- --charset
|
92
94
|
- UTF-8
|
95
|
+
- --title
|
96
|
+
- hen Application documentation
|
97
|
+
- --all
|
93
98
|
require_paths:
|
94
99
|
- lib
|
95
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
96
102
|
requirements:
|
97
103
|
- - ">="
|
98
104
|
- !ruby/object:Gem::Version
|
105
|
+
hash: 3
|
99
106
|
segments:
|
100
107
|
- 0
|
101
108
|
version: "0"
|
102
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
|
+
none: false
|
103
111
|
requirements:
|
104
112
|
- - ">="
|
105
113
|
- !ruby/object:Gem::Version
|
114
|
+
hash: 3
|
106
115
|
segments:
|
107
116
|
- 0
|
108
117
|
version: "0"
|
109
118
|
requirements: []
|
110
119
|
|
111
120
|
rubyforge_project: prometheus
|
112
|
-
rubygems_version: 1.3.
|
121
|
+
rubygems_version: 1.3.7
|
113
122
|
signing_key:
|
114
123
|
specification_version: 3
|
115
124
|
summary: Hoe or Echoe? No, thanks! Just a Rake helper that fits my own personal style.
|