avm-eac_ubuntu_base0 0.2.1 → 0.3.0

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: 38e38fa3b5ef4910cdd647c7ce41e7980f6b2273bd4d85e2c729eccc36307927
4
- data.tar.gz: e1a384f74126d9233ac2832ca82ac7cf89e7d3f6a37678c4622d81e361e7354c
3
+ metadata.gz: 68c659397d70f0b0b46d7bdb3398413bf313cedc2582215a6f8a12e7fba79f58
4
+ data.tar.gz: d4a64bcbc6b0a0310c2f0fb18fd03882c56294119181eae37e9021e01d0f70e2
5
5
  SHA512:
6
- metadata.gz: 912e2480d4aa72afa053ea6c0356e7f0b524a63660614387cd75c700fb2486d9702caaa04d07ed254cbf1937697ad70a34be2e9bc2caeec45d7cdafb683b7d47
7
- data.tar.gz: 2687e7945c133e38aeaab9b9e89a93f964f9b505c7af30511e8f81bf2c6ae6a566621abdac5315c3636f74db616b2746af78f27569ed13de0c8f2555043901b5
6
+ metadata.gz: 49755ee661da708823681e16589c53c1d5b4786e040f536f38986b6a690691914ad682537e45248dce5f75b4cb03dd29492b24414bd2e233bca7f15d4c0a58c0
7
+ data.tar.gz: 03b7115d14f0a177f851adce03ef0e1acb095411f3542a43873d140543109a319b29d930141636df6f9a30eb86e04f0bbca40eb646e8bd04084384e48c2a5ed0
@@ -10,6 +10,12 @@ module Avm
10
10
  def docker_image_class
11
11
  ::Avm::EacUbuntuBase0::DockerImage
12
12
  end
13
+
14
+ def file_sudo_write(path, content)
15
+ ::EacRubyUtils::Envs.local.command('echo', content).pipe(
16
+ host_env.command('sudo', 'tee', path)
17
+ ).execute!
18
+ end
13
19
  end
14
20
  end
15
21
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacUbuntuBase0
5
- VERSION = '0.2.1'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-eac_ubuntu_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Put here the authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-11 00:00:00.000000000 Z
11
+ date: 2022-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm