dolt 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +0 -1
- data/Gemfile.lock +1 -1
- data/dolt.gemspec +1 -1
- data/lib/dolt/sinatra/actions.rb +1 -1
- data/lib/dolt/sinatra/multi_repo_browser.rb +7 -7
- data/lib/dolt/sinatra/single_repo_browser.rb +7 -7
- metadata +2 -2
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
data/dolt.gemspec
CHANGED
data/lib/dolt/sinatra/actions.rb
CHANGED
@@ -43,7 +43,7 @@ module Dolt
|
|
43
43
|
repo, ref, path = params[:splat]
|
44
44
|
tree(repo, ref, path)
|
45
45
|
rescue Exception => err
|
46
|
-
|
46
|
+
render_error(err, repo, ref)
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
@@ -56,7 +56,7 @@ module Dolt
|
|
56
56
|
repo, ref, path = params[:splat]
|
57
57
|
blob(repo, ref, path)
|
58
58
|
rescue Exception => err
|
59
|
-
|
59
|
+
render_error(err, repo, ref)
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
@@ -69,7 +69,7 @@ module Dolt
|
|
69
69
|
repo, ref, path = params[:splat]
|
70
70
|
raw(repo, ref, path)
|
71
71
|
rescue Exception => err
|
72
|
-
|
72
|
+
render_error(err, repo, ref)
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
@@ -82,7 +82,7 @@ module Dolt
|
|
82
82
|
repo, ref, path = params[:splat]
|
83
83
|
blame(repo, ref, path)
|
84
84
|
rescue Exception => err
|
85
|
-
|
85
|
+
render_error(err, repo, ref)
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
@@ -95,7 +95,7 @@ module Dolt
|
|
95
95
|
repo, ref, path = params[:splat]
|
96
96
|
history(repo, ref, path, (params[:commit_count] || 20).to_i)
|
97
97
|
rescue Exception => err
|
98
|
-
|
98
|
+
render_error(err, repo, ref)
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
@@ -107,7 +107,7 @@ module Dolt
|
|
107
107
|
begin
|
108
108
|
refs(params[:splat].first)
|
109
109
|
rescue Exception => err
|
110
|
-
|
110
|
+
render_error(err, repo, nil)
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
@@ -116,7 +116,7 @@ module Dolt
|
|
116
116
|
repo, ref, path = params[:splat]
|
117
117
|
tree_history(repo, ref, path)
|
118
118
|
rescue Exception => err
|
119
|
-
|
119
|
+
render_error(err, repo, ref)
|
120
120
|
end
|
121
121
|
end
|
122
122
|
|
@@ -44,7 +44,7 @@ module Dolt
|
|
44
44
|
ref, path = params[:splat]
|
45
45
|
tree(repo, ref, path)
|
46
46
|
rescue Exception => err
|
47
|
-
|
47
|
+
render_error(err, repo, ref)
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
@@ -57,7 +57,7 @@ module Dolt
|
|
57
57
|
ref, path = params[:splat]
|
58
58
|
blob(repo, ref, path)
|
59
59
|
rescue Exception => err
|
60
|
-
|
60
|
+
render_error(err, repo, ref)
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
@@ -70,7 +70,7 @@ module Dolt
|
|
70
70
|
ref, path = params[:splat]
|
71
71
|
raw(repo, ref, path)
|
72
72
|
rescue Exception => err
|
73
|
-
|
73
|
+
render_error(err, repo, ref)
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
@@ -83,7 +83,7 @@ module Dolt
|
|
83
83
|
ref, path = params[:splat]
|
84
84
|
blame(repo, ref, path)
|
85
85
|
rescue Exception => err
|
86
|
-
|
86
|
+
render_error(err, repo, ref)
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
@@ -96,7 +96,7 @@ module Dolt
|
|
96
96
|
ref, path = params[:splat]
|
97
97
|
history(repo, ref, path, (params[:commit_count] || 20).to_i)
|
98
98
|
rescue Exception => err
|
99
|
-
|
99
|
+
render_error(err, repo, ref)
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
@@ -108,7 +108,7 @@ module Dolt
|
|
108
108
|
begin
|
109
109
|
refs(repo)
|
110
110
|
rescue Exception => err
|
111
|
-
|
111
|
+
render_error(err, repo, ref)
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
@@ -117,7 +117,7 @@ module Dolt
|
|
117
117
|
ref, path = params[:splat]
|
118
118
|
tree_history(repo, ref, path)
|
119
119
|
rescue Exception => err
|
120
|
-
|
120
|
+
render_error(err, repo, ref)
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dolt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.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: 2013-07-
|
12
|
+
date: 2013-07-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: libdolt
|