angular_webdriver 1.0.5 → 1.0.6

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: 58db555e9c61c2ac98f01a0f922028cedd06a7bb
4
- data.tar.gz: 0690ef7884d1dd4f96e8b1652fd8130c5d9545e2
3
+ metadata.gz: ef88eaedc6f0b3d8b5bf64695917acf72f3e7389
4
+ data.tar.gz: 68a712fe41c5e81ea05567d65224ff68b620bb6c
5
5
  SHA512:
6
- metadata.gz: 4803748675e7324fd817f3af6475245eee262e00a4a0ec72ebf162e58837155894b933f71980e4105c7cf2c3b579b72f1eeb43e89d3f7e45638669c5239767c9
7
- data.tar.gz: 101732bf8cdd661a9393128b7526ea5c0ebebf1b60be0b91b73a80a771f8a349846c258a01c3bbea203aa39aef4ff779d6ec3486b9a7e3cae37ed365fb313d5d
6
+ metadata.gz: 758ea8fbd75b7f4e3ea661c2d72e38e18a9e7ed5bc7ede0261ac98fb7b3c0bb71afd82771e3f46f5c52c4dfbc257b0fdbffecdf3cfa73a0a15d70f716d40acc5
7
+ data.tar.gz: c92067b1ed6336daa19545dfe50da0d1eff29f630933e4495c5237a000be4ee223db473aeff8d858514aab87d4f0719d65987e50c40bbe9ca70a3401b49c9bf8
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.add_development_dependency 'appium_thor', '>= 1.0.1'
26
26
  s.add_development_dependency 'pry', '>= 0.10.1'
27
27
  s.add_development_dependency 'trace_files', '>= 1.0.0'
28
+ s.add_development_dependency 'page_object', '>= 1.1.3' # for page_object_spec
28
29
 
29
30
  s.files = `git ls-files -z`.split("\x0").reject do |f|
30
31
  f.match(%r{^(gen|test|spec|features|protractor)/})
@@ -18,7 +18,10 @@ module AngularWebdriver
18
18
  end
19
19
 
20
20
  def require_all_pages glob_path=nil
21
- glob_path ||= File.join(Rake.application.original_dir, 'page', '**', '*.rb')
21
+ base_dir = Rake.application.original_dir if defined?(Rake)
22
+ base_dir ||= @original_dir ||= Dir.pwd
23
+
24
+ glob_path ||= File.join(base_dir, 'page', '**', '*.rb')
22
25
  Dir.glob(glob_path) { |file| require_relative file }
23
26
  end
24
27
 
@@ -1,4 +1,4 @@
1
1
  module AngularWebdriver
2
- VERSION = '1.0.5' unless defined? ::AngularWebdriver::VERSION
3
- DATE = '2015-06-20' unless defined? ::AngularWebdriver::DATE
2
+ VERSION = '1.0.6' unless defined? ::AngularWebdriver::VERSION
3
+ DATE = '2015-06-22' unless defined? ::AngularWebdriver::DATE
4
4
  end
@@ -0,0 +1,12 @@
1
+ # http://localhost:8081/#/form
2
+ module Page
3
+ class LocalPage
4
+ include PageObject
5
+
6
+ page_url 'http://localhost:8081/#/form'
7
+ element(:greet_button) { element(by.binding('greet')) }
8
+
9
+ # alternatively just use the symbol name
10
+ element(:greet_button2, binding: 'greet')
11
+ end
12
+ end
data/readme.md CHANGED
@@ -1,7 +1,9 @@
1
1
  # angular_webdriver
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/angular_webdriver.svg)](https://rubygems.org/gems/angular_webdriver) [![Build Status](https://travis-ci.org/bootstraponline/angular_webdriver.svg?branch=master)](https://travis-ci.org/bootstraponline/angular_webdriver/builds) [![Coverage Status](https://coveralls.io/repos/bootstraponline/angular_webdriver/badge.svg?nocache)](https://coveralls.io/r/bootstraponline/angular_webdriver) [![Dependency Status](https://gemnasium.com/bootstraponline/angular_webdriver.svg?nocache)](https://gemnasium.com/bootstraponline/angular_webdriver)
4
-
3
+ [![Gem Version](https://badge.fury.io/rb/angular_webdriver.svg)](https://rubygems.org/gems/angular_webdriver)
4
+ [![Build Status](https://travis-ci.org/bootstraponline/angular_webdriver.svg?branch=master)](https://travis-ci.org/bootstraponline/angular_webdriver/builds)
5
+ [![Coverage Status](https://coveralls.io/repos/bootstraponline/angular_webdriver/badge.svg?nocach)](https://coveralls.io/r/bootstraponline/angular_webdriver)
6
+ [![Dependency Status](https://gemnasium.com/bootstraponline/angular_webdriver.svg?nocache)](https://gemnasium.com/bootstraponline/angular_webdriver)
5
7
 
6
8
  Angular enhancements to the Ruby webdriver bindings based on [protractor](https://github.com/angular/protractor).
7
9
 
data/release_notes.md CHANGED
@@ -1,3 +1,10 @@
1
+ #### v1.0.6 2015-06-22
2
+
3
+ - [6e3002f](https://github.com/bootstraponline/angular_webdriver/commit/6e3002f8d54b6147c7c327a9e48fe288bdfa9fd8) Release 1.0.6
4
+ - [1e190f2](https://github.com/bootstraponline/angular_webdriver/commit/1e190f27b0802d49ff23cc9e95ec5945f9242b60) Test define_page_methods and require_all_pages
5
+ - [83a4d30](https://github.com/bootstraponline/angular_webdriver/commit/83a4d302331475e4757e8fc9b14260a41895e494) Remove Rake runtime dependency
6
+
7
+
1
8
  #### v1.0.5 2015-06-20
2
9
 
3
10
  - [248bd2a](https://github.com/bootstraponline/angular_webdriver/commit/248bd2a7d979543047e4ad9d4f7f12f4a99f4ce8) Release 1.0.5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angular_webdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-20 00:00:00.000000000 Z
11
+ date: 2015-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.0.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: page_object
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 1.1.3
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 1.1.3
111
125
  description: Angular webdriver.
112
126
  email:
113
127
  - code@bootstraponline.com
@@ -164,6 +178,7 @@ files:
164
178
  - notes/synchronize_spec/status_gettext_x3.txt
165
179
  - notes/synchronize_spec/synchronize_spec.js.txt
166
180
  - notes/synchronize_spec/watir_gettext.txt
181
+ - page/local_page.rb
167
182
  - readme.md
168
183
  - release_notes.md
169
184
  - selenium_server/lib/logs.rb