libdolt 0.12.0 → 0.13.0

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- libdolt (0.11)
4
+ libdolt (0.12.0)
5
5
  em_pessimistic (~> 0.1)
6
6
  em_rugged (~> 0.3)
7
7
  eventmachine (~> 1.0)
@@ -17,5 +17,5 @@
17
17
  #++
18
18
 
19
19
  module Dolt
20
- VERSION = "0.12.0"
20
+ VERSION = "0.13.0"
21
21
  end
data/views/blob.erb CHANGED
@@ -27,5 +27,5 @@
27
27
  <li><a href="<%= raw_url(repository_slug, ref, path) %>">Raw blob</a></li>
28
28
  </ul>
29
29
  <%= breadcrumb(repository_slug, ref, path) %>
30
- <%= format_blob(path, blob.content, repository_slug, ref) %>
30
+ <%= format_blob(path, blob.text(nil, Encoding.default_external), repository_slug, ref) %>
31
31
  </div>
@@ -21,5 +21,5 @@ tree.each do |entry|
21
21
  entry[:history].each do |e|
22
22
  e[:author][:name].force_encoding("utf-8")
23
23
  end
24
- end
24
+ end if "".respond_to?(:force_encoding)
25
25
  %><%= JSON.generate(tree) %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libdolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-14 00:00:00.000000000 Z
12
+ date: 2013-01-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine