actionview-pathfinder 0.0.1 → 0.0.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
  SHA1:
3
- metadata.gz: 739be05613c074484e015f9c94929e23ec74527a
4
- data.tar.gz: fe536d1a5229d23ed38cd2723847f3e73e353c9a
3
+ metadata.gz: 509af212110e60dbf0d225b09953461daeb089eb
4
+ data.tar.gz: c6d69ab8e0d52ecc453e56b6f128a078284cb3ca
5
5
  SHA512:
6
- metadata.gz: e5df836a876af99baf1c397074da89bb19cfd0a8c1d8c698f276437dbe27c3bd0e20f849a2ba74e4034742d2e392d05a025a41eb8d3d65841a7b208b782a130e
7
- data.tar.gz: 3f564c4b19565db2b09f33c441aa046c34fd3e70c93e958d35636fdfdac4978591a47157a57b0b7ba69131dd5257af840c6d1c912b1770edac376d4f16b8b6cb
6
+ metadata.gz: ffe324193c20e99441b93addcf507193ea5ef2bac139c538647c98a86577758f44a6f586005ef3d22cca0ba2c7dbece1fc5122c2b76b9d8328ce7c03524f50e4
7
+ data.tar.gz: d59f3874afe21083730f3d794f73388cef4e804402faaad18ec528d8eb7f6bad4fc7aae2a348dc11edf8344a1d2bad3a405124d583f538220a51e80e77147ddb
data/.gitignore CHANGED
@@ -12,4 +12,5 @@
12
12
  *.so
13
13
  *.o
14
14
  *.a
15
+ *.gem
15
16
  mkmf.log
@@ -14,6 +14,8 @@ module ActionView
14
14
  private
15
15
 
16
16
  def html_comment(text)
17
+ return '' unless formats.include?(:html)
18
+
17
19
  if handler_type == 'haml'
18
20
  ["/", text, "\n\n"].join('')
19
21
  else
@@ -1,5 +1,5 @@
1
1
  module Actionview
2
2
  module Pathfinder
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionview-pathfinder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Duffy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-13 00:00:00.000000000 Z
11
+ date: 2015-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview