RDee 0.4 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -3
- data/ChangeLog +5 -0
- data/Gemfile +0 -7
- data/features/support/env.rb +1 -1
- data/lib/rdee.rb +2 -2
- data/lib/rdee/version.rb +1 -1
- data/rdee.gemspec +1 -1
- data/spec/lib/rd_spec.rb +3 -3
- metadata +7 -8
- data/Guardfile +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e562c272e4f77b5ae07af8483c7117719e5034a4
|
4
|
+
data.tar.gz: 2c74bfce4a70e593e05d2c02c747f3963993c163
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5485a62d9a71c534cdaa3de55978a9e3dc0287abc729c0a7e3d11d4e2b25fd12381036bb1959f43cd40a49950644a66f099043ce23fb9c30f6110534ca03a75
|
7
|
+
data.tar.gz: 5ef3d18c72db78871bee9aca7214a52181c862ebc028434fffac85263aad699226f1d96890ae6d7eead26429920193b6d046f07508e71e4c0ea8e9aa7642a7c7
|
data/.travis.yml
CHANGED
data/ChangeLog
CHANGED
data/Gemfile
CHANGED
@@ -2,11 +2,4 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in ardi.gemspec
|
4
4
|
|
5
|
-
gem 'fuubar'
|
6
|
-
gem 'fuubar-cucumber'
|
7
|
-
gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i
|
8
|
-
gem 'growl'
|
9
|
-
gem 'guard-rspec'
|
10
|
-
gem 'guard-cucumber'
|
11
|
-
|
12
5
|
gemspec
|
data/features/support/env.rb
CHANGED
data/lib/rdee.rb
CHANGED
@@ -86,11 +86,11 @@ require 'rdee/additional_options'
|
|
86
86
|
#
|
87
87
|
module RDee
|
88
88
|
|
89
|
-
def self.watir_browser(target = :
|
89
|
+
def self.watir_browser(target = :chrome, options = {})
|
90
90
|
factory.watir_browser(target, options)
|
91
91
|
end
|
92
92
|
|
93
|
-
def self.selenium_browser(target = :
|
93
|
+
def self.selenium_browser(target = :chrome, options = {})
|
94
94
|
factory.selenium_browser(target, options)
|
95
95
|
end
|
96
96
|
|
data/lib/rdee/version.rb
CHANGED
data/rdee.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency 'watir
|
21
|
+
spec.add_dependency 'watir', '~> 6.0'
|
22
22
|
spec.add_dependency 'net-http-persistent'
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.6"
|
data/spec/lib/rd_spec.rb
CHANGED
@@ -7,7 +7,7 @@ describe RDee do
|
|
7
7
|
|
8
8
|
context "when getting a connection for Watir" do
|
9
9
|
it "should create a Firefox browser by default" do
|
10
|
-
expect(watir_browser).to receive(:new).with(:
|
10
|
+
expect(watir_browser).to receive(:new).with(:chrome)
|
11
11
|
RDee.watir_browser
|
12
12
|
end
|
13
13
|
|
@@ -20,8 +20,8 @@ describe RDee do
|
|
20
20
|
context "when getting a connection for Selenium" do
|
21
21
|
let(:selenium_browser) { Selenium::WebDriver }
|
22
22
|
|
23
|
-
it "should create a
|
24
|
-
expect(selenium_browser).to receive(:for).with(:
|
23
|
+
it "should create a Chrome browser by default" do
|
24
|
+
expect(selenium_browser).to receive(:for).with(:chrome)
|
25
25
|
RDee.selenium_browser
|
26
26
|
end
|
27
27
|
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RDee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeffrey S. Morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: watir
|
14
|
+
name: watir
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '6.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '6.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: net-http-persistent
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,7 +121,6 @@ files:
|
|
121
121
|
- ".travis.yml"
|
122
122
|
- ChangeLog
|
123
123
|
- Gemfile
|
124
|
-
- Guardfile
|
125
124
|
- LICENSE.txt
|
126
125
|
- README.md
|
127
126
|
- Rakefile
|
data/Guardfile
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# A sample Guardfile
|
2
|
-
# More info at https://github.com/guard/guard#readme
|
3
|
-
|
4
|
-
|
5
|
-
guard :rspec, all_on_start: true, all_after_pass: true, cmd: 'rspec --color --format documentation' do
|
6
|
-
watch(%r{^spec/.+_spec\.rb$})
|
7
|
-
watch(%r{^lib/(.+)\.rb$}) { "spec" }
|
8
|
-
watch('spec/spec_helper.rb') { "spec" }
|
9
|
-
end
|
10
|
-
|
11
|
-
guard 'cucumber', notification: true, all_after_pass: false, cli: '--profile focus' do
|
12
|
-
watch(%r{^features/.+\.feature$})
|
13
|
-
watch(%r{^features/support/.+$}) { "features" }
|
14
|
-
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
|
15
|
-
watch(%r{^lib/.+\.rb$}) { "features" }
|
16
|
-
watch(%r{^cucumber.yml$}) { "features" }
|
17
|
-
end
|