capykit 0.0.30 → 0.0.31

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.
@@ -96,10 +96,16 @@ module Capykit::Base::Core
96
96
  param[1] = ";#{param[1]}" if param[1]
97
97
  end
98
98
  @name = param.shift
99
- result = aselector[@name.to_sym]
100
99
  @value = param==[] ? nil : param.join(spltr)
101
- @selec = result ? result.split('|')[0] : nil
102
- @nname = result ? result.split('|')[1] : nil
100
+ result = aselector[@name.to_sym]
101
+ if result
102
+ @selec = result.split('|')[0]
103
+ @nname = result.split('|')[1]
104
+ else
105
+ result=all(@name)
106
+ @selec = result.length==[] ? nil : @name
107
+ @nname = ''
108
+ end
103
109
  @pname = @name[0,1]
104
110
  end
105
111
 
@@ -137,6 +143,7 @@ module Capykit::Base::Core
137
143
  end
138
144
  puts [' '*28,"send_keys(#{nvalue})"].join
139
145
  @node.native.clear if avalue!=[] && !pvalue
146
+ p combine
140
147
  @node.native.send_keys(*combine)
141
148
  self
142
149
  end
@@ -1,3 +1,3 @@
1
1
  module Capykit
2
- VERSION = "0.0.30"
2
+ VERSION = "0.0.31"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capykit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 35
4
+ hash: 33
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 30
10
- version: 0.0.30
9
+ - 31
10
+ version: 0.0.31
11
11
  platform: ruby
12
12
  authors:
13
13
  - Widi Harsojo