sct 0.1.27 → 0.1.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/cluster/lib/.DS_Store +0 -0
  3. data/cluster/lib/cluster.rb +0 -0
  4. data/cluster/lib/cluster/commands_generator.rb +11 -0
  5. data/cluster/lib/cluster/module.rb +0 -0
  6. data/cluster/lib/cluster/resources/.DS_Store +0 -0
  7. data/cluster/lib/cluster/resources/corefile.yml +0 -0
  8. data/cluster/lib/cluster/runner.rb +0 -0
  9. data/sct/lib/.DS_Store +0 -0
  10. data/sct/lib/sct.rb +0 -0
  11. data/sct/lib/sct/.DS_Store +0 -0
  12. data/sct/lib/sct/cli_tools_distributor.rb +0 -0
  13. data/sct/lib/sct/command.rb +0 -0
  14. data/sct/lib/sct/commands/hostfile.rb +0 -0
  15. data/sct/lib/sct/commands/init.rb +0 -0
  16. data/sct/lib/sct/commands/mysqlproxy.rb +0 -0
  17. data/sct/lib/sct/commands_generator.rb +0 -0
  18. data/sct/lib/sct/tools.rb +0 -0
  19. data/sct/lib/sct/version.rb +1 -1
  20. data/sct_core/lib/.DS_Store +0 -0
  21. data/sct_core/lib/sct_core.rb +0 -0
  22. data/sct_core/lib/sct_core/.DS_Store +0 -0
  23. data/sct_core/lib/sct_core/command_executor.rb +0 -0
  24. data/sct_core/lib/sct_core/config.rb +0 -0
  25. data/sct_core/lib/sct_core/core_ext/string.rb +0 -0
  26. data/sct_core/lib/sct_core/helper.rb +0 -0
  27. data/sct_core/lib/sct_core/module.rb +0 -0
  28. data/sct_core/lib/sct_core/sct_pty.rb +0 -0
  29. data/sct_core/lib/sct_core/ui/implementations/shell.rb +0 -0
  30. data/sct_core/lib/sct_core/ui/interface.rb +0 -0
  31. data/sct_core/lib/sct_core/ui/ui.rb +0 -0
  32. data/sct_core/lib/sct_core/update_checker/update_checker.rb +0 -0
  33. data/shell/README.md +0 -0
  34. data/shell/lib/shell.rb +0 -0
  35. data/shell/lib/shell/ClassLevelInheritableAttributes.rb +0 -0
  36. data/shell/lib/shell/commands_generator.rb +0 -0
  37. data/shell/lib/shell/docker/composer.rb +0 -0
  38. data/shell/lib/shell/docker/docker.rb +0 -0
  39. data/shell/lib/shell/docker/php.rb +0 -0
  40. data/shell/lib/shell/docker/yarn.rb +0 -0
  41. data/shell/lib/shell/module.rb +0 -0
  42. data/shell/lib/shell/runner.rb +0 -0
  43. data/shell/lib/shell/tools.rb +0 -0
  44. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff08000486ce837ef860abef5066f502d812fa618aee9cdc4ff1675de5e1db99
4
- data.tar.gz: 82bb9f318eb66683a659df692022039b2c9e27896190f4d40273fb27d375b095
3
+ metadata.gz: 2795077123ba193f891933659f88c61cb4a986ebc4a5c7bf8ced2fd9b9b54a97
4
+ data.tar.gz: 8478af6c3a869f524b09bc607ae09acbc48eed401777366947fc270a39166a2b
5
5
  SHA512:
6
- metadata.gz: 4ec72ba0beb92e34c15e78a8d8ea8f25dc896ea783acf7404860bea66434c6c875ca41636e76f096024497badecadbb53917d5941eced8687e0df4076e00bb29
7
- data.tar.gz: 13360a17d8c27c6cd6707585a35fd0c13503296be34b2f8a9fe918f9470e6f40c68a5d4c3c7af319d00e7de66c12553b67710d7a3da1a65dcd3ce173dba3bfac
6
+ metadata.gz: deecf2931622dda191ee00ffc6412a41c7aa4ac8df88006f8eeab183c8d50c543fb2d25f5012c47157f0faa1208431d450716e9b6f50506991aaa1a5f3e95dbc
7
+ data.tar.gz: afcf8914cbd3efba0e46764b5ed8633f570ec2e9b272a70a28cf48d11fd29bd41beaa1b9cd4896a263f99d657835fccb5329a245a160a009a47f17a4915589cb
File without changes
File without changes
@@ -42,6 +42,17 @@ module Cluster
42
42
  end
43
43
  end
44
44
 
45
+ command :restart do |c|
46
+
47
+ c.syntax = 'sct cluster restart'
48
+ c.description = 'restart the cluster (this is a short hand for sct cluster down && sct cluster up)'
49
+
50
+ c.action do |args, options|
51
+ Cluster::Runner.new.down
52
+ Cluster::Runner.new.launch
53
+ end
54
+ end
55
+
45
56
  command :reset do |c|
46
57
 
47
58
  c.syntax = 'sct cluster reset'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module Sct
2
- VERSION = "0.1.27"
2
+ VERSION = "0.1.28"
3
3
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.27
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reshad Farid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-21 00:00:00.000000000 Z
11
+ date: 2020-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored