clearsight 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/cs +7 -0
  3. data/lib/clearsight/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32673c429bb1b558f8e946cce187728f3ac95e6e
4
- data.tar.gz: 1cc97780813aed96c5afa075f5e3dff56c6db1ab
3
+ metadata.gz: 227e4dd61bf7aabea3a7232b4172697e161ce1b0
4
+ data.tar.gz: cd7059de90c6c90e770362ad5f5af4df2e3bdd98
5
5
  SHA512:
6
- metadata.gz: 04de7b402c706d3b5cdceeb6c1ebfd560a52ae99bec0e3215f22332dbc7f0f2105e79206f09680cc2d3435195e74e6120e7b62917a26046661f42d12f8f4695d
7
- data.tar.gz: f28dc790d2f991d71b6c556c1531c8569c4154ab363ec1ac8ee07767f095df0aab6083108323349b8a115f1a73fced6610cae296d839f56ff678a3e03b8baabe
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
@@ -1,3 +1,3 @@
1
1
  module Clearsight
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clearsight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamon Holmgren