pave 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/bin/pave +7 -0
- data/lib/pave/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: fec6cd16cd7c1a889f7096f4cd1fb1fbecbe0521
|
4
|
+
data.tar.gz: 1bc2a502df724836b84eae97a8661ffe5f6edf5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 469155403df0d771e62609d53e6fcbffb20860aa53fa7ee80c44011edd8c1dacb6ad0308eaf0566bdd9db48fedb783081e55b7f0b9c6851a1dbfe557cfd50851
|
7
|
+
data.tar.gz: e04b4d20dd8ccbac411a77bd0a4d57aa1883f7fb4fe30f87d2979edcfd3ba241f0c9355e87ccdded6743abf645444a3db1bbaf8025816afd6d40bec0cf8648ea
|
data/README.md
CHANGED
@@ -18,6 +18,10 @@ Provides a set of command line tools for Concrete5.
|
|
18
18
|
4. Builds an app folder of commonly used folders (symlinked into the root folder so Concrete5 can find them)
|
19
19
|
5. Initializes a Git repo and adds the first ("Initial") commit.
|
20
20
|
|
21
|
+
$ pave update
|
22
|
+
|
23
|
+
Updates pave to the latest version.
|
24
|
+
|
21
25
|
## TODO
|
22
26
|
|
23
27
|
1. Set up virtual host (`pave virtualhost mywebsite.dev`)
|
data/bin/pave
CHANGED
@@ -17,6 +17,7 @@ class App
|
|
17
17
|
|
18
18
|
case command.to_sym
|
19
19
|
when :new then Pave::Concrete.create(opt)
|
20
|
+
when :update then update_gem
|
20
21
|
when :help then show_help
|
21
22
|
when :virtualhost then info "`virtualhost` command not implemented yet."
|
22
23
|
when :dbcreate then info "`dbcreate` command not implemented yet."
|
@@ -27,10 +28,16 @@ class App
|
|
27
28
|
0 # Good!
|
28
29
|
end
|
29
30
|
|
31
|
+
def self.update_gem
|
32
|
+
sh "gem update pave"
|
33
|
+
end
|
34
|
+
|
30
35
|
def self.show_help
|
31
36
|
info "Commands:"
|
32
37
|
info " new <websitename>"
|
33
38
|
info " Downloads and configures a new Concrete5 website."
|
39
|
+
info " update"
|
40
|
+
info " Updates the pave gem to the latest version."
|
34
41
|
info ""
|
35
42
|
info "Future commands (not implemented yet):"
|
36
43
|
info " virtualhost <domain>"
|
data/lib/pave/version.rb
CHANGED