hoe-mercurial 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/ChangeLog +60 -2
  2. data/History.md +21 -0
  3. data/Rakefile +5 -3
  4. data/lib/hoe/mercurial.rb +5 -4
  5. metadata +12 -13
data/ChangeLog CHANGED
@@ -1,8 +1,66 @@
1
+ 2011-02-01 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * .hgtags:
4
+ Added tag v1.2.1 for changeset 83ba29609927
5
+ [2a9c0c286861] [master, tip]
6
+
7
+ * .hgsigs:
8
+ Added signature for changeset 49f7b2f6512b
9
+ [83ba29609927] [v1.2.1]
10
+
11
+ * History.md, Rakefile:
12
+ Update history, make hoe dependency less-pessimistic.
13
+ [49f7b2f6512b]
14
+
15
+ 2011-01-13 Michael Granger <ged@FaerieMUD.org>
16
+
17
+ * lib/hoe/mercurial.rb:
18
+ Bumping version.
19
+ [40437c57c51a]
20
+
21
+ * Rakefile, lib/hoe/mercurial.rb:
22
+ Consistency fixes.
23
+ [8df184163622]
24
+
25
+ 2011-01-07 Michael Granger <ged@FaerieMUD.org>
26
+
27
+ * Rakefile, lib/hoe/mercurial.rb:
28
+ Fixed the add_include_dirs call, describe the 'ci' task
29
+ [6fccb9d4c83f] [github/master]
30
+
31
+ 2011-01-05 Michael Granger <ged@FaerieMUD.org>
32
+
33
+ * .hgtags:
34
+ Added tag v1.2.0 for changeset bcbb1ff4a291
35
+ [c3e64a0b167b]
36
+
37
+ * .hgsigs:
38
+ Added signature for changeset e57850fcbb4c
39
+ [bcbb1ff4a291] [v1.2.0]
40
+
41
+ * lib/hoe/mercurial.rb:
42
+ Removed old attributes:
43
+ * 'hg_repo', the task now just uses the Mercurial 'default' or
44
+ 'default-push' path.
45
+ * 'hg_release_branch', which wasn't really used as a branch
46
+
47
+ hoe-mercurial now injects itself as a dev dependency.
48
+ [e57850fcbb4c]
49
+
1
50
  2011-01-04 Michael Granger <ged@FaerieMUD.org>
2
51
 
52
+ * Rakefile:
53
+ Set the ENV[VERSION]' to the spec.version, since there's a guard
54
+ against double-releasing already based on hg tags
55
+ [c66b0b668360]
56
+
57
+ * History.md:
58
+ Belatedly updating the History file.
59
+ [ee3f16eb9ae4]
60
+
3
61
  * .hgtags:
4
62
  Added tag v1.1.1 for changeset d28926dedd51
5
- [bb77ac28bc62] [master, tip]
63
+ [bb77ac28bc62]
6
64
 
7
65
  * .hgsigs:
8
66
  Added signature for changeset 245a995c1ba4
@@ -10,7 +68,7 @@
10
68
 
11
69
  * lib/hoe/mercurial.rb:
12
70
  Version bump to 1.1.1.
13
- [245a995c1ba4] [github/master]
71
+ [245a995c1ba4]
14
72
 
15
73
  * lib/hoe/mercurial.rb:
16
74
  Simplify the hg:checkin prerequisites list
data/History.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## 1.2.1 [2011-02-01] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ Bugfixes:
4
+
5
+ * Update Hoe dependency
6
+ * Consistency fixes.
7
+ * Fixed the add_include_dirs call, describe the 'ci' task
8
+ * Updated hoe dependency
9
+
10
+ ## 1.2.0 [2011-01-05] Michael Granger <ged@FaerieMUD.org>
11
+
12
+ Removed old attributes:
13
+
14
+ * 'hg_repo', the task now just uses the Mercurial 'default' or 'default-push' path.
15
+ * 'hg_release_branch', which wasn't really used as a branch
16
+
17
+ Enhancements:
18
+
19
+ * hoe-mercurial now injects itself as a dev dependency.
20
+
1
21
 
2
22
  ## 1.1.1 [2011-01-04] Michael Granger <ged@FaerieMUD.org>
3
23
 
@@ -8,3 +28,4 @@ Simplified the hg:checkin task.
8
28
 
9
29
  Initial release after forking from hoe-hg.
10
30
 
31
+
data/Rakefile CHANGED
@@ -4,7 +4,7 @@
4
4
  require 'hoe'
5
5
  require 'rake/clean'
6
6
 
7
- Hoe.add_include_dirs 'lib/hoe'
7
+ Hoe.add_include_dirs 'lib'
8
8
 
9
9
  Hoe.plugin :mercurial
10
10
  Hoe.plugin :signing
@@ -13,7 +13,7 @@ Hoe.plugins.delete :rubyforge
13
13
 
14
14
  ### Main spec
15
15
  hoespec = Hoe.spec "hoe-mercurial" do
16
- developer "Michael Granger", "ged@FaerieMUD.org"
16
+ self.developer "Michael Granger", "ged@FaerieMUD.org"
17
17
 
18
18
  self.extra_rdoc_files = FileList["*.rdoc"]
19
19
  self.history_file = "History.md"
@@ -21,7 +21,9 @@ hoespec = Hoe.spec "hoe-mercurial" do
21
21
 
22
22
  self.hg_sign_tags = true
23
23
 
24
- extra_deps << ["hoe", "~> 2.8.0"]
24
+ self.extra_deps.push *{
25
+ 'hoe' => "~> #{Hoe::VERSION[ /\d+\.\d+/ ]}",
26
+ }
25
27
  end
26
28
 
27
29
  ENV['VERSION'] = hoespec.spec.version.to_s
@@ -433,12 +433,12 @@ class Hoe
433
433
  end # module MercurialHelpers
434
434
 
435
435
 
436
-
436
+ ### Hoe plugin module
437
437
  module Mercurial
438
438
  include Hoe::RakeHelpers,
439
439
  Hoe::MercurialHelpers
440
440
 
441
- VERSION = "1.2.0"
441
+ VERSION = '1.2.1'
442
442
 
443
443
  # The name of the file to edit for the commit message
444
444
  COMMIT_MSG_FILE = 'commit-msg.txt'
@@ -460,7 +460,7 @@ class Hoe
460
460
 
461
461
  ### Hoe hook -- Define Rake tasks when the plugin is loaded.
462
462
  def define_mercurial_tasks
463
- return unless File.exist? ".hg"
463
+ return unless File.exist?( ".hg" )
464
464
 
465
465
  file COMMIT_MSG_FILE do |task|
466
466
  edit_commit_log( task.name )
@@ -613,12 +613,13 @@ class Hoe
613
613
  end
614
614
 
615
615
  # Add a top-level 'ci' task for checkin
616
+ desc "Check in your changes"
616
617
  task :ci => 'hg:checkin'
617
618
 
618
619
  # Hook the release task and prep the repo first
619
620
  task :prerelease => 'hg:prep_release'
620
621
 
621
- rescue Exception => err
622
+ rescue ::Exception => err
622
623
  $stderr.puts "%s while defining Mercurial tasks: %s" % [ err.class.name, err.message ]
623
624
  raise
624
625
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe-mercurial
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease: false
4
+ hash: 29
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Granger
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-05 00:00:00 -08:00
18
+ date: 2011-02-01 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,11 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- hash: 47
29
+ hash: 17
30
30
  segments:
31
31
  - 2
32
- - 8
33
- - 0
34
- version: 2.8.0
32
+ - 9
33
+ version: "2.9"
35
34
  type: :runtime
36
35
  version_requirements: *id001
37
36
  - !ruby/object:Gem::Dependency
@@ -42,12 +41,12 @@ dependencies:
42
41
  requirements:
43
42
  - - ">="
44
43
  - !ruby/object:Gem::Version
45
- hash: 47
44
+ hash: 43
46
45
  segments:
47
46
  - 2
48
- - 8
47
+ - 9
49
48
  - 0
50
- version: 2.8.0
49
+ version: 2.9.0
51
50
  type: :development
52
51
  version_requirements: *id002
53
52
  description: |-
@@ -103,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
102
  requirements: []
104
103
 
105
104
  rubyforge_project: hoe-mercurial
106
- rubygems_version: 1.3.7
105
+ rubygems_version: 1.5.0
107
106
  signing_key:
108
107
  specification_version: 3
109
108
  summary: This is a fork of the [hoe-hg](https://bitbucket.org/mml/hoe-hg) plugin