webgit 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/webgit/application.js +1 -1
- data/app/assets/stylesheets/webgit/application.css +2 -2
- data/app/controllers/webgit/git_controller.rb +1 -1
- data/app/views/webgit/git/index.html.erb +1 -1
- data/lib/webgit/version.rb +1 -1
- metadata +17 -18
- data/MIT-LICENSE +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77fbff2e8f1e1508dc1d11b74d75df5fb0d05ce1
|
|
4
|
+
data.tar.gz: 22e0c67767837edea4001cabec84a6fa9193d027
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55007e3e7610ebc6cbbc774868631ef279eea1405a8b17c913454846d221713070eb784eba5730a2e5b62a227c108da91ccabfe1a402434636efe8dbd67cd2ac
|
|
7
|
+
data.tar.gz: e5552c6d7a19a2baaf41eeb2c46ac3ebe089e18374ff650a940e21f7d7eee8586af4f9033582e4fadd21d9f2eee613506de6ee73d91cebe4b4902a423a99aaf4
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
|
9
9
|
* compiled file, but it's generally better to create a new file per style scope.
|
|
10
10
|
*
|
|
11
|
-
*= require bootstrap
|
|
11
|
+
*= require twitter/bootstrap
|
|
12
12
|
*= require_self
|
|
13
13
|
*= require_tree .
|
|
14
|
-
*/
|
|
14
|
+
*/
|
|
@@ -52,7 +52,7 @@ module Webgit
|
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
def set_repo_branch
|
|
55
|
-
if session[:current_repo] && (path = AppConfig::REPOS[session[:current_repo]]['path'])
|
|
55
|
+
if session[:current_repo] && (path = Webgit::AppConfig::REPOS[session[:current_repo]]['path'])
|
|
56
56
|
@repo = Rugged::Repository.new(path)
|
|
57
57
|
@branch = @repo.rev_parse(params[:branch])
|
|
58
58
|
@branches = Rugged::Branch.each_name(@repo).select{|item| !item.include?('/') && item != params[:branch]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div class="box" style="width:600px;margin:30px auto;line-height:30px;">
|
|
2
2
|
<h2 class="title">REPOS</h2>
|
|
3
3
|
<ul>
|
|
4
|
-
<%- AppConfig::REPOS.each do|name, setting| %>
|
|
4
|
+
<%- Webgit::AppConfig::REPOS.each do|name, setting| %>
|
|
5
5
|
<li><%= link_to name, current_repo_path(name) %></li>
|
|
6
6
|
<%- end %>
|
|
7
7
|
</ul>
|
data/lib/webgit/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: webgit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Zhan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-02-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rugged
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0'
|
|
19
|
+
version: '0.21'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
26
|
+
version: '0.21'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: coderay
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - "
|
|
31
|
+
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
33
|
+
version: '1.1'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- - "
|
|
38
|
+
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
40
|
+
version: '1.1'
|
|
41
41
|
description: Git Web Client.
|
|
42
42
|
email:
|
|
43
43
|
- zhiqiangzhan@gmail.com
|
|
@@ -45,6 +45,8 @@ executables: []
|
|
|
45
45
|
extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
|
47
47
|
files:
|
|
48
|
+
- README.rdoc
|
|
49
|
+
- Rakefile
|
|
48
50
|
- app/assets/javascripts/webgit/application.js
|
|
49
51
|
- app/assets/javascripts/webgit/git.js.coffee
|
|
50
52
|
- app/assets/stylesheets/webgit/application.css
|
|
@@ -61,15 +63,13 @@ files:
|
|
|
61
63
|
- app/views/webgit/git/tree.html.erb
|
|
62
64
|
- config/routes.rb
|
|
63
65
|
- lib/tasks/webgit_tasks.rake
|
|
66
|
+
- lib/webgit.rb
|
|
64
67
|
- lib/webgit/app_config.rb
|
|
65
68
|
- lib/webgit/engine.rb
|
|
66
69
|
- lib/webgit/version.rb
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
-
|
|
70
|
-
- README.rdoc
|
|
71
|
-
homepage: https://github.com/jameszhan
|
|
72
|
-
licenses: []
|
|
70
|
+
homepage: http://www.github.com/jameszhan/webgit
|
|
71
|
+
licenses:
|
|
72
|
+
- MIT
|
|
73
73
|
metadata: {}
|
|
74
74
|
post_install_message:
|
|
75
75
|
rdoc_options: []
|
|
@@ -87,9 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
87
|
version: '0'
|
|
88
88
|
requirements: []
|
|
89
89
|
rubyforge_project:
|
|
90
|
-
rubygems_version: 2.
|
|
90
|
+
rubygems_version: 2.4.5
|
|
91
91
|
signing_key:
|
|
92
92
|
specification_version: 4
|
|
93
93
|
summary: Git Web Client
|
|
94
94
|
test_files: []
|
|
95
|
-
has_rdoc:
|
data/MIT-LICENSE
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Copyright 2013 YOURNAME
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
a copy of this software and associated documentation files (the
|
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
-
the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
included in all copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|