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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9205d3cdef37384cb5e219316a5266cecee2c50d
4
- data.tar.gz: 4a647a29b0c93ba7c74ae515d493fb586efe8355
3
+ metadata.gz: 6237dd599f6f63ef8a0fb45feb9afeff6ffaefc3
4
+ data.tar.gz: ffce91008633e6163b439cd3904dac7ed472a34c
5
5
  SHA512:
6
- metadata.gz: 60d9c4cc07d9db794eb125e499ba8e5fb84d2c39c96824ba93c9c0c960e9cb031eb0b0cc41b9fb2dcd2843446fcde852a1d2eaf2a1a838fc8e6ce2f35fb4d02b
7
- data.tar.gz: 42906b6dbb2f519215d7ed7427a3a75538a73d72d7f208c22dbf623b4521489f9aad2f957f816cc96aa2b1c470107430165c84343f92fba8fe5c3b152ed20ce4
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/demo.jpg)
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: 400px;
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.0
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-03 00:00:00.000000000 Z
11
+ date: 2017-09-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Get name of the current template file, including partial template.
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: Get name of the current template file
62
+ summary: Display name of the current template file
63
63
  test_files: []