Skip to content

Commit

Permalink
Prepare for 0.1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Oct 15, 2009
1 parent ffe95f8 commit c88dc1f
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 26 deletions.
6 changes: 6 additions & 0 deletions History.txt
@@ -1,3 +1,9 @@
== 0.1.16 - 13 Oct 2009

* 1 minor enhancement
* release gem on gemcutter and rubyforge


== 0.1.15 - 28 Aug 2009

* 1 minor enhancement
Expand Down
5 changes: 4 additions & 1 deletion README.rdoc
Expand Up @@ -15,13 +15,16 @@ It's tested against all stable branches of 2.x rails, and edge, with the latest

Install pickle either as a rails plugin, or a gem

# gem form rubyforge or gemcutter
sudo gem install pickle

# plugin
script/plugin install git://github.com/ianwhite/pickle.git

# or, plugin as submodule
git submodule add git://github.com/ianwhite/pickle.git vendor/plugins/pickle

# or, gem
# or, github gem
sudo gem install ianwhite-pickle

== Get Started
Expand Down
39 changes: 19 additions & 20 deletions Rakefile
Expand Up @@ -87,31 +87,30 @@ rescue LoadError
end

begin
require 'rake/gempackagetask'
require 'jeweler'

spec = Gem::Specification.new do |s|
s.name = "pickle"
s.version = Pickle::Version::String
s.summary = "Easy model creation and reference in your cucumber features"
s.description = "Easy model creation and reference in your cucumber features"
s.author = "Ian White"
s.email = "ian.w.white@gmail.com"
s.homepage = "http://github.com/ianwhite/pickle/tree"
s.has_rdoc = true
s.rdoc_options << "--title" << "Pickle" << "--line-numbers"
s.test_files = FileList["spec/**/*_spec.rb"]
s.files = FileList["lib/**/*.rb", "rails_generators/**/*.rb", "License.txt", "README.rdoc", "Todo.txt", "History.txt"]
Jeweler::Tasks.new do |s|
s.name = "pickle"
s.version = Pickle::Version::String
s.summary = "Easy model creation and reference in your cucumber features"
s.description = "Easy model creation and reference in your cucumber features"
s.email = "ian.w.white@gmail.com"
s.homepage = "http://github.com/ianwhite/pickle/tree"
s.authors = ["Ian White"]
s.rubyforge_project = 'garlic'
end

Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
p.need_tar = true
p.need_zip = true
Jeweler::GemcutterTasks.new

Jeweler::RubyforgeTasks.new do |rubyforge|
rubyforge.doc_task = "doc"
end

desc "Generate pickle.gemspec file"
task :build do
File.open('pickle.gemspec', 'w') {|f| f.write spec.to_ruby }
namespace :release do
desc "Release current version to github, gemcutter and rubyforge"
task :all => ['release', 'gemcutter:release', 'rubyforge:release']
end

rescue LoadError
puts "Jeweler not available for gem tasks. Install it with: sudo gem install jeweler"
end
1 change: 1 addition & 0 deletions VERSION
@@ -0,0 +1 @@
0.1.15
7 changes: 2 additions & 5 deletions lib/pickle/version.rb
@@ -1,9 +1,6 @@
module Pickle
module Version
Major = 0
Minor = 1
Tiny = 15

String = [Major, Minor, Tiny].join('.')
String = File.read(File.dirname(File.dirname(__FILE__)) + '/../VERSION').strip
Major, Minor, Patch = String.split('.').map{|i| i.to_i}
end
end

0 comments on commit c88dc1f

Please sign in to comment.