heavens_door 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/heavens_door/middleware.rb +1 -1
- data/lib/heavens_door/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98228b4be3f50987db6e943a349aa65f915f6646c71af60ae9dbe70ac0b42d4b
|
4
|
+
data.tar.gz: 50aad85a0f3441016bc6776e8782377d6be045cec02d9211e42609ba5fc0c70f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 905f0f3ead2ea6cefdb62ccbceb18c8640eda815278c19f6709f9edc1d208a97504fcb52e5e766ae7453ede3a34d15c4d9aa6ac6e383e09c345d49b6b908df86
|
7
|
+
data.tar.gz: b6ce0f7341bb66bf57a082735308a9987e64f9ac7f349a324b1521a1f6c15c61fdddd0e998549631f961e0576b4a1476a5388cc1cfb60d845951a9c34e7b15df
|
@@ -20,7 +20,7 @@ module HeavensDoor
|
|
20
20
|
end
|
21
21
|
|
22
22
|
body = body.dup if body.frozen?
|
23
|
-
body.sub!(/<\/head[^>]*>/) { %Q[<link rel="stylesheet" href="
|
23
|
+
body.sub!(/<\/head[^>]*>/) { %Q[<link rel="stylesheet" href="#{Rails.application.config.assets.prefix}/heavens_door.css" /><script src="#{Rails.application.config.assets.prefix}/heavens_door.js"></script>\n#{$~}] }
|
24
24
|
body.sub!(/<body[^>]*>/) { %Q[#{$~}\n<div id="heavens-door" class="heavens-door-custom"><span id="heavens-door-open" class="heavens-door-button">⏺</span><span id="heavens-door-close" class="heavens-door-button">⏹</span><span id="heavens-door-copy" class="heavens-door-button">📋</span></div>] }
|
25
25
|
|
26
26
|
[status, headers, [body]]
|
data/lib/heavens_door/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heavens_door
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akira Matsuda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,7 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
|
-
|
97
|
+
rubyforge_project:
|
98
|
+
rubygems_version: 2.7.8
|
98
99
|
signing_key:
|
99
100
|
specification_version: 4
|
100
101
|
summary: The Capybara scenario writer
|