avm-git 0.7.0 → 0.8.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: b1b4c7e2df892e08fd3acc46995c6c353476d2f278dbea6d7f4f6610f59c147d
4
- data.tar.gz: abfc3a667d26edfd434b471314772e14df09a54fb3c5921cad56c51f2361d400
3
+ metadata.gz: 6b950c0eeed70482dab12ee583f6df30f6bd1d7a9b7094bfd02a8cd733e93281
4
+ data.tar.gz: 41f39901cad5df8567da52f9bd02206c62094c60904f74ff4107d6a108fdfd7f
5
5
  SHA512:
6
- metadata.gz: df7fdde7ab8665aec13a8c1d89279de503a75dc034122c0cfd4b907056741631d834876745431c006ef474107e99075aaf3a3080e700a8d0526d5f4b3afaf110
7
- data.tar.gz: a575f67380e389681bbbe28e7d1f738b43eda8d8b2a8578117ba52f2d14d215afe510e6edb4c3fd57f302c0ae5b247eff4cdb188518b8b4eea1c95d67cee6255
6
+ metadata.gz: 46cd50310c58b60a078268e225635097e86ac1cb89f18c4f40cb4e82402b0ea18ac14d0c30ff38846bb6924b1524738ef08b2fd5807b16b5522ff9d4291c16a8
7
+ data.tar.gz: ddc772bee2ae2d83f80e151737c62181cde440976daec88fa471203109cdeebe44357f146b456d1f2d3a761e2343a33ea013c89cce47b139a9b214d27d27fab1
@@ -19,16 +19,14 @@ module Avm
19
19
  r
20
20
  end
21
21
 
22
- def execute(*args)
23
- command(*args).execute
24
- end
25
-
26
- def execute!(*args)
27
- command(*args).execute!
28
- end
29
-
30
- def system!(*args)
31
- command(*args).system!
22
+ %w[execute execute! system system!].each do |exec_type|
23
+ define_method exec_type do |*args|
24
+ begin
25
+ command(*args).send(exec_type)
26
+ rescue ::EacRubyUtils::Envs::Command::ExecError
27
+ raise ::Avm::Git::Launcher::Error
28
+ end
29
+ end
32
30
  end
33
31
 
34
32
  def init
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Git
5
- VERSION = '0.7.0'
5
+ VERSION = '0.8.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-git
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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: 2022-10-13 00:00:00.000000000 Z
11
+ date: 2022-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.49'
19
+ version: '0.50'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.49'
26
+ version: '0.50'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: avm-files
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -50,34 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0.12'
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: 0.12.3
53
+ version: '0.13'
57
54
  type: :runtime
58
55
  prerelease: false
59
56
  version_requirements: !ruby/object:Gem::Requirement
60
57
  requirements:
61
58
  - - "~>"
62
59
  - !ruby/object:Gem::Version
63
- version: '0.12'
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- version: 0.12.3
60
+ version: '0.13'
67
61
  - !ruby/object:Gem::Dependency
68
62
  name: eac_ruby_utils
69
63
  requirement: !ruby/object:Gem::Requirement
70
64
  requirements:
71
65
  - - "~>"
72
66
  - !ruby/object:Gem::Version
73
- version: '0.104'
67
+ version: '0.105'
74
68
  type: :runtime
75
69
  prerelease: false
76
70
  version_requirements: !ruby/object:Gem::Requirement
77
71
  requirements:
78
72
  - - "~>"
79
73
  - !ruby/object:Gem::Version
80
- version: '0.104'
74
+ version: '0.105'
81
75
  - !ruby/object:Gem::Dependency
82
76
  name: git
83
77
  requirement: !ruby/object:Gem::Requirement