gemstash 2.5.0 → 2.6.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: 59ae67f1f26a47d970012c77d909c00420030e41c1322b1d84fdfb30b7ef3ab1
4
- data.tar.gz: c015b8c6f1f267b9a3d8ae91303c2bfc651d6414c3680b46190d5ec6717613b3
3
+ metadata.gz: 69af5c3ee89fc53cee466750fcf2f0028e48da55c97ec1e088ce57115982e0fd
4
+ data.tar.gz: 548acfcde803f83ef757218d414a8d88677af45b9e60164bcaffd178adeb86b2
5
5
  SHA512:
6
- metadata.gz: d6d53322808129a2644884b3984bc82378a5e79a2e8f1594dddf6662402f1a7e7ff7a31ba2cf907c225e8165fe597046ebd03e93fd8a2ba414d7026a37ef3437
7
- data.tar.gz: 3e659be61e8154cd32d560e4745da994fd484f46052fa679f1006c1c2b31edbed882f851d5944d08fc9ade4fbc7ba648392504e39a16d2c4ee6d084e3ff8d324
6
+ metadata.gz: d8eb6be20540527c746f5d9a02d2f170549e8764ad182a834384a4f63edd62ea373b5113256a89c250524c4551a02d792c8eb0e88d3a860f1337add8548bec0e
7
+ data.tar.gz: d35028447a52b25de004572ce975f6dff4d2cd358e54f72c537edb29e85dba43682f9c313f8b94461a3fcd7b3e9be089593fdba29fde039f664d7cebb1d11580
data/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
+ ## 2.6.0 (2023-09-30)
2
+
3
+ ### Changes
4
+
5
+ - Support `GEMSTASH_CONFIG` environment variable ([#369](https://github.com/rubygems/gemstash/pull/369), [@kyrofa](https://github.com/kyrofa))
6
+
1
7
  ## 2.5.0 (2023-09-28)
2
8
 
3
- - Add support for upstream auth with ENV variables ([#339](https://github.com/rubygems/gemstash/pull/339), [@CiTroNaK](https://github.com/CiTroNaK))
9
+ ### Changes
10
+
11
+ - Add support for upstream auth with ENV variables ([#339](https://github.com/rubygems/gemstash/pull/339), [@CiTroNaK](https://github.com/CiTroNaK))
4
12
 
5
13
  ## 2.4.0 (2023-09-27)
6
14
 
@@ -75,6 +75,11 @@ module Gemstash
75
75
  private
76
76
 
77
77
  def default_file
78
+ # Support the config file being specified via environment variable
79
+ gemstash_config = ENV["GEMSTASH_CONFIG"]
80
+ return gemstash_config if gemstash_config
81
+
82
+ # If no environment variable is used, fall back to the normal defaults
78
83
  File.exist?("#{DEFAULT_FILE}.erb") ? "#{DEFAULT_FILE}.erb" : DEFAULT_FILE
79
84
  end
80
85
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  # :nodoc:
4
4
  module Gemstash
5
- VERSION = "2.5.0"
5
+ VERSION = "2.6.0"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemstash
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andre Arko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-28 00:00:00.000000000 Z
11
+ date: 2023-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport