Permalink
Browse files

Tweaking the gemspec.

  • Loading branch information...
1 parent b4ca4b5 commit eff470afe463c8b3140bb81b9e5241bfece456f9 @jbarnette committed Jul 29, 2008
Showing with 5 additions and 14 deletions.
  1. +3 −5 Rakefile
  2. +2 −2 johnson.gemspec
  3. +0 −7 lib/hoe.rb
View
@@ -33,11 +33,9 @@ HOE = Hoe.new("johnson", Johnson::VERSION) do |p|
end
namespace :gem do
- namespace :spec do
- task :generate do
- File.open("johnson.gemspec", "w") do |f|
- f.puts(HOE.spec.to_ruby)
- end
+ task :spec do
+ File.open("johnson.gemspec", "w") do |f|
+ f.puts(HOE.spec.to_ruby)
end
end
end
View
@@ -1,10 +1,10 @@
Gem::Specification.new do |s|
s.name = %q{johnson}
- s.version = "1.0.0.200807031344"
+ s.version = "1.0.0.200807291507"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["John Barnette", "Aaron Patterson", "Yehuda Katz", "Matthew Draper"]
- s.date = %q{2008-07-03}
+ s.date = %q{2008-07-29}
s.default_executable = %q{johnson}
s.description = %q{Johnson wraps JavaScript in a loving Ruby embrace.}
s.email = %q{johnson-talk@googlegroups.com}
View
@@ -429,13 +429,6 @@ def with_config # :nodoc:
puts spec.to_ruby
end
- desc "Generate #{name}.gemspec"
- task :gemspec do
- File.open("#{name}.gemspec", "w") do |f|
- f.write spec.to_ruby
- end
- end
-
self.lib_files = spec.files.grep(/^(lib|ext)/)
self.bin_files = spec.files.grep(/^bin/)
self.test_files = spec.files.grep(/^test/)

0 comments on commit eff470a

Please sign in to comment.