minimum-viable-product 0.0.4 → 0.0.5
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/bin/mvp +11 -6
- data/lib/minimum-viable-product/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e81832ad00033a0f31351f97785e051b0475840
|
|
4
|
+
data.tar.gz: e80cb1f400d09e7d1b64d57c2546c5323755a2bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0aab9a8bd91f1e5af0f124988b39ed4e688c6736cafacb389c7e07304b3d2067bcf32f807d0eeb3eab1c746b46404f5b4ba96effff6c969b951ee1a39f4ac017
|
|
7
|
+
data.tar.gz: cd6e5ecf74686b422c3fc35c191362283f098c7709666715e9215d702070d5c5797f1c14f7dcc8caf1da07f36d98659875cf0544dd5e0ba3953d6d9fbe8f7ed9
|
data/bin/mvp
CHANGED
|
@@ -4,21 +4,26 @@ command = ARGV[0]
|
|
|
4
4
|
|
|
5
5
|
error(%%
|
|
6
6
|
No command specified, please use one of the following
|
|
7
|
-
|
|
7
|
+
new: start a new project
|
|
8
8
|
update: update mvp inside current project
|
|
9
9
|
%) unless command
|
|
10
10
|
|
|
11
11
|
case command.downcase
|
|
12
|
-
when '
|
|
13
|
-
|
|
12
|
+
when 'new'
|
|
13
|
+
project = if ARGV[1]
|
|
14
|
+
ARGV[1]
|
|
15
|
+
else
|
|
16
|
+
$stdin.reopen(File.open("/dev/tty", "r"))
|
|
17
|
+
print "Project name? "
|
|
18
|
+
STDIN.gets.chomp
|
|
19
|
+
end
|
|
14
20
|
|
|
15
|
-
print "Project name? "
|
|
16
|
-
project = STDIN.gets.chomp
|
|
17
21
|
error('Must specify a project name') if project == ""
|
|
22
|
+
|
|
18
23
|
slug = slugify(project)
|
|
19
24
|
|
|
20
25
|
puts
|
|
21
|
-
run "git clone git@github.com:ian/
|
|
26
|
+
run "git clone git@github.com:ian/mvp-rails.git #{slug}"
|
|
22
27
|
|
|
23
28
|
puts
|
|
24
29
|
puts "Initializing Project"
|