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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65ca99b129cfaacd28c644156d8aab74b635e2bc
4
- data.tar.gz: 0a2233104cfdc37e87c5edefaef5d96095cc6325
3
+ metadata.gz: 6c4f7c97f4ebf5e71648c057da7f82f731d98971
4
+ data.tar.gz: 8dcf57346e76e4d7ec6635ae4dc0748817887419
5
5
  SHA512:
6
- metadata.gz: 135a12509c54f822af604cf3786b0f29698c403396a8ba3732d60a5c027c1d6a2762c1e92e99a858daf77d9e6d36464bec3e4e341fdfda9461a5625713294b78
7
- data.tar.gz: 34d5f192c2272bb6c519a75956dbb0b043095e4b0ffcc681bcf65f030426aeedffa0f7b67e9544d83c94db0454382ab323d81110a6dd9fc96e77696ba683bd90
6
+ metadata.gz: 10abab89dedd87d0044ffa7daa3c7273ad56993849fff02f3305a57453ccb7fb2d4a2ead7366cfca9224c715e6a6b25aac7b7c3fc8e89217c3aec364e8bfeb19
7
+ data.tar.gz: c468da66a5426bc55c4c4d93d4e258aeb1ac0dc7b2a834b1a8c7721f3965740c22bc7257558e1b972e7538b632b605fe31283797e7d264f817c4f773020a4a4e
@@ -1,3 +1,3 @@
1
1
  module Angular
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -20,7 +20,7 @@ module Angular
20
20
  private
21
21
 
22
22
  def timeout?(start)
23
- Time.now - start > Capybara.default_wait_time
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 app = angular.element(document.querySelector('[ng-app], [data-ng-app]'));
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
@@ -10,7 +10,7 @@ module Angular
10
10
  # @return selector to find ng-app, by default 'body'
11
11
  #
12
12
  def self.root_selector
13
- @root_slector ||= 'body'
13
+ @root_selector ||= 'body'
14
14
  end
15
15
 
16
16
  #
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.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: 2015-11-14 00:00:00.000000000 Z
11
+ date: 2016-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler