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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccb6e89d6be87362a8ca612b915c43608929b6f21b6958cb43ba0fe048b1032b
4
- data.tar.gz: e1bd2fe67e7775b4a88f5064e42ef10b6e6bb9af1597b205b4745bcd32bcd20c
3
+ metadata.gz: 98228b4be3f50987db6e943a349aa65f915f6646c71af60ae9dbe70ac0b42d4b
4
+ data.tar.gz: 50aad85a0f3441016bc6776e8782377d6be045cec02d9211e42609ba5fc0c70f
5
5
  SHA512:
6
- metadata.gz: 1a326a4c9f124b57714817f02400574dcaa4e2c3138c311b3d7a6fc984e017fea1f325f821cb25d6cea29e781db291e4d7ff9e620cc9fc602ef2170cf11727d4
7
- data.tar.gz: 6aa1ca723b2b8842e038d070f26dfd8c553a43a5ce9aecbaa78d3ecd67c51aef56303cc90f1801cf9bcad723fe0ffca10eb3cd4fa26c9cbede5bc57588dce91e
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="/assets/heavens_door.css" /><script src="/assets/heavens_door.js"></script>\n#{$~}] }
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]]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HeavensDoor
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
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.1
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-15 00:00:00.000000000 Z
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
- rubygems_version: 3.0.2
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