aerogel-media 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +14 -0
  6. data/Rakefile +1 -0
  7. data/aerogel-media.gemspec +26 -0
  8. data/app/helpers/README.md +7 -0
  9. data/app/helpers/image_tag.rb +26 -0
  10. data/app/routes/README.md +7 -0
  11. data/assets/README.md +1 -0
  12. data/assets/javascripts/aerogel-media.js.coffee +4 -0
  13. data/assets/javascripts/aerogel-media/enable-fancybox.js.coffee +36 -0
  14. data/assets/javascripts/aerogel-media/smart-file-input.js.coffee +132 -0
  15. data/assets/stylesheets/aerogel-media.css.scss +2 -0
  16. data/assets/stylesheets/aerogel-media/smart-file-input.css.scss +12 -0
  17. data/assets/vendor/fancybox2.css.scss +1 -0
  18. data/assets/vendor/fancybox2.js.coffee +1 -0
  19. data/assets/vendor/fancybox2/blank.gif +0 -0
  20. data/assets/vendor/fancybox2/fancybox_loading.gif +0 -0
  21. data/assets/vendor/fancybox2/fancybox_loading@2x.gif +0 -0
  22. data/assets/vendor/fancybox2/fancybox_overlay.png +0 -0
  23. data/assets/vendor/fancybox2/fancybox_sprite.png +0 -0
  24. data/assets/vendor/fancybox2/fancybox_sprite@2x.png +0 -0
  25. data/assets/vendor/fancybox2/helpers/fancybox_buttons.png +0 -0
  26. data/assets/vendor/fancybox2/helpers/jquery.fancybox-buttons.css +97 -0
  27. data/assets/vendor/fancybox2/helpers/jquery.fancybox-buttons.js +122 -0
  28. data/assets/vendor/fancybox2/helpers/jquery.fancybox-media.js +199 -0
  29. data/assets/vendor/fancybox2/helpers/jquery.fancybox-thumbs.css +55 -0
  30. data/assets/vendor/fancybox2/helpers/jquery.fancybox-thumbs.js +162 -0
  31. data/assets/vendor/fancybox2/jquery.fancybox.css +274 -0
  32. data/assets/vendor/fancybox2/jquery.fancybox.js +2020 -0
  33. data/assets/vendor/fancybox2/jquery.fancybox.pack.js +46 -0
  34. data/config/README.md +3 -0
  35. data/config/development/.keep +0 -0
  36. data/config/production/.keep +0 -0
  37. data/db/model/README.md +1 -0
  38. data/db/seed/README.md +1 -0
  39. data/db/seed/development/.keep +0 -0
  40. data/db/seed/production/.keep +0 -0
  41. data/db/seed/seed.template +42 -0
  42. data/lib/aerogel/media.rb +19 -0
  43. data/lib/aerogel/media/core.rb +46 -0
  44. data/lib/aerogel/media/field_types.rb +61 -0
  45. data/lib/aerogel/media/model.rb +60 -0
  46. data/lib/aerogel/media/uploaded_file.rb +15 -0
  47. data/lib/aerogel/media/version.rb +5 -0
  48. data/locales/aerogel-forms.en.yml +8 -0
  49. data/locales/aerogel-forms.ru.yml +8 -0
  50. data/locales/models.en.yml +14 -0
  51. data/locales/models.ru.yml +13 -0
  52. data/public/README.md +1 -0
  53. data/rake/README.md +3 -0
  54. data/views/README.md +1 -0
  55. data/views/form_builder/standard/field_media-file.erb +48 -0
  56. data/views/form_builder/standard/field_media-image.erb +50 -0
  57. 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: []