capybara-ng 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/angular/version.rb +1 -1
- data/lib/angular/waiter.rb +3 -2
- data/lib/angular.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c4f7c97f4ebf5e71648c057da7f82f731d98971
|
4
|
+
data.tar.gz: 8dcf57346e76e4d7ec6635ae4dc0748817887419
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10abab89dedd87d0044ffa7daa3c7273ad56993849fff02f3305a57453ccb7fb2d4a2ead7366cfca9224c715e6a6b25aac7b7c3fc8e89217c3aec364e8bfeb19
|
7
|
+
data.tar.gz: c468da66a5426bc55c4c4d93d4e258aeb1ac0dc7b2a834b1a8c7721f3965740c22bc7257558e1b972e7538b632b605fe31283797e7d264f817c4f773020a4a4e
|
data/lib/angular/version.rb
CHANGED
data/lib/angular/waiter.rb
CHANGED
@@ -20,7 +20,7 @@ module Angular
|
|
20
20
|
private
|
21
21
|
|
22
22
|
def timeout?(start)
|
23
|
-
Time.now - start > Capybara.
|
23
|
+
Time.now - start > Capybara.default_max_wait_time
|
24
24
|
end
|
25
25
|
|
26
26
|
def timeout!
|
@@ -69,7 +69,8 @@ module Angular
|
|
69
69
|
});
|
70
70
|
};
|
71
71
|
|
72
|
-
var
|
72
|
+
var el = document.querySelector('[ng-app], [data-ng-app]');
|
73
|
+
var app = angular.element(el);
|
73
74
|
var injector = app.injector();
|
74
75
|
var callback = function() {
|
75
76
|
window.ngReady = true;
|
data/lib/angular.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-ng
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kari
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|