ferrumwizard 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/ferrumwizard.rb +4 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16a5b0bedff31cf75df672bb9234b30104006eb2353bc2a035d9a4cb06cce082
|
4
|
+
data.tar.gz: eb674866a070802be1c2009d8a7389d0798ae2010521b8370e62bbe780fc65aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3fd5d76a5aff19304d9d64e91b37089b7a703a0067f41918ab50159643cee556e2adaddf1cc41f11c38d9081c658a42d428709d9ddf5ddc09d71b86ced5f0aa
|
7
|
+
data.tar.gz: d1ca5d86310e6d1b1e278fa0c47969045c729a650d49e515c47c11e66ebca9ea0fc14c2b08f18074433ab9134869286fe9970e606729d43f775c571864c60c3a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/ferrumwizard.rb
CHANGED
@@ -5,9 +5,11 @@
|
|
5
5
|
require 'yaml'
|
6
6
|
require 'rexle'
|
7
7
|
require 'ferrum'
|
8
|
+
require 'rxfhelper'
|
8
9
|
|
9
10
|
|
10
11
|
class FerrumWizard
|
12
|
+
include RXFHelperModule
|
11
13
|
|
12
14
|
attr_reader :browser, :links, :radio, :buttons, :js_methods
|
13
15
|
|
@@ -50,7 +52,8 @@ class FerrumWizard
|
|
50
52
|
#
|
51
53
|
def load_cookies(raws)
|
52
54
|
|
53
|
-
s = raws.lines.length > 1 ? raws :
|
55
|
+
s = raws.lines.length > 1 ? raws : FileX.read(raws)
|
56
|
+
puts 's: ' + s.inspect if @debug
|
54
57
|
|
55
58
|
rawcookies = YAML.load(s)
|
56
59
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|