hoe-deveiate 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04a834a85d95a512da06c96812bd935d9f33bfde
4
- data.tar.gz: 78716d0609753c8963af6307824b8883d2c56a8c
3
+ metadata.gz: b8196f1123926d31e1fb4d86ce237855930a010e
4
+ data.tar.gz: 54e51fe584a74430812c141f57d5726780fa530d
5
5
  SHA512:
6
- metadata.gz: ca8e7c5f4f1a30369c63a3d01ffd1adb216052c4a36c1329c774e3f8f3d71834e629e913bcd4d02c0edb501a34bf1021d4a3ca7f8b960a92bc67753eee8f9a2e
7
- data.tar.gz: 27751699db12edacce467b620703e782a6477af66a0eeab89ab61e6090cca4fea155e2bc0b3cf25b3a5546b57eb1984765c13e0b82857d1587737f202125858f
6
+ metadata.gz: 363766f996af5b08511244b8ac97ef4d2e1baf96b0d610a74a64ffc504d55b7d4c34d552ed78bb4bf24b4eef274526b8c1b1af2221e1177c2b5dbee13de2eeb4
7
+ data.tar.gz: b476c560015e9c03b56e5016d310bb3a5417c3c5d89ba4f83fb09e9c3af6351ce8a915244a9431bc624f89a4f588493347463ea068eb758ce88612c888b208af
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- ڇ`BXs�⛐���53q
1
+ ��j���8>�O^�!�x�[H�#D f~��{mU1 �9C��XF]�L�����X$�������&���)Y�_V���//ʋ��#�蠹�����¦J�k"03v$����<P�;
2
+ �P�:L$2�����O�!,IýG���e@���ب/g1�:h���.�`�B�0M
3
+ �kx�n�sK�] �t^_8��6�{�ñWM����[����X�C/$���/j��g]��~R@OM�g�ߣ/����#�6�f[
@@ -1,3 +1,8 @@
1
+ == v0.5.0 [2014-04-05] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ - Add a whitelist for the quality-check for generated files, etc.
4
+
5
+
1
6
  == v0.4.0 [2014-01-07] Michael Granger <ged@FaerieMUD.org>
2
7
 
3
8
  - Finish up the gemset-update tasks
data/Rakefile CHANGED
@@ -12,6 +12,7 @@ Hoe.plugin :highline
12
12
  # Hoe.plugins.delete :publish
13
13
  Hoe.plugins.delete :rubyforge
14
14
 
15
+ GEMSPEC = 'hoe-deveiate.gemspec'
15
16
 
16
17
  # The specification
17
18
  $hoespec = Hoe.spec 'hoe-deveiate' do
@@ -21,15 +22,16 @@ $hoespec = Hoe.spec 'hoe-deveiate' do
21
22
 
22
23
  self.developer 'Michael Granger', 'ged@FaerieMUD.org'
23
24
 
24
- self.dependency 'hoe', '~> 3.6'
25
- self.dependency 'hoe-highline', '~> 0.0'
25
+ self.dependency 'hoe', '~> 3.11'
26
+ self.dependency 'hoe-bundler', '~> 1.2'
27
+ self.dependency 'hoe-highline', '~> 0.2'
26
28
  self.dependency 'hoe-mercurial', '~> 1.4'
27
29
  self.dependency 'mail', '~> 2.5'
28
30
  self.dependency 'rspec', '~> 2.14'
29
- self.dependency 'rdoc', '~> 4.0'
31
+ self.dependency 'rdoc', '~> 4.1'
30
32
 
31
33
  self.license 'BSD'
32
- self.require_ruby_version( '>=1.8.7' )
34
+ self.require_ruby_version( '>=2.0.0' )
33
35
  # self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
34
36
  end
35
37
 
@@ -44,3 +46,16 @@ ENV['VERSION'] ||= $hoespec.spec.version.to_s
44
46
  # Ensure the specs pass before checking in
45
47
  task 'hg:precheckin' => ['deps:gemset', :check_history, :check_manifest]
46
48
 
49
+
50
+ # Generate a .gemspec file for integration with systems that read it
51
+ task :gemspec => GEMSPEC
52
+ file GEMSPEC => __FILE__ do |task|
53
+ spec = $hoespec.spec
54
+ spec.files.delete( '.gemtest' )
55
+ spec.version = "#{spec.version}.pre#{Time.now.strftime("%Y%m%d%H%M%S")}"
56
+ File.open( task.name, 'w' ) do |fh|
57
+ fh.write( spec.to_ruby )
58
+ end
59
+ end
60
+ task :default => :gemspec
61
+
@@ -16,10 +16,10 @@ Hoe.plugin( :highline, :mercurial )
16
16
  module Hoe::Deveiate
17
17
 
18
18
  # Library version constant
19
- VERSION = '0.4.0'
19
+ VERSION = '0.5.0'
20
20
 
21
21
  # Version-control revision constant
22
- REVISION = %q$Revision: c9dbc99b5d1f $
22
+ REVISION = %q$Revision: 1d07ea0c474e $
23
23
 
24
24
  # Regexp to match trailing whitespace
25
25
  TRAILING_WHITESPACE_RE = /[ \t]+$/
@@ -36,6 +36,10 @@ module Hoe::Deveiate
36
36
  $hoespec = self
37
37
  abort "requires the hoe-mercurial plugin" unless Hoe.plugins.include?( :mercurial )
38
38
 
39
+ minor_version = VERSION[ /^\d+\.\d+/ ]
40
+ self.extra_dev_deps << ['hoe-deveiate', "~> #{minor_version}"] unless
41
+ self.name == 'hoe-deveiate'
42
+
39
43
  @email_to ||= []
40
44
  @email_from = nil unless defined?( @email_from )
41
45
  self.hg_sign_tags = true
@@ -52,6 +56,8 @@ module Hoe::Deveiate
52
56
  end
53
57
  end
54
58
 
59
+ @quality_check_whitelist = Rake::FileList.new
60
+
55
61
  $stderr.puts "Done initializing hoe-deveiate" if Rake.application.options.trace
56
62
  end
57
63
 
@@ -93,6 +99,10 @@ module Hoe::Deveiate
93
99
  # Who to send announcement emails as
94
100
  attr_accessor :email_from
95
101
 
102
+ # The Rake::FileList that contains files that shouldn't be considered when doing
103
+ # quality checks
104
+ attr_reader :quality_check_whitelist
105
+
96
106
 
97
107
  ### Add tasks
98
108
  def define_deveiate_tasks
@@ -364,6 +374,7 @@ module Hoe::Deveiate
364
374
  matches = []
365
375
 
366
376
  source_files = $hoespec.spec.files.grep( /\.(h|c|rb)$/ )
377
+ source_files -= self.quality_check_whitelist
367
378
 
368
379
  source_files.each do |filename|
369
380
  previous_line = nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe-deveiate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -12,7 +12,7 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDbDCCAlSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDANnZWQx
14
14
  GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
15
- HhcNMTMwMjI3MTY0ODU4WhcNMTQwMjI3MTY0ODU4WjA+MQwwCgYDVQQDDANnZWQx
15
+ HhcNMTQwMzE5MDQzNTI2WhcNMTUwMzE5MDQzNTI2WjA+MQwwCgYDVQQDDANnZWQx
16
16
  GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
17
17
  ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDb92mkyYwuGBg1oRxt2tkH
18
18
  +Uo3LAsaL/APBfSLzy8o3+B3AUHKCjMUaVeBoZdWtMHB75X3VQlvXfZMyBxj59Vo
@@ -23,14 +23,14 @@ cert_chain:
23
23
  AgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBSZ0hCV
24
24
  qoHr122fGKelqffzEQBhszAcBgNVHREEFTATgRFnZWRARmFlcmllTVVELm9yZzAc
25
25
  BgNVHRIEFTATgRFnZWRARmFlcmllTVVELm9yZzANBgkqhkiG9w0BAQUFAAOCAQEA
26
- Vlcfyq6GwyE8i0QuFPCeVOwJaneSvcwx316DApjy9/tt2YD2HomLbtpXtji5QXor
27
- ON6oln4tWBIB3Klbr3szq5oR3Rc1D02SaBTalxSndp4M6UkW9hRFu5jn98pDB4fq
28
- 5l8wMMU0Xdmqx1VYvysVAjVFVC/W4NNvlmg+2mEgSVZP5K6Tc9qDh3eMQInoYw6h
29
- t1YA6RsUJHp5vGQyhP1x34YpLAaly8icbns/8PqOf7Osn9ztmg8bOMJCeb32eQLj
30
- 6mKCwjpegytE0oifXfF8k75A9105cBnNiMZOe1tXiqYc/exCgWvbggurzDOcRkZu
31
- /YSusaiDXHKU2O3Akc3htA==
26
+ TuL1Bzl6TBs1YEzEubFHb9XAPgehWzzUudjDKzTRd+uyZmxnomBqTCQjT5ucNRph
27
+ 3jZ6bhLNooLQxTjIuHodeGcEMHZdt4Yi7SyPmw5Nry12z6wrDp+5aGps3HsE5WsQ
28
+ Zq2EuyEOc96g31uoIvjNdieKs+1kE+K+dJDjtw+wTH2i63P7r6N/NfPPXpxsFquo
29
+ wcYRRrHdR7GhdJeT+V8Q8Bi5bglCUGdx+8scMgkkePc98k9osQHypbACmzO+Bqkv
30
+ c7ZKPJcWBv0sm81+FCZXNACn2f9jfF8OQinxVs0O052KbGuEQaaiGIYeuuwQE2q6
31
+ ggcrPfcYeTwWlfZPu2LrBg==
32
32
  -----END CERTIFICATE-----
33
- date: 2014-01-08 00:00:00.000000000 Z
33
+ date: 2014-04-05 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: hoe
@@ -38,28 +38,42 @@ dependencies:
38
38
  requirements:
39
39
  - - ~>
40
40
  - !ruby/object:Gem::Version
41
- version: '3.6'
41
+ version: '3.11'
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ~>
47
47
  - !ruby/object:Gem::Version
48
- version: '3.6'
48
+ version: '3.11'
49
+ - !ruby/object:Gem::Dependency
50
+ name: hoe-bundler
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: '1.2'
56
+ type: :runtime
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: '1.2'
49
63
  - !ruby/object:Gem::Dependency
50
64
  name: hoe-highline
51
65
  requirement: !ruby/object:Gem::Requirement
52
66
  requirements:
53
67
  - - ~>
54
68
  - !ruby/object:Gem::Version
55
- version: '0.0'
69
+ version: '0.2'
56
70
  type: :runtime
57
71
  prerelease: false
58
72
  version_requirements: !ruby/object:Gem::Requirement
59
73
  requirements:
60
74
  - - ~>
61
75
  - !ruby/object:Gem::Version
62
- version: '0.0'
76
+ version: '0.2'
63
77
  - !ruby/object:Gem::Dependency
64
78
  name: hoe-mercurial
65
79
  requirement: !ruby/object:Gem::Requirement
@@ -108,14 +122,14 @@ dependencies:
108
122
  requirements:
109
123
  - - ~>
110
124
  - !ruby/object:Gem::Version
111
- version: '4.0'
125
+ version: '4.1'
112
126
  type: :runtime
113
127
  prerelease: false
114
128
  version_requirements: !ruby/object:Gem::Requirement
115
129
  requirements:
116
130
  - - ~>
117
131
  - !ruby/object:Gem::Version
118
- version: '4.0'
132
+ version: '4.1'
119
133
  description: |-
120
134
  A collection of Rake tasks and utility functions I use to maintain my Open
121
135
  Source projects. It's really only useful if you want to help maintain one of
@@ -149,15 +163,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
149
163
  requirements:
150
164
  - - '>='
151
165
  - !ruby/object:Gem::Version
152
- version: 1.8.7
166
+ version: 2.0.0
153
167
  required_rubygems_version: !ruby/object:Gem::Requirement
154
168
  requirements:
155
169
  - - '>='
156
170
  - !ruby/object:Gem::Version
157
171
  version: '0'
158
172
  requirements: []
159
- rubyforge_project: hoe-deveiate
160
- rubygems_version: 2.2.1
173
+ rubyforge_project:
174
+ rubygems_version: 2.2.2
161
175
  signing_key:
162
176
  specification_version: 4
163
177
  summary: A collection of Rake tasks and utility functions I use to maintain my Open
metadata.gz.sig CHANGED
Binary file