isomorfeus-puppetmaster 0.6.14 → 0.6.15
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 269dd1f6465a3861c8590f471d3db376b11a0570fa4bf97bd44b9dfb5d9c1e42
|
4
|
+
data.tar.gz: 0315a46480c8e60a185b5ad3e8fd5649eecb937cb9c606ac6e3ab2e70e57a454
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d52eb1625c95027d9ef3d7b3f57c7742d07307bf650f7b7545ef222bb6b4135500229670bf95dfc5e2081a41f623536d005cf5fcf392c887c03e7b4c7c75c263
|
7
|
+
data.tar.gz: c1af261f57a1f1ad3cce47a7cb2b10ad8c3b539300d98e925918db666231de4f72d8c5b606de64089af02cf79f3296596efbcce60a909702dc2a63808a77e8b1
|
data/README.md
CHANGED
@@ -3,9 +3,10 @@
|
|
3
3
|
<br/>
|
4
4
|
Isomorfeus Puppetmaster<br/>
|
5
5
|
</h1>
|
6
|
+
|
6
7
|
A framework for acceptance tests or simply running tests in a headless browser.
|
7
8
|
Allows for writing javascript browser tests in pure ruby.
|
8
|
-
It is tailored for Isomorfeus and using [puppeteer-ruby](https://github.com/YusukeIwaki/puppeteer-ruby)
|
9
|
+
It is tailored for Isomorfeus and using [puppeteer-ruby](https://github.com/YusukeIwaki/puppeteer-ruby)
|
9
10
|
|
10
11
|
### Community and Support
|
11
12
|
At the [Isomorfeus Framework Project](https://isomorfeus.com)
|
@@ -88,7 +89,7 @@ page2.goto('/location')
|
|
88
89
|
|
89
90
|
For debugging:
|
90
91
|
```ruby
|
91
|
-
page
|
92
|
+
page = visit('/', headless: false, devtools: true)
|
92
93
|
```
|
93
94
|
This will close the current browser if the options for headless and devtools dont match, and open a new one with the supplied headless and devtools options.
|
94
95
|
|
@@ -18,6 +18,7 @@ module Isomorfeus
|
|
18
18
|
unless request.body.nil?
|
19
19
|
request_hash = Oj.load(request.body.read, mode: :strict)
|
20
20
|
if request_hash['key'] != @@request_key
|
21
|
+
STDERR.puts "wrong key"
|
21
22
|
response = Rack::Response.new(Oj.dump({ 'error' => 'wrong key given, execution denied' }),
|
22
23
|
401,
|
23
24
|
'Content-Type' => 'application/json')
|
@@ -32,7 +33,7 @@ module Isomorfeus
|
|
32
33
|
200,
|
33
34
|
'Content-Type' => 'application/json')
|
34
35
|
rescue Exception => e
|
35
|
-
response = Rack::Response.new(Oj.dump({ 'error' => "#{e.class}: #{e.message}", 'backtrace' => e.backtrace
|
36
|
+
response = Rack::Response.new(Oj.dump({ 'error' => "#{e.class}: #{e.message}", 'backtrace' => e.backtrace&.join("\n") }),
|
36
37
|
200,
|
37
38
|
'Content-Type' => 'application/json')
|
38
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-puppetmaster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|