testcentricity_web 2.0.17 → 2.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f6f936854633acb042bdf485a5074fe7e996109
4
- data.tar.gz: 3a791f21c8e520338d37247623ee7862fd938468
3
+ metadata.gz: 8984f1f0073c2191848c42961598d8aa650add88
4
+ data.tar.gz: b99fd58e11243f393846e2e7083af24c76d26922
5
5
  SHA512:
6
- metadata.gz: b39e20000a3b3a1c4f07c5cc537b7b841cb4019e9d74c5506af4b97c8f2c2480b81b6ff6c3d102d5c7083c2d94b161b4959c4d05c174189abcf15c9adad66cd8
7
- data.tar.gz: 7697a7cabe28299e0ac087d9c0d41bce7452c9a9e0ad9a295643c6f8a278317facf4042763509ad86048c6874f80a4d0a44693d6eacb8528c73f97b41e53510e
6
+ metadata.gz: ab009b2cd3c4898a8a228e8a5298bf551fe96e2157935a8690730d770bbf0b1e478526eb41055b547f28e60479603542c000ffe9d4908a44440f44724bcf5530
7
+ data.tar.gz: 3dfb0bdba869884b489c62c6753b32ebcc5ffa1984d8f6916c4113142e22619c2a983e69c00fc0cb7a37c4722b56cdf0527d6ed5aef8269278f58dae906ea306
@@ -2,7 +2,7 @@ module TestCentricity
2
2
  class CellCheckBox < CellElement
3
3
  attr_accessor :proxy
4
4
 
5
- def initialize(name, parent, locator, context, table, column, proxy)
5
+ def initialize(name, parent, locator, context, table, column, proxy = nil)
6
6
  super
7
7
  @type = :cell_checkbox
8
8
  @proxy = proxy
@@ -2,7 +2,7 @@ module TestCentricity
2
2
  class CellRadio < CellElement
3
3
  attr_accessor :proxy
4
4
 
5
- def initialize(name, parent, locator, context, table, column, proxy)
5
+ def initialize(name, parent, locator, context, table, column, proxy = nil)
6
6
  super
7
7
  @type = :cell_radio
8
8
  @proxy = proxy
@@ -2,7 +2,7 @@ module TestCentricity
2
2
  class ListCheckBox < ListElement
3
3
  attr_accessor :proxy
4
4
 
5
- def initialize(name, parent, locator, context, list, proxy)
5
+ def initialize(name, parent, locator, context, list, proxy = nil)
6
6
  super
7
7
  @type = :list_checkbox
8
8
  @proxy = proxy
@@ -2,7 +2,7 @@ module TestCentricity
2
2
  class ListRadio < ListElement
3
3
  attr_accessor :proxy
4
4
 
5
- def initialize(name, parent, locator, context, list, proxy)
5
+ def initialize(name, parent, locator, context, list, proxy = nil)
6
6
  super
7
7
  @type = :list_radio
8
8
  @proxy = proxy
@@ -301,8 +301,8 @@ module TestCentricity
301
301
  # @example
302
302
  # cell_checkbox :is_registered_check, "a[@class='registered']", :data_table, 4
303
303
  #
304
- def self.cell_checkbox(element_name, locator, table, column)
305
- class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellCheckBox.new("#{element_name}", self, "#{locator}", :page, #{table}, #{column});end))
304
+ def self.cell_checkbox(element_name, locator, table, column, proxy = nil)
305
+ class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellCheckBox.new("#{element_name}", self, "#{locator}", :page, #{table}, #{column}, #{proxy});end))
306
306
  end
307
307
 
308
308
  # Declare and instantiate a cell radio in a table column on this page object.
@@ -314,8 +314,8 @@ module TestCentricity
314
314
  # @example
315
315
  # cell_radio :track_a_radio, "a[@class='track_a']", :data_table, 8
316
316
  #
317
- def self.cell_radio(element_name, locator, table, column)
318
- class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :page, #{table}, #{column});end))
317
+ def self.cell_radio(element_name, locator, table, column, proxy = nil)
318
+ class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :page, #{table}, #{column}, #{proxy});end))
319
319
  end
320
320
 
321
321
  # Declare and instantiate a list button in a row of a list object on this page object.
@@ -339,8 +339,8 @@ module TestCentricity
339
339
  # @example
340
340
  # list_checkbox :is_registered_check, "a[@class='registered']", :data_list
341
341
  #
342
- def self.list_checkbox(element_name, locator, list)
343
- class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListCheckBox.new("#{element_name}", self, "#{locator}", :page, #{list});end))
342
+ def self.list_checkbox(element_name, locator, list, proxy = nil)
343
+ class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListCheckBox.new("#{element_name}", self, "#{locator}", :page, #{list}, #{proxy});end))
344
344
  end
345
345
 
346
346
  # Declare and instantiate a list radio in a row of a list object on this page object.
@@ -351,8 +351,8 @@ module TestCentricity
351
351
  # @example
352
352
  # list_radio :sharing_radio, "a[@class='sharing']", :data_list
353
353
  #
354
- def self.list_radio(element_name, locator, list)
355
- class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListRadio.new("#{element_name}", self, "#{locator}", :page, #{list});end))
354
+ def self.list_radio(element_name, locator, list, proxy = nil)
355
+ class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListRadio.new("#{element_name}", self, "#{locator}", :page, #{list}, #{proxy});end))
356
356
  end
357
357
 
358
358
  # Instantiate a single PageSection object for this page object.
@@ -372,8 +372,8 @@ module TestCentricity
372
372
  # @example
373
373
  # cell_checkbox :is_registered_check, "a[@class='registered']", :data_table, 4
374
374
  #
375
- def self.cell_checkbox(element_name, locator, table, column)
376
- class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellCheckBox.new("#{element_name}", self, "#{locator}", :section, #{table}, #{column});end))
375
+ def self.cell_checkbox(element_name, locator, table, column, proxy = nil)
376
+ class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellCheckBox.new("#{element_name}", self, "#{locator}", :section, #{table}, #{column}, #{proxy});end))
377
377
  end
378
378
 
379
379
  # Declare and instantiate a cell radio in a table column on this page section.
@@ -385,8 +385,8 @@ module TestCentricity
385
385
  # @example
386
386
  # cell_radio :track_a_radio, "a[@class='track_a']", :data_table, 8
387
387
  #
388
- def self.cell_radio(element_name, locator, table, column)
389
- class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :section, #{table}, #{column});end))
388
+ def self.cell_radio(element_name, locator, table, column, proxy = nil)
389
+ class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :section, #{table}, #{column}, #{proxy});end))
390
390
  end
391
391
 
392
392
  # Declare and instantiate a list button in a row of a list object on this section object.
@@ -410,8 +410,8 @@ module TestCentricity
410
410
  # @example
411
411
  # list_checkbox :is_registered_check, "a[@class='registered']", :data_list
412
412
  #
413
- def self.list_checkbox(element_name, locator, list)
414
- class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListCheckBox.new("#{element_name}", self, "#{locator}", :section, #{list});end))
413
+ def self.list_checkbox(element_name, locator, list, proxy = nil)
414
+ class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListCheckBox.new("#{element_name}", self, "#{locator}", :section, #{list}, #{proxy});end))
415
415
  end
416
416
 
417
417
  # Declare and instantiate a list radio in a row of a list object on this section object.
@@ -422,8 +422,8 @@ module TestCentricity
422
422
  # @example
423
423
  # list_radio :sharing_radio, "a[@class='sharing']", :data_list
424
424
  #
425
- def self.list_radio(element_name, locator, list)
426
- class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :section, #{list});end))
425
+ def self.list_radio(element_name, locator, list, proxy = nil)
426
+ class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :section, #{list}, #{proxy});end))
427
427
  end
428
428
 
429
429
  # Instantiate a single PageSection object within this PageSection object.
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '2.0.17'
2
+ VERSION = '2.0.18'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.17
4
+ version: 2.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-04 00:00:00.000000000 Z
11
+ date: 2017-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler