current_template 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/views/current_template/_show_template.html.erb +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6237dd599f6f63ef8a0fb45feb9afeff6ffaefc3
|
4
|
+
data.tar.gz: ffce91008633e6163b439cd3904dac7ed472a34c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87e8fe361d320dc743f74d47ec0a8f47475bb4c84b352335147f77b5fd6b96bc2f6b8fbc7744622cef35e2cf88a5675ecf5ba853889e9bab7c799c2cc25ff143
|
7
|
+
data.tar.gz: e872a061de375bffe138bea356777aeba50fd6f0cada907ab748258cee0497cf086d4592387fa1514262bdcdd280bb7b118545cb07fa8d556aa4f791c49a1890
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Display name of the current template file, including partial template.
|
3
3
|
|
4
4
|
## Demo
|
5
|
-
![demo](https://github.com/shihokambara/current_template/blob/master/
|
5
|
+
![demo](https://github.com/shihokambara/current_template/blob/master/screenshot.jpg)
|
6
6
|
|
7
7
|
## Feature
|
8
8
|
|
@@ -1,12 +1,13 @@
|
|
1
1
|
<div class='current_template-container' >
|
2
2
|
<small>CurrentTemplateViewer</small>
|
3
3
|
<p class='current_template-inner'>
|
4
|
-
Template: <%= "#{`tail log/development.log`}".scan(/\s[a-z]+\/\S
|
4
|
+
Template: <%= "#{`tail log/development.log`}".scan(/\s[a-z]+\/\S+[erb|haml|slim]\s/) %>
|
5
|
+
|
5
6
|
</p>
|
6
7
|
</div>
|
7
8
|
<style>
|
8
9
|
.current_template-container{
|
9
|
-
max-width:
|
10
|
+
max-width: 450px;
|
10
11
|
position: fixed;
|
11
12
|
bottom: 10px;
|
12
13
|
background: green;
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: current_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- shiho kambara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: Display name of the current template file, including partial template.
|
14
14
|
email:
|
15
15
|
- shihokambara@icloud.com
|
16
16
|
executables: []
|
@@ -59,5 +59,5 @@ rubyforge_project:
|
|
59
59
|
rubygems_version: 2.6.13
|
60
60
|
signing_key:
|
61
61
|
specification_version: 4
|
62
|
-
summary:
|
62
|
+
summary: Display name of the current template file
|
63
63
|
test_files: []
|