Merge pull request 'Fix invalid PUT signatures for URI-encoded paths' (#9) from bugfix/8-signatures into master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #9
This commit is contained in:
commit
3512c0f7c9
16
.drone.yml
Normal file
16
.drone.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: specs
|
||||||
|
image: ruby
|
||||||
|
environment:
|
||||||
|
REDIS_HOST: redis
|
||||||
|
commands:
|
||||||
|
- cp config.yml.erb.example config.yml.erb
|
||||||
|
- bundle install --jobs=3 --retry=3
|
||||||
|
- bundle exec rake test
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: redis
|
||||||
|
image: redis
|
33
.github/workflows/ruby.yml
vendored
33
.github/workflows/ruby.yml
vendored
@ -1,33 +0,0 @@
|
|||||||
name: Tests
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
ruby-version: ['2.7', '3.0', '3.1']
|
|
||||||
redis-version: [6, 7]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: ${{ matrix.ruby-version }}
|
|
||||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
||||||
- name: Start Redis
|
|
||||||
uses: supercharge/redis-github-action@1.4.0
|
|
||||||
with:
|
|
||||||
redis-version: ${{ matrix.redis-version }}
|
|
||||||
- name: Configure
|
|
||||||
run: cp config.yml.erb.example config.yml.erb
|
|
||||||
- name: Run tests
|
|
||||||
run: bundle exec rake test
|
|
@ -15,7 +15,8 @@ module RemoteStorage
|
|||||||
service: 's3',
|
service: 's3',
|
||||||
region: settings.s3["region"],
|
region: settings.s3["region"],
|
||||||
access_key_id: settings.s3["access_key_id"].to_s,
|
access_key_id: settings.s3["access_key_id"].to_s,
|
||||||
secret_access_key: settings.s3["secret_key_id"].to_s
|
secret_access_key: settings.s3["secret_key_id"].to_s,
|
||||||
|
uri_escape_path: false
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user