Permalink
Browse files

bumping the gemspec

  • Loading branch information...
1 parent bd52641 commit 284dd5d371235847e76b7d2286ace53b9558f864 @croaky committed Jan 8, 2009
Showing with 76 additions and 43 deletions.
  1. +15 −14 Rakefile
  2. +0 −4 VERSION.yml
  3. +61 −25 webster.gemspec
View
@@ -12,19 +12,20 @@ end
desc "Run the test suite"
task :default => :test
-begin
- require 'rubygems'
- require 'jeweler'
- Jeweler::Tasks.new do |s|
- s.name = "webster"
- s.summary = "Generate random short words. Good for human-readable confirmation codes."
- s.email = "dcroak@thoughtbot.com"
- s.homepage = "http://github.com/dancroak/webster"
- s.description = "Generate random short words. Good for human-readable confirmation codes."
- s.authors = ["Dan Croak"]
- s.files = FileList["[A-Z]*", "{lib,test,shoulda_macros}/**/*"]
- end
-rescue LoadError
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
+spec = Gem::Specification.new do |s|
+ s.name = "webster"
+ s.version = "0.4.8"
+ s.summary = "Generate random short words. Good for human-readable confirmation codes."
+ s.email = "dcroak@thoughtbot.com"
+ s.homepage = "http://github.com/dancroak/webster"
+ s.description = "Generate random short words. Good for human-readable confirmation codes."
+ s.authors = ["Dan Croak", "Jared Carroll", "thoughtbot"]
+ s.files = FileList["[A-Z]*", "{lib,shoulda_macros}/**/*"]
end
+desc "Generate a gemspec file"
+task :gemspec do
+ File.open("#{spec.name}.gemspec", 'w') do |f|
+ f.write spec.to_yaml
+ end
+end
View
@@ -1,4 +0,0 @@
----
-patch: 7
-major: 0
-minor: 4
View
@@ -1,25 +1,61 @@
-Gem::Specification.new do |s|
- s.name = %q{webster}
- s.version = "0.4.7"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Dan Croak"]
- s.date = %q{2008-12-12}
- s.description = %q{Generate random short words. Good for human-readable confirmation codes.}
- s.email = %q{dcroak@thoughtbot.com}
- s.files = ["LICENSE", "Rakefile", "README.textile", "VERSION.yml", "lib/webster.rb", "lib/words", "test/webster_test.rb", "shoulda_macros/webster.rb"]
- s.homepage = %q{http://github.com/dancroak/webster}
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.2.0}
- s.summary = %q{Generate random short words. Good for human-readable confirmation codes.}
-
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 2
-
- if current_version >= 3 then
- else
- end
- else
- end
-end
+--- !ruby/object:Gem::Specification
+name: webster
+version: !ruby/object:Gem::Version
+ version: 0.4.8
+platform: ruby
+authors:
+- Dan Croak
+- Jared Carroll
+- thoughtbot
+autorequire:
+bindir: bin
+cert_chain: []
+
+date: 2009-01-08 00:00:00 -05:00
+default_executable:
+dependencies: []
+
+description: Generate random short words. Good for human-readable confirmation codes.
+email: dcroak@thoughtbot.com
+executables: []
+
+extensions: []
+
+extra_rdoc_files: []
+
+files:
+- LICENSE
+- Rakefile
+- README.textile
+- VERSION.yml
+- lib/webster.rb
+- lib/words
+- shoulda_macros/webster.rb
+has_rdoc: false
+homepage: http://github.com/dancroak/webster
+post_install_message:
+rdoc_options: []
+
+require_paths:
+- lib
+required_ruby_version: !ruby/object:Gem::Requirement
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+ version: "0"
+ version:
+required_rubygems_version: !ruby/object:Gem::Requirement
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+ version: "0"
+ version:
+requirements: []
+
+rubyforge_project:
+rubygems_version: 1.3.1
+signing_key:
+specification_version: 2
+summary: Generate random short words. Good for human-readable confirmation codes.
+test_files: []
+

0 comments on commit 284dd5d

Please sign in to comment.