libdolt 0.33.1 → 0.33.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- libdolt (0.33.1)
4
+ libdolt (0.33.2)
5
5
  htmlentities (~> 4.3)
6
6
  json (~> 1.7)
7
7
  makeup (~> 0.4.1)
@@ -17,5 +17,5 @@
17
17
  #++
18
18
 
19
19
  module Dolt
20
- VERSION = "0.33.1"
20
+ VERSION = "0.33.2"
21
21
  end
@@ -38,6 +38,19 @@ describe "tree_history template" do
38
38
  :date => Time.parse("Mon Sep 10 15:07:39 +0200 2012"),
39
39
  :message => ""
40
40
  }]
41
+ }, {
42
+ :type => :blob,
43
+ :oid => "da78b0d251e3a130eee02c156494f062f23411fb",
44
+ :filemode => 33188,
45
+ :name => "żółć".force_encoding('ascii-8bit'),
46
+ :history => [{
47
+ :oid => "dea60ba48842ae4b45341545b24948cf421d173e",
48
+ :author => { :name => "Zenon Żółć".force_encoding('ascii-8bit'),
49
+ :email => "zenon@zolc.pl" },
50
+ :summary => "A commit with some national characters",
51
+ :date => Time.parse("Sat Sep 1 21:40:19 +0200 2012"),
52
+ :message => ""
53
+ }]
41
54
  }, {
42
55
  :type => :blob,
43
56
  :oid => "c80ee3697054566d1a4247d80be78ec3ddfde295",
@@ -66,6 +79,19 @@ describe "tree_history template" do
66
79
  "date" => "2012-09-10T15:07:39+02:00",
67
80
  "message" => ""
68
81
  }]
82
+ }, {
83
+ "type" => "blob",
84
+ "oid" => "da78b0d251e3a130eee02c156494f062f23411fb",
85
+ "filemode" => 33188,
86
+ "name" => "żółć",
87
+ "history" => [{
88
+ "oid" => "dea60ba48842ae4b45341545b24948cf421d173e",
89
+ "author" => { "name" => "Zenon Żółć",
90
+ "email" => "zenon@zolc.pl" },
91
+ "summary" => "A commit with some national characters",
92
+ "date" => "2012-09-01T21:40:19+02:00",
93
+ "message" => ""
94
+ }]
69
95
  }, {
70
96
  "type" => "blob",
71
97
  "oid" => "c80ee3697054566d1a4247d80be78ec3ddfde295",
@@ -21,5 +21,6 @@ tree.each do |entry|
21
21
  entry[:history].each do |e|
22
22
  e[:author][:name].force_encoding("utf-8")
23
23
  end
24
+ entry[:name].force_encoding("utf-8")
24
25
  end if "".respond_to?(:force_encoding)
25
26
  %><%= 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.33.1
4
+ version: 0.33.2
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: 2013-09-06 00:00:00.000000000 Z
12
+ date: 2013-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rugged
@@ -331,21 +331,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
331
331
  - - ! '>='
332
332
  - !ruby/object:Gem::Version
333
333
  version: '0'
334
- segments:
335
- - 0
336
- hash: -3653401185704133084
337
334
  required_rubygems_version: !ruby/object:Gem::Requirement
338
335
  none: false
339
336
  requirements:
340
337
  - - ! '>='
341
338
  - !ruby/object:Gem::Version
342
339
  version: '0'
343
- segments:
344
- - 0
345
- hash: -3653401185704133084
346
340
  requirements: []
347
341
  rubyforge_project: libdolt
348
- rubygems_version: 1.8.25
342
+ rubygems_version: 1.8.23
349
343
  signing_key:
350
344
  specification_version: 3
351
345
  summary: Dolt API for serving git trees and syntax highlighted blobs