et_full_system 1.0.10 → 1.0.11.pre.rc1

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: 307849000afd5a72de8fed6699167fd421317b7faca4a83adfd2eb5dbd974174
4
- data.tar.gz: ce451ec68fe38cb14337954d50b6133d3b34ee16b903e76f5a5af894f6423d18
3
+ metadata.gz: c17961e003c050d0d42d509c9acdefe37b70aebbb9cd5e7d402a9c03ba8f9ec2
4
+ data.tar.gz: db9973d99aba50b91802236dde282744c5b5d1fb871e8bdc83a050d3a2ca426e
5
5
  SHA512:
6
- metadata.gz: 68a3a3d92fe75d23b53a7bf3f275fb4f1d31f6f1e3474307e3f5fd9b8928b502140995516545a9b6c47ad18198c1ca7e2ae8d7c4bac7cbd35e369d4bc6723123
7
- data.tar.gz: 32ec713479a29f26f69b8a07b63d0f7743ac66b978856ee1758210b7f0f56c780d9d56b4d8454c96ccc59ffe23da20d1da204229e6714b7ecfb1e35db057021c
6
+ metadata.gz: '09c3a4e90219dbee03953cd3f295213fd2220cdc83eb5e931c5bb51520e6ae27d4d01d0b26e81f91804eba9051fc565b300ef4a9c23b842e91bf3f6d0fe6b512'
7
+ data.tar.gz: 998eaf34834d3e875b0114e7944ba7f14c612ba0962909b010a416824bb3ed074818969d459e45c3a261615efbd4125ed685c14abaf286c097d49e7fcc9307a0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (1.0.10)
4
+ et_full_system (1.0.11.pre.rc1)
5
5
  aws-sdk-s3 (~> 1.9)
6
6
  azure-storage (~> 0.15.0.preview)
7
7
  dotenv (~> 2.7, >= 2.7.2)
@@ -24,13 +24,13 @@ GEM
24
24
  addressable (2.7.0)
25
25
  public_suffix (>= 2.0.2, < 5.0)
26
26
  aws-eventstream (1.1.0)
27
- aws-partitions (1.415.0)
28
- aws-sdk-core (3.110.0)
27
+ aws-partitions (1.416.0)
28
+ aws-sdk-core (3.111.0)
29
29
  aws-eventstream (~> 1, >= 1.0.2)
30
30
  aws-partitions (~> 1, >= 1.239.0)
31
31
  aws-sigv4 (~> 1.1)
32
32
  jmespath (~> 1.0)
33
- aws-sdk-kms (1.40.0)
33
+ aws-sdk-kms (1.41.0)
34
34
  aws-sdk-core (~> 3, >= 3.109.0)
35
35
  aws-sigv4 (~> 1.1)
36
36
  aws-sdk-s3 (1.87.0)
@@ -127,6 +127,7 @@ module EtFullSystem
127
127
  method_option :cloud_provider, type: :string, default: ENV.fetch('CLOUD_PROVIDER', 'amazon')
128
128
  def setup
129
129
  setup_depencencies
130
+ setup_ruby_versions
130
131
  setup_services
131
132
  end
132
133
 
@@ -149,6 +150,20 @@ module EtFullSystem
149
150
  external_command cmd, 'setup_dependencies'
150
151
  end
151
152
 
153
+ desc "setup_ruby_versions", "Install all ruby versions required"
154
+ def setup_ruby_versions
155
+ versions = Dir.glob(File.join(PROJECT_PATH, 'systems', '*', '.ruby-version')).map do |version_file|
156
+ File.read(version_file).split("\n").first.gsub(/\Aruby-/, '')
157
+ end.uniq - [RUBY_VERSION]
158
+
159
+ versions.each do |version|
160
+ puts "------------------------------------------------ SETTING UP ruby #{version} ---------------------------------------------------"
161
+ cmd = "bash --login -c \"rvm install #{version}\""
162
+ puts cmd
163
+ external_command cmd, "ruby #{version} install"
164
+ end
165
+ end
166
+
152
167
  desc "service_env SERVICE", "Returns the environment variables configured for the specified service"
153
168
  def service_env(service)
154
169
  lookup = {
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "1.0.10"
2
+ VERSION = "1.0.11-rc1"
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: 1.0.10
4
+ version: 1.0.11.pre.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -195,9 +195,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  requirements:
198
- - - ">="
198
+ - - ">"
199
199
  - !ruby/object:Gem::Version
200
- version: '0'
200
+ version: 1.3.1
201
201
  requirements: []
202
202
  rubyforge_project:
203
203
  rubygems_version: 2.7.6