hoe-mercurial 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +4 -5
  2. data/lib/hoe/mercurial.rb +3 -2
  3. metadata +14 -17
data/Rakefile CHANGED
@@ -19,11 +19,10 @@ hoespec = Hoe.spec "hoe-mercurial" do
19
19
  self.history_file = "History.md"
20
20
  self.readme_file = "README.md"
21
21
 
22
- self.hg_sign_tags = true
22
+ self.spec_extras[:licenses] = ["BSD"]
23
+ self.hg_sign_tags = true
23
24
 
24
- self.extra_deps.push *{
25
- 'hoe' => "~> #{Hoe::VERSION[ /\d+\.\d+/ ]}",
26
- }
25
+ self.dependency 'hoe', "~> #{Hoe::VERSION[ /\d+\.\d+/ ]}"
27
26
  end
28
27
 
29
28
  ENV['VERSION'] = hoespec.spec.version.to_s
@@ -31,7 +30,7 @@ ENV['VERSION'] = hoespec.spec.version.to_s
31
30
  include Hoe::MercurialHelpers
32
31
 
33
32
  ### Task: prerelease
34
- desc "Append the package build number to package versions"
33
+ desc "Append the package build number to prerelease package versions"
35
34
  task :pre do
36
35
  rev = get_numeric_rev()
37
36
  trace "Current rev is: %p" % [ rev ]
@@ -438,7 +438,7 @@ class Hoe
438
438
  include Hoe::RakeHelpers,
439
439
  Hoe::MercurialHelpers
440
440
 
441
- VERSION = '1.2.1'
441
+ VERSION = '1.2.2'
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,8 @@ 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
+ !Rake::Task.task_defined?( 'hg:checkin' )
464
465
 
465
466
  file COMMIT_MSG_FILE do |task|
466
467
  edit_commit_log( task.name )
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: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 1
10
- version: 1.2.1
9
+ - 2
10
+ version: 1.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Granger
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-01 00:00:00 -08:00
19
- default_executable:
18
+ date: 2011-08-22 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: hoe
@@ -26,11 +25,11 @@ dependencies:
26
25
  requirements:
27
26
  - - ~>
28
27
  - !ruby/object:Gem::Version
29
- hash: 17
28
+ hash: 27
30
29
  segments:
31
30
  - 2
32
- - 9
33
- version: "2.9"
31
+ - 12
32
+ version: "2.12"
34
33
  type: :runtime
35
34
  version_requirements: *id001
36
35
  - !ruby/object:Gem::Dependency
@@ -39,14 +38,13 @@ dependencies:
39
38
  requirement: &id002 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
- - - ">="
41
+ - - ~>
43
42
  - !ruby/object:Gem::Version
44
- hash: 43
43
+ hash: 27
45
44
  segments:
46
45
  - 2
47
- - 9
48
- - 0
49
- version: 2.9.0
46
+ - 12
47
+ version: "2.12"
50
48
  type: :development
51
49
  version_requirements: *id002
52
50
  description: |-
@@ -71,10 +69,9 @@ files:
71
69
  - History.md
72
70
  - README.md
73
71
  - Rakefile
74
- has_rdoc: true
75
72
  homepage: http://bitbucket.org/ged/hoe-mercurial
76
- licenses: []
77
-
73
+ licenses:
74
+ - BSD
78
75
  post_install_message:
79
76
  rdoc_options:
80
77
  - --main
@@ -102,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
99
  requirements: []
103
100
 
104
101
  rubyforge_project: hoe-mercurial
105
- rubygems_version: 1.5.0
102
+ rubygems_version: 1.8.6
106
103
  signing_key:
107
104
  specification_version: 3
108
105
  summary: This is a fork of the [hoe-hg](https://bitbucket.org/mml/hoe-hg) plugin