lol_auth 0.1.8 → 0.1.9
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 +4 -4
- data/README.md +19 -0
- data/lib/lol_auth/version.rb +1 -1
- metadata +2 -3
- data/config/initializers/carrierwave.rb +0 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 483f2f8a7204096c140ea8cc67e7b5fb35b1e5f7
|
|
4
|
+
data.tar.gz: 31877461369c53776bae22ac58bc9846f7803612
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db4e49de5d41b3cfa51d4023c36dc9530eb5d980c79b5f1680c8fc1c3e8ca98e2b7325a33a54d05abdbb756f994bd29d592f17d97b85f910e3621fe9272fe1d9
|
|
7
|
+
data.tar.gz: 418d0b8b37df75984878d9442a5d7c9a8e12c86f5475e3bf82df55a516553a5e5aafb69781e1eada05c1f50359bc6e835aa7fe707f5d75b37c2c59a0cadec0e9
|
data/README.md
CHANGED
|
@@ -21,6 +21,25 @@ Or install it yourself as:
|
|
|
21
21
|
$ gem install lol_auth
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
## Usign Amazon S3
|
|
25
|
+
|
|
26
|
+
* create the carrierwave initialize at `config/initializers/carrierwave.rb`
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
if Rails.env.production?
|
|
30
|
+
CarrierWave.configure do |config|
|
|
31
|
+
config.fog_credentials = {
|
|
32
|
+
:provider => 'AWS',
|
|
33
|
+
:aws_access_key_id => ENV['S3_ACCESS_KEY_ID'],
|
|
34
|
+
:aws_secret_access_key => ENV['S3_SECRET_KEY']
|
|
35
|
+
}
|
|
36
|
+
config.fog_directory = ENV['S3_BUCKET']
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
|
|
24
43
|
## Contributing
|
|
25
44
|
Contribution directions go here.
|
|
26
45
|
|
data/lib/lol_auth/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lol_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eduardo Zaghi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-02-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -213,7 +213,6 @@ files:
|
|
|
213
213
|
- app/views/lol_auth/passwords/new.html.erb
|
|
214
214
|
- app/views/lol_auth/users/_user.json.jbuilder
|
|
215
215
|
- app/views/lol_auth/users/success.json.jbuilder
|
|
216
|
-
- config/initializers/carrierwave.rb
|
|
217
216
|
- config/initializers/devise_token_auth.rb
|
|
218
217
|
- config/initializers/lol_users_config.rb
|
|
219
218
|
- config/routes.rb
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
if Rails.env.production?
|
|
2
|
-
CarrierWave.configure do |config|
|
|
3
|
-
config.fog_credentials = {
|
|
4
|
-
:provider => 'AWS',
|
|
5
|
-
:aws_access_key_id => ENV['S3_ACCESS_KEY_ID'],
|
|
6
|
-
:aws_secret_access_key => ENV['S3_SECRET_KEY']
|
|
7
|
-
}
|
|
8
|
-
config.fog_directory = ENV['S3_BUCKET']
|
|
9
|
-
end
|
|
10
|
-
end
|