Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@

# Created by https://www.gitignore.io/api/ruby

### Ruby ###
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/

# Used by dotenv library to load environment variables.
# .env

## Specific to RubyMotion:
.dat*
.repl_history
build/
*.bridgesupport
build-iPhoneOS/
build-iPhoneSimulator/

## Specific to RubyMotion (use of CocoaPods):
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# vendor/Pods/

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/

## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gemspec
61 changes: 61 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
PATH
remote: .
specs:
selenium-cucumber (2.1.4)
appium_lib (>= 4.0.0)
chunky_png (>= 1.3.0)
cucumber (>= 1.3.18)
selenium-webdriver (>= 2.41.0)

GEM
remote: https://rubygems.org/
specs:
appium_lib (8.0.2)
awesome_print (~> 1.6)
json (~> 1.8)
nokogiri (~> 1.6.6)
selenium-webdriver (~> 2.49)
tomlrb (~> 1.1)
awesome_print (1.7.0)
builder (3.2.2)
childprocess (0.5.9)
ffi (~> 1.0, >= 1.0.11)
chunky_png (1.3.6)
cucumber (2.4.0)
builder (>= 2.1.2)
cucumber-core (~> 1.5.0)
cucumber-wire (~> 0.0.1)
diff-lcs (>= 1.1.3)
gherkin (~> 4.0)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
cucumber-core (1.5.0)
gherkin (~> 4.0)
cucumber-wire (0.0.1)
diff-lcs (1.2.5)
ffi (1.9.10)
gherkin (4.0.0)
json (1.8.3)
mini_portile2 (2.1.0)
multi_json (1.12.1)
multi_test (0.1.2)
nokogiri (1.6.8)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
pkg-config (1.1.7)
rubyzip (1.2.0)
selenium-webdriver (2.53.3)
childprocess (~> 0.5)
rubyzip (~> 1.0)
websocket (~> 1.0)
tomlrb (1.2.2)
websocket (1.2.3)

PLATFORMS
ruby

DEPENDENCIES
selenium-cucumber!

BUNDLED WITH
1.12.5
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require 'bundler/gem_tasks'
require 'rake/testtask'
project_name = 'selenium-cucumber'
1 change: 0 additions & 1 deletion bin/generate.rb
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

def selenium_cucumber_scaffold
if File.exists?(@features_dir)
puts "A features directory already exists. Stopping..."
Expand Down
Empty file modified bin/helper.rb
100644 → 100755
Empty file.
3 changes: 1 addition & 2 deletions bin/selenium-cucumber
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby

#!/usr/bin/env ruby
require_relative 'helper.rb'
require_relative 'generate.rb'
require 'selenium-cucumber/version'
Expand Down
8 changes: 4 additions & 4 deletions selenium-cucumber.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$:.push File.expand_path('../lib', __FILE__)
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'selenium-cucumber/version'

Gem::Specification.new do |s|
s.name = 'selenium-cucumber'
s.version = Selenium::Cucumber::VERSION
Expand All @@ -17,10 +17,10 @@ Gem::Specification.new do |s|
s.files += Dir['doc/*']
s.files += Dir['features-skeleton/**/*']
s.files += Dir['example/**/*']
s.executables = 'selenium-cucumber'
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ['lib']
s.post_install_message = 'Thank you for installing selenium-cucumber gem.'

s.required_ruby_version = '>= 1.9.3'
s.add_runtime_dependency 'cucumber', '>= 1.3.18'
s.add_runtime_dependency 'selenium-webdriver', '>= 2.41.0'
Expand Down