Skip to content

Commit

Permalink
Fixed the jeweler prerelease thing (Issue 81)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Petschnig committed Jan 24, 2011
1 parent 6b4dd9a commit 2f42d99
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
3 changes: 3 additions & 0 deletions Rakefile
@@ -1,6 +1,8 @@
require 'rubygems'
require 'rake'

version = File.exist?('VERSION') ? File.read('VERSION') : ""

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
Expand All @@ -11,6 +13,7 @@ begin
gem.homepage = "http://github.com/cpetschnig/constantrecord"
gem.authors = ["Christoph Petschnig"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
gem.version = version
end
Jeweler::GemcutterTasks.new
rescue LoadError
Expand Down
36 changes: 17 additions & 19 deletions constantrecord.gemspec
@@ -1,46 +1,44 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{constantrecord}
s.version = "0.3.1"
s.version = "0.3.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Christoph Petschnig"]
s.date = %q{2010-10-02}
s.date = %q{2011-01-24}
s.description = %q{A tiny ActiveRecord substitute for small, never changing database tables.}
s.email = %q{info@purevirtual.de}
s.extra_rdoc_files = [
"LICENSE",
"README.rdoc"
"README.rdoc"
]
s.files = [
"LICENSE",
"README.rdoc",
"Rakefile",
"VERSION",
"constantrecord.gemspec",
"lib/constantrecord.rb",
"samples/canadian_province.rb",
"samples/german_province.rb",
"samples/us_state.rb",
"test/helper.rb",
"test/test_constantrecord.rb"
"README.rdoc",
"Rakefile",
"VERSION",
"constantrecord.gemspec",
"lib/constantrecord.rb",
"samples/canadian_province.rb",
"samples/german_province.rb",
"samples/us_state.rb",
"test/helper.rb",
"test/test_constantrecord.rb"
]
s.homepage = %q{http://github.com/cpetschnig/constantrecord}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.rubygems_version = %q{1.4.2}
s.summary = %q{A tiny ActiveRecord substitute for small, never changing database tables.}
s.test_files = [
"test/test_constantrecord.rb",
"test/helper.rb"
"test/helper.rb",
"test/test_constantrecord.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
Expand Down

0 comments on commit 2f42d99

Please sign in to comment.