gemstash 2.5.0-java → 2.6.0-java

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: bafa064aa396390248f3259372d3ba055174fcaab399cd1e8d3c0e4ddcecdf4c
4
- data.tar.gz: 47e818b43ba9632d805f23aa75e645da1c0f52a1de443a969d9d3df0409b26c4
3
+ metadata.gz: 2f9413aec2ce0f9af1d98dc5f56e0bdfe8e974ed4a390a05ee0eb648e4c6d65a
4
+ data.tar.gz: eeb7f4aa36d4162467c9f20cf69b8c16ad9d5add6f73571c4ec63d24a4562750
5
5
  SHA512:
6
- metadata.gz: e7d1082fc37b03770575dc99e9626b83da40af72f9a731501e3737240b144685b14945957f5128b2dc31772d2108a060cdbb4d5a6315611705bff5c5b4e13c54
7
- data.tar.gz: 54547a4b9791bda410bb4480977f1c9ab4c47b60060def54d819fb5bc5865e6974fb4ee5fce58e957fd18d5cae5e91b41f4f78c7e72d3647b5a91eedcf7888ba
6
+ metadata.gz: 7b288f7fa477452839963a78b22d38635dac29a904947c5b04d2d5a67be222e5f1220b253baaf7ac4ca168ee9a8591245bd63d2de80edf52f12cb92bab39d9a2
7
+ data.tar.gz: f8b30aebbe19b38313e5ad1a6a68b0074865adac73d52fb39a0c7be0f43f36eeae053463ca524786f05ac579d53fed39d3ce54594b0a0a868492213c4af32648
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: java
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
  requirement: !ruby/object:Gem::Requirement