kendo-page-object-widgets 0.2.11 → 0.2.12

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
  SHA256:
3
- metadata.gz: 555869242a9c9d5b6c2e3a13e0a4f46b6906c17b5c4e0b638143e9950591960b
4
- data.tar.gz: 2d2f0edd1977c20f166ba2e0c72775c9210e90556508d715dad8242395e36cba
3
+ metadata.gz: 200c04615d11e631f0e6e667d8729f318c48b5b094c2cd3359a0c8d2b877cb0c
4
+ data.tar.gz: d56aa7391923d15c26884ddfd8cdb018201d7c4bec4579771a389507d49cfaa8
5
5
  SHA512:
6
- metadata.gz: ff8425cf4ac120183909bfc818e971b3128380b79c5450c5cd4e59cb1ac68efb6e53fe8dea912af9fd2f87df37e556eea0528c7e038cbad0cb680ebeef2e5d89
7
- data.tar.gz: a04d98f792d095bfec68ee10028629804dbea9197186a407873164b9d1b7eaf8ff1f6109a5232c7d58921d910978765dcd85c94d102260017d1307e54efdab6d
6
+ metadata.gz: 9737406f967cd1600fdde1960aed351bdcfedeabd71a7c9b6600ced275bac7a01f8d97fb84083ff4f1214bbe8d103b1ad6ff40a145ce3134496a76a4c6ca3440
7
+ data.tar.gz: e0a147dc5e5ce8c4d1f3f3e43262fb657bbdd585be55a34a4b9b783aa18373a922b1b00154677afdf44a76369a13d15cae41c69d0bc0bb7102b76de88c2a10bc
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://rubygems.org'
1
+ source 'http://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in kendo-page-object-widgets.gemspec
4
4
  gemspec
@@ -19,10 +19,11 @@ Gem::Specification.new do |spec|
19
19
  #spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.16"
22
+ spec.add_development_dependency "bundler", "~> 2.0"
23
23
  spec.add_development_dependency "rake", "~> 12.3"
24
24
  spec.add_development_dependency "cucumber"
25
25
  spec.add_development_dependency "rspec"
26
+ spec.add_development_dependency "ffi"
26
27
  spec.add_dependency "page-object"
27
28
  spec.add_dependency "require_all", "= 1.4"
28
29
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module KendoPageObjectWidgets
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
3
3
  end
@@ -10,15 +10,14 @@ module KendoPageObjectWidgets
10
10
  accessor.send :define_method, "#{name}=" do |value|
11
11
  wait_until { self.send("is_#{name}_enabled?") }
12
12
  self.send("click_opener_for_#{name}")
13
+
13
14
  unless value.empty?
14
15
  options = self.send("get_#{name}_options")
15
16
  list_item = options.list_item_element(:text => value.strip)
16
17
  list_item.click
17
18
  end
18
- #wait until animation closes
19
- wait_until {
20
- self.send("#{name}_options_hidden?")
21
- }
19
+
20
+ sleep 0.5 # wait until animation closes
22
21
  end
23
22
 
24
23
  accessor.send :define_method, "#{name}_options" do
@@ -42,6 +41,7 @@ module KendoPageObjectWidgets
42
41
 
43
42
  accessor.send :define_method, "click_opener_for_#{name}" do
44
43
  self.send("#{name}_element").parent.span_element(:class => 'k-select').click
44
+ sleep 0.5 # wait for animation
45
45
  end
46
46
 
47
47
  accessor.send :define_method, "#{name}_options_list" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kendo-page-object-widgets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mosaic Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-05 00:00:00.000000000 Z
11
+ date: 2019-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '2.0'
20
20
  type: :development
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: '1.16'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ffi
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: page-object
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -135,8 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
149
  - !ruby/object:Gem::Version
136
150
  version: '0'
137
151
  requirements: []
138
- rubyforge_project:
139
- rubygems_version: 2.7.6
152
+ rubygems_version: 3.0.6
140
153
  signing_key:
141
154
  specification_version: 4
142
155
  summary: Kendo Widgets