dogids-cli 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dogids.rb +1 -0
- data/lib/dogids/run.rb +16 -0
- data/lib/dogids/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc15503cdb9c952f107c09cceebcccb6c9131fad
|
4
|
+
data.tar.gz: 4bd85c11849fe4f511bd46bfec0cb8a0d408d61c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aa738904c3f6bbc84becf64fa6f738bd5b1c03df2472825288f58fc9fc447866da69ccf08b00a40c31edd6946b12d338a2045f4334ec8c06bd8dc891a67887d
|
7
|
+
data.tar.gz: 32f9651cb26da5eb5d3335216c3755582bf9196de634c9d893e441fdb9e5a709cf2dad3b692e6da098673a672bc5902ce5929db8a5c2fb70f4fdc6b8e072b1d7
|
data/lib/dogids.rb
CHANGED
data/lib/dogids/run.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require "net/ssh"
|
2
|
+
require "thor"
|
3
|
+
module Dogids
|
4
|
+
class Cli < Thor
|
5
|
+
desc "dev", "Runs the development environment for the backend"
|
6
|
+
|
7
|
+
# Run the development site
|
8
|
+
# @param [string] app_name
|
9
|
+
def dev(app_name = nil)
|
10
|
+
system("cd ~/dogids-backend/themes/dogids && npm run dev")
|
11
|
+
end
|
12
|
+
|
13
|
+
# no_commands do
|
14
|
+
# end
|
15
|
+
end
|
16
|
+
end
|
data/lib/dogids/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dogids-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jaryd Krishnan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
@@ -81,6 +81,7 @@ files:
|
|
81
81
|
- lib/dogids/deploy/web.rb
|
82
82
|
- lib/dogids/deploy/worker.rb
|
83
83
|
- lib/dogids/reload.rb
|
84
|
+
- lib/dogids/run.rb
|
84
85
|
- lib/dogids/ssh.rb
|
85
86
|
- lib/dogids/ssh/development.rb
|
86
87
|
- lib/dogids/ssh/production.rb
|