hen 0.6.3 → 0.7.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: 411e49bf6115cade4f5c44b8040bfb5964e77d31
4
- data.tar.gz: 8c4647e28461ff1e49fd0768bae8b26d137b64b2
3
+ metadata.gz: d550997b7aaa45957a960114ce0343e5dd27cb29
4
+ data.tar.gz: 7fd60ffa855f0735cc37eb52900210ee043f1a42
5
5
  SHA512:
6
- metadata.gz: 4477dad2ec9f108fd5a8705c09c2e7d3175355ed68a5216f3c8ba6de25b0efcd4c1ecac19f97ed0bb1a6683755320ff9463f60c22b6a7f8a1b012a83b278bc3d
7
- data.tar.gz: b3fade51de0c9b7f065285570fd425816faf0b965a07f58aeb05550a42fcfdaac7038fd0f60ea44c30a57143ac737ed1fb69f313c40e537c3a74bddc91fd346a
6
+ metadata.gz: 76f095d06132a9ca99ccf20cf5c792a4b5da7e00975d2bd6912a5939f02806d4820b7013483e4929fe3e2ebb71422ea1515cb85e957aa7576b07761877707722
7
+ data.tar.gz: 5be59b9729067e560edb255c97e96a14e14a691c9332eb22228f5f486f81540eb6975576953af71dde076d359795319620644c2a15d8c1294419ced542414004
data/ChangeLog CHANGED
@@ -2,18 +2,27 @@
2
2
 
3
3
  = Revision history for hen
4
4
 
5
+ == 0.7.0 [2014-10-07]
6
+
7
+ * Require at least Ruby 1.9.3.
8
+ * Task <tt>doc:publish:github</tt> cleans up before adding new files.
9
+ * Task <tt>doc:publish:github</tt> performs local clone and shallow checkout
10
+ instead of fetching the full history.
11
+ * When setting +post_install_message+, gem files are searched for log file;
12
+ specify +HEN_CHANGELOG+ to override.
13
+
5
14
  == 0.6.3 [2014-08-01]
6
15
 
7
16
  * Added general support for other variables in skeleton paths.
8
- * Ignore missing ChangeLog for post_install_message.
17
+ * Ignore missing ChangeLog for +post_install_message+.
9
18
  * Housekeeping.
10
19
 
11
20
  == 0.6.2 [2014-05-13]
12
21
 
13
- * Avoid circular dependency for 'gem:native' task.
22
+ * Avoid circular dependency for <tt>gem:native</tt> task.
14
23
  * Added default dependency for rake-compiler.
15
24
  * Updated sample project skeleton.
16
- * New DSL method 'tasks'.
25
+ * New DSL method +tasks+.
17
26
 
18
27
  == 0.6.1 [2014-04-24]
19
28
 
@@ -22,17 +31,17 @@
22
31
  == 0.6.0 [2014-04-14]
23
32
 
24
33
  * Essential development dependencies are added automatically.
25
- * New task 'gem:dependencies:install'.
34
+ * New task <tt>gem:dependencies:install</tt>.
26
35
  * Dropped support for RubyForge (EOL on May 15th).
27
36
  * New projects to require at least Ruby 1.9.3.
28
- * Added .travis.yml to project skeleton.
37
+ * Added +.travis.yml+ to project skeleton.
29
38
  * Use GitHub as default remote when creating a Git-backed project.
30
39
  * Use SafeYAML when loading configuration files.
31
40
 
32
41
  == 0.5.1 [2014-03-31]
33
42
 
34
43
  * Improved extension name handling.
35
- * Only define 'gem:native' task when cross-compiling.
44
+ * Only define <tt>gem:native</tt> task when cross-compiling.
36
45
  * Avoid circular require.
37
46
 
38
47
  == 0.5.0 [2013-12-19]
@@ -59,14 +68,14 @@
59
68
 
60
69
  == 0.4.6 [2012-04-05]
61
70
 
62
- * Fixed `hen version`.
71
+ * Fixed <tt>hen version</tt>.
63
72
  * Added debug info for extension tasks.
64
73
 
65
74
  == 0.4.5 [2012-01-20]
66
75
 
67
76
  * Publish native Gems.
68
77
  * Build and publish Meta-Gems.
69
- * Renamed Meta-Gem option 'extras' to 'dependencies'.
78
+ * Renamed Meta-Gem option +extras+ to +dependencies+.
70
79
  * Fixed Ruby warnings.
71
80
 
72
81
  == 0.4.4 [2012-01-18]
@@ -81,17 +90,17 @@
81
90
 
82
91
  == 0.4.2 [2012-01-09]
83
92
 
84
- * New option 'meta' to build meta-gems.
93
+ * New option +meta+ to build meta-gems.
85
94
 
86
95
  == 0.4.1 [2012-01-02]
87
96
 
88
- * Make 'release' depend on 'doc:publish'.
97
+ * Make +release+ depend on <tt>doc:publish</tt>.
89
98
 
90
99
  == 0.4.0 [2011-09-21]
91
100
 
92
101
  * Use env ruby.
93
- * New task 'gem:dependencies'.
94
- * Don't undefine `object_id' for (pseudo-)objects.
102
+ * New task <tt>gem:dependencies</tt>.
103
+ * Don't undefine +object_id+ for (pseudo-)objects.
95
104
 
96
105
  == 0.3.9 [2011-05-24]
97
106
 
@@ -130,11 +139,11 @@
130
139
  == 0.3.1 [2011-02-11]
131
140
 
132
141
  * Fixed the RubyForge release task name in the prerequisite list for the
133
- <tt>:release</tt> task.
142
+ <tt>release</tt> task.
134
143
 
135
144
  == 0.3.0 [2011-02-11]
136
145
 
137
- * Implementations for <tt>doc:publish</tt> and <tt>:release</tt> are
146
+ * Implementations for <tt>doc:publish</tt> and <tt>release</tt> are
138
147
  now cumulative.
139
148
  * The configuration (through the user's <tt>.henrc</tt> files) is now
140
149
  cumulative.
@@ -143,13 +152,13 @@
143
152
  * Ignoring untracked files when building the official documentation and
144
153
  when building the Gem.
145
154
  * Added new task <tt>doc:local</tt> for the previous +doc+ behaviour.
146
- * Renamed <tt>:gemspec</tt> -> <tt>gem:spec</tt>, <tt>gemspec:update</tt>
155
+ * Renamed <tt>gemspec</tt> -> <tt>gem:spec</tt>, <tt>gemspec:update</tt>
147
156
  -> <tt>gem:spec:update</tt>.
148
157
  * New task <tt>gem:install</tt> to install the current Gem locally.
149
158
  * Added support for RDoc 2/3.
150
- * Recognize <tt>:legacy</tt> option in <tt>:spec</tt> options to force
159
+ * Recognize <tt>legacy</tt> option in <tt>spec</tt> options to force
151
160
  RSpec 1 even when RSpec 2 is available. Same for RDoc 2 vs. 3.
152
- * Added support for easy GitHub homepage by setting <tt>:homepage</tt>
161
+ * Added support for easy GitHub homepage by setting <tt>homepage</tt>
153
162
  option to a symbol that identifies the GitHub user name.
154
163
  * Better defaults for <tt>hen create/config</tt>.
155
164
  * Hen::CLI#render makes a backup before overwriting an existing file.
@@ -157,7 +166,7 @@
157
166
  * The +gemcutter+ helper has been deprecated; use +rubygems+ instead.
158
167
  * Some defaults are set in Hen files rather than relying on <tt>.henrc</tt>
159
168
  file.
160
- * No longer messing with RubyGems/$LOAD_PATH.
169
+ * No longer messing with RubyGems/<tt>$LOAD_PATH</tt>.
161
170
 
162
171
  == 0.2.7 [2011-01-24]
163
172
 
@@ -170,7 +179,7 @@
170
179
 
171
180
  == 0.2.5 [2011-01-07]
172
181
 
173
- * Handle rcov.opts file for RSpec 2
182
+ * Handle +rcov.opts+ file for RSpec 2
174
183
  * Optionally set custom zip command for package task
175
184
 
176
185
  == 0.2.4 [2011-01-06]
@@ -211,7 +220,7 @@
211
220
 
212
221
  == 0.1.6 [2009-01-26]
213
222
 
214
- * Ignore nonexistent spec.opts file
223
+ * Ignore nonexistent +spec.opts+ file
215
224
 
216
225
  == 0.1.5 [2009-01-22]
217
226
 
@@ -232,7 +241,7 @@
232
241
  == 0.1.1 [2008-07-29]
233
242
 
234
243
  * Added task to run specs with RCov
235
- * Added option to specify spec_helper which will be loaded first
244
+ * Added option to specify +spec_helper+ which will be loaded first
236
245
 
237
246
  == 0.1.0 [2008-05-21]
238
247
 
@@ -248,31 +257,31 @@
248
257
 
249
258
  == 0.0.7 [2008-02-01]
250
259
 
251
- * Search HENPATH for available hens, allowing to easily add custom hens
252
- * Added sample custom hen file ('example/hens/sample.rake')
253
- * Refined 'gem' and 'rdoc' hens
254
- * Added 'hen version' command
260
+ * Search +HENPATH+ for available hens, allowing to easily add custom hens
261
+ * Added sample custom hen file (+example/hens/sample.rake+)
262
+ * Refined +gem+ and +rdoc+ hens
263
+ * Added <tt>hen version</tt> command
255
264
 
256
265
  == 0.0.6 [2008-01-09]
257
266
 
258
- * Added basic sample project tree (skeleton for 'hen create')
259
- * Lazily find and load .henrc
267
+ * Added basic sample project tree (skeleton for <tt>hen create</tt>)
268
+ * Lazily find and load +.henrc+
260
269
  * Some polishing and fixes
261
270
 
262
271
  == 0.0.5 [2008-01-08]
263
272
 
264
- * Replaced 'hen' executable stub with something actually useful
273
+ * Replaced +hen+ executable stub with something actually useful
265
274
  * Added Hen::CLI helper module
266
275
 
267
276
  == 0.0.4 [2008-01-07]
268
277
 
269
- * Added Test::Unit and RSpec hens (tasks 'test' and 'spec')
278
+ * Added Test::Unit and RSpec hens (tasks +test+ and +spec+)
270
279
  * Removed HenError stuff
271
280
 
272
281
  == 0.0.3 [2008-01-04]
273
282
 
274
283
  * More cleanup and maturing
275
- * New tasks 'release' (formerly 'upload_gem'), 'publish_docs', and 'debug_gem'
284
+ * New tasks +release+ (formerly +upload_gem+), +publish_docs+, and +debug_gem+
276
285
  * All in all: Pretty much inspired by Hoe ;-)
277
286
 
278
287
  == 0.0.2 [2007-12-21]
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to hen version 0.6.3
5
+ This documentation refers to hen version 0.7.0
6
6
 
7
7
 
8
8
  == DESCRIPTION
data/Rakefile CHANGED
@@ -1,18 +1,22 @@
1
- $:.unshift(File.expand_path('../lib', __FILE__))
2
-
3
- require 'hen'
1
+ require_relative 'lib/hen'
4
2
 
5
3
  Hen.lay! {{
6
- :gem => {
7
- :name => %q{hen},
8
- :version => Hen::VERSION,
9
- :summary => %q{Just another project helper that integrates with Rake.},
10
- :description => %q{A Rake helper framework, similar to Hoe or Echoe.},
11
- :author => %q{Jens Wille},
12
- :email => %q{jens.wille@gmail.com},
13
- :license => %q{AGPL-3.0},
14
- :homepage => :blackwinter,
15
- :extra_files => FileList['lib/hens/*.rake'].to_a,
16
- :dependencies => %w[highline nuggets safe_yaml]
4
+ gem: {
5
+ name: %q{hen},
6
+ version: Hen::VERSION,
7
+ summary: %q{Just another project helper that integrates with Rake.},
8
+ description: %q{A Rake helper framework, similar to Hoe or Echoe.},
9
+ author: %q{Jens Wille},
10
+ email: %q{jens.wille@gmail.com},
11
+ license: %q{AGPL-3.0},
12
+ homepage: :blackwinter,
13
+ extra_files: FileList['lib/hens/*.rake'].to_a,
14
+ dependencies: {
15
+ highline: '~> 1.6',
16
+ nuggets: '~> 1.0',
17
+ safe_yaml: '~> 1.0'
18
+ },
19
+
20
+ required_ruby_version: '>= 1.9.3'
17
21
  }
18
22
  }}
@@ -1,4 +1,4 @@
1
- require File.expand_path(%q{../lib/<%= progname %>/version}, __FILE__)
1
+ require_relative 'lib/<%= progname %>/version'
2
2
 
3
3
  begin
4
4
  require 'hen'
data/lib/hen.rb CHANGED
@@ -34,8 +34,8 @@ require 'nuggets/env/user_home'
34
34
  require 'nuggets/hash/deep_merge'
35
35
  require 'nuggets/proc/bind'
36
36
 
37
- require 'hen/dsl'
38
- require 'hen/version'
37
+ require_relative 'hen/dsl'
38
+ require_relative 'hen/version'
39
39
 
40
40
  # The class handling the program logic. This is what you use in your Rakefile.
41
41
  # See the README for more information.
@@ -78,7 +78,7 @@ class Hen
78
78
  # call-seq:
79
79
  # lay!
80
80
  # lay!(:some_hen, :some_other_hen)
81
- # lay!(:exclude => [:some_hen, :some_other_hen])
81
+ # lay!(exclude: [:some_hen, :some_other_hen])
82
82
  #
83
83
  # Loads the hens, causing them to lay their eggs^H^H^Htasks. Either all,
84
84
  # if no restrictions are specified, or the given hens, or all but those
@@ -182,7 +182,7 @@ class Hen
182
182
  hash = Hash.new { |h, k| h[k] = {} }
183
183
 
184
184
  henrc.each { |path|
185
- yaml = SafeYAML.load_file(path, :deserialize_symbols => true)
185
+ yaml = SafeYAML.load_file(path, deserialize_symbols: true)
186
186
  hash.deep_update(yaml) if yaml.is_a?(Hash)
187
187
  }
188
188
 
data/lib/hen/commands.rb CHANGED
@@ -30,7 +30,7 @@ require 'fileutils'
30
30
  require 'nuggets/argv/option'
31
31
  require 'nuggets/enumerable/minmax'
32
32
 
33
- require 'hen/cli'
33
+ require_relative 'cli'
34
34
 
35
35
  class Hen
36
36
 
data/lib/hen/dsl.rb CHANGED
@@ -273,10 +273,19 @@ class Hen
273
273
  clone '-n', '-o', remote, url, dir
274
274
  end
275
275
 
276
+ def local_clone(dir, src = '.') # :nodoc:
277
+ clone '-n', src, dir
278
+ end
279
+
276
280
  def checkout_remote_branch(remote, branch = 'master') # :nodoc:
277
281
  checkout '-b', branch, "#{remote}/#{branch}"
278
282
  end
279
283
 
284
+ def checkout_fetched_branch(url, branch = 'master') # :nodoc:
285
+ fetch '--depth', '1', url, branch
286
+ checkout '-b', branch, 'FETCH_HEAD'
287
+ end
288
+
280
289
  def add_and_commit(msg) # :nodoc:
281
290
  add '.'
282
291
  commit '-m', msg
data/lib/hen/version.rb CHANGED
@@ -3,8 +3,8 @@ class Hen
3
3
  module Version
4
4
 
5
5
  MAJOR = 0
6
- MINOR = 6
7
- TINY = 3
6
+ MINOR = 7
7
+ TINY = 0
8
8
 
9
9
  class << self
10
10
 
data/lib/hens/gem.rake CHANGED
@@ -1,23 +1,23 @@
1
- Hen :gem => :rdoc do
1
+ Hen gem: :rdoc do
2
2
  # Dependencies:
3
3
  # * rdoc -- Uses RDOC_OPTIONS and 'doc:publish' task
4
4
 
5
5
  gem_options = {
6
- :files => FileList[
6
+ files: FileList[
7
7
  'lib/**/*.rb',
8
8
  'bin/*'
9
9
  ].to_a,
10
- :default_extra_files => FileList[
10
+ default_extra_files: FileList[
11
11
  '[A-Z]*',
12
12
  'example/**/*',
13
13
  'ext/**/*',
14
14
  'spec/**/*', '.rspec',
15
15
  'test/**/*', '.autotest'
16
16
  ].to_a,
17
- :extensions => FileList[
17
+ extensions: FileList[
18
18
  'ext/**/extconf.rb'
19
19
  ].to_a,
20
- :require_path => 'lib'
20
+ require_path: 'lib'
21
21
  }.update(config[:gem])
22
22
 
23
23
  gem_klass = begin
@@ -60,37 +60,10 @@ Hen :gem => :rdoc do
60
60
 
61
61
  warn 'Gem author(s) missing' if authors.empty?
62
62
 
63
- ### description, post_install_message
63
+ ### description
64
64
 
65
65
  gem_options[:description] ||= gem_options[:summary]
66
66
 
67
- post_install_message = gem_options[:post_install_message]
68
-
69
- gem_options[:post_install_message] = case post_install_message
70
- when nil, true
71
- if File.readable?(log = ENV['HEN_CHANGELOG'] || 'ChangeLog')
72
- msg, ver = [], gem_options[:version].sub(/\.?[^\d.].*/, '')
73
-
74
- heading, found = /\A== (#{Regexp.escape(ver)}\D.*)/o, false
75
-
76
- File.foreach(log) { |line|
77
- line.chomp!
78
-
79
- case line
80
- when heading then msg << "#{gem_name}-#{found = $1}:"
81
- when /\A== / then break if found
82
- else msg << line if found
83
- end
84
- }
85
-
86
- "\n#{msg.join("\n").strip}\n\n" unless msg.empty?
87
- elsif post_install_message
88
- warn "File not found: #{log}. Skipping post_install_message." if Hen.verbose
89
- end
90
- when false
91
- else post_install_message
92
- end
93
-
94
67
  ### homepage
95
68
 
96
69
  if homepage = gem_options[:homepage]
@@ -124,6 +97,38 @@ Hen :gem => :rdoc do
124
97
  gem_options[:executables].map! { |executable| File.basename(executable) }
125
98
  end
126
99
 
100
+ ## post_install_message
101
+
102
+ post_install_message = gem_options[:post_install_message]
103
+
104
+ gem_options[:post_install_message] = case post_install_message
105
+ when nil, true
106
+ log = ENV['HEN_CHANGELOG'] || gem_options[:files].grep(
107
+ %r{\A(?:change(?:s|log)|history)[^/]*\z}i).first || 'ChangeLog'
108
+
109
+ if File.readable?(log)
110
+ msg, ver = [], gem_options[:version].sub(/\.?[^\d.].*/, '')
111
+
112
+ heading, found = /\A== (#{Regexp.escape(ver)}\D.*)/o, false
113
+
114
+ File.foreach(log) { |line|
115
+ line.chomp!
116
+
117
+ case line
118
+ when heading then msg << "#{gem_name}-#{found = $1}:"
119
+ when /\A== / then break if found
120
+ else msg << line if found
121
+ end
122
+ }
123
+
124
+ "\n#{msg.join("\n").strip}\n\n" unless msg.empty?
125
+ elsif post_install_message
126
+ warn "File not found: #{log}. Skipping post_install_message." if Hen.verbose
127
+ end
128
+ when false
129
+ else post_install_message
130
+ end
131
+
127
132
  ### dependencies
128
133
 
129
134
  dependencies = Array(gem_options.delete(:dependencies))
@@ -400,7 +405,7 @@ Hen :gem => :rdoc do
400
405
  end
401
406
 
402
407
  desc release_desc; release_desc = nil
403
- task :release => 'gem:push'
408
+ task release: 'gem:push'
404
409
 
405
410
  end
406
411
 
@@ -422,13 +427,13 @@ Hen :gem => :rdoc do
422
427
 
423
428
  end
424
429
 
425
- %w[doc:publish release:tag].each { |t| task :release => t if have_task?(t) }
430
+ %w[doc:publish release:tag].each { |t| task release: t if have_task?(t) }
426
431
 
427
432
  def write_gemspec(gem_spec)
428
433
  file = "#{gem_spec.name}.gemspec"
429
434
  action = File.exists?(file) ? 'Updated' : 'Created'
430
435
 
431
- File.open(file, 'w') { |f| f.puts gem_spec.to_ruby }
436
+ File.write(file, gem_spec.to_ruby)
432
437
 
433
438
  puts "#{action} #{file}"
434
439
  end
data/lib/hens/rdoc.rake CHANGED
@@ -1,13 +1,13 @@
1
1
  Hen :rdoc do
2
2
 
3
3
  rdoc_options = {
4
- :rdoc_dir => 'doc',
5
- :rdoc_files => %w[README COPYING ChangeLog lib/**/*.rb ext/**/*.c],
6
- :title => '{name:%s }Application documentation{version: (v%s)}',
7
- :charset => 'UTF-8',
8
- :inline_source => true,
9
- :line_numbers => true,
10
- :all => true
4
+ rdoc_dir: 'doc',
5
+ rdoc_files: %w[README COPYING ChangeLog lib/**/*.rb ext/**/*.c],
6
+ title: '{name:%s }Application documentation{version: (v%s)}',
7
+ charset: 'UTF-8',
8
+ inline_source: true,
9
+ line_numbers: true,
10
+ all: true
11
11
  }.update(config[:rdoc])
12
12
 
13
13
  rdoc_klass = begin
@@ -47,7 +47,7 @@ Hen :rdoc do
47
47
  rdoc_files_local = rdoc_files.dup
48
48
 
49
49
  if mangle_files!(rdoc_files)
50
- mangle_files!(rdoc_files_local, :managed => false)
50
+ mangle_files!(rdoc_files_local, managed: false)
51
51
  else
52
52
  rdoc_files_local = []
53
53
  end
@@ -61,9 +61,9 @@ Hen :rdoc do
61
61
 
62
62
  # Make settings available to other hens
63
63
  RDOC_OPTIONS = {
64
- :rdoc_dir => rdoc_dir,
65
- :rdoc_files => rdoc_files,
66
- :options => rdoc_opts
64
+ rdoc_dir: rdoc_dir,
65
+ rdoc_files: rdoc_files,
66
+ options: rdoc_opts
67
67
  }
68
68
 
69
69
  unless rdoc_files.empty?
@@ -118,15 +118,16 @@ Hen :rdoc do
118
118
  task 'doc:publish:github' => :doc do
119
119
  rm_rf clone_dir
120
120
 
121
- git.easy_clone pages_url, clone_dir, git_remote
121
+ git.local_clone clone_dir
122
122
 
123
123
  Dir.chdir(clone_dir) {
124
- git.checkout_remote_branch git_remote, git_branch
124
+ git.checkout_fetched_branch pages_url, git_branch
125
125
 
126
+ rm_r Dir['*']
126
127
  cp_r Dir["../#{rdoc_task.rdoc_dir}/*"], '.'
127
128
 
128
129
  git.add_and_commit 'Updated documentation.'
129
- git.push git_remote, git_branch
130
+ git.push pages_url, git_branch
130
131
  }
131
132
  end
132
133
 
data/lib/hens/spec.rake CHANGED
@@ -1,9 +1,9 @@
1
1
  Hen :spec do
2
2
 
3
3
  spec_options = {
4
- :pattern => 'spec/**/*_spec.rb',
5
- :helper => 'spec/spec_helper.rb',
6
- :options => 'spec/spec.opts'
4
+ pattern: 'spec/**/*_spec.rb',
5
+ helper: 'spec/spec_helper.rb',
6
+ options: 'spec/spec.opts'
7
7
  }.update(config[:spec])
8
8
 
9
9
  spec_klass = begin
@@ -23,7 +23,7 @@ Hen :spec do
23
23
  spec_files = spec_options.delete(:files) ||
24
24
  FileList[spec_options.delete(:pattern)].to_a
25
25
 
26
- mangle_files!(spec_files, :managed => false)
26
+ mangle_files!(spec_files, managed: false)
27
27
 
28
28
  unless spec_files.empty?
29
29
  raise load_error if load_error
data/lib/hens/test.rake CHANGED
@@ -3,13 +3,13 @@ Hen :test do
3
3
  require 'rake/testtask'
4
4
 
5
5
  test_options = {
6
- :pattern => 'test/**/*_test.rb'
6
+ pattern: 'test/**/*_test.rb'
7
7
  }.update(config[:test])
8
8
 
9
9
  test_files = test_options.delete(:files) ||
10
10
  FileList[test_options.delete(:pattern)].to_a
11
11
 
12
- mangle_files!(test_files, :managed => false)
12
+ mangle_files!(test_files, managed: false)
13
13
 
14
14
  unless test_files.empty?
15
15
  Rake::TestTask.new { |t|
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-01 00:00:00.000000000 Z
11
+ date: 2014-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '1.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nuggets
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: safe_yaml
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -106,15 +106,18 @@ licenses:
106
106
  metadata: {}
107
107
  post_install_message: |2+
108
108
 
109
- hen-0.6.3 [2014-08-01]:
109
+ hen-0.7.0 [2014-10-07]:
110
110
 
111
- * Added general support for other variables in skeleton paths.
112
- * Ignore missing ChangeLog for post_install_message.
113
- * Housekeeping.
111
+ * Require at least Ruby 1.9.3.
112
+ * Task <tt>doc:publish:github</tt> cleans up before adding new files.
113
+ * Task <tt>doc:publish:github</tt> performs local clone and shallow checkout
114
+ instead of fetching the full history.
115
+ * When setting +post_install_message+, gem files are searched for log file;
116
+ specify +HEN_CHANGELOG+ to override.
114
117
 
115
118
  rdoc_options:
116
119
  - "--title"
117
- - hen Application documentation (v0.6.3)
120
+ - hen Application documentation (v0.7.0)
118
121
  - "--charset"
119
122
  - UTF-8
120
123
  - "--line-numbers"
@@ -127,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
130
  requirements:
128
131
  - - ">="
129
132
  - !ruby/object:Gem::Version
130
- version: '0'
133
+ version: 1.9.3
131
134
  required_rubygems_version: !ruby/object:Gem::Requirement
132
135
  requirements:
133
136
  - - ">="
@@ -135,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
138
  version: '0'
136
139
  requirements: []
137
140
  rubyforge_project:
138
- rubygems_version: 2.4.1
141
+ rubygems_version: 2.4.2
139
142
  signing_key:
140
143
  specification_version: 4
141
144
  summary: Just another project helper that integrates with Rake.