ferrumwizard 0.2.3 → 0.3.2
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 +8 -1
- data.tar.gz.sig +0 -0
- metadata +12 -12
- 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: e58e31121c5bc5e12acb6f18fd498c8d826e8b358f1001c58e34e561a9eb272d
|
4
|
+
data.tar.gz: 8c8408d1a2029aff7c20e28f1725d672fe876822fab5c8ddca84c8c872e236ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca4a0d52238e45e07f3c858634a5ac889a5458f5d37f742541927bab0b4948d95e03df536e094d53dfba70b10a28864415857d178c6571d1072f25afb5cf2ae0
|
7
|
+
data.tar.gz: d865b910bb6358872776486847e26c243975bf311b72d3abd68af21dad58728886d35e0c080626fd91023ddb8caa0e3d56751eae741079975e36a2af0fee73ee
|
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
|
|
@@ -30,6 +32,10 @@ class FerrumWizard
|
|
30
32
|
end
|
31
33
|
end
|
32
34
|
|
35
|
+
def body()
|
36
|
+
@browser.body
|
37
|
+
end
|
38
|
+
|
33
39
|
def inspect()
|
34
40
|
"#<FerrumWizard>"
|
35
41
|
end
|
@@ -50,7 +56,8 @@ class FerrumWizard
|
|
50
56
|
#
|
51
57
|
def load_cookies(raws)
|
52
58
|
|
53
|
-
s = raws.lines.length > 1 ? raws :
|
59
|
+
s = raws.lines.length > 1 ? raws : FileX.read(raws)
|
60
|
+
puts 's: ' + s.inspect if @debug
|
54
61
|
|
55
62
|
rawcookies = YAML.load(s)
|
56
63
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ferrumwizard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,48 +35,48 @@ cert_chain:
|
|
35
35
|
FK+cyrQNA9DLJYJuz6uO7Z+gXZWjwAO38LUwF01w49asSv/5ZH2HH/EauX5xWpe+
|
36
36
|
ry6lYQlb8j50Iys5elAy1p0i
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2022-
|
38
|
+
date: 2022-05-28 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
|
-
name:
|
41
|
+
name: ferrum
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '0.11'
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
49
|
+
version: '0.11'
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
56
|
+
version: '0.11'
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
59
|
+
version: '0.11'
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
|
-
name:
|
61
|
+
name: rxfhelper
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
66
|
+
version: '1.5'
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 1.5.2
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
76
|
+
version: '1.5'
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version:
|
79
|
+
version: 1.5.2
|
80
80
|
description:
|
81
81
|
email: digital.robertson@gmail.com
|
82
82
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|