avm-eac_ruby_base1 0.9.1 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a0defddeada92680a4688c0326e8d40f21eb9c12f4b0ede5e3785a4b2d1c074
4
- data.tar.gz: c2e29d312d303bc07c1b25bdb939bd218347d2fbb9519810b64e1223890ebc20
3
+ metadata.gz: b649e4edfb32089188b9da21975cc64277b0098695591542ad0b49b3007f0dd3
4
+ data.tar.gz: d899119a0150b6ea5765709fbb1e510ba90384875bbcad9cefc32f3ad39d7615
5
5
  SHA512:
6
- metadata.gz: 3fc27304decd96a44a817b48dd149b537f0dd46ff61738e0467f3b70c1fac889536a206995063baf34832e03a1fa7317b0be8ef87fc2b4d7d7aa954875360723
7
- data.tar.gz: a07421f056431ab44b42803aa266df92d90acf79650f3fb0ace721920a7fecf33d4cbe7982b875562055ab62cf2c32814af72460bfcde0050071cedd55e47c92
6
+ metadata.gz: 06dfebfa55020d4db5b445e186afb3a46df0b76207996c7e6c4b53dc3f357b54c8346d41f6ea5015c586042404322f55cd2d8d8d4c58e978a0655cef87897639
7
+ data.tar.gz: f7f04b88b18ada98464d331d8c166797d23c059b9dc37ee64e30779e7f707a441ff122199905a5ac357141a617a2bddd1153ddb8e31ccf66461696e34e2a9a64
@@ -36,6 +36,18 @@ module Avm
36
36
  self
37
37
  end
38
38
 
39
+ # @return [Avm::EacRubyBase1::Source::Base]
40
+ def ruby_parent
41
+ a_parent = parent
42
+
43
+ loop do
44
+ raise 'No Ruby parent found' if a_parent.blank?
45
+ return a_parent if a_parent.is_a?(::Avm::EacRubyBase1::Sources::Base)
46
+
47
+ a_parent = a_parent.parent
48
+ end
49
+ end
50
+
39
51
  # @return [EacRubyUtils::Envs::Command]
40
52
  def rspec_test_command
41
53
  bundle('exec', 'rspec', '--fail-fast').chdir_root
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRubyBase1
5
- VERSION = '0.9.1'
5
+ VERSION = '0.10.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-eac_ruby_base1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.10.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-07-18 00:00:00.000000000 Z
11
+ date: 2022-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm