clearsight 0.0.10 → 0.0.11
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/cs +7 -0
- data/lib/clearsight/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: 227e4dd61bf7aabea3a7232b4172697e161ce1b0
|
4
|
+
data.tar.gz: cd7059de90c6c90e770362ad5f5af4df2e3bdd98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a21e465c1fe7f1e5e118b3f6b741a40d85d874e70ee4bb1409a6c02049b5e595688898acc9d827bfa6638fcc199df4044be453241c08b4e4752253003f6f935
|
7
|
+
data.tar.gz: 1e87527c969ca90c820677f53cc2440eab3a2d3061bb77cabbca2dc1884ae46526f340ba5600ec3474a5745db34cd576f3ccb91561dc9b18eb69196e54cd2159
|
data/bin/cs
CHANGED
@@ -18,6 +18,7 @@ class App
|
|
18
18
|
when :help then show_help
|
19
19
|
when :killrails then killrails(args.first || 3000)
|
20
20
|
when :sshify then sshify(args.first, options[:key] || "id_rsa.pub")
|
21
|
+
when :compose then compose(args.first)
|
21
22
|
else
|
22
23
|
puts "Invalid command."
|
23
24
|
show_help
|
@@ -34,6 +35,8 @@ class App
|
|
34
35
|
puts " Kills a rails server running on the given port. Only works on Linux (so far)."
|
35
36
|
puts " sshify host <-k keyname.pub>"
|
36
37
|
puts " Installs your SSH public key (id_rsa.pub unless you pass a different one) to a remote server (user@host.com)."
|
38
|
+
puts " compose <appname>"
|
39
|
+
puts " Shortcut for Rails Composer."
|
37
40
|
puts " update"
|
38
41
|
puts " Updates the gem. Same as `gem update clearsight`."
|
39
42
|
end
|
@@ -66,6 +69,10 @@ class App
|
|
66
69
|
@t.stop
|
67
70
|
end
|
68
71
|
|
72
|
+
def self.compose(appname)
|
73
|
+
sh "rails new #{appname} -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb"
|
74
|
+
end
|
75
|
+
|
69
76
|
arg :args, :optional
|
70
77
|
|
71
78
|
version Clearsight::VERSION
|
data/lib/clearsight/version.rb
CHANGED