eac_ruby_gem_support 0.3.3 → 0.4.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: 841cb9c3f61d1207cff12a90f1a05df6762c1656959890711c7e1590de86e22c
4
- data.tar.gz: 99bc488cbb4754ad0ba5fc0f535a2b832df38a59d11d524e95b5ed18c68f9899
3
+ metadata.gz: 9f0126919f17364de71fda5732bcfb16039b6dbe95afcbc81c9765136a931e11
4
+ data.tar.gz: 5b935c6a042d5a31eb52fb1c9ca88915b07f7956e4898f63107c6111fcdb39cf
5
5
  SHA512:
6
- metadata.gz: d847fbc3ea74aa1574288fd903bdb8f5a57ab8708e62b2de822480797a2094d01e87e4b7592be674d647906f16741a5ea807d87fc3d729d73fb7ad155bc2b285
7
- data.tar.gz: db410649565cb4b121e902b960e958ebb16fb3fa5020606dfe475327b078c7fdbcac39ea8a8034be80ed84b74d1670a0fffeef68299bcf066f4787fbeb481d15
6
+ metadata.gz: 33e1865c9395e630c625a95ff298770bf8e4da31dbea555c933100f5dc9fd5a7314191e02921404eace12299825e8bf6d972b2e30d80ea5639252b1ac219a416
7
+ data.tar.gz: ce079ff56c0dced8d63c09126fd0ef461891a63263df321befecdce7ab227c33b6a05aa6adce7acebf7e081646d850b94002235ac5cc8f17e689b5c1f1a7bf81
@@ -32,7 +32,16 @@ module EacRubyGemSupport
32
32
 
33
33
  # @return [Pathname]
34
34
  def example_persistence_path
35
- ::File.join(::Dir.tmpdir, app_root_path.basename.to_path.variableize).to_pathname
35
+ root_tmp.join('example_status_persistence')
36
+ end
37
+
38
+ # The root directory for temporary files.
39
+ # @return [Pathname]
40
+ def root_tmp
41
+ r = ::Pathname.new(::Dir.tmpdir)
42
+ .join(app_root_path.expand_path.to_path.variableize + '_specs_tmp')
43
+ r.mkpath unless r.exist?
44
+ r
36
45
  end
37
46
  end
38
47
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyGemSupport
4
- VERSION = '0.3.3'
4
+ VERSION = '0.4.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_ruby_gem_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-15 00:00:00.000000000 Z
11
+ date: 2021-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eac_ruby_utils