cuke-pack 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in cuke-pack.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 John Bintz
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # Cuke::Pack
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'cuke-pack'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install cuke-pack
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
data/bin/cuke-pack ADDED
@@ -0,0 +1,89 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'thor'
4
+ require 'builder'
5
+
6
+ module CukePack
7
+ class CLI < Thor
8
+ include Thor::Actions
9
+
10
+ def self.source_root
11
+ File.expand_path('../../skel', __FILE__)
12
+ end
13
+
14
+ desc "install", "Install CukePack into the current directory"
15
+ def install
16
+ directory '.', '.'
17
+ end
18
+
19
+ desc "wip-guard", "Add the WIP guard to your Guardfile"
20
+ def wip_guard
21
+ FileUtils.touch 'Guardfile'
22
+
23
+ append_file 'Guardfile', <<-RB
24
+ # added by cuke-pack
25
+
26
+ group :wip do
27
+ guard 'cucumber', :env => :cucumber, :cli => '-p wip' do
28
+ watch(%r{^features/.+\.feature$})
29
+ watch(%r{^(app|lib).*}) { 'features' }
30
+ watch(%r{^features/support/.+$}) { 'features' }
31
+ watch(%r{^features/step_definitions/(.+)\.rb$}) { 'features' }
32
+ end
33
+ end
34
+ RB
35
+ end
36
+
37
+ desc "screenshots DIR", "Start a screenshot server"
38
+ method_options %w{port -p} => 4432
39
+ def screenshots(dir = "features/screenshots")
40
+ require 'rack'
41
+
42
+ Rack::Handler.default.run(ScreenshotsApp.new(dir), :Port => options[:port])
43
+ end
44
+
45
+ default_task :install
46
+ end
47
+ end
48
+
49
+ class ScreenshotsApp
50
+ def initialize(dir)
51
+ @dir = dir
52
+ end
53
+
54
+ def call(env)
55
+ by_file = {}
56
+
57
+ Dir[@dir + '/**/*.png'].each do |file|
58
+ file = file.gsub(%r{^#{@dir}/}, '')
59
+
60
+ parts = file.split('/')
61
+
62
+ browser = parts.shift
63
+
64
+ name = parts.join('/')
65
+
66
+ by_file[name] ||= []
67
+ by_file[name] << browser
68
+ end
69
+
70
+ output = Builder::XmlMarkup.new
71
+
72
+ output.html {
73
+ output.head {
74
+ output.title("Screenshots")
75
+ }
76
+
77
+ output.body {
78
+ by_file.each do |name, browsers|
79
+
80
+ end
81
+ }
82
+ }
83
+
84
+ [ 200, {}, [ output.to_s ] ]
85
+ end
86
+ end
87
+
88
+ CukePack::CLI.start
89
+
data/cuke-pack.gemspec ADDED
@@ -0,0 +1,26 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/cuke-pack/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["John Bintz"]
6
+ gem.email = ["john@coswellproductions.com"]
7
+ gem.description = %q{Stuff I use for Cucumber}
8
+ gem.summary = %q{Stuff I use for Cucumber}
9
+ gem.homepage = ""
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "cuke-pack"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = CukePack::VERSION
17
+
18
+ gem.add_dependency 'cucumber'
19
+ gem.add_dependency 'cucumber-step_writer'
20
+ gem.add_dependency 'thor'
21
+ gem.add_dependency 'flay'
22
+ gem.add_dependency 'hirb'
23
+ gem.add_dependency 'sourcify'
24
+ gem.add_dependency 'sexp_processor'
25
+ end
26
+
@@ -0,0 +1,25 @@
1
+ require 'cucumber/formatter/ansicolor'
2
+
3
+ module Cucumber
4
+ class CleanupFormatter
5
+ include Cucumber::Formatter::ANSIColor
6
+
7
+ def initialize(step_mother, path_or_io, options)
8
+ @step_mother = step_mother
9
+ end
10
+
11
+ def after_features(features)
12
+ defs = @step_mother.unmatched_step_definitions
13
+
14
+ if !defs.empty?
15
+ $stdout.puts yellow("The following steps are unused:")
16
+ $stdout.puts
17
+
18
+ defs.each do |step|
19
+ $stdout.puts yellow(step.file_colon_line)
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+
@@ -0,0 +1,6 @@
1
+ require 'cuke-pack/drivers'
2
+
3
+ Capybara.register_driver :firefox do |app|
4
+ Capybara::Selenium::Driver.new(app, :browser => :firefox)
5
+ end
6
+
@@ -0,0 +1,6 @@
1
+ Before do
2
+ if ENV['DRIVER']
3
+ Capybara.current_driver = ENV['DRIVER'].to_sym
4
+ end
5
+ end
6
+
@@ -0,0 +1,4 @@
1
+ def confirm_js
2
+ page.evaluate_script('window.confirm = function() { return true; }')
3
+ page.evaluate_script('window.alert = function() { return true; }')
4
+ end
@@ -0,0 +1,40 @@
1
+ def expect_fields(object, *fields, &block)
2
+ @__expect_stack ||= 0
3
+ @__expect_stack += 1
4
+
5
+ options = {}
6
+
7
+ if fields.last.kind_of?(::Hash)
8
+ options = fields.pop.dup
9
+ end
10
+
11
+ search_type = @__expect_stack == 1 ? "#" : "."
12
+
13
+ if object.respond_to?(:each)
14
+ within "#{search_type}#{object.first.class.name.underscore.pluralize}" do
15
+ object.each_with_index do |subobject, index|
16
+ expect_fields subobject, fields, options.merge(:index => index), &block
17
+ end
18
+ end
19
+ else
20
+ finder = "#{search_type}#{object.class.name.underscore}"
21
+ if options[:index]
22
+ finder << ":eq(#{options[:index] + 1})"
23
+ end
24
+
25
+ within finder do
26
+ fields.flatten.each do |field|
27
+ expect_field field, object.send(field).to_s
28
+ end
29
+
30
+ block.call(object) if block
31
+ end
32
+ end
33
+
34
+ @__expect_stack -= 1
35
+ @__expect_stack = nil if @__expect_stack == 0
36
+ end
37
+
38
+ def expect_field(field, value)
39
+ find(".#{field}").text.should == value
40
+ end
@@ -0,0 +1,7 @@
1
+ After do |scenario|
2
+ if ENV['FAILFAST'] && scenario.failed?
3
+ $stderr.puts "Test failed, quitting..."
4
+
5
+ Cucumber.wants_to_quit = true
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ # Enable FakeFS support in scenarios tagged @fakefs
2
+
3
+ require 'fakefs/safe'
4
+
5
+ Before('@fakefs') do
6
+ FakeFS.activate!
7
+ end
8
+
9
+ After('@fakefs') do
10
+ ensure_mocha if respond_to?(:ensure_mocha)
11
+
12
+ FakeFS::FileSystem.clear
13
+ FakeFS.deactivate!
14
+ end
15
+
@@ -0,0 +1,18 @@
1
+ # run flay on your cucumber steps after a successful run. prevent bloat and
2
+ # promote reusability!
3
+
4
+ flay_exception = nil
5
+ flay_level ||= 30
6
+ # set me to a minimum sane level. don't go nuts refactoring!
7
+ # code should be cleaner when you're done, not become spaghetti.
8
+
9
+ After do |s|
10
+ flay_exception ||= s.exception
11
+ end
12
+
13
+ at_exit do
14
+ if flay_level
15
+ system %{flay -m #{flay_level} features/step_definitions/**/*.rb} if !flay_exception
16
+ end
17
+ end
18
+
@@ -0,0 +1,26 @@
1
+ # Enable mocha in scenarios tagged @mocha
2
+
3
+ require 'mocha'
4
+
5
+ World(Mocha::API)
6
+
7
+ def ensure_mocha
8
+ return if @_mocha_ensured
9
+
10
+ begin
11
+ mocha_verify
12
+ ensure
13
+ mocha_teardown
14
+ end
15
+
16
+ @_mocha_ensured = true
17
+ end
18
+
19
+ Before('@mocha') do
20
+ mocha_setup
21
+ end
22
+
23
+ After('@mocha') do
24
+ ensure_mocha
25
+ end
26
+
@@ -0,0 +1,8 @@
1
+ def pause
2
+ if @pause_ok
3
+ $stdout.puts "Paused. Press [ Return ] to continue."
4
+ $stdin.getc
5
+ $stdout.puts "Resuming..."
6
+ end
7
+ end
8
+
@@ -0,0 +1,10 @@
1
+ module Cucumber::RbSupport::RbWorld
2
+ alias :_pending :pending
3
+
4
+ def pending
5
+ pause
6
+
7
+ _pending
8
+ end
9
+ end
10
+
@@ -0,0 +1,37 @@
1
+ Around do |scenario, code|
2
+ code.call
3
+
4
+ case scenario.exception
5
+ when ActionController::RoutingError
6
+ if class_name = scenario.exception.message[%r{uninitialized constant (.*Controller)}, 1]
7
+ filename = class_name.underscore
8
+
9
+ File.open("app/controllers/#{filename}.rb", 'w') { |fh|
10
+ fh.print <<-RB
11
+ class #{class_name} < ApplicationController
12
+ end
13
+ RB
14
+ }
15
+ end
16
+ when AbstractController::ActionNotFound
17
+ if matches = scenario.exception.message.match(%r{The action '(.*)' could not be found for (.*)Controller})
18
+ _, action, class_name = matches.to_a
19
+
20
+ target = Pathname('app/views').join(class_name.underscore).join("#{action}.html.haml")
21
+
22
+ if %w{show edit index}.include?(action)
23
+ target.parent.mkpath
24
+ target.open('w') { |fh|
25
+ case action
26
+ when 'show', 'edit'
27
+ fh.puts "##{class_name.underscore.singular}"
28
+ when 'index'
29
+ fh.puts "##{class_name.underscore}= render @#{class_name.underscore}"
30
+ end
31
+ }
32
+ end
33
+ end
34
+ end
35
+ end
36
+
37
+
@@ -0,0 +1,25 @@
1
+ module CukePack
2
+ class << self
3
+ attr_accessor :screenshot_options
4
+ end
5
+
6
+ self.screenshot_options = { :width => 1280, :height => 1024, :prepend_driver_name => true, :directory => "features/screenshots" }
7
+ end
8
+
9
+ def take_screenshot(name, options = {})
10
+ selenium = Capybara.current_session.driver.browser
11
+
12
+ if selenium.respond_to?(:manage)
13
+ options = CukePack.screenshot_options.merge(options)
14
+
15
+ selenium.manage.window.resize_to(options[:width], options[:height])
16
+
17
+ target = options[:directory]
18
+ target = File.join(target, Capybara.current_driver.to_s)
19
+ target = File.join(target, name + ".png")
20
+
21
+ FileUtils.mkdir_p File.dirname(target)
22
+
23
+ selenium.save_screenshot(target)
24
+ end
25
+ end
@@ -0,0 +1,2 @@
1
+ require 'cucumber/step_writer'
2
+
@@ -0,0 +1,5 @@
1
+ require 'timecop'
2
+
3
+ After do
4
+ Timecop.return
5
+ end
@@ -0,0 +1,96 @@
1
+ require 'sourcify'
2
+
3
+ MAX_TIMES = 20
4
+ WAIT_TIME = 0.1
5
+
6
+ def _wait_for_exceptions
7
+ exceptions = [ Capybara::ElementNotFound ]
8
+ if defined?(Capybara::Driver::Webkit::Node::ElementNotDisplayedError)
9
+ exceptions << Capybara::Driver::Webkit::Node::ElementNotDisplayedError
10
+ end
11
+ if defined?(Selenium::WebDriver::Error::StaleElementReferenceError)
12
+ exceptions << Selenium::WebDriver::Error::StaleElementReferenceError
13
+ end
14
+
15
+ exceptions
16
+ end
17
+
18
+ def _wait_for_not_exceptions
19
+ exceptions = [ Capybara::ElementNotFound ]
20
+ if defined?(Capybara::Driver::Webkit::NodeNotAttachedError)
21
+ exceptions << Capybara::Driver::Webkit::NodeNotAttachedError
22
+ end
23
+
24
+ exceptions
25
+ end
26
+
27
+ def _wait_for_not_continue_exceptions
28
+ exceptions = []
29
+ if defined?(Selenium::WebDriver::Error::StaleElementReferenceError)
30
+ exceptions << Selenium::WebDriver::Error::StaleElementReferenceError
31
+ end
32
+
33
+ exceptions
34
+ end
35
+
36
+ class WaitingForElementFailure < StandardError
37
+ def initialize(code)
38
+ @code = code
39
+ end
40
+
41
+ def message
42
+ @code.to_source(:strip_enclosure => true)
43
+ end
44
+
45
+ def backtrace
46
+ [ @code.source_location.join(":") ]
47
+ end
48
+ end
49
+
50
+ def wait_for(times = MAX_TIMES, &block)
51
+ 1.upto(times) do
52
+ ok = false
53
+
54
+ begin
55
+ ok = block.()
56
+ rescue *_wait_for_exceptions
57
+ ok = false
58
+ end
59
+
60
+ if ok
61
+ return
62
+ else
63
+ sleep WAIT_TIME
64
+ end
65
+ end
66
+
67
+ raise WaitingForElementFailure.new(block)
68
+ end
69
+
70
+ def wait_for_not(times = MAX_TIMES, &block)
71
+ original_time = Capybara.default_wait_time
72
+ Capybara.default_wait_time = 0
73
+
74
+ 1.upto(times) do
75
+ ok = false
76
+
77
+ begin
78
+ block.()
79
+ rescue *_wait_for_not_continue_exceptions
80
+ ok = false
81
+ rescue *_wait_for_not_exceptions
82
+ ok = true
83
+ end
84
+
85
+ if ok
86
+ Capybara.default_wait_time = original_time
87
+
88
+ return
89
+ else
90
+ sleep WAIT_TIME
91
+ end
92
+ end
93
+
94
+ raise WaitingForElementFailure.new(block)
95
+ end
96
+
@@ -0,0 +1,23 @@
1
+ namespace :cuke_pack do
2
+ desc "Raise an exception if any tasks are marked @wip"
3
+ task :any_wip do
4
+ require 'gherkin/parser/parser'
5
+ require 'gherkin/formatter/json_formatter'
6
+ require 'gherkin/formatter/tag_count_formatter'
7
+
8
+ io = StringIO.new
9
+ counts = {}
10
+ json_formatter = Gherkin::Formatter::JSONFormatter.new(io)
11
+ formatter = Gherkin::Formatter::TagCountFormatter.new(json_formatter, counts)
12
+ parser = Gherkin::Parser::Parser.new(formatter)
13
+
14
+ Dir['features/**/*.feature'].each do |file|
15
+ parser.parse(File.read(file), file, 0)
16
+ end
17
+
18
+ if counts['@wip']
19
+ raise StandardError.new("@wip occurred in the following files:\n#{counts['@wip'].join("\n")}")
20
+ end
21
+ end
22
+ end
23
+
@@ -0,0 +1,12 @@
1
+ require 'cuke-pack/tasks'
2
+
3
+ task(:default).clear
4
+
5
+ task :preflight_check do
6
+ task('cuke_pack:any_wip').invoke
7
+ end
8
+
9
+ task :default do
10
+ task('cuke_pack:precommit').invoke
11
+ end
12
+
@@ -0,0 +1,10 @@
1
+ namespace :cuke_pack do
2
+ desc "Run cucumber in precommit mode"
3
+ task :precommit do
4
+ system %{cucumber -p precommit}
5
+
6
+ if $?.exitstatus != 0
7
+ raise StandardError.new("cucumber failed")
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,3 @@
1
+ require 'cuke-pack/tasks/any_wip'
2
+ require 'cuke-pack/tasks/precommit'
3
+
@@ -0,0 +1,3 @@
1
+ module CukePack
2
+ VERSION = "0.0.1"
3
+ end
data/lib/cuke-pack.rb ADDED
@@ -0,0 +1,2 @@
1
+ require "cuke-pack/version"
2
+ require 'cucumber/cleanup_formatter'
@@ -0,0 +1,8 @@
1
+ <%
2
+ std_opts = "-r features --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} -f Cucumber::StepWriter --out features/step_definitions --strict"
3
+ %>
4
+ default: <%= std_opts %> features
5
+ wip: <%= std_opts %> --tags @wip features
6
+ precommit: FAILFAST=true <%= std_opts %> --tags ~@wip:0 features
7
+ cleanup: <%= std_opts %> -f Cucumber::CleanupFormatter --out unused.txt features
8
+
@@ -0,0 +1,36 @@
1
+ require 'cuke-pack/support/pause'
2
+ require 'cuke-pack/support/pending'
3
+ require 'cuke-pack/support/confirm_js'
4
+ require 'cuke-pack/support/expect_fields'
5
+
6
+ Before do
7
+ # if you want pending steps to pause before marking the step as pending,
8
+ # set @pause_ok to true
9
+
10
+ @pause_ok = false
11
+ end
12
+
13
+ require 'cuke-pack/support/step_writer'
14
+ require 'cuke-pack/support/wait_for'
15
+ require 'cuke-pack/support/failfast'
16
+
17
+ # set the level of flaying on the step definitions
18
+ # set it to false to skip flaying
19
+ flay_level = 32
20
+
21
+ require 'cuke-pack/support/flay'
22
+
23
+ # require 'cuke-pack/support/fakefs'
24
+ # require 'cuke-pack/support/mocha'
25
+
26
+ # Timecop support
27
+ # require 'cuke-pack/support/timecop'
28
+
29
+ # Browser drivers
30
+ # use with ENV['DRIVER']
31
+ # require 'cuke-pack/driver/firefox'
32
+ #
33
+ # Simple rails controller/view generator
34
+ # probably only any good for me
35
+ # require 'cuke-pack/support/rails_generator'
36
+
metadata ADDED
@@ -0,0 +1,189 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cuke-pack
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - John Bintz
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-01-22 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: cucumber
16
+ prerelease: false
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ none: false
23
+ type: :runtime
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ! '>='
27
+ - !ruby/object:Gem::Version
28
+ version: '0'
29
+ none: false
30
+ - !ruby/object:Gem::Dependency
31
+ name: cucumber-step_writer
32
+ prerelease: false
33
+ requirement: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ none: false
39
+ type: :runtime
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ none: false
46
+ - !ruby/object:Gem::Dependency
47
+ name: thor
48
+ prerelease: false
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ none: false
55
+ type: :runtime
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ none: false
62
+ - !ruby/object:Gem::Dependency
63
+ name: flay
64
+ prerelease: false
65
+ requirement: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ none: false
71
+ type: :runtime
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ none: false
78
+ - !ruby/object:Gem::Dependency
79
+ name: hirb
80
+ prerelease: false
81
+ requirement: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ none: false
87
+ type: :runtime
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ none: false
94
+ - !ruby/object:Gem::Dependency
95
+ name: sourcify
96
+ prerelease: false
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ none: false
103
+ type: :runtime
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ! '>='
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ none: false
110
+ - !ruby/object:Gem::Dependency
111
+ name: sexp_processor
112
+ prerelease: false
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ none: false
119
+ type: :runtime
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ none: false
126
+ description: Stuff I use for Cucumber
127
+ email:
128
+ - john@coswellproductions.com
129
+ executables:
130
+ - cuke-pack
131
+ extensions: []
132
+ extra_rdoc_files: []
133
+ files:
134
+ - .gitignore
135
+ - Gemfile
136
+ - LICENSE
137
+ - README.md
138
+ - Rakefile
139
+ - bin/cuke-pack
140
+ - cuke-pack.gemspec
141
+ - lib/cucumber/cleanup_formatter.rb
142
+ - lib/cuke-pack.rb
143
+ - lib/cuke-pack/drivers.rb
144
+ - lib/cuke-pack/drivers/firefox.rb
145
+ - lib/cuke-pack/support/confirm_js.rb
146
+ - lib/cuke-pack/support/expect_fields.rb
147
+ - lib/cuke-pack/support/failfast.rb
148
+ - lib/cuke-pack/support/fakefs.rb
149
+ - lib/cuke-pack/support/flay.rb
150
+ - lib/cuke-pack/support/mocha.rb
151
+ - lib/cuke-pack/support/pause.rb
152
+ - lib/cuke-pack/support/pending.rb
153
+ - lib/cuke-pack/support/rails_generator.rb
154
+ - lib/cuke-pack/support/screenshots.rb
155
+ - lib/cuke-pack/support/step_writer.rb
156
+ - lib/cuke-pack/support/timecop.rb
157
+ - lib/cuke-pack/support/wait_for.rb
158
+ - lib/cuke-pack/tasks.rb
159
+ - lib/cuke-pack/tasks/any_wip.rb
160
+ - lib/cuke-pack/tasks/make_default.rb
161
+ - lib/cuke-pack/tasks/precommit.rb
162
+ - lib/cuke-pack/version.rb
163
+ - skel/config/cucumber.yml
164
+ - skel/features/support/cuke-pack.rb
165
+ homepage: ''
166
+ licenses: []
167
+ post_install_message:
168
+ rdoc_options: []
169
+ require_paths:
170
+ - lib
171
+ required_ruby_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ! '>='
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
176
+ none: false
177
+ required_rubygems_version: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ none: false
183
+ requirements: []
184
+ rubyforge_project:
185
+ rubygems_version: 1.8.24
186
+ signing_key:
187
+ specification_version: 3
188
+ summary: Stuff I use for Cucumber
189
+ test_files: []