sauce_rspec 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.gitignore +3 -0
- data/.rubocop.yml +12 -0
- data/.travis.yml +12 -0
- data/Gemfile +1 -1
- data/README.md +8 -34
- data/Thorfile +25 -0
- data/lib/sauce_rspec/config.rb +63 -0
- data/lib/sauce_rspec/jenkins.rb +67 -0
- data/lib/sauce_rspec/rspec.rb +37 -0
- data/lib/sauce_rspec/version.rb +3 -2
- data/lib/sauce_rspec.rb +5 -4
- data/sauce_rspec.gemspec +28 -16
- data/test_suites/one_file/spec/one_spec.rb +8 -0
- data/test_suites/two_file/spec/one_spec.rb +7 -0
- data/test_suites/two_file/spec/sauce_helper.rb +9 -0
- data/test_suites/two_file/spec/spec_helper.rb +3 -0
- data/test_suites/two_file/spec/two_spec.rb +7 -0
- metadata +164 -15
- data/Rakefile +0 -1
- data/bin/console +0 -14
- data/bin/setup +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa25d3187d773ee9c1adc347b7946610f8d3ff0d
|
4
|
+
data.tar.gz: db77bc61edfd38fa244985a164e316dbfbe41a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14099e4796003aea8a67f8154261754aaf8f8618198d5b88d605cd86447f849b79edfd6f69262a21c66784944539aeaff051b5bc814278883c38a8e008e07d97
|
7
|
+
data.tar.gz: 7c55aea04b7e70958efabf6d7fd342e298ffa8f245f0065a61209ae0f8ea6c0b6699d6ef9bf69facc25a7d09b7616d1d62a9ac8b4fe5b4ee12b45fb585010161
|
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
service_name: travis-ci
|
data/.gitignore
CHANGED
data/.rubocop.yml
ADDED
data/.travis.yml
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
sudo: false
|
2
|
+
cache: bundler
|
1
3
|
language: ruby
|
2
4
|
rvm:
|
3
5
|
- 2.2.2
|
6
|
+
before_install: gem update --remote bundler
|
7
|
+
install:
|
8
|
+
- bundle install --retry=3
|
9
|
+
script:
|
10
|
+
- bundle exec thor cop
|
11
|
+
- bundle exec thor spec
|
12
|
+
notifications:
|
13
|
+
email:
|
14
|
+
on_success: never
|
15
|
+
on_failure: never
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,39 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# Sauce RSpec
|
2
2
|
|
3
|
-
|
3
|
+
[![Build Status](https://travis-ci.org/bootstraponline/sauce_rspec.svg)](https://travis-ci.org/bootstraponline/sauce_rspec/builds)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/sauce_rspec.svg)](https://rubygems.org/gems/sauce_rspec)
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/bootstraponline/sauce_rspec/badge.svg?branch=master&service=github&nocache=true)](https://coveralls.io/github/bootstraponline/sauce_rspec?branch=master)
|
4
6
|
|
5
|
-
|
7
|
+
A new [Ruby gem](https://github.com/bootstraponline/meta/wiki/Sauce_Ruby_Integration_Roadmap) for using RSpec on Sauce.
|
6
8
|
|
7
|
-
## Installation
|
8
9
|
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'sauce_rspec'
|
13
10
|
```
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install sauce_rspec
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
1. Fork it ( https://github.com/[my-github-username]/sauce_rspec/fork )
|
36
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
39
|
-
5. Create a new Pull Request
|
11
|
+
require 'sauce_rspec'
|
12
|
+
require 'sauce_rspec/rspec'
|
13
|
+
```
|
data/Thorfile
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'appium_thor'
|
3
|
+
|
4
|
+
Appium::Thor::Config.set do
|
5
|
+
gem_name 'sauce_rspec'
|
6
|
+
github_owner 'bootstraponline'
|
7
|
+
end
|
8
|
+
|
9
|
+
# Must use '::' otherwise Default will point to Thor::Sandbox::Default
|
10
|
+
# Debug by calling Thor::Base.subclass_files via Pry
|
11
|
+
#
|
12
|
+
# https://github.com/erikhuda/thor/issues/484
|
13
|
+
#
|
14
|
+
# rubocop:disable Style/ClassAndModuleChildren
|
15
|
+
class ::Default < Thor
|
16
|
+
desc 'spec', 'Run RSpec tests'
|
17
|
+
def spec
|
18
|
+
exec 'bundle exec rspec spec'
|
19
|
+
end
|
20
|
+
|
21
|
+
desc 'cop', 'Executes rubocop'
|
22
|
+
def cop
|
23
|
+
exec 'bundle exec rubocop --display-cop-names'
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
module SauceRSpec
|
2
|
+
class Config
|
3
|
+
attr_reader :caps
|
4
|
+
attr_accessor :opts, :user, :key, :host, :port
|
5
|
+
|
6
|
+
public
|
7
|
+
|
8
|
+
def initialize
|
9
|
+
clear
|
10
|
+
end
|
11
|
+
|
12
|
+
# Sauce URL
|
13
|
+
def url
|
14
|
+
fail 'Missing user' unless user
|
15
|
+
fail 'Missing key' unless key
|
16
|
+
fail 'Missing host' unless host
|
17
|
+
fail 'Missing port' unless port
|
18
|
+
"http://#{user}:#{key}@#{host}:#{port}/wd/hub"
|
19
|
+
end
|
20
|
+
|
21
|
+
def caps= value
|
22
|
+
fail 'caps must be an array' unless value && value.is_a?(Array)
|
23
|
+
@caps = value
|
24
|
+
end
|
25
|
+
|
26
|
+
def clear
|
27
|
+
@caps = []
|
28
|
+
@opts = {}
|
29
|
+
@user = sauce_user
|
30
|
+
@key = sauce_key
|
31
|
+
@host = 'ondemand.saucelabs.com'
|
32
|
+
@port = '80'
|
33
|
+
end
|
34
|
+
|
35
|
+
# We're able to run on sauce if we have a user, key, host, and port
|
36
|
+
# caps and opts aren't required to run on sauce because the user may
|
37
|
+
# provide the caps outside of the SauceRSpec config.
|
38
|
+
def sauce?
|
39
|
+
@user && @key && @host && @port
|
40
|
+
end
|
41
|
+
|
42
|
+
def to_h
|
43
|
+
{
|
44
|
+
caps: @caps.dup,
|
45
|
+
opts: @opts.dup,
|
46
|
+
user: @user.dup,
|
47
|
+
key: @key.dup,
|
48
|
+
host: @host.dup,
|
49
|
+
port: @port.dup
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end # class Config
|
53
|
+
|
54
|
+
@config = SauceRSpec::Config.new
|
55
|
+
|
56
|
+
class << self
|
57
|
+
def config &block
|
58
|
+
return @config unless block_given?
|
59
|
+
block.call @config
|
60
|
+
@config
|
61
|
+
end
|
62
|
+
end # class << self
|
63
|
+
end # module SauceRSpec
|
@@ -0,0 +1,67 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'curb'
|
3
|
+
require 'json'
|
4
|
+
|
5
|
+
module SauceRSpec
|
6
|
+
class << self
|
7
|
+
attr_reader :driver
|
8
|
+
|
9
|
+
def driver= driver
|
10
|
+
fail 'Driver must not be nil' unless driver
|
11
|
+
@driver = driver
|
12
|
+
end
|
13
|
+
|
14
|
+
def run_after_test_hooks timeout: 60, stdout: $stdout
|
15
|
+
jenkins(stdout) if jenkins?
|
16
|
+
update_job_status_on_sauce(timeout) if SauceRSpec.config.sauce?
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
attr_reader :update_job
|
22
|
+
|
23
|
+
# @param timeout <Integer> timeout in seconds to wait for sauce labs response
|
24
|
+
def update_job_status_on_sauce timeout
|
25
|
+
# https://docs.saucelabs.com/reference/rest-api/#update-job
|
26
|
+
# https://saucelabs.com/rest/v1/:username/jobs/:job_id
|
27
|
+
config = SauceRSpec.config
|
28
|
+
user = config.user
|
29
|
+
unless update_job
|
30
|
+
key = config.key
|
31
|
+
|
32
|
+
request = Curl::Easy.new('')
|
33
|
+
request.http_auth_types = :basic
|
34
|
+
request.username = user
|
35
|
+
request.password = key
|
36
|
+
|
37
|
+
@update_job = request
|
38
|
+
end
|
39
|
+
|
40
|
+
passed = RSpec.current_example.exception.nil?
|
41
|
+
passed = { passed: passed }
|
42
|
+
url = "https://saucelabs.com/rest/v1/#{user}/jobs/#{driver.session_id}"
|
43
|
+
|
44
|
+
update_job.url = url
|
45
|
+
|
46
|
+
wait_true(timeout) do
|
47
|
+
update_job.http_put passed.to_json
|
48
|
+
response = JSON.parse(update_job.body_str) rescue {}
|
49
|
+
response_passed = response['passed']
|
50
|
+
response_error = response['error'] || ''
|
51
|
+
|
52
|
+
if response_error.include? 'Not authorized'
|
53
|
+
fail(::Errno::ECONNREFUSED, response_error)
|
54
|
+
end
|
55
|
+
|
56
|
+
response_passed == passed[:passed] ? true : fail(response)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
def jenkins stdout
|
61
|
+
session_id = driver.session_id
|
62
|
+
job_name = RSpec.current_example.description
|
63
|
+
# https://github.com/jenkinsci/sauce-ondemand-plugin/blob/2dbf9cf057d03480d020050a842aa23f595e4a3d/src/main/java/hudson/plugins/sauce_ondemand/SauceOnDemandBuildAction.java#L44
|
64
|
+
stdout.puts "SauceOnDemandSessionID=#{session_id} job-name=#{job_name}"
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
require 'rspec'
|
2
|
+
|
3
|
+
module RSpec
|
4
|
+
module Core
|
5
|
+
class World
|
6
|
+
alias_method :rspec_register, :register
|
7
|
+
|
8
|
+
# @api private
|
9
|
+
#
|
10
|
+
# Register an example group.
|
11
|
+
def register(example_group)
|
12
|
+
# Use upstream register method if we're not configured to run on Sauce
|
13
|
+
config = ::SauceRSpec.config
|
14
|
+
return rspec_register(example_group) unless config.sauce?
|
15
|
+
|
16
|
+
examples = example_group.examples
|
17
|
+
new_examples = []
|
18
|
+
examples.each do |ex|
|
19
|
+
# Use index to allow multiple duplicate caps to have unique ids
|
20
|
+
# ex: 1_firefox, 2_firefox
|
21
|
+
config.caps.each_with_index do |cap, index|
|
22
|
+
ex_with_cap = ex.clone
|
23
|
+
new_id = "#{ex_with_cap.id}_#{index}_#{cap}"
|
24
|
+
ex_with_cap.instance_variable_set(:@id, new_id)
|
25
|
+
ex_with_cap.instance_eval "def caps; #{cap}; end"
|
26
|
+
new_examples << ex_with_cap
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
example_group.instance_variable_set(:@examples, new_examples)
|
31
|
+
|
32
|
+
# invoke original register method
|
33
|
+
rspec_register(example_group)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end unless RSpec::Core::World.method_defined? :rspec_register
|
data/lib/sauce_rspec/version.rb
CHANGED
data/lib/sauce_rspec.rb
CHANGED
data/sauce_rspec.gemspec
CHANGED
@@ -1,24 +1,36 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
require 'sauce_rspec/version'
|
1
|
+
require_relative 'lib/sauce_rspec/version'
|
2
|
+
|
3
|
+
# rubocop:disable Style/SpaceAroundOperators
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
7
|
-
spec.
|
8
|
-
spec.version = SauceRspec::VERSION
|
9
|
-
spec.authors = ["bootstraponline"]
|
10
|
-
spec.email = ["code@bootstraponline.com"]
|
6
|
+
spec.required_ruby_version = '>= 2.2.2'
|
11
7
|
|
12
|
-
spec.
|
13
|
-
spec.
|
8
|
+
spec.name = 'sauce_rspec'
|
9
|
+
spec.version = SauceRSpec::VERSION
|
10
|
+
spec.date = SauceRSpec::DATE
|
11
|
+
spec.license = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
12
|
+
spec.description = spec.summary = 'Sauce rspec integration'
|
13
|
+
spec.description += '.' # avoid identical warning
|
14
|
+
spec.authors = spec.email = ['code@bootstraponline.com']
|
14
15
|
spec.homepage = 'https://github.com/bootstraponline/sauce_rspec'
|
16
|
+
spec.require_paths = ['lib']
|
15
17
|
|
18
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
19
|
+
f.match(%r{^(test|spec|features)/})
|
20
|
+
end
|
16
21
|
|
17
|
-
spec.
|
18
|
-
spec.
|
19
|
-
|
20
|
-
spec.
|
22
|
+
spec.add_runtime_dependency 'rspec', '~> 3.3.0'
|
23
|
+
spec.add_runtime_dependency 'webdriver_utils', '~> 1.0.2'
|
24
|
+
# Recommended way of doing parallel execution
|
25
|
+
spec.add_runtime_dependency 'test-queue-split', '~> 0.3.2'
|
26
|
+
spec.add_runtime_dependency 'curb', '~> 0.8.8'
|
21
27
|
|
22
|
-
spec.add_development_dependency
|
23
|
-
spec.add_development_dependency
|
28
|
+
spec.add_development_dependency 'webmock', '~> 1.21.0'
|
29
|
+
spec.add_development_dependency 'appium_thor', '~> 1.0.1'
|
30
|
+
spec.add_development_dependency 'coveralls', '~> 0.8.2'
|
31
|
+
spec.add_development_dependency 'pry', '~> 0.10.2'
|
32
|
+
spec.add_development_dependency 'sauce_platforms', '~> 1.0.5'
|
33
|
+
spec.add_development_dependency 'bundler', '~> 1.10.6'
|
34
|
+
spec.add_development_dependency 'rake', '~> 10.4.2'
|
35
|
+
spec.add_development_dependency 'rubocop', '~> 0.33.0'
|
24
36
|
end
|
metadata
CHANGED
@@ -1,43 +1,183 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sauce_rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- bootstraponline
|
7
|
+
- code@bootstraponline.com
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rspec
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.3.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.3.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: webdriver_utils
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.0.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.0.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: test-queue-split
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.3.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.3.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: curb
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.8.8
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.8.8
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webmock
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.21.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.21.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: appium_thor
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.0.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.0.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: coveralls
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.8.2
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.8.2
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: pry
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.10.2
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.10.2
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: sauce_platforms
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.0.5
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.0.5
|
13
139
|
- !ruby/object:Gem::Dependency
|
14
140
|
name: bundler
|
15
141
|
requirement: !ruby/object:Gem::Requirement
|
16
142
|
requirements:
|
17
143
|
- - "~>"
|
18
144
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
145
|
+
version: 1.10.6
|
20
146
|
type: :development
|
21
147
|
prerelease: false
|
22
148
|
version_requirements: !ruby/object:Gem::Requirement
|
23
149
|
requirements:
|
24
150
|
- - "~>"
|
25
151
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
152
|
+
version: 1.10.6
|
27
153
|
- !ruby/object:Gem::Dependency
|
28
154
|
name: rake
|
29
155
|
requirement: !ruby/object:Gem::Requirement
|
30
156
|
requirements:
|
31
157
|
- - "~>"
|
32
158
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
159
|
+
version: 10.4.2
|
34
160
|
type: :development
|
35
161
|
prerelease: false
|
36
162
|
version_requirements: !ruby/object:Gem::Requirement
|
37
163
|
requirements:
|
38
164
|
- - "~>"
|
39
165
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
166
|
+
version: 10.4.2
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rubocop
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.33.0
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.33.0
|
41
181
|
description: Sauce rspec integration.
|
42
182
|
email:
|
43
183
|
- code@bootstraponline.com
|
@@ -45,18 +185,27 @@ executables: []
|
|
45
185
|
extensions: []
|
46
186
|
extra_rdoc_files: []
|
47
187
|
files:
|
188
|
+
- ".coveralls.yml"
|
48
189
|
- ".gitignore"
|
190
|
+
- ".rubocop.yml"
|
49
191
|
- ".travis.yml"
|
50
192
|
- Gemfile
|
51
193
|
- README.md
|
52
|
-
-
|
53
|
-
- bin/console
|
54
|
-
- bin/setup
|
194
|
+
- Thorfile
|
55
195
|
- lib/sauce_rspec.rb
|
196
|
+
- lib/sauce_rspec/config.rb
|
197
|
+
- lib/sauce_rspec/jenkins.rb
|
198
|
+
- lib/sauce_rspec/rspec.rb
|
56
199
|
- lib/sauce_rspec/version.rb
|
57
200
|
- sauce_rspec.gemspec
|
201
|
+
- test_suites/one_file/spec/one_spec.rb
|
202
|
+
- test_suites/two_file/spec/one_spec.rb
|
203
|
+
- test_suites/two_file/spec/sauce_helper.rb
|
204
|
+
- test_suites/two_file/spec/spec_helper.rb
|
205
|
+
- test_suites/two_file/spec/two_spec.rb
|
58
206
|
homepage: https://github.com/bootstraponline/sauce_rspec
|
59
|
-
licenses:
|
207
|
+
licenses:
|
208
|
+
- http://www.apache.org/licenses/LICENSE-2.0.txt
|
60
209
|
metadata: {}
|
61
210
|
post_install_message:
|
62
211
|
rdoc_options: []
|
@@ -66,7 +215,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
215
|
requirements:
|
67
216
|
- - ">="
|
68
217
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
218
|
+
version: 2.2.2
|
70
219
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
220
|
requirements:
|
72
221
|
- - ">="
|
@@ -74,9 +223,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
223
|
version: '0'
|
75
224
|
requirements: []
|
76
225
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.4.
|
226
|
+
rubygems_version: 2.4.8
|
78
227
|
signing_key:
|
79
228
|
specification_version: 4
|
80
|
-
summary: Sauce rspec integration
|
229
|
+
summary: Sauce rspec integration
|
81
230
|
test_files: []
|
82
231
|
has_rdoc:
|
data/Rakefile
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "sauce_rspec"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|