git_go 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +1 -1
- data/bin/gitgo +10 -0
- data/git_go.gemspec +1 -1
- data/lib/git_go.rb +1 -1
- data/lib/git_go/version.rb +1 -1
- data/spec/lib/git_go/cli_spec.rb +6 -20
- data/spec/spec_helper.rb +0 -1
- metadata +12 -22
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2d53e8af63725ca1753564f3d7bbab1c6d92e53f
|
4
|
+
data.tar.gz: e08a9fb984cfcaed165fbdfb898cad2e35c121d9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4471f23471928df5a9989ace3eeba2c3c9f9e7b8e500feb95a39ee956fd15c9062989e7fce1a993c4084ca7c09cbe1e52ec33ce94e33d7ecde816678c02dee43
|
7
|
+
data.tar.gz: 22753e39fb237b44d94c97b96537923119cfc6a938853643c74eaa39120a72e6b095b5081ba74712eef866c7beeee4560cf9db45b27ff1e7664f53a1ccc89475
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Git Go
|
2
2
|
|
3
|
-
Git Go is a small command-line utility distributed as a RubyGem that allows you to easily create/destroy/rename/list all your private-hosted git repositories on your own server. All you need is a small VPS (256MB RAM / 10GB HDD / 1vCPUCore should be sufficient).
|
3
|
+
Git Go is a small command-line utility distributed as a RubyGem that allows you to easily create/destroy/rename/list/clip all your private-hosted git repositories on your own server. All you need is a small VPS (256MB RAM / 10GB HDD / 1vCPUCore should be sufficient).
|
4
4
|
|
5
5
|
Git Go also provides you with detailed instructions on how to set up your server in order to be able to create remote repositories from your local machine using the provided command-line utility. The instructions also show you how to set up automatic/daily compressed/archived backups of all your git repositories, store them on Amazon S3, cycle them and send you success/error notifications by email, all using the [Backup](http://github.com/meskyanichi/backup) RubyGem. It's easy, and only takes a few minutes to set up.
|
6
6
|
|
data/bin/gitgo
ADDED
data/git_go.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |gem|
|
|
9
9
|
gem.version = GitGo::VERSION
|
10
10
|
gem.authors = ["Michael van Rooijen"]
|
11
11
|
gem.email = ["meskyanichi@gmail.com"]
|
12
|
-
gem.description = %q{Git Go is a small command-line utility distributed as a RubyGem that allows you to easily create/destroy/rename/list all your private-hosted git repositories on your own server.}
|
12
|
+
gem.description = %q{Git Go is a small command-line utility distributed as a RubyGem that allows you to easily create/destroy/rename/list/clip all your private-hosted git repositories on your own server.}
|
13
13
|
gem.summary = gem.description
|
14
14
|
gem.homepage = "http://github.com/meskyanichi/git_go"
|
15
15
|
|
data/lib/git_go.rb
CHANGED
data/lib/git_go/version.rb
CHANGED
data/spec/lib/git_go/cli_spec.rb
CHANGED
@@ -218,27 +218,13 @@ describe GitGo::CLI do
|
|
218
218
|
end
|
219
219
|
|
220
220
|
describe "#clip" do
|
221
|
+
it "should clip a URL" do
|
222
|
+
create_silent("rspec")
|
223
|
+
|
224
|
+
cli, core, conn = init
|
225
|
+
cli.clip("rspec")
|
221
226
|
|
222
|
-
|
223
|
-
context "Mac OSX" do
|
224
|
-
it "should clip a URL" do
|
225
|
-
create_silent("rspec")
|
226
|
-
|
227
|
-
cli, core, conn = init
|
228
|
-
cli.expects(:puts).with("git@127.0.0.1:rspec.git copied to clipboard.")
|
229
|
-
cli.clip("rspec")
|
230
|
-
|
231
|
-
%x[pbpaste].should == "git@127.0.0.1:rspec.git"
|
232
|
-
end
|
233
|
-
|
234
|
-
it "should report an error if no NAME is found" do
|
235
|
-
cli, core, conn = init
|
236
|
-
cli.expects(:puts).with(%Q(There is no git repository named "rspec". ) +
|
237
|
-
%Q(Run `gg list` for the list of repositories.))
|
238
|
-
conn.expects(:close_and_exit).with(1)
|
239
|
-
cli.clip("rspec")
|
240
|
-
end
|
241
|
-
end
|
227
|
+
%x[pbpaste].should == "git@127.0.0.1:rspec.git"
|
242
228
|
end
|
243
229
|
end
|
244
230
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_go
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Michael van Rooijen
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-07-27 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: thor
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: net-ssh
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,18 +34,18 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 2.6.2
|
46
41
|
description: Git Go is a small command-line utility distributed as a RubyGem that
|
47
|
-
allows you to easily create/destroy/rename/list all your private-hosted git
|
48
|
-
on your own server.
|
42
|
+
allows you to easily create/destroy/rename/list/clip all your private-hosted git
|
43
|
+
repositories on your own server.
|
49
44
|
email:
|
50
45
|
- meskyanichi@gmail.com
|
51
46
|
executables:
|
52
47
|
- gg
|
48
|
+
- gitgo
|
53
49
|
extensions: []
|
54
50
|
extra_rdoc_files: []
|
55
51
|
files:
|
@@ -64,6 +60,7 @@ files:
|
|
64
60
|
- Rakefile
|
65
61
|
- assets/instructions
|
66
62
|
- bin/gg
|
63
|
+
- bin/gitgo
|
67
64
|
- git_go.gemspec
|
68
65
|
- lib/git_go.rb
|
69
66
|
- lib/git_go/cli.rb
|
@@ -83,35 +80,28 @@ files:
|
|
83
80
|
- spec/spec_helper.rb
|
84
81
|
homepage: http://github.com/meskyanichi/git_go
|
85
82
|
licenses: []
|
83
|
+
metadata: {}
|
86
84
|
post_install_message:
|
87
85
|
rdoc_options: []
|
88
86
|
require_paths:
|
89
87
|
- lib
|
90
88
|
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
89
|
requirements:
|
93
|
-
- -
|
90
|
+
- - '>='
|
94
91
|
- !ruby/object:Gem::Version
|
95
92
|
version: '0'
|
96
|
-
segments:
|
97
|
-
- 0
|
98
|
-
hash: 731507730674825205
|
99
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
94
|
requirements:
|
102
|
-
- -
|
95
|
+
- - '>='
|
103
96
|
- !ruby/object:Gem::Version
|
104
97
|
version: '0'
|
105
|
-
segments:
|
106
|
-
- 0
|
107
|
-
hash: 731507730674825205
|
108
98
|
requirements: []
|
109
99
|
rubyforge_project:
|
110
|
-
rubygems_version:
|
100
|
+
rubygems_version: 2.0.3
|
111
101
|
signing_key:
|
112
|
-
specification_version:
|
102
|
+
specification_version: 4
|
113
103
|
summary: Git Go is a small command-line utility distributed as a RubyGem that allows
|
114
|
-
you to easily create/destroy/rename/list all your private-hosted git repositories
|
104
|
+
you to easily create/destroy/rename/list/clip all your private-hosted git repositories
|
115
105
|
on your own server.
|
116
106
|
test_files:
|
117
107
|
- spec/lib/git_go/cli_spec.rb
|