lol_auth 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d9571197670146244b29fc87b006b687dcdf439
4
- data.tar.gz: 5d05f9d767cc5fc615156aced0e78a86bd95cd99
3
+ metadata.gz: 483f2f8a7204096c140ea8cc67e7b5fb35b1e5f7
4
+ data.tar.gz: 31877461369c53776bae22ac58bc9846f7803612
5
5
  SHA512:
6
- metadata.gz: 7c928e379e90afc1a70da05cc32ddc7f1e0693aa8e8f0745bb3f432052bd8bd41c6d7a0e693c4c5dff0c160eb73ffd82ceb84e722c28de6284864c6783c70b25
7
- data.tar.gz: 99289ba768be803525acf0dbce29358a94fe8a8f3de2fa980b3999a3f1f443bd2ec7a2ff4e995d8fa11aba711ad15c9ee06c245092ee88da053f611e4c9c181a
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
 
@@ -1,3 +1,3 @@
1
1
  module LolAuth
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
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.8
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: 2018-04-30 00:00:00.000000000 Z
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