bullet_train-fields 1.0.0 → 1.0.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5d6dcb2c56711e2ad0d96d66cd8c74c71bb52f955470275555874576a924178
|
4
|
+
data.tar.gz: 7930b95a428daf8dff8b60f44801016494b4044f60e9a57d3ae186bde090d420
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef3732d48c472cbb5d360e895f54f03d8716f6b621aeb14cf06dd93a4283c768f4ea103163ea6244494ab9369d4f6ef12413e18004757af8657120acbffcec8e
|
7
|
+
data.tar.gz: c0612f82b23d22c8ec4a411535f59f743a5506e1f9424896ffbd6381ed578fbc7d0e301f2bba90106462ae6c3c1888d1b3105a55da9949552fd8ae9cabd3f945
|
@@ -0,0 +1,10 @@
|
|
1
|
+
class Account::Cloudinary::UploadSignaturesController < Account::ApplicationController
|
2
|
+
skip_before_action :ensure_onboarding_is_complete_and_set_next_step
|
3
|
+
def new
|
4
|
+
render plain: Cloudinary::Utils.api_sign_request(upload_signature_params.to_h, Cloudinary.config.api_secret)
|
5
|
+
end
|
6
|
+
|
7
|
+
def upload_signature_params
|
8
|
+
params.require(:data).permit(:timestamp, :source)
|
9
|
+
end
|
10
|
+
end
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-fields
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- README.md
|
36
36
|
- Rakefile
|
37
37
|
- app/assets/config/bullet_train_fields_manifest.js
|
38
|
+
- app/controllers/account/cloudinary/upload_signatures_controller.rb
|
38
39
|
- app/controllers/concerns/fields/boolean_support.rb
|
39
40
|
- app/controllers/concerns/fields/controller_support.rb
|
40
41
|
- app/controllers/concerns/fields/date_and_time_support.rb
|