uploadcare-rails 1.1.1 → 1.2.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uploadcare-rails.rb +1 -1
- data/lib/uploadcare/rails/version.rb +1 -1
- data/spec/uploadcare/rails/settings_spec.rb +1 -1
- metadata +85 -125
- data/spec/cassettes/Uploadcare_Rails_File/should_load_itself.yml +0 -107
- data/spec/cassettes/Uploadcare_Rails_Group/group_should_stay_loaded.yml +0 -107
- data/spec/cassettes/Uploadcare_Rails_Group/rails_cache_should_updates_after_load_call.yml +0 -107
- data/spec/cassettes/group_cahsing_file_load.yml +0 -107
- data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml +0 -1283
- data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/stores_file_after_save.yml +0 -381
- data/spec/cassettes/has_uploadcare_group/object_attachment/contains_files_inside.yml +0 -523
- data/spec/cassettes/has_uploadcare_group_save.yml +0 -543
- data/spec/cassettes/load_group.yml +0 -107
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +0 -2360
- data/spec/dummy/tmp/cache/2AF/761/https%3A%2F%2Fucarecdn.com%2F595319d0-a113-459f-91bd-b29c7183467b%2F +0 -0
- data/spec/dummy/tmp/cache/301/D41/https%3A%2F%2Fucarecdn.com%2F81332043-fa2c-452f-936b-737d87ab2ae2%2F +0 -0
- data/spec/dummy/tmp/cache/30A/7C1/https%3A%2F%2Fucarecdn.com%2F39b34128-a001-46fd-9773-1b6ad46e6b9e%2F +0 -0
- data/spec/dummy/tmp/cache/340/A41/https%3A%2F%2Fucarecdn.com%2F090bcb5f-6d19-456c-b4a3-d753e690926f%2F +0 -0
- data/spec/dummy/tmp/cache/3AB/5A1/https%3A%2F%2Fucarecdn.com%2F7eb0161b-cebe-4316-946b-694de6f77ef9%2F +0 -0
- data/spec/dummy/tmp/cache/3FC/5C1/https%3A%2F%2Fucarecdn.com%2Fc3f0464b-ce9a-4281-8eaa-5c55783ccedf%2F +0 -0
- data/spec/dummy/tmp/cache/431/5C1/https%3A%2F%2Fucarecdn.com%2Fa1b1bb40-bd89-4f9c-b809-e84920f24a01%7E2%2F +0 -0
- data/spec/dummy/tmp/cache/44B/7A1/https%3A%2F%2Fucarecdn.com%2Fd6c785a8-9761-4602-88de-65ddb04ddc6a%7E2%2F +0 -0
- data/spec/tmp/config/uploadcare.yml +0 -71
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,71 +0,0 @@
|
|
1
|
-
defaults: &defaults
|
2
|
-
public_key: "demopublickey" # replace it with your public key
|
3
|
-
private_key: "demoprivatekey" # replace it with your private key
|
4
|
-
|
5
|
-
# instances of widget initialized for you on page load
|
6
|
-
live: true
|
7
|
-
|
8
|
-
# cache files json dumps to prevent calling to server if it posible
|
9
|
-
cache_files: true
|
10
|
-
|
11
|
-
# cache groups json dumps to prevent calling to server if it posible
|
12
|
-
cache_groups: true
|
13
|
-
|
14
|
-
# store file or group after model is created or updated
|
15
|
-
store_after_save: true
|
16
|
-
|
17
|
-
# deletes file or group after model object is deleted
|
18
|
-
delete_after_destroy: true
|
19
|
-
|
20
|
-
# Avaliable options are listed at https://uploadcare.com/documentation/widget/#advanced-configuration
|
21
|
-
# please note, that for options marker as Global: N/A - there is no practical meaning
|
22
|
-
# of putting this option here, as it will not have any effect.
|
23
|
-
# But it also will not break anything.
|
24
|
-
|
25
|
-
# for preview step use:
|
26
|
-
# preview_step: false # true or false
|
27
|
-
|
28
|
-
# for clearable option (allows user to remove uploaded file from widget) use:
|
29
|
-
# clearable: false # true or false
|
30
|
-
|
31
|
-
# for setting tabs use tabs option:
|
32
|
-
# tabs: "url file facebook" # etc
|
33
|
-
# read more here: https://uploadcare.com/documentation/widget/#tabs
|
34
|
-
#
|
35
|
-
# Full list of tabs:
|
36
|
-
# |----------------------------------------|
|
37
|
-
# | Code | File Source | Default |
|
38
|
-
# |------------|-----------------|---------|
|
39
|
-
# | url | Any URL | On |
|
40
|
-
# | file | Local disk | On |
|
41
|
-
# | facebook | Facebook | On |
|
42
|
-
# | dropbox | Dropbox | Off |
|
43
|
-
# | gdrive | Google Drive | On |
|
44
|
-
# | box | Box | On |
|
45
|
-
# | skydrive | SkyDrive | On |
|
46
|
-
# | instagram | Instagram | On |
|
47
|
-
# | evernote | Evernote | On |
|
48
|
-
# | vk | VK | Off |
|
49
|
-
# |________________________________________|
|
50
|
-
|
51
|
-
# for locale option use:
|
52
|
-
# locale: "en"
|
53
|
-
|
54
|
-
# for autostore option use:
|
55
|
-
# autostore: true #true or false
|
56
|
-
|
57
|
-
# for manual start (which means you will need to initialize uploaders yourself) use:
|
58
|
-
# manual_start: false # true or false
|
59
|
-
|
60
|
-
# for path value use:
|
61
|
-
# path_value: true # true or false
|
62
|
-
# (important for input values - see https://uploadcare.com/documentation/widget/#input-value)
|
63
|
-
|
64
|
-
development:
|
65
|
-
<<: *defaults
|
66
|
-
|
67
|
-
test:
|
68
|
-
<<: *defaults
|
69
|
-
|
70
|
-
production:
|
71
|
-
<<: *defaults
|