watir-ng 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e244c588c9457a7795771827961a9e0b4bd373a3
4
- data.tar.gz: 15cd2d67ff0705e6f84fcd6a17a760c80109237a
3
+ metadata.gz: 877b1ed01ac27b4530e05516b6a090a1f4fe5dd2
4
+ data.tar.gz: 14fdf6706d49149ef0e054d36a8f181a73a03180
5
5
  SHA512:
6
- metadata.gz: 932b756b7e15874008d5180fbb27aa81040f32b0af650d4ff0c3a49a7416e1bbe9e5e1972a127d25a9dfc0c0aeb03056fadeab934ba8e7b93dd9368d89803388
7
- data.tar.gz: 4edd75c60cc563aab5e9a89276fe14767e19d5d25a4fe3fd26be08af32be0c7d0277534654c3b23a812e23d31646cf56e445dde2c7b9505922257ca63cbe78ae
6
+ metadata.gz: 43edbf67582c58833d793f7c13c697d49f871ec169c928a93560fe1bff54f2307d66616eb7b46e483ac941c881842cc00d8d90f65793e10b2553afa03ff9df52
7
+ data.tar.gz: 4e922bd3010d4269da84d1148efbc86df55c338136699252868949466aeba65931a791eb23796e91d624c4fc367fed2818d58fe9c3796e4ede9e55394249bb19
@@ -1,7 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
3
  - 2.0.0
5
4
  - 2.1.0
6
5
  - 2.2.2
7
- script: bundle exec rspec spec
6
+ script: bundle exec rspec spec
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v2.1.0 (Feb 20 2017)
4
+ - Use `watir` version 6.0
5
+ - Remove calls for deprecated `require 'watir-webdriver'`
6
+ - **NOTE**: Ruby 1.9.3 is not longer compatible as of this version
7
+ - Thanks Ian Hamilton (@RubyGemSTL) for the contribution
8
+
3
9
  ## v2.0.0 (Feb 24 2016)
4
10
  - Patch browser objects with `WatirNg.patch!`
5
11
  - Add custom directive identifiers with `WatirNg.register`
data/README.md CHANGED
@@ -8,6 +8,8 @@ Identify [watir-webdriver](http://github.com/watir/watir-webdriver) elements wit
8
8
 
9
9
  When identifying elements, use the `ng` directives like you would `id`, `class`, etc. Be sure to use underscores instead of dashes though!
10
10
 
11
+ As of version `2.1.0`, this gem requires Ruby >= 2.0.
12
+
11
13
  ```ruby
12
14
  # To find and click this HTML element:
13
15
  # <button ng-click="foo">Submit</button>
@@ -16,7 +18,7 @@ submit_button = @browser.button(ng_click: "foo")
16
18
  submit_button.click
17
19
  ```
18
20
 
19
- To ensure your browser objects have access to the ng identifiers, run `patch!` before instantiating.
21
+ To ensure your browser objects have access to the ng identifiers, run `patch!` before instantiating.
20
22
 
21
23
  ```ruby
22
24
  require 'watir-ng'
@@ -26,7 +28,7 @@ WatirNg.patch!
26
28
  @browser = Watir::Browser.new
27
29
  ```
28
30
 
29
- You can identify elements with custom directives by registering them before patching the browser.
31
+ You can identify elements with custom directives by registering them before patching the browser.
30
32
 
31
33
  ```ruby
32
34
  require 'watir-ng'
@@ -60,5 +62,4 @@ Or install it yourself with:
60
62
 
61
63
  ## Questions, Comments, Concerns
62
64
 
63
- Find me on Twitter ([@jpdenen](http://twitter.com/jpdenen)), gitter ([@jdenen](http://gitter.im/jdenen)) or write up an [issue](https://github.com/jdenen/watir-ng/issues/new).
64
-
65
+ Find me on Twitter ([@metaxjohnson](http://twitter.com/metaxjohnson)), gitter ([@jdenen](http://gitter.im/jdenen)), or write up an [issue](https://github.com/jdenen/watir-ng/issues/new).
@@ -1,5 +1,5 @@
1
- require "watir-webdriver"
2
- require "watir-ng/version"
1
+ require 'watir'
2
+ require 'watir-ng/version'
3
3
 
4
4
  #
5
5
  # Adds AngularJS `ng` directives as identifiers for `Watir::Webdriver` elements.
@@ -1,4 +1,4 @@
1
1
  module WatirNg
2
2
  # :nodoc:
3
- VERSION = "2.0.0"
3
+ VERSION = '2.1.0'
4
4
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "watir-webdriver", ">= 0.7.0"
21
+ spec.add_runtime_dependency 'watir', '~> 6.0.0'
22
22
 
23
23
  spec.add_development_dependency "bundler"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir-ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johnson Denen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-24 00:00:00.000000000 Z
11
+ date: 2017-02-20 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.7.0
19
+ version: 6.0.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.7.0
26
+ version: 6.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -116,9 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 2.4.5
119
+ rubygems_version: 2.5.1
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Use AngularJS ng directives as element identifiers with watir-webdriver
123
123
  test_files: []
124
- has_rdoc: