eac_launcher 0.6.4 → 0.6.5

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: 5549a4d7052ec346c6000089d6d68d71ed0e3453a95375d920ac9cb2e7aec17f
4
- data.tar.gz: 641dc26b06fcf4dc5310115d8d2e323e00b07bd916bbaea77cb895f854999ae5
3
+ metadata.gz: f66c9c5ee033458d203d994185848742b0d051c3a5f8f0979de77e5e3f9e57e7
4
+ data.tar.gz: 4d8c190a07cba3333788592907afe7d78c912f6796ef198f2099fad4f5e632fb
5
5
  SHA512:
6
- metadata.gz: 0a8e66cf6198b9154e7261088d7e6a9a2962630a1f9d6aceccd60d87d10e8e94abdffee6b9d045287e3add4e578af5d177e06f3e32e31957d198e60fbc748886
7
- data.tar.gz: 90c4fb47834b38a616ecbe89f600a09e42dafe51cd3ad5145439122778946f00e15bb24e85632e65d38acf827240aac4ffcf12c36bb2155a2506fc2a84bcb6e1
6
+ metadata.gz: e7f04a5f80dbf880603e8ea01a68d937c6d3a06ffbbc338697093cc2b7e120fb1560bc7bbe3f58f23e620569d8653aef327d6c4084eb79d9e622bb07c3e8aeb4
7
+ data.tar.gz: e3b9f63f585333f2f8a8e2d737f04f7201794a70600ec89391780f85ae6339be4adae15a44e6eba42f44447eb58cb0f7d933a3f838ddb07e7195ea71ed0f441e
@@ -15,7 +15,9 @@ module EacLauncher
15
15
  end
16
16
 
17
17
  def find_parent_instance(current)
18
- return current if current.stereotype?(::EacLauncher::Stereotypes::Git)
18
+ if ::EacLauncher::Stereotype.git_stereotypes.any? { |s| current.stereotype?(s) }
19
+ return current
20
+ end
19
21
 
20
22
  current.parent ? find_parent_instance(current.parent) : nil
21
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacLauncher
4
- VERSION = '0.6.4'
4
+ VERSION = '0.6.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
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: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2019-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport