fanforce-cli 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/bin/fanforce +1 -1
- data/lib/fanforce/cli/_base.rb +2 -10
- data/lib/fanforce/cli/help.rb +9 -9
- data/lib/fanforce/cli/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42c4873bb599d4f3f889d47901b18f4b6d4f03b9
|
4
|
+
data.tar.gz: fe2f8930277bec0d1a860d3dbaf0e191e91d3734
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9e7bcf5ed5275f458567814cb0f96a794d20b13483bf842f8c711f9629ff7c8efb116e3cd7c3b7c461d3ab7f4da2ed7810a343a4f0524775a8fc1a5de2af483
|
7
|
+
data.tar.gz: 77a079d7a5b05e090eb3b34925bfe77ed450f1d68ea1d05499cb2ff97857482305853b1ab10caf31cbdce70d43a948259455d58daf9abd4408609884c3f70577
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.0-
|
1
|
+
2.0.0-p576
|
data/bin/fanforce
CHANGED
@@ -13,7 +13,7 @@ if File.exists?("#{$HomeDir}/config.ru") and File.exists?("#{$HomeDir}/../.fanfo
|
|
13
13
|
elsif File.exists?("#{$HomeDir}/.fanforce-cli")
|
14
14
|
fanforce.start(
|
15
15
|
:runtype => :multiple,
|
16
|
-
:allowed => [:list, :create, :
|
16
|
+
:allowed => [:list, :create, :delete, :update, :push, :restart, :count, :bundle, :git, :iron, :version, :config, :cleanorgs, :upgrade],
|
17
17
|
)
|
18
18
|
else
|
19
19
|
puts 'NOT A VALID DIRECTORY'
|
data/lib/fanforce/cli/_base.rb
CHANGED
@@ -63,16 +63,8 @@ class Fanforce::CLI
|
|
63
63
|
#################################################################
|
64
64
|
|
65
65
|
elsif ARGV[0] == 'update'
|
66
|
-
|
67
|
-
|
68
|
-
app_id = $1
|
69
|
-
ARGV.delete_at(1)
|
70
|
-
end
|
71
|
-
|
72
|
-
ARGV[1] !~ /^(all|files|bundle|pow|get|env)$/i || error('You supplied an invalid update command.', :update)
|
73
|
-
command = $1.to_sym
|
74
|
-
|
75
|
-
(!app_id or app_id == 'all') ? run(:update, command) : update_app(app_id, command)
|
66
|
+
ARGV[1] =~ /^(all|files|bundle|pow|get|env)$/i || error('You supplied an invalid update command.', :update)
|
67
|
+
run(:update, $1.to_sym)
|
76
68
|
|
77
69
|
#################################################################
|
78
70
|
|
data/lib/fanforce/cli/help.rb
CHANGED
@@ -31,18 +31,18 @@ create app-ID Creates a new app folder and
|
|
31
31
|
eos
|
32
32
|
end
|
33
33
|
|
34
|
-
def
|
35
|
-
|
36
|
-
|files Ensure all files exist and contain correct config
|
37
|
-
|bundle Run bundle install
|
38
|
-
|pow Ensure correct pow domains are configured
|
39
|
-
|git Ensure git is initialized
|
40
|
-
|env Update ENV variables
|
34
|
+
def delete_command; <<-eos
|
35
|
+
delete app-ID Delete the app folder and all related services
|
41
36
|
eos
|
42
37
|
end
|
43
38
|
|
44
|
-
def
|
45
|
-
|
39
|
+
def update_command; <<-eos
|
40
|
+
update all|OR... Similar to the create command, except it updates existing files
|
41
|
+
|files Ensure all files exist and contain correct config
|
42
|
+
|bundle Run bundle install
|
43
|
+
|pow Ensure correct pow domains are configured
|
44
|
+
|git Ensure git is initialized
|
45
|
+
|env Update ENV variables
|
46
46
|
eos
|
47
47
|
end
|
48
48
|
|
data/lib/fanforce/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fanforce-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Clark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
version: '0'
|
187
187
|
requirements: []
|
188
188
|
rubyforge_project:
|
189
|
-
rubygems_version: 2.0.
|
189
|
+
rubygems_version: 2.0.14
|
190
190
|
signing_key:
|
191
191
|
specification_version: 4
|
192
192
|
summary: Manage a folder of Fanforce apps
|