stealth_browser_automation 1.1.21 → 1.1.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stealth_browser_automation.rb +6 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67e04c19c3a815cdf05e0cc467f5bafa6f07171b
|
4
|
+
data.tar.gz: 23b30a071938aaed5dca1a829dded4555362593b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97bf2d2cccc8c0d7f52f468974fbd6f37d47114f77a7b88f081e60af3f8ad131bc85811c478e018c82775bc84cde78bd788f1d6be1b61d9fd1d88ddb1aaaaf9c
|
7
|
+
data.tar.gz: 1e5a350d47e3a42aad26d283cbde56ba29e97ebc31a61e3319486608db86ee22735130126b10e5addad1ecc42ea9a2a83427cf909c794f9023909a86da06e157
|
@@ -55,11 +55,13 @@ module BlackStack
|
|
55
55
|
req = Net::HTTP::Post.new(uri)
|
56
56
|
req['Content-Type'] = 'application/json'
|
57
57
|
res = Net::HTTP.start(uri.host, uri.port, :use_ssl => false, :verify_mode => OpenSSL::SSL::VERIFY_NONE) {|http|
|
58
|
-
|
58
|
+
req = Net::HTTP::Post.new(uri)
|
59
|
+
req['Content-Type'] = 'application/json'
|
60
|
+
req.body = [profile_id].to_json
|
61
|
+
res = JSON.parse(http.request(req).body)
|
62
|
+
raise "Error creating Multilogin local profile: #{res.to_s}" if res['status'] != 'OK'
|
63
|
+
return res['uuid']
|
59
64
|
}
|
60
|
-
res = JSON.parse(res.body)
|
61
|
-
raise "Error removing Multilogin local profile: #{res.to_s}" if !res.has_key?('status')
|
62
|
-
raise "Error removing Multilogin local profile: #{res['status'].to_s}" if res['status'] != 'OK'
|
63
65
|
end # def self.delete_profile
|
64
66
|
|
65
67
|
# returns the profileId of the new Mimic profile
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stealth_browser_automation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leandro Daniel Sardi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mini_magick
|