hen 0.1.1.265 → 0.1.2.273

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.
data/ChangeLog CHANGED
@@ -1,5 +1,9 @@
1
1
  = Revision history for hen
2
2
 
3
+ == 0.1.2 [2008-08-12]
4
+
5
+ * Added task to update/create gemspec file (e.g., for github)
6
+
3
7
  == 0.1.1 [2008-07-29]
4
8
 
5
9
  * Added task to run specs with RCov
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to hen version 0.1.1
5
+ This documentation refers to hen version 0.1.2
6
6
 
7
7
 
8
8
  == DESCRIPTION
data/lib/hen/version.rb CHANGED
@@ -32,7 +32,7 @@ class Hen
32
32
 
33
33
  MAJOR = 0
34
34
  MINOR = 1
35
- TINY = 1
35
+ TINY = 2
36
36
 
37
37
  class << self
38
38
 
data/lib/hens/gem.rake CHANGED
@@ -84,6 +84,16 @@ Hen :gem => :rdoc do
84
84
  puts gem_spec.to_ruby
85
85
  end
86
86
 
87
+ desc "Update (or create) the project's gemspec file"
88
+ task 'gemspec:update' do
89
+ file = "#{gem_spec.name}.gemspec"
90
+ action = File.exists?(file) ? 'Updated' : 'Created'
91
+
92
+ File.open(file, 'w') { |f| f.puts gem_spec.to_ruby }
93
+
94
+ puts "#{action} #{file}"
95
+ end
96
+
87
97
  pkg_task = Rake::GemPackageTask.new(gem_spec) do |pkg|
88
98
  pkg.need_tar_gz = true
89
99
  pkg.need_zip = true
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.1.1.265
4
+ version: 0.1.2.273
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-07-29 00:00:00 +02:00
12
+ date: 2008-08-12 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -72,13 +72,13 @@ has_rdoc: true
72
72
  homepage: http://prometheus.rubyforge.org/hen
73
73
  post_install_message:
74
74
  rdoc_options:
75
+ - --title
76
+ - hen Application documentation
75
77
  - --main
76
78
  - README
77
79
  - --line-numbers
78
80
  - --all
79
81
  - --inline-source
80
- - --title
81
- - hen Application documentation
82
82
  - --charset
83
83
  - UTF-8
84
84
  require_paths: