et_full_system 0.1.52 → 0.1.53

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
  SHA256:
3
- metadata.gz: e58b6eed6e6a77344219dd94e0bd7a8a8ddf90732a2f72f978fb7dd20ed63434
4
- data.tar.gz: bcf844d5625315098e8a83c38a8c5f53044edfc6264baa3b9fbec16d122287ca
3
+ metadata.gz: b5158845c4ea104f4c6e194443447ebb8e64c49ca7eb35e3e662bcd0e46f709e
4
+ data.tar.gz: e3b129da1b8df829ea3469c251ff07d069dae04fc66365614d823b7f9593f3d7
5
5
  SHA512:
6
- metadata.gz: 772722ff5edf6c5e18a93d741d2c736ce42f5b21584c08b1a4e350b3979700963db2fea9d07faf7d49dcb073891c661e9a8d8957e5d4e9330acbf4c4a316d8d0
7
- data.tar.gz: 4c092c24bf26f7d0491cf9ad1ed7ff5661311e4d81c51b206803ed35613cf3679ef6a3d280b59025962000d8882ec627138bc1a6dcf81913f588a38db632dc13
6
+ metadata.gz: ddba4440bbf5fc1270f221a7e5f221451914db4cb1fd7a7696ac2e093f42aa91fe202ea028d62d5f6bf0b0f3dbdd74c9dd5608897d4c8b3712292068c3a9bc88
7
+ data.tar.gz: ab4f89eb257ebd455806d9a81a54bf0885b303da58bc11c312b3cc8645f45ff92eafc328ef343863addf7a15438d7d59f3885e41f3736147a6c33af272c3eacc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (0.1.52)
4
+ et_full_system (0.1.53)
5
5
  aws-sdk-s3 (~> 1.9)
6
6
  azure-storage (~> 0.15.0.preview)
7
7
  dotenv (~> 2.7, >= 2.7.2)
@@ -57,7 +57,7 @@ GEM
57
57
  ruby-mcrypt (~> 0.2)
58
58
  sinatra (~> 2.0, >= 2.0.3)
59
59
  sinatra-contrib (~> 2.0)
60
- et_fake_ccd (0.1.8)
60
+ et_fake_ccd (0.1.9)
61
61
  activemodel (~> 5.2, >= 5.2.3)
62
62
  roda (~> 3.21)
63
63
  rotp (~> 5.1)
@@ -0,0 +1,16 @@
1
+ module EtFullSystem
2
+ #!/usr/bin/env ruby
3
+ # frozen_string_literal: true
4
+ require "rubygems"
5
+ require "thor"
6
+
7
+ class WorkspaceCommand < Thor
8
+
9
+ desc "new", "Creates a new workspace in the current directory. The directory must be empty"
10
+ def new
11
+ return unless yes?("Are you sure that you want to clone all system repositories for employment tribunals into this directory ?")
12
+ return say "The current directory must be empty" unless Dir.empty?(Dir.pwd)
13
+ puts `git clone --recursive git@github.com:hmcts/et-full-system-servers.git .`
14
+ end
15
+ end
16
+ end
@@ -1,2 +1,3 @@
1
1
  require 'et_full_system/cli/local'
2
2
  require 'et_full_system/cli/docker'
3
+ require 'et_full_system/cli/workspace'
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "0.1.52"
2
+ VERSION = "0.1.53"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et_full_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.52
4
+ version: 0.1.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-04 00:00:00.000000000 Z
11
+ date: 2019-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -187,6 +187,7 @@ files:
187
187
  - lib/et_full_system/cli/docker/server.rb
188
188
  - lib/et_full_system/cli/local.rb
189
189
  - lib/et_full_system/cli/local/file_storage.rb
190
+ - lib/et_full_system/cli/workspace.rb
190
191
  - lib/et_full_system/version.rb
191
192
  - shell_scripts/docker_bootstrap.sh
192
193
  - shell_scripts/run_foreman