attachwave 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/app/assets/config/attachwave_manifest.js +2 -0
- data/app/assets/config/manifest.js +9 -0
- data/app/assets/javascripts/attachwave/attachwave.js +124 -0
- data/app/assets/javascripts/attachwave/controllers/filepond_controller.js +39 -0
- data/app/assets/javascripts/attachwave/controllers/index.js +6 -0
- data/app/assets/javascripts/attachwave/filepond-plugin-file-validate-size.min.js +9 -0
- data/app/assets/javascripts/attachwave/filepond-plugin-file-validate-type.js +231 -0
- data/app/assets/javascripts/attachwave/filepond-plugin-file-validate-type.min.js +9 -0
- data/app/assets/javascripts/attachwave/filepond.esm.js +9767 -0
- data/app/assets/javascripts/attachwave/filepond.esm.min.js +9 -0
- data/app/assets/javascripts/attachwave/filepond.js +12782 -0
- data/app/assets/javascripts/attachwave/filepond.min.js +9 -0
- data/app/assets/javascripts/attachwave/jquery.fileuploader.min.js +7 -0
- data/app/assets/stylesheets/attachwave/filepond.css +1049 -0
- data/app/assets/stylesheets/attachwave/filepond.min.css +8 -0
- data/app/assets/stylesheets/attachwave/jquery.fileuploader.min.css +8 -0
- data/app/controllers/attachwave/attachments_controller.rb +117 -0
- data/app/models/attachwave/adjunto.rb +78 -0
- data/app/uploaders/attachwave/attachments_uploader.rb +36 -0
- data/app/views/attachwave/attachments/_form.html.erb +12 -0
- data/app/views/attachwave/attachments/_form_simple.html.erb +20 -0
- data/app/views/attachwave/attachments/_index.html.erb +21 -0
- data/app/views/attachwave/attachments/_row.html.erb +26 -0
- data/app/views/attachwave/attachments/destroy.js.erb +5 -0
- data/app/views/attachwave/attachments/index.html.erb +11 -0
- data/app/views/attachwave/attachments/new.html.erb +1 -0
- data/app/views/attachwave/attachments/show.html.erb +1 -0
- data/config/routes.rb +22 -0
- data/lib/attachwave/engine.rb +66 -0
- data/lib/attachwave.rb +3 -0
- metadata +127 -0
metadata
ADDED
@@ -0,0 +1,127 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: attachwave
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Govani Gregorio Sánchez Orduña
|
8
|
+
bindir: bin
|
9
|
+
cert_chain: []
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: rails
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - ">="
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '7.0'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '7.0'
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: carrierwave
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '2.0'
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: sqlite3
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
type: :development
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: rspec-rails
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
type: :development
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
description: Attachwave es un engine Rails que permite manejar adjuntos genéricos
|
69
|
+
en cualquier modelo usando CarrierWave y relaciones polimórficas.
|
70
|
+
email:
|
71
|
+
- tu_correo@example.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- app/assets/config/attachwave_manifest.js
|
77
|
+
- app/assets/config/manifest.js
|
78
|
+
- app/assets/javascripts/attachwave/attachwave.js
|
79
|
+
- app/assets/javascripts/attachwave/controllers/filepond_controller.js
|
80
|
+
- app/assets/javascripts/attachwave/controllers/index.js
|
81
|
+
- app/assets/javascripts/attachwave/filepond-plugin-file-validate-size.min.js
|
82
|
+
- app/assets/javascripts/attachwave/filepond-plugin-file-validate-type.js
|
83
|
+
- app/assets/javascripts/attachwave/filepond-plugin-file-validate-type.min.js
|
84
|
+
- app/assets/javascripts/attachwave/filepond.esm.js
|
85
|
+
- app/assets/javascripts/attachwave/filepond.esm.min.js
|
86
|
+
- app/assets/javascripts/attachwave/filepond.js
|
87
|
+
- app/assets/javascripts/attachwave/filepond.min.js
|
88
|
+
- app/assets/javascripts/attachwave/jquery.fileuploader.min.js
|
89
|
+
- app/assets/stylesheets/attachwave/filepond.css
|
90
|
+
- app/assets/stylesheets/attachwave/filepond.min.css
|
91
|
+
- app/assets/stylesheets/attachwave/jquery.fileuploader.min.css
|
92
|
+
- app/controllers/attachwave/attachments_controller.rb
|
93
|
+
- app/models/attachwave/adjunto.rb
|
94
|
+
- app/uploaders/attachwave/attachments_uploader.rb
|
95
|
+
- app/views/attachwave/attachments/_form.html.erb
|
96
|
+
- app/views/attachwave/attachments/_form_simple.html.erb
|
97
|
+
- app/views/attachwave/attachments/_index.html.erb
|
98
|
+
- app/views/attachwave/attachments/_row.html.erb
|
99
|
+
- app/views/attachwave/attachments/destroy.js.erb
|
100
|
+
- app/views/attachwave/attachments/index.html.erb
|
101
|
+
- app/views/attachwave/attachments/new.html.erb
|
102
|
+
- app/views/attachwave/attachments/show.html.erb
|
103
|
+
- config/routes.rb
|
104
|
+
- lib/attachwave.rb
|
105
|
+
- lib/attachwave/engine.rb
|
106
|
+
homepage: https://github.com/tu_usuario/attachwave
|
107
|
+
licenses:
|
108
|
+
- MIT
|
109
|
+
metadata: {}
|
110
|
+
rdoc_options: []
|
111
|
+
require_paths:
|
112
|
+
- lib
|
113
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
requirements: []
|
124
|
+
rubygems_version: 3.6.9
|
125
|
+
specification_version: 4
|
126
|
+
summary: Engine para subir adjuntos con CarrierWave
|
127
|
+
test_files: []
|