capybara-angular 0.1.2 → 0.2.2

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: fb7cac0f774a56afa92223cfedc9904bead05ddf
4
- data.tar.gz: 45c152c893570c9fd7efe10083e2679c030a6e48
3
+ metadata.gz: 5e4b8a603ba2fd8cca28a6abbd0b2bb1da88f66e
4
+ data.tar.gz: 77fddbbb5400d186289f745c90bb691e76ce9c64
5
5
  SHA512:
6
- metadata.gz: 3d286117b6cd5b5478caab4660cabb4ab359285f19e6afa0b2de47fccb88ab6d9f275164732267e54d111d6f0e3c77422a17f4dde11a41ff67e2e20132d667ef
7
- data.tar.gz: f74fe7c012054df62cf4dfeb775a1a2c60aa85390f467f1a833b7c15335df4edb09e837fff5188c1dcf682167ed95b04d19d4021ec2d870dd321043b56f12ba1
6
+ metadata.gz: 2e6c2b3c45b2548972add9d47cb2c95004c7dd302c31f460c41f64e0ca23e350ed99ba782ce74ad76a684e888890e4fd1668fd405547941fcd8e5671649d0015
7
+ data.tar.gz: adbe8229f02f66a65d0cf0c789ae3417e01e63942b48b68c18f87b278a7f8581ffc1a14b1853406290c20614d162f6d7e13a61a389bb8e6db5250e25531f8f91
@@ -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 'capybara'
21
+ spec.add_dependency 'capybara', '>= 2.5.0'
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.3"
24
24
  spec.add_development_dependency "rake"
@@ -6,12 +6,12 @@ require_relative "angular/waiter"
6
6
 
7
7
  module Capybara
8
8
  module Angular
9
- def self.default_wait_time
10
- @default_wait_time || Capybara.default_wait_time
9
+ def self.default_max_wait_time
10
+ @default_max_wait_time || Capybara.default_max_wait_time
11
11
  end
12
12
 
13
- def self.default_wait_time=(timeout)
14
- @default_wait_time = timeout
13
+ def self.default_max_wait_time=(timeout)
14
+ @default_max_wait_time = timeout
15
15
  end
16
16
  end
17
17
  end
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Angular
3
- VERSION = "0.1.2"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -26,7 +26,7 @@ module Capybara
26
26
  private
27
27
 
28
28
  def timeout?(start)
29
- Time.now - start > Capybara::Angular.default_wait_time
29
+ Time.now - start > Capybara::Angular.default_max_wait_time
30
30
  end
31
31
 
32
32
  def timeout!
@@ -6,8 +6,8 @@ require 'capybara/angular'
6
6
 
7
7
  Capybara.default_driver = :poltergeist
8
8
  Capybara.app = Rack::Directory.new('spec/public')
9
- Capybara.default_wait_time = 2
10
- Capybara::Angular.default_wait_time = 10
9
+ Capybara.default_max_wait_time = 2
10
+ Capybara::Angular.default_max_wait_time = 10
11
11
 
12
12
  feature 'Waiting for angular' do
13
13
  include Capybara::Angular::DSL
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-angular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Pierzchala
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-20 00:00:00.000000000 Z
11
+ date: 2015-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 2.5.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'
26
+ version: 2.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.2.2
125
+ rubygems_version: 2.4.5.1
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: Stable Capybara API for AngularJS applications