hen 0.0.7.196 → 0.0.8.202

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to hen version 0.0.7
5
+ This documentation refers to hen version 0.0.8
6
6
 
7
7
 
8
8
  == DESCRIPTION
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ Hen.lay! {{
12
12
  :summary => "Hoe or Echoe? No, thanks! Just a Rake " <<
13
13
  "helper that fits my own personal style.",
14
14
  :files => FileList['lib/**/*.rb', 'bin/*'].to_a,
15
- :extra_files => FileList['[A-Z]*', 'lib/hens/*.rake', 'example/*', 'example/.henrc'].to_a,
15
+ :extra_files => FileList['[A-Z]*', 'lib/hens/*.rake', 'example/**/*', 'example/.henrc'].to_a,
16
16
  :dependencies => ['rubyforge', ['ruby-nuggets', '>= 0.0.7']]
17
17
  }
18
18
  }}
@@ -0,0 +1,31 @@
1
+ # Add File.dirname(__FILE__) to your HENPATH environment variable -- et voilà.
2
+
3
+ # Meet your 'sample' hen
4
+ Hen :sample do
5
+
6
+ # Access options set in your .henrc or project Rakefile
7
+ sample_options = config[:sample]
8
+
9
+ # Define your tasks
10
+ desc "Like some tea?"
11
+ task :make_tea do
12
+ puts <<'TEA'
13
+ ( ) ( ) )
14
+ ) ( ) ( (
15
+ ( ) ( ) )
16
+ _____________
17
+ <_____________> ___
18
+ | |/ _ \
19
+ | | | |
20
+ | |_| |
21
+ ___| |\___/
22
+ / \___________/ \
23
+ \_____________________/
24
+
25
+ <http://www.afn.org/~afn39695/potier.htm>
26
+ TEA
27
+ end
28
+
29
+ # and so on...
30
+
31
+ end
@@ -0,0 +1,3 @@
1
+ = License for <%= ask! "Program's name" %>
2
+
3
+ ### PLACE YOUR LICENSE TEXT HERE ###
@@ -0,0 +1,5 @@
1
+ = Revision history for <%= ask! "Program's name" %>
2
+
3
+ == 0.0.1 [<%= Time.now.strftime('%Y-%m-%d') %>]
4
+
5
+ * Birthday :-)
@@ -0,0 +1,20 @@
1
+ = <%= ask! "Program's name" %> - <%= ask "Program's description summary" %>
2
+
3
+ == VERSION
4
+
5
+ This documentation refers to <%= ask! "Program's name" %> version 0.0.1
6
+
7
+
8
+ == DESCRIPTION
9
+
10
+ ### PLACE YOUR DESCRIPTION HERE ###
11
+
12
+
13
+ == AUTHORS
14
+
15
+ * <%= ask "Full name", 'gem/author' %> <mailto:<%= ask "E-mail address", 'gem/email' %>>
16
+
17
+
18
+ == LICENSE AND COPYRIGHT
19
+
20
+ ### PLACE YOUR COPYRIGHT NOTICE HERE ###
@@ -0,0 +1,24 @@
1
+ require %q{lib/<%= ask! "Program's name" %>/version}
2
+
3
+ begin
4
+ require 'hen'
5
+
6
+ Hen.lay! {{
7
+ :rubyforge => {
8
+ :project => %q{<%= ask "Rubyforge project's name (Leave empty for none)" %>},
9
+ :package => %q{<%= ask! "Program's name" %>}
10
+ },
11
+
12
+ :gem => {
13
+ :version => <%= ask! "Module's/Class' name" %>::VERSION,
14
+ :summary => %q{<%= ask "Program's description summary" %>},
15
+ :files => FileList['lib/**/*.rb'].to_a,
16
+ :extra_files => FileList['[A-Z]*'].to_a,
17
+ :dependencies => %w[]
18
+ }
19
+ }}
20
+ rescue LoadError
21
+ abort "Please install the 'hen' gem first."
22
+ end
23
+
24
+ ### Place your custom Rake tasks here.
@@ -0,0 +1,2 @@
1
+ class <%= ask! "Module's/Class' name" %>
2
+ end
@@ -0,0 +1,27 @@
1
+ class <%= ask! "Module's/Class' name" %>
2
+
3
+ module Version
4
+
5
+ MAJOR = 0
6
+ MINOR = 0
7
+ TINY = 1
8
+
9
+ class << self
10
+
11
+ # Returns array representation.
12
+ def to_a
13
+ [MAJOR, MINOR, TINY]
14
+ end
15
+
16
+ # Short-cut for version string.
17
+ def to_s
18
+ to_a.join('.')
19
+ end
20
+
21
+ end
22
+
23
+ end
24
+
25
+ VERSION = Version.to_s
26
+
27
+ end
@@ -32,7 +32,7 @@ class Hen
32
32
 
33
33
  MAJOR = 0
34
34
  MINOR = 0
35
- TINY = 7
35
+ TINY = 8
36
36
 
37
37
  class << self
38
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7.196
4
+ version: 0.0.8.202
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-02-01 00:00:00 +01:00
12
+ date: 2008-02-15 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -55,7 +55,16 @@ files:
55
55
  - lib/hens/test.rake
56
56
  - lib/hens/rdoc.rake
57
57
  - example/hens
58
+ - example/hens/sample.rake
58
59
  - example/project
60
+ - example/project/COPYING
61
+ - example/project/README
62
+ - example/project/ChangeLog
63
+ - example/project/Rakefile
64
+ - example/project/lib
65
+ - example/project/lib/__progname__.rb
66
+ - example/project/lib/__progname__
67
+ - example/project/lib/__progname__/version.rb
59
68
  - example/.henrc
60
69
  has_rdoc: true
61
70
  homepage: http://prometheus.rubyforge.org/hen