uploadbox 0.1.1 → 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 -1
- data/lib/generators/uploadbox/image/image_generator.rb +5 -7
- data/lib/uploadbox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ca012b43884476e003d701a50ab003559babeb5
|
4
|
+
data.tar.gz: e717d637a0680722b5e4bc4e955edef5eae757c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c57e3e52443a5765b93b3887b8224f731eecb66c285e23008e70819c79ba0e73a065ec064c312f7043ed1391b00293c4bf2c34c77600bf6b9d9b3164fc3e0e0
|
7
|
+
data.tar.gz: 183781e8575d8a84bd58694fd77d323ccfb26e668b206dee96688cdabbfc4772f15c62e5f3bc6513773ba8dd09b37332ac60c64db9515ece88e22540ba367155
|
data/README.md
CHANGED
@@ -8,13 +8,11 @@ module Uploadbox
|
|
8
8
|
copy_file 'initializers/uploadbox.rb', 'config/initializers/uploadbox.rb'
|
9
9
|
end
|
10
10
|
|
11
|
-
def
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
copy_file '.env', '.env'
|
17
|
-
end
|
11
|
+
def create_dotenv
|
12
|
+
create_file '.env' unless File.exist?('.env')
|
13
|
+
append_to_file '.env', "\nS3_KEY=your-s3-key"
|
14
|
+
append_to_file '.env', "\nS3_SECRET=your-s3-secret"
|
15
|
+
append_to_file '.env', "\nS3_BUCKET=your-s3-bucket"
|
18
16
|
end
|
19
17
|
|
20
18
|
def add_route
|
data/lib/uploadbox/version.rb
CHANGED