hoe-mercurial 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +21 -9
- data/History.rdoc +5 -0
- data/lib/hoe/mercurial.rb +9 -8
- metadata +36 -49
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 96f507be1ed00f226d2ae7f71c65e7902b6b77e4
|
4
|
+
data.tar.gz: 38abe6e5413a02583aba76d65c5e8040af95d5e6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4fbfbfe323eccc5c5378c6f72488ed3e13ec86b07915e48d74e2080fe07029c3e7de72b1e7c4053a14128b0d0d1c4d7abadbbe64597159340d114dbba88fea4a
|
7
|
+
data.tar.gz: 1ab2755433a7c414c7c0eeded449463d80e729d64734bcb0cc32d5d36a4d983b58d295e9c61a0fa3c2720d037f803a61af4c556b9ba00a60b5406f7cc34b00a2
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,8 +1,22 @@
|
|
1
|
+
2014-04-05 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* History.rdoc, lib/hoe/mercurial.rb:
|
4
|
+
Bump the patch version, update history.
|
5
|
+
[f357a4b89646] [tip]
|
6
|
+
|
7
|
+
* lib/hoe/mercurial.rb:
|
8
|
+
Use pessimistic versioning for added dev dep
|
9
|
+
[707dacd7b34d]
|
10
|
+
|
11
|
+
* .rvmrc:
|
12
|
+
Update rvmrc
|
13
|
+
[586da5dbf583]
|
14
|
+
|
1
15
|
2012-03-28 Michael Granger <ged@FaerieMUD.org>
|
2
16
|
|
3
17
|
* .hgtags:
|
4
18
|
Added tag v1.4.0 for changeset 6836b1629c14
|
5
|
-
[1426def6dd72]
|
19
|
+
[1426def6dd72]
|
6
20
|
|
7
21
|
* .hgsigs:
|
8
22
|
Added signature for changeset dc5d4164b836
|
@@ -119,7 +133,7 @@
|
|
119
133
|
|
120
134
|
* .hgtags:
|
121
135
|
Added tag v1.2.1 for changeset 83ba29609927
|
122
|
-
[2a9c0c286861]
|
136
|
+
[2a9c0c286861]
|
123
137
|
|
124
138
|
* .hgsigs:
|
125
139
|
Added signature for changeset 49f7b2f6512b
|
@@ -195,8 +209,8 @@
|
|
195
209
|
Use Hoe.add_include_dirs instead of require_relative.
|
196
210
|
|
197
211
|
diff --git a/Rakefile b/Rakefile
|
198
|
-
--- a/Rakefile +++ b/Rakefile @@ -4,16 +4,7 @@ require 'hoe'
|
199
|
-
|
212
|
+
--- a/Rakefile +++ b/Rakefile @@ -4,16 +4,7 @@ require 'hoe' require
|
213
|
+
'rake/clean'
|
200
214
|
|
201
215
|
-# 1.9.2 and later require explicit relative require
|
202
216
|
-if defined?( require_relative )
|
@@ -215,12 +229,10 @@
|
|
215
229
|
--- a/lib/hoe/mercurial.rb +++ b/lib/hoe/mercurial.rb @@ -579,7
|
216
230
|
+579,7 @@
|
217
231
|
|
218
|
-
desc "Check the current code in if
|
219
|
-
tests pass"
|
232
|
+
desc "Check the current code in if tests pass"
|
220
233
|
- task :checkin => ['hg:pull', 'hg:newfiles', :precheckin,
|
221
|
-
COMMIT_MSG_FILE] do + task :checkin =>
|
222
|
-
|
223
|
-
targets = get_target_args()
|
234
|
+
COMMIT_MSG_FILE] do + task :checkin => [:pull, :newfiles,
|
235
|
+
:precheckin, COMMIT_MSG_FILE] do targets = get_target_args()
|
224
236
|
$stderr.puts '---', File.read( COMMIT_MSG_FILE ), '---'
|
225
237
|
ask_for_confirmation( "Continue with checkin?" ) do
|
226
238
|
[9c5dac3e8a16]
|
data/History.rdoc
CHANGED
data/lib/hoe/mercurial.rb
CHANGED
@@ -73,7 +73,7 @@ class Hoe
|
|
73
73
|
attributes = ANSI_ATTRIBUTES.values_at( *attributes ).compact.join(';')
|
74
74
|
|
75
75
|
# $stderr.puts " attr is: %p" % [attributes]
|
76
|
-
if attributes.empty?
|
76
|
+
if attributes.empty?
|
77
77
|
return ''
|
78
78
|
else
|
79
79
|
return "\e[%sm" % attributes
|
@@ -81,7 +81,7 @@ class Hoe
|
|
81
81
|
end
|
82
82
|
|
83
83
|
|
84
|
-
### Colorize the given +string+ with the specified +attributes+ and return it, handling
|
84
|
+
### Colorize the given +string+ with the specified +attributes+ and return it, handling
|
85
85
|
### line-endings, color reset, etc.
|
86
86
|
def colorize( *args )
|
87
87
|
string = ''
|
@@ -126,7 +126,7 @@ class Hoe
|
|
126
126
|
prompt = make_prompt_string( prompt_string )
|
127
127
|
response = readline( prompt ) || ''
|
128
128
|
response.strip!
|
129
|
-
if block_given? && ! yield( response )
|
129
|
+
if block_given? && ! yield( response )
|
130
130
|
error_message( failure_msg + "\n\n" )
|
131
131
|
response = nil
|
132
132
|
end
|
@@ -146,7 +146,7 @@ class Hoe
|
|
146
146
|
begin
|
147
147
|
default ||= '~'
|
148
148
|
response = prompt( "%s [%s]" % [ prompt_string, default ] )
|
149
|
-
response = default.to_s if !response.nil? && response.empty?
|
149
|
+
response = default.to_s if !response.nil? && response.empty?
|
150
150
|
|
151
151
|
trace "Validating response %p" % [ response ]
|
152
152
|
|
@@ -179,7 +179,7 @@ class Hoe
|
|
179
179
|
if result.nil? || result.empty?
|
180
180
|
results << default if default && results.empty?
|
181
181
|
else
|
182
|
-
results << result
|
182
|
+
results << result
|
183
183
|
end
|
184
184
|
end until result.nil? || result.empty?
|
185
185
|
|
@@ -195,7 +195,7 @@ class Hoe
|
|
195
195
|
prompt = 'Continue?'
|
196
196
|
|
197
197
|
# If the description looks like a question, use it for the prompt. Otherwise,
|
198
|
-
# print it out and
|
198
|
+
# print it out and
|
199
199
|
if description.strip.rindex( '?' )
|
200
200
|
prompt = description
|
201
201
|
else
|
@@ -438,7 +438,7 @@ class Hoe
|
|
438
438
|
include Hoe::RakeHelpers,
|
439
439
|
Hoe::MercurialHelpers
|
440
440
|
|
441
|
-
VERSION = '1.4.
|
441
|
+
VERSION = '1.4.1'
|
442
442
|
|
443
443
|
# The name of the file to edit for the commit message
|
444
444
|
COMMIT_MSG_FILE = 'commit-msg.txt'
|
@@ -455,7 +455,8 @@ class Hoe
|
|
455
455
|
self.hg_sign_tags = false
|
456
456
|
self.check_history_on_release = false
|
457
457
|
|
458
|
-
|
458
|
+
minor_version = VERSION[ /^\d+\.\d+/ ]
|
459
|
+
self.extra_dev_deps << ['hoe-mercurial', "~> #{minor_version}"] unless
|
459
460
|
self.name == 'hoe-mercurial'
|
460
461
|
end
|
461
462
|
|
metadata
CHANGED
@@ -1,92 +1,80 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-mercurial
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
5
|
-
prerelease:
|
4
|
+
version: 1.4.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Michael Granger
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain:
|
12
|
-
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
RGVyQ0FhZ01WdURRClUwQkxtV0RGelBHR1dsUGVRQ3JZSENyK0FjSnorTlJu
|
36
|
-
YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
|
37
|
-
Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
|
38
|
-
cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0F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PgehWzzUudjDKzTRd+uyZmxnomBqTCQjT5ucNRph
|
27
|
+
3jZ6bhLNooLQxTjIuHodeGcEMHZdt4Yi7SyPmw5Nry12z6wrDp+5aGps3HsE5WsQ
|
28
|
+
Zq2EuyEOc96g31uoIvjNdieKs+1kE+K+dJDjtw+wTH2i63P7r6N/NfPPXpxsFquo
|
29
|
+
wcYRRrHdR7GhdJeT+V8Q8Bi5bglCUGdx+8scMgkkePc98k9osQHypbACmzO+Bqkv
|
30
|
+
c7ZKPJcWBv0sm81+FCZXNACn2f9jfF8OQinxVs0O052KbGuEQaaiGIYeuuwQE2q6
|
31
|
+
ggcrPfcYeTwWlfZPu2LrBg==
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2014-04-05 00:00:00.000000000 Z
|
40
34
|
dependencies:
|
41
35
|
- !ruby/object:Gem::Dependency
|
42
36
|
name: hoe
|
43
37
|
requirement: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
38
|
requirements:
|
46
39
|
- - ~>
|
47
40
|
- !ruby/object:Gem::Version
|
48
|
-
version: '3.
|
41
|
+
version: '3.9'
|
49
42
|
type: :runtime
|
50
43
|
prerelease: false
|
51
44
|
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
45
|
requirements:
|
54
46
|
- - ~>
|
55
47
|
- !ruby/object:Gem::Version
|
56
|
-
version: '3.
|
48
|
+
version: '3.9'
|
57
49
|
- !ruby/object:Gem::Dependency
|
58
50
|
name: hoe-highline
|
59
51
|
requirement: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
52
|
requirements:
|
62
53
|
- - ~>
|
63
54
|
- !ruby/object:Gem::Version
|
64
|
-
version: 0.0
|
55
|
+
version: 0.1.0
|
65
56
|
type: :development
|
66
57
|
prerelease: false
|
67
58
|
version_requirements: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
59
|
requirements:
|
70
60
|
- - ~>
|
71
61
|
- !ruby/object:Gem::Version
|
72
|
-
version: 0.0
|
62
|
+
version: 0.1.0
|
73
63
|
- !ruby/object:Gem::Dependency
|
74
64
|
name: rdoc
|
75
65
|
requirement: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
66
|
requirements:
|
78
67
|
- - ~>
|
79
68
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
69
|
+
version: '4.0'
|
81
70
|
type: :development
|
82
71
|
prerelease: false
|
83
72
|
version_requirements: !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
73
|
requirements:
|
86
74
|
- - ~>
|
87
75
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
89
|
-
description:
|
76
|
+
version: '4.0'
|
77
|
+
description: "This is a fork of the [hoe-hg](https://bitbucket.org/mml/hoe-hg) \nplugin.
|
90
78
|
I forked it because I use quite a few additional Mercurial \ntasks for my development
|
91
79
|
workflow than are provided by the original, \nand I thought they'd possibly be useful
|
92
80
|
to someone else.\n\nI've offered to push my changes back up to the original, but
|
@@ -109,6 +97,7 @@ files:
|
|
109
97
|
homepage: http://bitbucket.org/ged/hoe-mercurial
|
110
98
|
licenses:
|
111
99
|
- BSD
|
100
|
+
metadata: {}
|
112
101
|
post_install_message:
|
113
102
|
rdoc_options:
|
114
103
|
- --main
|
@@ -116,21 +105,19 @@ rdoc_options:
|
|
116
105
|
require_paths:
|
117
106
|
- lib
|
118
107
|
required_ruby_version: !ruby/object:Gem::Requirement
|
119
|
-
none: false
|
120
108
|
requirements:
|
121
|
-
- -
|
109
|
+
- - '>='
|
122
110
|
- !ruby/object:Gem::Version
|
123
111
|
version: '0'
|
124
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
|
-
none: false
|
126
113
|
requirements:
|
127
|
-
- -
|
114
|
+
- - '>='
|
128
115
|
- !ruby/object:Gem::Version
|
129
116
|
version: '0'
|
130
117
|
requirements: []
|
131
118
|
rubyforge_project: hoe-mercurial
|
132
|
-
rubygems_version:
|
119
|
+
rubygems_version: 2.2.2
|
133
120
|
signing_key:
|
134
|
-
specification_version:
|
121
|
+
specification_version: 4
|
135
122
|
summary: This is a fork of the [hoe-hg](https://bitbucket.org/mml/hoe-hg) plugin
|
136
123
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|