cello 0.0.25 → 0.0.26

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: c9bea50c1e1c99955d16569b8e6f0590861b1c00
4
- data.tar.gz: 6f1eb4111de8aaafeaa7810bf30f50b8b6171a90
3
+ metadata.gz: 75be8b6ec1bd766a60cde884e30bad66fa448ddd
4
+ data.tar.gz: 81ee6fa326fe7a30aa8f6131d39a9c422ef538ba
5
5
  SHA512:
6
- metadata.gz: ecaead65fa5527b56f63c14f7f9d3f34938e8e01906c946ee941aecb95905c3dbe58594f15dcbc5163d8d047530e4f117cb24b1136c4460698635e13e0f35362
7
- data.tar.gz: 656bd32c1d0143ad22ed40703ed5d1bec0b65d214bdf7975b758d1f51f355908610001d2c4b5a2bbb52ba4b67190498f4a1c22b915e4d6d21ca1bf04f9bf2c7c
6
+ metadata.gz: 14ef9627ade0b1dd73e158ff7af4841cf376e970eec3cc02f4405b6a39a135910dc78519f87992322f3e8864760fd076d6fff83c3ec230dc46d5481b055756bd
7
+ data.tar.gz: a2cb87a7f8f8db0b8cb33492b1352ddec73110869bc9b01d7c4920093c9d1a8c361c48e447fd3597e94c79d95cbb7444a01c76da99b8b816c681dd56100a60e1
@@ -20,60 +20,60 @@ module Cello
20
20
 
21
21
 
22
22
  def define_extras(name, type)
23
- include LogHelper
24
-
23
+ #include LogHelper
24
+
25
25
  define_method "#{name}_exit_wait?" do
26
- send(name).visible?
26
+ send(name).visible?
27
27
  end
28
28
 
29
29
  define_method "#{name}_is_enable?" do
30
- logger(name, __method__, type) {
31
- send(name).enabled?
32
- }
30
+ #logger(name, __method__, type) {
31
+ send(name).enabled?
32
+ #}
33
33
  end
34
34
  define_method "#{name}_is_real?" do
35
- logger(name, __method__, type, "Foo") {
36
- send(name).exists?
37
- }
35
+ #logger(name, __method__, type, "Foo") {
36
+ send(name).exists?
37
+ #}
38
38
  end
39
39
  define_method "#{name}_click" do
40
- logger(name, __method__, type) {
41
- send(name).click
42
- }
40
+ #logger(name, __method__, type) {
41
+ send(name).click
42
+ #}
43
43
  end
44
44
  define_method "#{name}_is_visible?" do
45
- logger(name, __method__, type) {
46
- send(name).visible?
47
- }
45
+ #logger(name, __method__, type) {
46
+ send(name).visible?
47
+ #}
48
48
  end
49
49
  define_method "#{name}_right_click" do
50
- logger(name, __method__, type) {
51
- send(name).right_click
52
- }
50
+ #logger(name, __method__, type) {
51
+ send(name).right_click
52
+ #}
53
53
  end
54
54
 
55
55
  define_method "#{name}_get" do |att|
56
- logger(name, __method__, type) {
57
- send(name).attribute_value(att)
58
- }
56
+ #logger(name, __method__, type) {
57
+ send(name).attribute_value(att)
58
+ #}
59
59
  end
60
60
 
61
61
  method_name = "define_extras_for_#{type}"
62
62
  send(method_name, name) if respond_to? method_name
63
63
  end
64
-
65
64
 
66
- include CheckboxHelper
67
- include TextfieldHelper
68
- include TextareaHelper
69
- include SelectHelper
70
- include DivHelper
71
- include RadioHelper
72
- include LinkHelper
73
- include ButtonHelper
74
- include SpanHelper
75
- include HiddenHelper
76
- include IframeHelper
65
+
66
+ include CheckboxHelper
67
+ include TextfieldHelper
68
+ include TextareaHelper
69
+ include SelectHelper
70
+ include DivHelper
71
+ include RadioHelper
72
+ include LinkHelper
73
+ include ButtonHelper
74
+ include SpanHelper
75
+ include HiddenHelper
76
+ include IframeHelper
77
77
 
78
78
  end
79
79
  end
@@ -5,28 +5,28 @@ module Cello
5
5
  include LogHelper
6
6
 
7
7
  define_method "#{name}_get_options" do
8
- logger(name, __method__, :select) {
9
- options = Array.new
10
- send(name).options.each do |option|
11
- options.push option.text
12
- end
13
- options
14
- }
8
+ # logger(name, __method__, :select) {
9
+ options = Array.new
10
+ send(name).options.each do |option|
11
+ options.push option.text
12
+ end
13
+ options
14
+ #}
15
15
  end
16
16
  define_method "#{name}_select" do |option|
17
- logger(name, __method__, :select) {
18
- send(name).select option
19
- }
17
+ #logger(name, __method__, :select) {
18
+ send(name).select option
19
+ #}
20
20
  end
21
21
  define_method "#{name}_is" do |option|
22
- logger(name, __method__, :select) {
23
- send(name).selected_options.last.text == option
24
- }
22
+ #logger(name, __method__, :select) {
23
+ send(name).selected_options.last.text == option
24
+ #}
25
25
  end
26
26
  define_method "#{name}_selected" do
27
- logger(name, __method__, :select) {
28
- send(name).selected_options.last.text
29
- }
27
+ #logger(name, __method__, :select) {
28
+ send(name).selected_options.last.text
29
+ #}
30
30
  end
31
31
  # define_method "#{name}_clear" do
32
32
  # send(name).clear
data/lib/cello/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cello
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cello
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camilo Ribeiro