Permalink
Browse files

Gem framework.

  • Loading branch information...
0 parents commit 24d865283d862f314a785087586878ae3d24f5b1 @jfirebaugh committed Oct 17, 2010
Showing with 156 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +3 −0 Gemfile
  3. +72 −0 Gemfile.lock
  4. +20 −0 LICENSE
  5. +21 −0 README.rdoc
  6. +2 −0 Rakefile
  7. +26 −0 bermuda.gemspec
  8. +6 −0 lib/bermuda.rb
  9. +3 −0 lib/bermuda/version.rb
@@ -0,0 +1,3 @@
+pkg/*
+*.gem
+.bundle
@@ -0,0 +1,3 @@
+source "http://rubygems.org"
+
+gemspec
@@ -0,0 +1,72 @@
+PATH
+ remote: .
+ specs:
+ bermuda (0.0.1)
+ capybara (~> 0.4.0.rc)
+ cucumber (~> 0.9.2)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ builder (2.1.2)
+ capybara (0.4.0.rc)
+ celerity (>= 0.7.9)
+ culerity (>= 0.2.4)
+ mime-types (>= 1.16)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ selenium-webdriver (>= 0.0.27)
+ xpath (~> 0.1.2)
+ celerity (0.8.2)
+ childprocess (0.1.0)
+ ffi (~> 0.6.3)
+ cucumber (0.9.2)
+ builder (~> 2.1.2)
+ diff-lcs (~> 1.1.2)
+ gherkin (~> 2.2.5)
+ json (~> 1.4.6)
+ term-ansicolor (~> 1.0.5)
+ culerity (0.2.12)
+ diff-lcs (1.1.2)
+ ffi (0.6.3)
+ rake (>= 0.8.7)
+ gherkin (2.2.9)
+ json (~> 1.4.6)
+ term-ansicolor (~> 1.0.5)
+ json (1.4.6)
+ json_pure (1.4.6)
+ mime-types (1.16)
+ nokogiri (1.4.3.1)
+ rack (1.2.1)
+ rack-test (0.5.6)
+ rack (>= 1.0)
+ rake (0.8.7)
+ rspec (2.0.0)
+ rspec-core (= 2.0.0)
+ rspec-expectations (= 2.0.0)
+ rspec-mocks (= 2.0.0)
+ rspec-core (2.0.0)
+ rspec-expectations (2.0.0)
+ diff-lcs (>= 1.1.2)
+ rspec-mocks (2.0.0)
+ rspec-core (= 2.0.0)
+ rspec-expectations (= 2.0.0)
+ rubyzip (0.9.4)
+ selenium-webdriver (0.0.29)
+ childprocess (>= 0.0.7)
+ ffi (~> 0.6.3)
+ json_pure
+ rubyzip
+ term-ansicolor (1.0.5)
+ xpath (0.1.2)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bermuda!
+ capybara (~> 0.4.0.rc)
+ cucumber (~> 0.9.2)
+ rspec (~> 2.0.0)
20 LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2010 John Firebaugh
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,21 @@
+= bermuda
+
+Continuing in the naming tradition established by Aruba, Bermuda provides
+cucumber steps for driving out web applications which use jQuery UI widgets.
+
+== Usage
+
+ gem install bermuda
+
+Then, just require the library in one of your ruby files under
+<tt>features/support</tt>
+
+ require 'bermuda/cucumber'
+
+You now have a bunch of step definitions that you can use in your features.
+Look at aruba/cucumber.rb to see all the step definitions. Look at
+features/*.feature for examples (which are also testing Bermuda itself).
+
+== Copyright
+
+Copyright (c) 2010 John Firebaugh. See LICENSE for details.
@@ -0,0 +1,2 @@
+require 'bundler'
+Bundler::GemHelper.install_tasks
@@ -0,0 +1,26 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "bermuda/version"
+
+Gem::Specification.new do |s|
+ s.name = "bermuda"
+ s.version = Bermuda::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["John Firebaugh"]
+ s.email = ["john.firebaugh@gmail.com"]
+ s.homepage = "http://rubygems.org/gems/bermuda"
+ s.summary = %q{jQuery UI steps for cucumber and capybara}
+ s.description = %q{Provides cucumber step definitions for testing jQuery UI widget interactions with capybara}
+
+ s.rubyforge_project = "bermuda"
+
+ 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 "cucumber", "~> 0.9.2"
+ s.add_dependency "capybara", "~> 0.4.0.rc"
+
+ s.add_development_dependency "rspec", "~> 2.0.0"
+end
@@ -0,0 +1,6 @@
+# Nothing is required by default, so you can specify `gem :bermuda` in
+# your Gemfile without actually loading any step definitions (which require
+# the cucumber environment established by the 'cucumber' command).
+
+# To load the step definitions, require 'bermuda/cucumber' within a
+# file in features/support/ or features/step_definitions/.
@@ -0,0 +1,3 @@
+module Bermuda
+ VERSION = "0.0.1"
+end

0 comments on commit 24d8652

Please sign in to comment.