RDee 0.4 → 0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ddc2af143bf017104810f95d5b674af152e7fdaf
4
- data.tar.gz: 121b358d8be9e3ba33194c15cbbecbc1201eba96
3
+ metadata.gz: e562c272e4f77b5ae07af8483c7117719e5034a4
4
+ data.tar.gz: 2c74bfce4a70e593e05d2c02c747f3963993c163
5
5
  SHA512:
6
- metadata.gz: 5af5672699a6d69f42eeedde245f1a00d49a71b6358faf1008841cc7991e227e54629e179ce9a2e229c59050532840265585df6d52bdcee2e57775b438df1341
7
- data.tar.gz: d359d90e0d09aa3fdbe0e16bf5a941f5cdc20718536b40c6c2736a4dd3c7df72aa61fb743b943707d507f8143345b98cffb6ab21ab7404762d1d53406769aa65
6
+ metadata.gz: b5485a62d9a71c534cdaa3de55978a9e3dc0287abc729c0a7e3d11d4e2b25fd12381036bb1959f43cd40a49950644a66f099043ce23fb9c30f6110534ca03a75
7
+ data.tar.gz: 5ef3d18c72db78871bee9aca7214a52181c862ebc028434fffac85263aad699226f1d96890ae6d7eead26429920193b6d046f07508e71e4c0ea8e9aa7642a7c7
@@ -1,5 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1.2
5
- -jruby-19mode
3
+ - 2.2.4
4
+ - 2.3.1
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ === Release 0.5 / 7 December 2016
2
+ * Enhancements
3
+ * Updated to use Watir instead of WatirWebdriver
4
+ * Updated to make chrome the default browser
5
+
1
6
  === Release 0.4 / 15 October 2016
2
7
  * Enhancements
3
8
  * Added support for Yosemite
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
@@ -1,6 +1,6 @@
1
1
 
2
2
  require 'rspec'
3
- require 'watir-webdriver'
3
+ require 'watir'
4
4
  require 'selenium-webdriver'
5
5
  require 'page-object'
6
6
  require 'rdee'
@@ -86,11 +86,11 @@ require 'rdee/additional_options'
86
86
  #
87
87
  module RDee
88
88
 
89
- def self.watir_browser(target = :firefox, options = {})
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 = :firefox, options = {})
93
+ def self.selenium_browser(target = :chrome, options = {})
94
94
  factory.selenium_browser(target, options)
95
95
  end
96
96
 
@@ -1,3 +1,3 @@
1
1
  module RDee
2
- VERSION = "0.4"
2
+ VERSION = "0.5"
3
3
  end
@@ -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-webdriver', '>= 0.6.10'
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"
@@ -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(:firefox)
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 Firefox browser by default" do
24
- expect(selenium_browser).to receive(:for).with(:firefox)
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'
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-10-15 00:00:00.000000000 Z
11
+ date: 2016-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: watir-webdriver
14
+ name: watir
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.6.10
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: 0.6.10
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