current_template 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -5
- 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: ddb8430e0fa8f4fd2a277f72b23e7ea61919d67b
|
|
4
|
+
data.tar.gz: 86213268048149d8947d321d42a4fe49119ba5c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99ab9dfc668da67f6b01dc28f995e7193e02399244adf2b827283757e61ef89845c8ee63b0cbd21163d1691c4ffac881bb40b3db3cc2c413450a7fb4f1c92fba
|
|
7
|
+
data.tar.gz: db5e374d5342f0a4399eec7baeea08a51086ebaeb8afacc55ca66eb38f97ea4818e3de9f01fbba229db61dade47261d8331b026cd536ec9f92f14df1e2991adf
|
data/README.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
|
|
1
2
|
# CurrentTemplate
|
|
3
|
+
|
|
4
|
+
[](https://badge.fury.io/rb/current_template)
|
|
5
|
+
[](https://gemnasium.com/github.com/shihokambara/current_template)
|
|
6
|
+
|
|
7
|
+
|
|
2
8
|
Display name of the current template file, including partial template.
|
|
3
9
|
|
|
4
10
|
## Demo
|
|
5
|
-

|
|
6
12
|
|
|
7
13
|
## Feature
|
|
8
14
|
|
|
@@ -11,10 +17,6 @@ It doesn't override any method.
|
|
|
11
17
|
|
|
12
18
|
This gem also supports haml and slim.
|
|
13
19
|
|
|
14
|
-
```ruby
|
|
15
|
-
Template: <%= "#{`tail log/development.log`}".scan(/\s[a-z]+\/\S+[erb|haml|slim]\s/) %> # extract data from log file
|
|
16
|
-
```
|
|
17
|
-
|
|
18
20
|
## Installation
|
|
19
21
|
Add this line to your application's Gemfile:
|
|
20
22
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.3
|
|
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-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Display name of the current template file, including partial template.
|
|
14
14
|
email:
|