hen 0.4.7 → 0.4.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4386f412e1f6442e3932176d2ded0ce75ca29089
4
- data.tar.gz: 40c21cef3077fe57135618443199aa3146eb843c
3
+ metadata.gz: 3c232c55a5cbe822c33e81619bd7dc073164f7de
4
+ data.tar.gz: c56cdecd6cdd14d08271db95d1ab00c43da383f4
5
5
  SHA512:
6
- metadata.gz: a8073e2e200bb5a8488d49011ddeb0f43701d94fcc1c0af647bd463a8cbe717246b229d5bf198426a53c0c63a192913462fc5fdb0a9f40da1f51d237fd38652d
7
- data.tar.gz: 6b2c7e07c05a87081cf1f66441fb79e99f5d78d73d69b0c81cab40feb1366564004a624773e09152b26502b5d5587f54d2b8be42d09ace8f7fa5e91b1b180fe6
6
+ metadata.gz: c3f8c88313abdd18df8c3fab691ecd88159315fd4ac9f9b63cdb2a90a8f79c9ccec35a9dda29381818a29af2dee9e96bab3c7dfe292a6fc92af192a8a00b33df
7
+ data.tar.gz: 0ff2fed8e31f2618d6cfe493c5ed9de0ffbd0c9592d8921bb6acbd3d615688c7b5658b41ade1d0406e34e69b6a8216f04d50bdf13e73c0b2ac0f216dc4890db6
data/ChangeLog CHANGED
@@ -1,8 +1,18 @@
1
+ # markup: rd
2
+
1
3
  = Revision history for hen
2
4
 
3
- == 0.4.7 [unreleased]
5
+ == 0.4.8 [2013-07-15]
6
+
7
+ * Fall back to first local RDoc file for initial page.
8
+ * Specify project and template license in GemSpec.
9
+ * Housekeeping.
10
+
11
+ == 0.4.7 [2013-04-05]
4
12
 
5
13
  * Optionally specify Git remote with environment variable +HEN_REMOTE+.
14
+ * Work around helper file not being the first to load because of RSpec sorting
15
+ the test files.
6
16
 
7
17
  == 0.4.6 [2012-04-05]
8
18
 
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to hen version 0.4.7
5
+ This documentation refers to hen version 0.4.8
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -58,10 +58,9 @@ You can even extend Hen with your own tasks. More on that later. (TODO)
58
58
  == LINKS
59
59
 
60
60
  <b></b>
61
- Documentation:: <http://prometheus.rubyforge.org/hen>
62
- Source code:: <http://github.com/blackwinter/hen>
63
- RubyForge project:: <http://rubyforge.org/projects/prometheus>
64
- RubyGem:: <http://rubygems.org/gems/hen>
61
+ Documentation:: http://blackwinter.github.com/hen
62
+ Source code:: http://github.com/blackwinter/hen
63
+ RubyGem:: http://rubygems.org/gems/hen
65
64
 
66
65
 
67
66
  == AUTHORS
data/Rakefile CHANGED
@@ -3,17 +3,15 @@ $:.unshift(File.expand_path('../lib', __FILE__))
3
3
  require 'hen'
4
4
 
5
5
  Hen.lay! {{
6
- :rubyforge => {
7
- :project => %q{prometheus},
8
- :package => %q{hen}
9
- },
10
-
11
6
  :gem => {
7
+ :name => %q{hen},
12
8
  :version => Hen::VERSION,
13
9
  :summary => "Hoe or Echoe? No, thanks! Just a Rake " <<
14
10
  "helper that fits my own personal style.",
15
11
  :author => %q{Jens Wille},
16
12
  :email => %q{jens.wille@gmail.com},
13
+ :license => %q{AGPL},
14
+ :homepage => :blackwinter,
17
15
  :extra_files => FileList['lib/hens/*.rake'].to_a,
18
16
  :dependencies => [['ruby-nuggets', '>= 0.8.4'], 'highline']
19
17
  }
data/bin/hen CHANGED
@@ -36,8 +36,6 @@ require 'fileutils'
36
36
  require 'nuggets/enumerable/minmax'
37
37
 
38
38
  require 'hen/cli'
39
- require 'hen/version'
40
-
41
39
  include Hen::CLI
42
40
 
43
41
  ACTIONS = {
@@ -1,3 +1,5 @@
1
+ # markup: rd
2
+
1
3
  = Revision history for <%= progname %>
2
4
 
3
5
  == 0.0.1 [<%= Time.now.strftime('%Y-%m-%d') %>]
@@ -10,6 +10,7 @@ begin
10
10
  :summary => %q{<%= progdesc %>},
11
11
  :author => %q{<%= fullname %>},
12
12
  :email => %q{<%= emailaddress %>},
13
+ :license => %q{AGPL},
13
14
  :dependencies => %w[]
14
15
  }
15
16
  }}
data/lib/hen/cli.rb CHANGED
@@ -32,6 +32,8 @@ require 'etc'
32
32
  require 'erb'
33
33
  require 'highline/import'
34
34
 
35
+ require 'hen'
36
+
35
37
  class Hen
36
38
 
37
39
  # Some helper methods used by the Hen executable. Also available
data/lib/hen/dsl.rb CHANGED
@@ -31,6 +31,8 @@
31
31
  require 'nuggets/file/which'
32
32
  require 'nuggets/object/singleton_class'
33
33
 
34
+ require 'hen'
35
+
34
36
  class Hen
35
37
 
36
38
  # Some helper methods for use inside of a Hen definition.
data/lib/hen/version.rb CHANGED
@@ -4,7 +4,7 @@ class Hen
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 4
7
- TINY = 7
7
+ TINY = 8
8
8
 
9
9
  class << self
10
10
 
data/lib/hens/rdoc.rake CHANGED
@@ -50,11 +50,11 @@ Hen :rdoc do
50
50
  if mangle_files!(rdoc_files)
51
51
  mangle_files!(rdoc_files_local, :managed => false)
52
52
  else
53
- rdoc_files_local = nil
53
+ rdoc_files_local = []
54
54
  end
55
55
 
56
56
  rdoc_options.delete(:main) unless rdoc_files.include?(rdoc_options[:main])
57
- rdoc_options[:main] ||= rdoc_files.first
57
+ rdoc_options[:main] ||= rdoc_files.first || rdoc_files_local.first
58
58
 
59
59
  ### rdoc_options
60
60
 
@@ -79,7 +79,7 @@ Hen :rdoc do
79
79
  end
80
80
  end
81
81
 
82
- unless rdoc_files_local.nil? || rdoc_files_local.empty?
82
+ unless rdoc_files_local.empty?
83
83
  rdoc_klass.new('doc:local') { |rdoc|
84
84
  rdoc.rdoc_dir = rdoc_dir + '.local'
85
85
  rdoc.rdoc_files = rdoc_files_local
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-05 00:00:00.000000000 Z
11
+ date: 2013-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-nuggets
@@ -71,8 +71,9 @@ files:
71
71
  - example/project/_gitignore
72
72
  - example/project/lib/__progname__.rb
73
73
  - example/project/lib/__progname__/version.rb
74
- homepage: http://prometheus.rubyforge.org/hen
75
- licenses: []
74
+ homepage: http://github.com/blackwinter/hen
75
+ licenses:
76
+ - AGPL
76
77
  metadata: {}
77
78
  post_install_message:
78
79
  rdoc_options:
@@ -81,7 +82,7 @@ rdoc_options:
81
82
  - --line-numbers
82
83
  - --all
83
84
  - --title
84
- - hen Application documentation (v0.4.7)
85
+ - hen Application documentation (v0.4.8)
85
86
  - --main
86
87
  - README
87
88
  require_paths:
@@ -97,8 +98,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
98
  - !ruby/object:Gem::Version
98
99
  version: '0'
99
100
  requirements: []
100
- rubyforge_project: prometheus
101
- rubygems_version: 2.0.3
101
+ rubyforge_project:
102
+ rubygems_version: 2.0.5
102
103
  signing_key:
103
104
  specification_version: 4
104
105
  summary: Hoe or Echoe? No, thanks! Just a Rake helper that fits my own personal style.