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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7755e4c53dc744b5379f207ae89a153d4abb5ffe
4
- data.tar.gz: 7774a0e270164adb3eb792a9c7cddc2e01ee6f10
3
+ metadata.gz: 42c4873bb599d4f3f889d47901b18f4b6d4f03b9
4
+ data.tar.gz: fe2f8930277bec0d1a860d3dbaf0e191e91d3734
5
5
  SHA512:
6
- metadata.gz: c482e88c8ea7c19da2cde0aa84479dae70d057400714b2a35caaa7e2305569e19841ddc0c528984cf3f9a63ffa7c58719b6f5cf9c57addf65233f52e0d941636
7
- data.tar.gz: e622283205243815b7561083be35d92b0442ea8ab0a7ec2d052c410152c7d340fc075db956af513e0fcf150613a2e007581a2be83c2b65f95ff6620a806f91c7
6
+ metadata.gz: c9e7bcf5ed5275f458567814cb0f96a794d20b13483bf842f8c711f9629ff7c8efb116e3cd7c3b7c461d3ab7f4da2ed7810a343a4f0524775a8fc1a5de2af483
7
+ data.tar.gz: 77a079d7a5b05e090eb3b34925bfe77ed450f1d68ea1d05499cb2ff97857482305853b1ab10caf31cbdce70d43a948259455d58daf9abd4408609884c3f70577
@@ -1 +1 @@
1
- 2.0.0-p247
1
+ 2.0.0-p576
@@ -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, :update, :delete, :push, :restart, :count, :bundle, :git, :iron, :version, :config, :cleanorgs, :upgrade],
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'
@@ -63,16 +63,8 @@ class Fanforce::CLI
63
63
  #################################################################
64
64
 
65
65
  elsif ARGV[0] == 'update'
66
- if !$Filter
67
- ARGV[1] =~ /^(all|app-([a-z0-9-]+))$/i || error('You supplied an invalid update command.', :update)
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
 
@@ -31,18 +31,18 @@ create app-ID Creates a new app folder and
31
31
  eos
32
32
  end
33
33
 
34
- def update_command; <<-eos
35
- update app-ID|all all|OR... Similar to the create command, except it updates existing files
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 delete_command; <<-eos
45
- delete app-ID Delete the app folder and all related services
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
 
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class CLI
3
- VERSION = '1.7.0'
3
+ VERSION = '1.7.1'
4
4
  end
5
5
  end
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.0
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-08 00:00:00.000000000 Z
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.3
189
+ rubygems_version: 2.0.14
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: Manage a folder of Fanforce apps