Skip to content

Commit 283daef

Browse files
authored
Merge pull request #6 from Intellection/add_protected_fetching_option
Add protected fetching option
2 parents 4be255b + e8ad580 commit 283daef

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.3.0
4+
5+
* Add `GEMSTASH_PROTECTED_FETCH` configuration option to enable protected
6+
fetches which is disabled by default.
7+
38
## 1.2.0
49

510
* Upgrade Ruby to v2.6.3.

app/config.yml.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:rubygems_url: https://rubygems.org
44
:puma_threads: <%= (ENV['GEMSTASH_PUMA_THREADS'] || 16).to_i %>
55
:bind: tcp://0.0.0.0:9292
6-
:protected_fetch: false
6+
:protected_fetch: <%= ENV['GEMSTASH_PROTECTED_FETCH'] == 'true' ? 'true' : 'false' %>
77
:fetch_timeout: 20
88
:log_file: :stdout
99

0 commit comments

Comments
 (0)