libdolt 0.33.18 → 0.34.0

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: fb60d17c4cdfe35fc7d6d5bca51459f2cdac9791
4
- data.tar.gz: 521ad27fd76b39bfeeba2e9266f74cc04c29f9f7
3
+ metadata.gz: dc0c7c2bbea4cea75f67346840f577ef7ee8e6da
4
+ data.tar.gz: 1d9dbe1bcf4702cdfd678d8bee78e717317b78a4
5
5
  SHA512:
6
- metadata.gz: 838e2aed406770930c5f8c9277a7cf152a12de795a072c9155c6d76c0b49fffb4025f56d62cd84117903c342a85374aecf2ba1e1dcd7c4d4c7b0ef06ed254e1e
7
- data.tar.gz: 37d7bd5871a85a269ba1861e0020ce7826ef5c2077d065e8f8a93cc9a7d922cf53bb09219586673b366ce9c366c8ccd1d44e7e1f35bcc4b7e0b039e3b18dbfc8
6
+ metadata.gz: 3463dc27a47cdd78fce08eb039abdcb0db4948a166a79ccb58511aee58da1107c8522ffc0f1dc217f1744fd96db055ef8570eea091fa18fda2200551c3743a82
7
+ data.tar.gz: 36f64dba1044a6b4e5c9fff69b652b0bfa407f5d1f44b8826e077ffdb2f05edf65664076298c54ef6a420a358854b4fd0df9db648343833aebdc05b223208fac
@@ -17,5 +17,5 @@
17
17
  #++
18
18
 
19
19
  module Dolt
20
- VERSION = "0.33.18"
20
+ VERSION = "0.34.0"
21
21
  end
@@ -22,6 +22,7 @@ class Blob
22
22
  attr_reader :content
23
23
  def initialize(content); @content = content; end
24
24
  def text(max_lines, encoding); content; end
25
+ def binary?; false; end
25
26
  end
26
27
 
27
28
  describe "blob template" do
@@ -23,7 +23,9 @@
23
23
  <div class="gts-ref-selector-ph"></div>
24
24
  <ul class="pull-right gts-blob-view">
25
25
  <li class="active">Blob content</li>
26
- <li><a href="<%= blame_url(repository_slug, ref, path) %>">Blame</a></li>
26
+ <% unless blob.binary? %>
27
+ <li><a href="<%= blame_url(repository_slug, ref, path) %>">Blame</a></li>
28
+ <% end %>
27
29
  <li><a href="<%= history_url(repository_slug, ref, path) %>">History</a></li>
28
30
  <li><a href="<%= raw_url(repository_slug, ref, path) %>">Raw blob</a></li>
29
31
  </ul>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libdolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.18
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Johansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-07 00:00:00.000000000 Z
11
+ date: 2015-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rugged