et_full_system 0.1.55 → 0.1.56

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: dc57ce26de9f4d774d8dff5038e9156c92d5ad34672b446b79f2079c1cbf2ed4
4
- data.tar.gz: 295317cd81853faf9babe21e91c673fb4a65a4b22c9aef74c336431b6ea5216e
3
+ metadata.gz: 2739cdbd45b6f33daf65e14e06f7ee1fa7e4760dc552c3190c1ace70bf1dd65c
4
+ data.tar.gz: 2945f97f716f687c2c8986d31809ccce3cacc981acfb1da4c069e097e692d1f9
5
5
  SHA512:
6
- metadata.gz: f96d90846e9d30236cb26bdd740875022689991ae58c8f039fd23c151e162bcd32a4236ffe6213955e4df70dde64e34ee5fd8ab2bd62ee988e70eb3ffb2ee9e1
7
- data.tar.gz: 6706af2abae48f4e524a884ea3509f21c07d75a2d022543d75b651ad152354f6ec2e8e5cad7db7dd3d92bf0b642d19d54cf1ebf89da023de845a9cbc160107dc
6
+ metadata.gz: 96385902cd1b682da9ecef01e61ac99f366120deecbfe084e8a362bef1d1f3ed19c472e4ed177caed5b0bf4bad50c01590d9804a13b92b00c2d53e3ade38f024
7
+ data.tar.gz: 2480587ce3dff471bd7b0963f5d862f9eb95e07494b410e5f0d90c0401271835f9f47761bbb9a36e486719ea8be5344506e30f9d6e5ce77d6a461290d9c10d09
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (0.1.55)
4
+ et_full_system (0.1.56)
5
5
  aws-sdk-s3 (~> 1.9)
6
6
  azure-storage (~> 0.15.0.preview)
7
7
  dotenv (~> 2.7, >= 2.7.2)
@@ -12,5 +12,18 @@ module EtFullSystem
12
12
  return say "The current directory must be empty" unless Dir.empty?(Dir.pwd)
13
13
  puts `git clone --recursive git@github.com:hmcts/et-full-system-servers.git .`
14
14
  end
15
+
16
+ desc "pull", "Pulls the latest version from the repository and updates the submodules"
17
+ def pull
18
+ return say "Please change to a workspace setup by this tool" unless File.exist?(File.join(Dir.pwd, 'et-full-system.dir'))
19
+ puts `git pull && git submodule update`
20
+ end
21
+
22
+ desc "checkout <branch-or-commit>", "Checkout a branch or a specific commit, then updates the submodules"
23
+ def checkout(branch_or_commit)
24
+ return say "Please change to a workspace setup by this tool" unless File.exist?(File.join(Dir.pwd, 'et-full-system.dir'))
25
+ puts `git checkout #{branch_or_commit}`
26
+ puts `git submodule update`
27
+ end
15
28
  end
16
29
  end
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "0.1.55"
2
+ VERSION = "0.1.56"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et_full_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.55
4
+ version: 0.1.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor