aerogel-media 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +14 -0
- data/Rakefile +1 -0
- data/aerogel-media.gemspec +26 -0
- data/app/helpers/README.md +7 -0
- data/app/helpers/image_tag.rb +26 -0
- data/app/routes/README.md +7 -0
- data/assets/README.md +1 -0
- data/assets/javascripts/aerogel-media.js.coffee +4 -0
- data/assets/javascripts/aerogel-media/enable-fancybox.js.coffee +36 -0
- data/assets/javascripts/aerogel-media/smart-file-input.js.coffee +132 -0
- data/assets/stylesheets/aerogel-media.css.scss +2 -0
- data/assets/stylesheets/aerogel-media/smart-file-input.css.scss +12 -0
- data/assets/vendor/fancybox2.css.scss +1 -0
- data/assets/vendor/fancybox2.js.coffee +1 -0
- data/assets/vendor/fancybox2/blank.gif +0 -0
- data/assets/vendor/fancybox2/fancybox_loading.gif +0 -0
- data/assets/vendor/fancybox2/fancybox_loading@2x.gif +0 -0
- data/assets/vendor/fancybox2/fancybox_overlay.png +0 -0
- data/assets/vendor/fancybox2/fancybox_sprite.png +0 -0
- data/assets/vendor/fancybox2/fancybox_sprite@2x.png +0 -0
- data/assets/vendor/fancybox2/helpers/fancybox_buttons.png +0 -0
- data/assets/vendor/fancybox2/helpers/jquery.fancybox-buttons.css +97 -0
- data/assets/vendor/fancybox2/helpers/jquery.fancybox-buttons.js +122 -0
- data/assets/vendor/fancybox2/helpers/jquery.fancybox-media.js +199 -0
- data/assets/vendor/fancybox2/helpers/jquery.fancybox-thumbs.css +55 -0
- data/assets/vendor/fancybox2/helpers/jquery.fancybox-thumbs.js +162 -0
- data/assets/vendor/fancybox2/jquery.fancybox.css +274 -0
- data/assets/vendor/fancybox2/jquery.fancybox.js +2020 -0
- data/assets/vendor/fancybox2/jquery.fancybox.pack.js +46 -0
- data/config/README.md +3 -0
- data/config/development/.keep +0 -0
- data/config/production/.keep +0 -0
- data/db/model/README.md +1 -0
- data/db/seed/README.md +1 -0
- data/db/seed/development/.keep +0 -0
- data/db/seed/production/.keep +0 -0
- data/db/seed/seed.template +42 -0
- data/lib/aerogel/media.rb +19 -0
- data/lib/aerogel/media/core.rb +46 -0
- data/lib/aerogel/media/field_types.rb +61 -0
- data/lib/aerogel/media/model.rb +60 -0
- data/lib/aerogel/media/uploaded_file.rb +15 -0
- data/lib/aerogel/media/version.rb +5 -0
- data/locales/aerogel-forms.en.yml +8 -0
- data/locales/aerogel-forms.ru.yml +8 -0
- data/locales/models.en.yml +14 -0
- data/locales/models.ru.yml +13 -0
- data/public/README.md +1 -0
- data/rake/README.md +3 -0
- data/views/README.md +1 -0
- data/views/form_builder/standard/field_media-file.erb +48 -0
- data/views/form_builder/standard/field_media-image.erb +50 -0
- metadata +155 -0
metadata
ADDED
@@ -0,0 +1,155 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aerogel-media
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.4.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alex Kukushkin
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-04-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aerogel-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: dragonfly
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: File attachments for aerogel models
|
70
|
+
email:
|
71
|
+
- alex@kukushk.in
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- Gemfile
|
78
|
+
- LICENSE.txt
|
79
|
+
- README.md
|
80
|
+
- Rakefile
|
81
|
+
- aerogel-media.gemspec
|
82
|
+
- app/helpers/README.md
|
83
|
+
- app/helpers/image_tag.rb
|
84
|
+
- app/routes/README.md
|
85
|
+
- assets/README.md
|
86
|
+
- assets/javascripts/aerogel-media.js.coffee
|
87
|
+
- assets/javascripts/aerogel-media/enable-fancybox.js.coffee
|
88
|
+
- assets/javascripts/aerogel-media/smart-file-input.js.coffee
|
89
|
+
- assets/stylesheets/aerogel-media.css.scss
|
90
|
+
- assets/stylesheets/aerogel-media/smart-file-input.css.scss
|
91
|
+
- assets/vendor/fancybox2.css.scss
|
92
|
+
- assets/vendor/fancybox2.js.coffee
|
93
|
+
- assets/vendor/fancybox2/blank.gif
|
94
|
+
- assets/vendor/fancybox2/fancybox_loading.gif
|
95
|
+
- assets/vendor/fancybox2/fancybox_loading@2x.gif
|
96
|
+
- assets/vendor/fancybox2/fancybox_overlay.png
|
97
|
+
- assets/vendor/fancybox2/fancybox_sprite.png
|
98
|
+
- assets/vendor/fancybox2/fancybox_sprite@2x.png
|
99
|
+
- assets/vendor/fancybox2/helpers/fancybox_buttons.png
|
100
|
+
- assets/vendor/fancybox2/helpers/jquery.fancybox-buttons.css
|
101
|
+
- assets/vendor/fancybox2/helpers/jquery.fancybox-buttons.js
|
102
|
+
- assets/vendor/fancybox2/helpers/jquery.fancybox-media.js
|
103
|
+
- assets/vendor/fancybox2/helpers/jquery.fancybox-thumbs.css
|
104
|
+
- assets/vendor/fancybox2/helpers/jquery.fancybox-thumbs.js
|
105
|
+
- assets/vendor/fancybox2/jquery.fancybox.css
|
106
|
+
- assets/vendor/fancybox2/jquery.fancybox.js
|
107
|
+
- assets/vendor/fancybox2/jquery.fancybox.pack.js
|
108
|
+
- config/README.md
|
109
|
+
- config/development/.keep
|
110
|
+
- config/production/.keep
|
111
|
+
- db/model/README.md
|
112
|
+
- db/seed/README.md
|
113
|
+
- db/seed/development/.keep
|
114
|
+
- db/seed/production/.keep
|
115
|
+
- db/seed/seed.template
|
116
|
+
- lib/aerogel/media.rb
|
117
|
+
- lib/aerogel/media/core.rb
|
118
|
+
- lib/aerogel/media/field_types.rb
|
119
|
+
- lib/aerogel/media/model.rb
|
120
|
+
- lib/aerogel/media/uploaded_file.rb
|
121
|
+
- lib/aerogel/media/version.rb
|
122
|
+
- locales/aerogel-forms.en.yml
|
123
|
+
- locales/aerogel-forms.ru.yml
|
124
|
+
- locales/models.en.yml
|
125
|
+
- locales/models.ru.yml
|
126
|
+
- public/README.md
|
127
|
+
- rake/README.md
|
128
|
+
- views/README.md
|
129
|
+
- views/form_builder/standard/field_media-file.erb
|
130
|
+
- views/form_builder/standard/field_media-image.erb
|
131
|
+
homepage: ''
|
132
|
+
licenses:
|
133
|
+
- MIT
|
134
|
+
metadata: {}
|
135
|
+
post_install_message:
|
136
|
+
rdoc_options: []
|
137
|
+
require_paths:
|
138
|
+
- lib
|
139
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
requirements: []
|
150
|
+
rubyforge_project:
|
151
|
+
rubygems_version: 2.2.2
|
152
|
+
signing_key:
|
153
|
+
specification_version: 4
|
154
|
+
summary: File attachments for aerogel models
|
155
|
+
test_files: []
|