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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -5
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b06c9145a691472a58489402a0369da6c68180f
4
- data.tar.gz: 43e2edef1d5e8a7c35d810e96843ed8f71c2689d
3
+ metadata.gz: ddb8430e0fa8f4fd2a277f72b23e7ea61919d67b
4
+ data.tar.gz: 86213268048149d8947d321d42a4fe49119ba5c0
5
5
  SHA512:
6
- metadata.gz: e8d43033e71b8304d3b6d5071a4f744f18f1e10b9d96c4c2d58a6dfbb70e353b345a02e6d85343244090b13aa343984a2b357174b85eb5f619288245fefbab85
7
- data.tar.gz: 76c7e87c12cd1ebb55424316020184289f41002a432f02886dd2bfb42c0de15c8b63541807e724d8b107ecb3a4d589d362fcf063b21b537560bb607e65422dc8
6
+ metadata.gz: 99ab9dfc668da67f6b01dc28f995e7193e02399244adf2b827283757e61ef89845c8ee63b0cbd21163d1691c4ffac881bb40b3db3cc2c413450a7fb4f1c92fba
7
+ data.tar.gz: db5e374d5342f0a4399eec7baeea08a51086ebaeb8afacc55ca66eb38f97ea4818e3de9f01fbba229db61dade47261d8331b026cd536ec9f92f14df1e2991adf
data/README.md CHANGED
@@ -1,8 +1,14 @@
1
+
1
2
  # CurrentTemplate
3
+
4
+ [![Gem Version](https://badge.fury.io/rb/current_template.svg)](https://badge.fury.io/rb/current_template)
5
+ [![Dependency Status](https://gemnasium.com/badges/github.com/shihokambara/current_template.svg)](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
- ![demo](https://github.com/shihokambara/current_template/blob/master/demo.gif)
11
+ ![demo](https://github.com/shihokambara/current_template/blob/master/screenshot.gif)
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.2
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-04 00:00:00.000000000 Z
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: