activestorage_legacy 0.1.1.alpha → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/config/storage_services.yml +4 -4
- data/lib/active_storage/gem_version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5a6b490a30383734d1d6eaf78d8c4f44c753666
|
4
|
+
data.tar.gz: 259c1e82e4f1b6fa3cb4567c88ee68e5df0f1644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ee36a68f659c69563433d40a432d17f8cf1f58e7791161a0c17d437d8f0f8ff8183a0873bd9219773414b51fe6f7370899938b46b7f5938f12fa1f19737be9c
|
7
|
+
data.tar.gz: 47da16c3057c67941e138701c33c1f27c74c22486c021c3a9210ccdb8d67e11b890177e8e2fcaa44aad858562a985c3835ddebdda1f788eb33210ada1ec6002a
|
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Maintainability](https://api.codeclimate.com/v1/badges/08cd6d56a89a29295a83/maintainability)](https://codeclimate.com/github/iagopiimenta/activestorage_legacy/maintainability)
|
4
4
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/08cd6d56a89a29295a83/test_coverage)](https://codeclimate.com/github/iagopiimenta/activestorage_legacy/test_coverage)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/activestorage_legacy.svg)](https://badge.fury.io/rb/activestorage_legacy)
|
5
6
|
|
6
7
|
## Forked to work with Rails 3
|
7
8
|
|
data/config/storage_services.yml
CHANGED
@@ -9,8 +9,8 @@ local:
|
|
9
9
|
# Use rails secrets:edit to set the AWS secrets (as shared:aws:access_key_id|secret_access_key)
|
10
10
|
amazon:
|
11
11
|
service: S3
|
12
|
-
access_key_id:
|
13
|
-
secret_access_key:
|
12
|
+
access_key_id: <% #= Rails.application.secrets.dig(:aws, :access_key_id) %>
|
13
|
+
secret_access_key: <% #= Rails.application.secrets.dig(:aws, :secret_access_key) %>
|
14
14
|
region: us-east-1
|
15
15
|
bucket: your_own_bucket
|
16
16
|
|
@@ -18,14 +18,14 @@ amazon:
|
|
18
18
|
google:
|
19
19
|
service: GCS
|
20
20
|
project: your_project
|
21
|
-
keyfile:
|
21
|
+
keyfile: <% #= Rails.root.join("path/to/gcs.keyfile") %>
|
22
22
|
bucket: your_own_bucket
|
23
23
|
|
24
24
|
microsoft:
|
25
25
|
service: Azure
|
26
26
|
path: your_azure_storage_path
|
27
27
|
storage_account_name: your_account_name
|
28
|
-
storage_access_key:
|
28
|
+
storage_access_key: <% #= Rails.application.secrets.azure[:secret_access_key] %>
|
29
29
|
container: your_container_name
|
30
30
|
|
31
31
|
mirror:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activestorage_legacy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
@@ -220,9 +220,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
220
|
version: 2.2.2
|
221
221
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
222
222
|
requirements:
|
223
|
-
- - "
|
223
|
+
- - ">="
|
224
224
|
- !ruby/object:Gem::Version
|
225
|
-
version:
|
225
|
+
version: '0'
|
226
226
|
requirements: []
|
227
227
|
rubyforge_project:
|
228
228
|
rubygems_version: 2.5.2.3
|