hen 0.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README +1 -1
  2. data/bin/hen +4 -1
  3. data/lib/hen/version.rb +1 -1
  4. data/lib/hens/rdoc.rake +1 -1
  5. metadata +18 -9
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to hen version 0.2.1
5
+ This documentation refers to hen version 0.2.3
6
6
 
7
7
 
8
8
  == DESCRIPTION
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 || 'origin', url)
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
@@ -4,7 +4,7 @@ class Hen
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 2
7
- TINY = 1
7
+ TINY = 3
8
8
 
9
9
  class << self
10
10
 
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(nil, 2)
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
- - 1
9
- version: 0.2.1
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-03-15 00:00:00 +01:00
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
- - --all
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.6
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.