eac_fs 0.11.1 → 0.12.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: 8851f1408994cf816ba9352954d7ef9a8858e8581434f5d14e917f7b9d3dd6bb
4
- data.tar.gz: b31e40c894d8cb96cc5d1eae42789e980c4bfe849f47e9c2d0aac8d870b919ef
3
+ metadata.gz: 460e2f56af274d37b57c527511acc8d8b4aec079165f3a92c33cb913b1219bc1
4
+ data.tar.gz: e2da59b6a80da2bf26b6d3783be7a83abaabc23ee6d06d9ace6369db303c56b7
5
5
  SHA512:
6
- metadata.gz: 37c02d3e22a2bfd5ffb77014bcca94555e1a41bec612a01d3c306fda460cc29468627ed0b38c508aaae8585d1c7e6e8ec8223c6058bab77008d5f2185c029cf3
7
- data.tar.gz: 89405f8115a4479a59953cef8c3df475c052bd40927941b1e6d527c7619e96c90c857dc85931022b0a422b18629feccd14c6e76f76f1dc9d2141c03098038178
6
+ metadata.gz: fc791ad8df8fd8059eb738ec8dbdc8eba49abb9c4bf730c8187857eb17effd06c8bdd164b2397aedbb09ec07c25bfa0222914ba3d76d2fcbbfb703adc5b12118
7
+ data.tar.gz: 7b71696042786fbf5f539960e53e0b536486cbad047389ca0d19ca2b1bdebdd49179486f5c01535a2a67bb366447ba5298cc30ebdd8b1bc59ec50bfaaae12d37
@@ -10,7 +10,12 @@ class Object
10
10
  def fs_#{type}
11
11
  oid = fs_object_id_by_type(:'#{type}')
12
12
  oid = [oid.to_s] unless oid.is_a?(::Enumerable)
13
- oid.inject(self.class.fs_#{type}) { |a, e| a.child(e.to_s) }
13
+ oid.inject(fs_#{type}_parent) { |a, e| a.child(e.to_s) }
14
+ end
15
+
16
+ # @return [EacFs::StorageTree]
17
+ def fs_#{type}_parent
18
+ self.class.fs_#{type}
14
19
  end
15
20
  CODE
16
21
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacFs
4
- VERSION = '0.11.1'
4
+ VERSION = '0.12.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_fs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.12.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-02-06 00:00:00.000000000 Z
11
+ date: 2022-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: content-type