Skip to content

Commit cbd1c9b

Browse files
committed
some cloud storage updates
1 parent 2a04800 commit cbd1c9b

File tree

5 files changed

+60
-0
lines changed

5 files changed

+60
-0
lines changed

.DS_Store

8 KB
Binary file not shown.

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ gem 'devise'
1313
gem 'faker'
1414
gem 'will_paginate-bootstrap'
1515
gem 'acts_as_votable'
16+
gem 'carrierwave'
17+
gem 'cloudinary'
18+
1619

1720
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
1821
gem 'rails', '~> 6.1.4', '>= 6.1.4.1'

Gemfile.lock

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ GEM
7474
public_suffix (>= 2.0.2, < 5.0)
7575
autoprefixer-rails (10.3.3.0)
7676
execjs (~> 2)
77+
aws_cf_signer (0.1.3)
7778
bcrypt (3.1.16)
7879
bindex (0.8.1)
7980
bootsnap (1.9.1)
@@ -95,7 +96,18 @@ GEM
9596
rack-test (>= 0.6.3)
9697
regexp_parser (>= 1.5, < 3.0)
9798
xpath (~> 3.2)
99+
carrierwave (2.2.2)
100+
activemodel (>= 5.0.0)
101+
activesupport (>= 5.0.0)
102+
addressable (~> 2.6)
103+
image_processing (~> 1.1)
104+
marcel (~> 1.0.0)
105+
mini_mime (>= 0.1.3)
106+
ssrf_filter (~> 1.0)
98107
childprocess (3.0.0)
108+
cloudinary (1.21.0)
109+
aws_cf_signer
110+
rest-client (>= 2.0.0)
99111
concurrent-ruby (1.1.9)
100112
crass (1.0.6)
101113
devise (4.8.0)
@@ -104,6 +116,8 @@ GEM
104116
railties (>= 4.1.0)
105117
responders
106118
warden (~> 1.2.3)
119+
domain_name (0.5.20190701)
120+
unf (>= 0.0.5, < 1.0.0)
107121
erubi (1.10.0)
108122
execjs (2.8.1)
109123
faker (2.19.0)
@@ -132,6 +146,9 @@ GEM
132146
activesupport (>= 5.0)
133147
gravatar_image_tag (1.2.0)
134148
hashie (4.1.0)
149+
http-accept (1.7.0)
150+
http-cookie (1.0.4)
151+
domain_name (~> 0.5)
135152
i18n (1.8.10)
136153
concurrent-ruby (~> 1.0)
137154
image_processing (1.12.1)
@@ -154,6 +171,9 @@ GEM
154171
mini_mime (>= 0.1.1)
155172
marcel (1.0.2)
156173
method_source (1.0.0)
174+
mime-types (3.3.1)
175+
mime-types-data (~> 3.2015)
176+
mime-types-data (3.2021.0901)
157177
mini_magick (4.11.0)
158178
mini_mime (1.1.1)
159179
minitest (5.14.4)
@@ -162,7 +182,10 @@ GEM
162182
multi_xml (0.6.0)
163183
multipart-post (2.1.1)
164184
mysql2 (0.5.3)
185+
netrc (0.11.0)
165186
nio4r (2.5.8)
187+
nokogiri (1.12.5-x86_64-darwin)
188+
racc (~> 1.4)
166189
nokogiri (1.12.5-x86_64-linux)
167190
racc (~> 1.4)
168191
oauth2 (1.4.7)
@@ -239,6 +262,11 @@ GEM
239262
responders (3.0.1)
240263
actionpack (>= 5.0)
241264
railties (>= 5.0)
265+
rest-client (2.1.0)
266+
http-accept (>= 1.7.0, < 2.0)
267+
http-cookie (>= 1.0.2, < 2.0)
268+
mime-types (>= 1.16, < 4.0)
269+
netrc (~> 0.8)
242270
ruby-vips (2.1.3)
243271
ffi (~> 1.12)
244272
ruby2_keywords (0.0.5)
@@ -265,13 +293,17 @@ GEM
265293
actionpack (>= 4.0)
266294
activesupport (>= 4.0)
267295
sprockets (>= 3.0.0)
296+
ssrf_filter (1.0.7)
268297
thor (1.1.0)
269298
tilt (2.0.10)
270299
turbolinks (5.2.1)
271300
turbolinks-source (~> 5.2)
272301
turbolinks-source (5.2.0)
273302
tzinfo (2.0.4)
274303
concurrent-ruby (~> 1.0)
304+
unf (0.1.4)
305+
unf_ext
306+
unf_ext (0.0.8)
275307
warden (1.2.9)
276308
rack (>= 2.0.9)
277309
web-console (4.1.0)
@@ -299,6 +331,7 @@ GEM
299331
zeitwerk (2.4.2)
300332

301333
PLATFORMS
334+
x86_64-darwin-21
302335
x86_64-linux
303336

304337
DEPENDENCIES
@@ -308,6 +341,8 @@ DEPENDENCIES
308341
bootstrap-sass
309342
byebug
310343
capybara (>= 3.26)
344+
carrierwave
345+
cloudinary
311346
devise
312347
faker
313348
gravatar_image_tag

cloudinary.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
development:
3+
cloud_name: hq9qpthnj
4+
api_key: '686938378396561'
5+
api_secret: JObOqmL_LP1HGz-lRmYqukdaVwE
6+
enhance_image_tag: true
7+
static_file_support: false
8+
production:
9+
cloud_name: hq9qpthnj
10+
api_key: '686938378396561'
11+
api_secret: JObOqmL_LP1HGz-lRmYqukdaVwE
12+
enhance_image_tag: true
13+
static_file_support: true
14+
test:
15+
cloud_name: hq9qpthnj
16+
api_key: '686938378396561'
17+
api_secret: JObOqmL_LP1HGz-lRmYqukdaVwE
18+
enhance_image_tag: true
19+
static_file_support: false

vendor/.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CLOUD_NAME=hq9qpthnj
2+
CLOUD_API_KEY=686938378396561
3+
CLOUD_API_SECRET=JObOqmL_LP1HGz-lRmYqukdaVwE

0 commit comments

Comments
 (0)