attachinary 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +96 -0
- data/Rakefile +43 -0
- data/app/controllers/attachinary/application_controller.rb +4 -0
- data/app/controllers/attachinary/cors_controller.rb +9 -0
- data/app/controllers/attachinary/files_controller.rb +21 -0
- data/app/models/attachinary/attachment.rb +10 -0
- data/app/models/attachinary/file.rb +39 -0
- data/config/routes.rb +4 -0
- data/lib/attachinary.rb +4 -0
- data/lib/attachinary/active_record_extension.rb +187 -0
- data/lib/attachinary/engine.rb +25 -0
- data/lib/attachinary/simple_form.rb +18 -0
- data/lib/attachinary/version.rb +3 -0
- data/lib/attachinary/view_helpers.rb +48 -0
- data/vendor/assets/javascripts/attachinary.js +5 -0
- data/vendor/assets/javascripts/attachinary/jquery.attachinary.js.coffee +179 -0
- data/vendor/assets/javascripts/attachinary/jquery.cloudinary.js +311 -0
- data/vendor/assets/javascripts/attachinary/jquery.fileupload.js +904 -0
- data/vendor/assets/javascripts/attachinary/jquery.iframe-transport.js +171 -0
- data/vendor/assets/javascripts/attachinary/jquery.ui.widget.js +282 -0
- metadata +182 -0
metadata
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: attachinary
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Milovan Zogovic
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-06-13 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &70110287147140 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.2'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70110287147140
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: cloudinary
|
27
|
+
requirement: &70110287144700 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.24
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70110287144700
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: sqlite3
|
38
|
+
requirement: &70110287143860 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70110287143860
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rspec-rails
|
49
|
+
requirement: &70110287142160 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.5'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70110287142160
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: valid_attribute
|
60
|
+
requirement: &70110287140440 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70110287140440
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: capybara
|
71
|
+
requirement: &70110287139280 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70110287139280
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: factory_girl_rails
|
82
|
+
requirement: &70110287138320 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ~>
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '3.0'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70110287138320
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: webmock
|
93
|
+
requirement: &70110287134900 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70110287134900
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: launchy
|
104
|
+
requirement: &70110287134260 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *70110287134260
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: guard-rspec
|
115
|
+
requirement: &70110287133400 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *70110287133400
|
124
|
+
description: Attachments handler for Rails that uses Cloudinary for storage.
|
125
|
+
email:
|
126
|
+
- milovan.zogovic@gmail.com
|
127
|
+
executables: []
|
128
|
+
extensions: []
|
129
|
+
extra_rdoc_files: []
|
130
|
+
files:
|
131
|
+
- app/controllers/attachinary/application_controller.rb
|
132
|
+
- app/controllers/attachinary/cors_controller.rb
|
133
|
+
- app/controllers/attachinary/files_controller.rb
|
134
|
+
- app/models/attachinary/attachment.rb
|
135
|
+
- app/models/attachinary/file.rb
|
136
|
+
- config/routes.rb
|
137
|
+
- lib/attachinary/active_record_extension.rb
|
138
|
+
- lib/attachinary/engine.rb
|
139
|
+
- lib/attachinary/simple_form.rb
|
140
|
+
- lib/attachinary/version.rb
|
141
|
+
- lib/attachinary/view_helpers.rb
|
142
|
+
- lib/attachinary.rb
|
143
|
+
- vendor/assets/javascripts/attachinary/jquery.attachinary.js.coffee
|
144
|
+
- vendor/assets/javascripts/attachinary/jquery.cloudinary.js
|
145
|
+
- vendor/assets/javascripts/attachinary/jquery.fileupload.js
|
146
|
+
- vendor/assets/javascripts/attachinary/jquery.iframe-transport.js
|
147
|
+
- vendor/assets/javascripts/attachinary/jquery.ui.widget.js
|
148
|
+
- vendor/assets/javascripts/attachinary.js
|
149
|
+
- MIT-LICENSE
|
150
|
+
- Rakefile
|
151
|
+
- README.md
|
152
|
+
homepage: ''
|
153
|
+
licenses: []
|
154
|
+
post_install_message:
|
155
|
+
rdoc_options: []
|
156
|
+
require_paths:
|
157
|
+
- lib
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
none: false
|
160
|
+
requirements:
|
161
|
+
- - ! '>='
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
segments:
|
165
|
+
- 0
|
166
|
+
hash: -1683407810897859853
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
+
none: false
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
segments:
|
174
|
+
- 0
|
175
|
+
hash: -1683407810897859853
|
176
|
+
requirements: []
|
177
|
+
rubyforge_project:
|
178
|
+
rubygems_version: 1.8.10
|
179
|
+
signing_key:
|
180
|
+
specification_version: 3
|
181
|
+
summary: attachinary-0.0.1
|
182
|
+
test_files: []
|