eac_launcher 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 +4 -4
- data/lib/eac_launcher/instances/runner_helper.rb +5 -8
- data/lib/eac_launcher/version.rb +1 -1
- metadata +12 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caec9ebfca6f98aeaa14712e587fae2f5156ee955b8f5f753a04ceee0bc0a4ba
|
4
|
+
data.tar.gz: e91054745544d8e1c35d765c7bbbc9ce5ef154cebb38bcfe92d2e3c37191f1d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff8735f475a0ce5cceab27836d9c30c0376b5023c6eddd386546205768a2349f6fe7a9e64c0c9adce6ab16e2f1dfd9776a7adc2948eb3c2ae05a69f705cfab3f
|
7
|
+
data.tar.gz: bf7b393700803a8c3bae51acb9d2cd16775a788363b4f07c60125d2ace19fe5bc8fee7493b7d5fc500ed0272a10fc15263398e89ca2e6281495c48789f2d90c2
|
@@ -12,15 +12,12 @@ module EacLauncher
|
|
12
12
|
@context ||= ::EacLauncher::Context.current
|
13
13
|
end
|
14
14
|
|
15
|
-
def
|
16
|
-
context.instances.
|
15
|
+
def find_instances(instance_name)
|
16
|
+
context.instances.select { |instance| instance_match?(instance, instance_name) }
|
17
17
|
end
|
18
18
|
|
19
|
-
def
|
20
|
-
instance
|
21
|
-
return instance if instance
|
22
|
-
|
23
|
-
raise "Instance not found in \"#{instance_path}\""
|
19
|
+
def instance_match?(instance, instance_name)
|
20
|
+
::File.fnmatch?(instance_name, instance.name)
|
24
21
|
end
|
25
22
|
|
26
23
|
def instances
|
@@ -29,7 +26,7 @@ module EacLauncher
|
|
29
26
|
elsif options['--pending']
|
30
27
|
context.pending_instances
|
31
28
|
else
|
32
|
-
options['<instance_path>'].
|
29
|
+
options['<instance_path>'].flat_map { |p| find_instances(p) }
|
33
30
|
end
|
34
31
|
end
|
35
32
|
|
data/lib/eac_launcher/version.rb
CHANGED
metadata
CHANGED
@@ -1,49 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: activesupport
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '4.2'
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 4.2.10
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '4.2'
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 4.2.10
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: colorize
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 0.8.1
|
40
|
-
type: :runtime
|
41
|
-
prerelease: false
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - "~>"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 0.8.1
|
47
13
|
- !ruby/object:Gem::Dependency
|
48
14
|
name: curb
|
49
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,28 +30,34 @@ dependencies:
|
|
64
30
|
requirements:
|
65
31
|
- - "~>"
|
66
32
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
33
|
+
version: '0.24'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.24.1
|
68
37
|
type: :runtime
|
69
38
|
prerelease: false
|
70
39
|
version_requirements: !ruby/object:Gem::Requirement
|
71
40
|
requirements:
|
72
41
|
- - "~>"
|
73
42
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0.
|
43
|
+
version: '0.24'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.24.1
|
75
47
|
- !ruby/object:Gem::Dependency
|
76
48
|
name: git
|
77
49
|
requirement: !ruby/object:Gem::Requirement
|
78
50
|
requirements:
|
79
51
|
- - "~>"
|
80
52
|
- !ruby/object:Gem::Version
|
81
|
-
version: 1.
|
53
|
+
version: '1.6'
|
82
54
|
type: :runtime
|
83
55
|
prerelease: false
|
84
56
|
version_requirements: !ruby/object:Gem::Requirement
|
85
57
|
requirements:
|
86
58
|
- - "~>"
|
87
59
|
- !ruby/object:Gem::Version
|
88
|
-
version: 1.
|
60
|
+
version: '1.6'
|
89
61
|
- !ruby/object:Gem::Dependency
|
90
62
|
name: ruby-progressbar
|
91
63
|
requirement: !ruby/object:Gem::Requirement
|