eac_redmine_base0 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eac_redmine_base0/tasks/system.rb +36 -0
- data/lib/eac_redmine_base0/version.rb +1 -1
- data/lib/tasks/eac_redmine_base0.rake +8 -0
- metadata +10 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91906aa80bde0e5374befc79a7293eacd41689e22e753018497e10da46eaabd0
|
4
|
+
data.tar.gz: d73c3246ba32b768191a38dd8ebad8f815b17b8f6f8a6f36b4ca835579cdb79c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e5313c3a2983672ce2956b77302b94be540eab5d48bb1ae01d2483057dd78923de9ca5bec9aec148580141d0f479d4e20afdba51ac781f29005fc5ba603d7a7
|
7
|
+
data.tar.gz: e5dfcb0f0ab8bd798c5749164c0940891d668d56f1e46b364852f211007ad5b60c71c51b68712776066ad4c9c69791dda9dd83c38f4674d05507bb9574da2abe
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
5
|
+
module EacRedmineBase0
|
6
|
+
module Tasks
|
7
|
+
class System
|
8
|
+
common_constructor :command_string
|
9
|
+
|
10
|
+
def banner
|
11
|
+
::Rails.logger.info("Command string: #{command_string}")
|
12
|
+
::Rails.logger.info("Command arguments: #{command_args}")
|
13
|
+
end
|
14
|
+
|
15
|
+
# @return [EacRubyUtils::Envs::Command]
|
16
|
+
def command
|
17
|
+
host_env.command(*command_args)
|
18
|
+
end
|
19
|
+
|
20
|
+
# @return [Array<String>]
|
21
|
+
def command_args
|
22
|
+
::Shellwords.split(command_string)
|
23
|
+
end
|
24
|
+
|
25
|
+
# @return [EacRubyUtils::Envs::Local]
|
26
|
+
def host_env
|
27
|
+
::EacRubyUtils::Envs.local
|
28
|
+
end
|
29
|
+
|
30
|
+
def perform
|
31
|
+
banner
|
32
|
+
command.system!
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
metadata
CHANGED
@@ -1,63 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_redmine_base0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- 0.
|
7
|
+
- 0.6.0
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: eac_ruby_utils
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.6.1
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0.6'
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.6.1
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: avm-eac_redmine_plugin_base0
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '0.1'
|
19
|
+
version: '0.119'
|
40
20
|
type: :runtime
|
41
21
|
prerelease: false
|
42
22
|
version_requirements: !ruby/object:Gem::Requirement
|
43
23
|
requirements:
|
44
24
|
- - "~>"
|
45
25
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
26
|
+
version: '0.119'
|
47
27
|
- !ruby/object:Gem::Dependency
|
48
28
|
name: eac_ruby_gem_support
|
49
29
|
requirement: !ruby/object:Gem::Requirement
|
50
30
|
requirements:
|
51
31
|
- - "~>"
|
52
32
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
33
|
+
version: 0.6.0
|
54
34
|
type: :development
|
55
35
|
prerelease: false
|
56
36
|
version_requirements: !ruby/object:Gem::Requirement
|
57
37
|
requirements:
|
58
38
|
- - "~>"
|
59
39
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.
|
40
|
+
version: 0.6.0
|
61
41
|
description:
|
62
42
|
email:
|
63
43
|
executables: []
|
@@ -66,7 +46,9 @@ extra_rdoc_files: []
|
|
66
46
|
files:
|
67
47
|
- init.rb
|
68
48
|
- lib/eac_redmine_base0.rb
|
49
|
+
- lib/eac_redmine_base0/tasks/system.rb
|
69
50
|
- lib/eac_redmine_base0/version.rb
|
51
|
+
- lib/tasks/eac_redmine_base0.rake
|
70
52
|
homepage: https://github.com/esquilo-azul/eac_redmine_base0
|
71
53
|
licenses: []
|
72
54
|
metadata: {}
|