-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Bundler gem tasks and Bundler-style gemspec.
- Loading branch information
Pete Nicholls
committed
Jul 28, 2011
1 parent
a571db6
commit e6cba3f
Showing
4 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
source :rubygems | ||
|
||
# Add dependencies inside gemspec | ||
gemspec | ||
|
||
group :test do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
require 'bundler/gem_tasks' | ||
|
||
task :default => :spec | ||
task :test => :spec | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |