eac_ruby_base0 0.8.0 → 0.9.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: 10ee625f182f3829966f72f31ca5a5f8fd0e3014754ae85bcb77a4e0ddff1c34
4
- data.tar.gz: 27cc3c2e2b5b60d294eb225a67aac634774b73611ff4246d3f0929815664a407
3
+ metadata.gz: '008e9cbb4617f1f4a8afb5df6cd5755e2f3769b7f4bdbf5588d2701e9e4f1740'
4
+ data.tar.gz: 37dfcd421a873889ca71f37f3b91631efa26ff08e2cc2b5432147e5efdf8c10c
5
5
  SHA512:
6
- metadata.gz: 7764d32f1bac074a0d096f6642264b59aea8363f89b9d50c0c4402e5eccd0d0230f374a4fb57ac73a8668319b9e10dd7d026ef10cdfe0d400e08a19f15d014ec
7
- data.tar.gz: b420f162aa98c9772b63f171f5732b8d59865d45d4858071b8ceefcd6c91492aebedf3b8a7aa36a63e73bf0d639ccb6c2f9bc7218d061f05dff66c47b36abc7a
6
+ metadata.gz: ef9c43054582e18422e6923c244ad26affb913c474562249aeb418dcbb63bf53ec40a323e6163d78c08f77c5ca89d7ec93ba8514a90db54ec1cf5dbcb09e8985
7
+ data.tar.gz: f4be0c6d512c623be7a77da217c29ddb17cfcd29f8d7fc85b86bfbddf578f56c3bd70bd01b90aee2459b6d33346c42309d2c10be9823c955a8039f6d5773bd50
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'eac_cli/old_configs_bridge'
3
4
  require 'eac_ruby_base0/application_xdg'
4
5
  require 'eac_ruby_gems_utils/gem'
5
6
  require 'eac_ruby_utils/core_ext'
@@ -22,6 +23,11 @@ module EacRubyBase0
22
23
  vendor_gems + [self_gem]
23
24
  end
24
25
 
26
+ # @return [EacCli::OldConfigsBridge]
27
+ def build_config(path = nil)
28
+ ::EacCli::OldConfigsBridge.new(name, path.if_present({}) { |v| { storage_path: v } })
29
+ end
30
+
25
31
  ::EacRubyBase0::ApplicationXdg::DIRECTORIES.each_key do |item|
26
32
  delegate "#{item}_xdg_env", "#{item}_dir", to: :app_xdg
27
33
  end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'eac_ruby_utils/core_ext'
4
+
3
5
  module EacRubyBase0
4
6
  # https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
5
7
  class ApplicationXdg
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyBase0
4
- VERSION = '0.8.0'
4
+ VERSION = '0.9.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_ruby_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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: 2021-06-11 00:00:00.000000000 Z
11
+ date: 2021-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eac_cli