grem 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/grem.rb +1 -1
- data/lib/grem/cli.rb +1 -1
- metadata +45 -22
data/lib/grem.rb
CHANGED
data/lib/grem/cli.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'optparse'
|
2
2
|
require 'launchy'
|
3
3
|
require 'pathname'
|
4
|
+
require 'fileutils'
|
4
5
|
|
5
6
|
module Grem
|
6
7
|
class CLI
|
@@ -46,7 +47,6 @@ module Grem
|
|
46
47
|
username = arguments[0]
|
47
48
|
reponame = arguments[1]
|
48
49
|
|
49
|
-
#FileUtils.mkdir_p
|
50
50
|
user_path = File.join(File.expand_path('~/github'), username)
|
51
51
|
repo_path = File.join(user_path, reponame)
|
52
52
|
if File.exist?(repo_path)
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Ben Atkin
|
@@ -9,49 +14,65 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-11 00:00:00 -06:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: launchy
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 3
|
30
|
+
- 5
|
23
31
|
version: 0.3.5
|
24
|
-
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
25
34
|
- !ruby/object:Gem::Dependency
|
26
35
|
name: rubyforge
|
27
|
-
|
28
|
-
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
38
|
requirements:
|
31
39
|
- - ">="
|
32
40
|
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 2
|
43
|
+
- 0
|
44
|
+
- 3
|
33
45
|
version: 2.0.3
|
34
|
-
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id002
|
35
48
|
- !ruby/object:Gem::Dependency
|
36
49
|
name: gemcutter
|
37
|
-
|
38
|
-
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
52
|
requirements:
|
41
53
|
- - ">="
|
42
54
|
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
- 5
|
58
|
+
- 0
|
59
|
+
version: 0.5.0
|
60
|
+
type: :development
|
61
|
+
version_requirements: *id003
|
45
62
|
- !ruby/object:Gem::Dependency
|
46
63
|
name: hoe
|
47
|
-
|
48
|
-
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
66
|
requirements:
|
51
67
|
- - ">="
|
52
68
|
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 2
|
71
|
+
- 5
|
72
|
+
- 0
|
53
73
|
version: 2.5.0
|
54
|
-
|
74
|
+
type: :development
|
75
|
+
version_requirements: *id004
|
55
76
|
description: |-
|
56
77
|
The (GitHub) REpo Manager grabs repos and stores them according to
|
57
78
|
my conventions.
|
@@ -94,18 +115,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
115
|
requirements:
|
95
116
|
- - ">="
|
96
117
|
- !ruby/object:Gem::Version
|
118
|
+
segments:
|
119
|
+
- 0
|
97
120
|
version: "0"
|
98
|
-
version:
|
99
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
122
|
requirements:
|
101
123
|
- - ">="
|
102
124
|
- !ruby/object:Gem::Version
|
125
|
+
segments:
|
126
|
+
- 0
|
103
127
|
version: "0"
|
104
|
-
version:
|
105
128
|
requirements: []
|
106
129
|
|
107
130
|
rubyforge_project: grem
|
108
|
-
rubygems_version: 1.3.
|
131
|
+
rubygems_version: 1.3.6
|
109
132
|
signing_key:
|
110
133
|
specification_version: 3
|
111
134
|
summary: The (GitHub) REpo Manager grabs repos and stores them according to my conventions.
|