Skip to content

Commit

Permalink
gemified and bumped up version to 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
despo committed Apr 14, 2011
1 parent 34350b6 commit 4f5f08e
Show file tree
Hide file tree
Showing 6 changed files with 208 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
.rvmrc
*.swp
.DS_Store

#rdoc generated
rdoc

# yard generated
doc

# bundler
.bundle

# jeweler generated
pkg
7 changes: 6 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
source "http://rubygems.org"
source :rubygems
gem "cucumber", "0.10.0"
gem "rspec", "2.5.0", :require => 'spec'
gem "capybara", "0.4.1.2"
gem "sinatra", "1.2.0"
gem "aruba", "0.3.5"

group :development do
gem "bundler", "~> 1.0.0"
gem "jeweler", "~> 1.5.2"
end
7 changes: 7 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ GEM
rake (>= 0.8.7)
gherkin (2.3.3)
json (~> 1.4.6)
git (1.2.5)
jeweler (1.5.2)
bundler (~> 1.0.0)
git (>= 1.2.5)
rake
json (1.4.6)
json_pure (1.5.1)
mime-types (1.16)
Expand Down Expand Up @@ -65,7 +70,9 @@ PLATFORMS

DEPENDENCIES
aruba (= 0.3.5)
bundler (~> 1.0.0)
capybara (= 0.4.1.2)
cucumber (= 0.10.0)
jeweler (~> 1.5.2)
rspec (= 2.5.0)
sinatra (= 1.2.0)
51 changes: 51 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "cuke_salad"
gem.homepage = "https://github.com/RiverGlide/CukeSalad"
gem.license = "MIT"
gem.summary = %Q{Step free cucumber}
gem.description = %Q{CukeSalad allows you to focus on the task at hand - expressing examples, the roles involved in those examples and what those roles can do with the product under development.}
gem.email = "[email protected]"
gem.authors = ["RiverGlide"]

# The following two lines need to be commented out in order to gain access to the version rake tasks
gem_version = File.exist?('VERSION') ? File.read('VERSION') : ""
gem.version = gem_version

end

Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
spec.rspec_opts = "-cfd"
end

require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:cucumber)

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "CukeSalad #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0
131 changes: 131 additions & 0 deletions cuke_salad.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{cuke_salad}
s.version = "0.1.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["RiverGlide"]
s.date = %q{2011-04-14}
s.description = %q{CukeSalad allows you to focus on the task at hand - expressing examples, the roles involved in those examples and what those roles can do with the product under development.}
s.email = %q{[email protected]}
s.extra_rdoc_files = [
"README.md"
]
s.files = [
".rspec",
"Examples/Calculator/cucumber.yml",
"Examples/Calculator/features/LOOK_MA_NO_STEP_DEFS.txt",
"Examples/Calculator/features/a_place_to_start.feature",
"Examples/Calculator/features/addition.feature",
"Examples/Calculator/features/complex_calculations.feature",
"Examples/Calculator/features/lib/alternative/roles/calculating_web_user.rb",
"Examples/Calculator/features/lib/default/roles/calculating_individual.rb",
"Examples/Calculator/features/lib/default/tasks/add.rb",
"Examples/Calculator/features/lib/default/tasks/calculate.rb",
"Examples/Calculator/features/lib/default/tasks/calculations.rb",
"Examples/Calculator/features/lib/default/tasks/see_the_answer.rb",
"Examples/Calculator/features/lib/default/tasks/subtract.rb",
"Examples/Calculator/features/lib/default/tasks/switch_on_the_calculator.rb",
"Examples/Calculator/features/subtraction.feature",
"Examples/Calculator/features/support/env.rb",
"Examples/Calculator/features/typical_workflow.feature",
"Examples/Calculator/lib/calculator.rb",
"Examples/Calculator/lib/config.ru",
"Examples/Calculator/lib/web_calculator.rb",
"Examples/Calculator/spec/calculator_spec.rb",
"Examples/Calculator/spec/web_calculator_spec.rb",
"Gemfile",
"Gemfile.lock",
"README.md",
"cucumber.yml",
"features/a_new_cuke_salad_project.feature",
"features/define_a_role.feature",
"features/define_a_task.feature",
"features/lib/roles/step_free_cuker.rb",
"features/lib/tasks/create_a_file.rb",
"features/lib/tasks/create_a_new_cuke_salad_project.rb",
"features/lib/tasks/create_a_role.rb",
"features/lib/tasks/create_a_task.rb",
"features/lib/tasks/create_directories.rb",
"features/lib/tasks/not_create_a_role.rb",
"features/lib/tasks/not_create_a_task.rb",
"features/lib/tasks/run.rb",
"features/lib/tasks/run_a_scenario.rb",
"features/lib/tasks/see_a_reply.rb",
"features/lib/tasks/see_the_step_has.rb",
"features/support/env.rb",
"lib/actor.rb",
"lib/codify/const_name.rb",
"lib/cuke_salad.rb",
"lib/director.rb",
"lib/specifics.rb",
"lib/task_author.rb",
"spec/actor_spec.rb",
"spec/codify/as_const_name_spec.rb",
"spec/director_spec.rb",
"spec/spec_helper.rb",
"spec/specifics_spec.rb",
"spec/task_author_spec.rb"
]
s.homepage = %q{https://github.com/RiverGlide/CukeSalad}
s.licenses = ["MIT"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.5.2}
s.summary = %q{Step free cucumber}
s.test_files = [
"examples/Calculator/features/lib/alternative/roles/calculating_web_user.rb",
"examples/Calculator/features/lib/default/roles/calculating_individual.rb",
"examples/Calculator/features/lib/default/tasks/add.rb",
"examples/Calculator/features/lib/default/tasks/calculate.rb",
"examples/Calculator/features/lib/default/tasks/calculations.rb",
"examples/Calculator/features/lib/default/tasks/see_the_answer.rb",
"examples/Calculator/features/lib/default/tasks/subtract.rb",
"examples/Calculator/features/lib/default/tasks/switch_on_the_calculator.rb",
"examples/Calculator/features/support/env.rb",
"examples/Calculator/lib/calculator.rb",
"examples/Calculator/lib/web_calculator.rb",
"examples/Calculator/spec/calculator_spec.rb",
"examples/Calculator/spec/web_calculator_spec.rb",
"spec/actor_spec.rb",
"spec/codify/as_const_name_spec.rb",
"spec/director_spec.rb",
"spec/spec_helper.rb",
"spec/specifics_spec.rb",
"spec/task_author_spec.rb"
]

if s.respond_to? :specification_version then
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<cucumber>, ["= 0.10.0"])
s.add_runtime_dependency(%q<rspec>, ["= 2.5.0"])
s.add_runtime_dependency(%q<capybara>, ["= 0.4.1.2"])
s.add_runtime_dependency(%q<sinatra>, ["= 1.2.0"])
s.add_runtime_dependency(%q<aruba>, ["= 0.3.5"])
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
else
s.add_dependency(%q<cucumber>, ["= 0.10.0"])
s.add_dependency(%q<rspec>, ["= 2.5.0"])
s.add_dependency(%q<capybara>, ["= 0.4.1.2"])
s.add_dependency(%q<sinatra>, ["= 1.2.0"])
s.add_dependency(%q<aruba>, ["= 0.3.5"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
end
else
s.add_dependency(%q<cucumber>, ["= 0.10.0"])
s.add_dependency(%q<rspec>, ["= 2.5.0"])
s.add_dependency(%q<capybara>, ["= 0.4.1.2"])
s.add_dependency(%q<sinatra>, ["= 1.2.0"])
s.add_dependency(%q<aruba>, ["= 0.3.5"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
end
end

0 comments on commit 4f5f08e

Please sign in to comment.