Skip to content

Commit

Permalink
Added Bundler gem tasks and Bundler-style gemspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete Nicholls committed Jul 28, 2011
1 parent a571db6 commit e6cba3f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source :rubygems

# Add dependencies inside gemspec
gemspec

group :test do
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
oulipo (0.1.0)
oulipo (0.1.1)

GEM
remote: http://rubygems.org/
Expand Down
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'bundler/gem_tasks'

task :default => :spec
task :test => :spec

Expand Down
21 changes: 13 additions & 8 deletions oulipo.gemspec
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)

Gem::Specification.new do |s|
s.name = "oulipo"
s.version = "0.1.0"
s.version = "0.1.1"
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "Constrained writing with Ruby."
s.homepage = "http://github.com/Aupajo/oulipo"
s.email = "[email protected]"
s.authors = [ "Pete Nicholls" ]
s.has_rdoc = false

s.summary = "Constrained writing with Ruby."
s.description = 'Oulipo gives you tools to write constrained stories and poems with Ruby.'

s.files = %w( README.md Rakefile LICENSE )
s.files += Dir.glob("lib/**/*")
s.files += Dir.glob("spec/**/*")

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

# s.add_dependency "gemname", "< 3.0.0"

s.description = 'Oulipo gives you tools to write constrained stories and poems with Ruby.'

end

0 comments on commit e6cba3f

Please sign in to comment.