Package not found. Please check the package name and try again.
file_share 0.1.4 → 0.1.5
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.
- data/VERSION +1 -1
- data/app/controllers/file_attachments_controller.rb +0 -5
- data/app/helpers/file_share/application_helper.rb +16 -14
- data/app/models/file_container.rb +4 -4
- data/app/views/file_attachments/_file_attachments.html.erb +0 -3
- data/app/views/file_attachments/_file_container_select.html.erb +1 -1
- data/app/views/file_attachments/_plupload_with_listing.html.erb +6 -10
- data/app/views/layouts/application.html.erb +9 -8
- data/config/blueprint_settings.yml +1 -1
- data/spec/controllers/file_attachments_controller_spec.rb +0 -13
- data/spec/models/file_container_spec.rb +5 -0
- metadata +100 -101
- data/public/images/rails.png +0 -0
- /data/public/javascripts/{file_share.js → file_share/file_share.js} +0 -0
- /data/public/javascripts/{file_share_behaviors.js → file_share/file_share_behaviors.js} +0 -0
- /data/public/javascripts/{idselector.js → file_share/idselector.js} +0 -0
- /data/public/javascripts/{jquery-1.3.2.min.js → file_share/jquery-1.3.2.min.js} +0 -0
- /data/public/javascripts/{jquery-ui-1.7.2.custom.min.js → file_share/jquery-ui-1.7.2.custom.min.js} +0 -0
- /data/public/javascripts/{jquery.clonePosition.js → file_share/jquery.clonePosition.js} +0 -0
- /data/public/javascripts/{jquery.js → file_share/jquery.js} +0 -0
- /data/public/javascripts/{jquery.qtip-1.0.0-rc3.js → file_share/jquery.qtip-1.0.0-rc3.js} +0 -0
- /data/public/javascripts/{jquery.qtip-1.0.0-rc3.min.js → file_share/jquery.qtip-1.0.0-rc3.min.js} +0 -0
- /data/public/javascripts/{jquery.string.1.0-min.js → file_share/jquery.string.1.0-min.js} +0 -0
- /data/public/javascripts/{jquery.tablesorter.min.js → file_share/jquery.tablesorter.min.js} +0 -0
- /data/public/javascripts/{lowpro.jquery.js → file_share/lowpro.jquery.js} +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/gears_init.js +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/jquery.plupload.queue.min.js +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/plupload.browserplus.min.js +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/plupload.flash.min.js +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/plupload.flash.swf +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/plupload.full.min.js +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/plupload.gears.min.js +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/plupload.html4.min.js +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/plupload.html5.min.js +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/plupload.min.js +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/plupload.silverlight.min.js +0 -0
- /data/public/javascripts/{plupload → file_share/plupload}/plupload.silverlight.xap +0 -0
- /data/public/javascripts/{rails.js → file_share/rails.js} +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/grid.css +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/cross.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/doc.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/email.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/external.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/feed.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/im.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/key.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/pdf.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/tick.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/visited.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/icons/xls.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/ie.css +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/oldgrid.css +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/buttons/icons/cross.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/buttons/icons/key.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/buttons/icons/tick.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/buttons/readme.txt +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/buttons/screen.css +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/fancy-type/readme.txt +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/fancy-type/screen.css +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/doc.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/email.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/external.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/feed.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/im.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/pdf.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/visited.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/xls.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/readme.txt +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/screen.css +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/rtl/readme.txt +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/rtl/screen.css +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/silksprite/sprite.css +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/silksprite/sprites.png +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/print.css +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/readme.txt +0 -0
- /data/public/stylesheets/{blueprint → file_share/blueprint}/screen.css +0 -0
- /data/public/stylesheets/{error_messages.css → file_share/error_messages.css} +0 -0
- /data/public/stylesheets/{formtastic.css → file_share/formtastic.css} +0 -0
- /data/public/stylesheets/{formtastic_changes.css → file_share/formtastic_changes.css} +0 -0
- /data/public/stylesheets/{main_elements.css → file_share/main_elements.css} +0 -0
- /data/public/stylesheets/{plupload → file_share/plupload}/backgrounds.gif +0 -0
- /data/public/stylesheets/{plupload → file_share/plupload}/buttons-disabled.png +0 -0
- /data/public/stylesheets/{plupload → file_share/plupload}/buttons.png +0 -0
- /data/public/stylesheets/{plupload → file_share/plupload}/delete.gif +0 -0
- /data/public/stylesheets/{plupload → file_share/plupload}/done.gif +0 -0
- /data/public/stylesheets/{plupload → file_share/plupload}/error.gif +0 -0
- /data/public/stylesheets/{plupload → file_share/plupload}/screen.css +0 -0
- /data/public/stylesheets/{plupload → file_share/plupload}/transp50.png +0 -0
- /data/public/stylesheets/{reset.css → file_share/reset.css} +0 -0
- /data/public/stylesheets/{scaffold.css → file_share/scaffold.css} +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-icons_222222_256x240.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-icons_2e83ff_256x240.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-icons_454545_256x240.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-icons_888888_256x240.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-icons_cd0a0a_256x240.png +0 -0
- /data/public/stylesheets/{smoothness → file_share/smoothness}/jquery-ui-1.7.2.custom.css +0 -0
- /data/public/stylesheets/{tablesorter → file_share/tablesorter}/blue/asc.gif +0 -0
- /data/public/stylesheets/{tablesorter → file_share/tablesorter}/blue/bg.gif +0 -0
- /data/public/stylesheets/{tablesorter → file_share/tablesorter}/blue/desc.gif +0 -0
- /data/public/stylesheets/{tablesorter → file_share/tablesorter}/blue/style.css +0 -0
- /data/public/stylesheets/{text_and_colors.css → file_share/text_and_colors.css} +0 -0
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.5
|
|
@@ -29,9 +29,6 @@ class FileAttachmentsController < FileShare::ApplicationController
|
|
|
29
29
|
#end
|
|
30
30
|
#session[:return_to] = nil
|
|
31
31
|
end
|
|
32
|
-
def load_containers
|
|
33
|
-
@file_containers = FileContainer.all
|
|
34
|
-
end
|
|
35
32
|
protected
|
|
36
33
|
public
|
|
37
34
|
def new
|
|
@@ -42,7 +39,6 @@ class FileAttachmentsController < FileShare::ApplicationController
|
|
|
42
39
|
def index
|
|
43
40
|
@orphans = FileAttachment.orphans
|
|
44
41
|
@files = FileAttachment.attached
|
|
45
|
-
load_containers
|
|
46
42
|
end
|
|
47
43
|
|
|
48
44
|
def download
|
|
@@ -88,7 +84,6 @@ class FileAttachmentsController < FileShare::ApplicationController
|
|
|
88
84
|
|
|
89
85
|
def edit
|
|
90
86
|
@file_attachment = FileAttachment.find(params[:id])
|
|
91
|
-
load_containers
|
|
92
87
|
end
|
|
93
88
|
|
|
94
89
|
def update
|
|
@@ -89,25 +89,27 @@ module FileShare
|
|
|
89
89
|
})
|
|
90
90
|
end
|
|
91
91
|
end
|
|
92
|
-
|
|
92
|
+
def file_share_asset_prefix
|
|
93
|
+
'file_share/'
|
|
94
|
+
end
|
|
93
95
|
def file_share_javascript_includes
|
|
94
96
|
list = [
|
|
95
|
-
"jquery-ui-1.7.2.custom.min.js",
|
|
96
|
-
"jquery.tablesorter.min.js",
|
|
97
|
-
"jquery.string.1.0-min.js",
|
|
98
|
-
"jquery.clonePosition.js",
|
|
99
|
-
"lowpro.jquery.js",
|
|
100
|
-
"jquery.qtip-1.0.0-rc3.js",
|
|
101
|
-
"rails",
|
|
102
|
-
"file_share_behaviors",
|
|
103
|
-
"file_share",
|
|
97
|
+
"#{file_share_asset_prefix}jquery-ui-1.7.2.custom.min.js",
|
|
98
|
+
"#{file_share_asset_prefix}jquery.tablesorter.min.js",
|
|
99
|
+
"#{file_share_asset_prefix}jquery.string.1.0-min.js",
|
|
100
|
+
"#{file_share_asset_prefix}jquery.clonePosition.js",
|
|
101
|
+
"#{file_share_asset_prefix}lowpro.jquery.js",
|
|
102
|
+
"#{file_share_asset_prefix}jquery.qtip-1.0.0-rc3.js",
|
|
103
|
+
"#{file_share_asset_prefix}rails",
|
|
104
|
+
"#{file_share_asset_prefix}file_share_behaviors",
|
|
105
|
+
"#{file_share_asset_prefix}file_share",
|
|
104
106
|
"http://www.google.com/jsapi",
|
|
105
|
-
"plupload/gears_init",
|
|
106
|
-
"plupload/plupload.full.min.js",
|
|
107
|
-
"plupload/jquery.plupload.queue.min.js"
|
|
107
|
+
"#{file_share_asset_prefix}plupload/gears_init",
|
|
108
|
+
"#{file_share_asset_prefix}plupload/plupload.full.min.js",
|
|
109
|
+
"#{file_share_asset_prefix}plupload/jquery.plupload.queue.min.js"
|
|
108
110
|
]
|
|
109
111
|
unless Rails.env == 'production'
|
|
110
|
-
list.unshift("jquery")
|
|
112
|
+
list.unshift("#{file_share_asset_prefix}jquery")
|
|
111
113
|
else
|
|
112
114
|
list.unshift("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js")
|
|
113
115
|
end
|
|
@@ -4,17 +4,17 @@ module FileContainer
|
|
|
4
4
|
@@types ||= []
|
|
5
5
|
|
|
6
6
|
def self.included(base)
|
|
7
|
+
return if @@types.include?(base)
|
|
8
|
+
|
|
7
9
|
@@types << base
|
|
8
10
|
|
|
9
11
|
base.instance_eval do
|
|
10
12
|
include Associations
|
|
11
13
|
end
|
|
12
14
|
end
|
|
13
|
-
|
|
15
|
+
|
|
14
16
|
def self.all
|
|
15
|
-
types.
|
|
16
|
-
type.all
|
|
17
|
-
end.flatten! || []
|
|
17
|
+
@all ||= types.map{|t| t.where(1)} # lazy load :all of each type
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
module Associations
|
|
@@ -24,14 +24,12 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
26
|
<% if has_authorization?(:update, FileAttachment.new) %>
|
|
27
|
-
<%- @file_containers = FileContainer.all unless defined?(@file_containers) %>
|
|
28
27
|
<form id="file_attachment_dynamic_form" class="formtastic" method="post" action="<%= file_attachments_path %>" style="display: none; padding: 5px 0;">
|
|
29
28
|
<div style="margin: 0pt; padding: 0pt; display: inline;">
|
|
30
29
|
<input type="hidden" value="put" name="_method" />
|
|
31
30
|
<input type="hidden" value="<%= form_authenticity_token %>" name="authenticity_token" />
|
|
32
31
|
</div>
|
|
33
32
|
<input type="text" id="file_attachment_name" name="file_attachment[name]" />
|
|
34
|
-
<% unless @file_containers.empty? %>
|
|
35
33
|
<select id="file_attachment_file_container" name="file_attachment[file_container]">
|
|
36
34
|
<%= render({
|
|
37
35
|
:partial => 'file_attachments/file_container_select',
|
|
@@ -40,7 +38,6 @@
|
|
|
40
38
|
}
|
|
41
39
|
}) %>
|
|
42
40
|
</select>
|
|
43
|
-
<% end %>
|
|
44
41
|
<textarea id="file_attachment_description" style="height: 70px; width: 69%" name="file_attachment[description]"></textarea>
|
|
45
42
|
<br />
|
|
46
43
|
<input type="submit" value="Update" /> | <a href="#" class="cancel_dynamic_form fake_button">Cancel</a>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<option value=""></option>
|
|
2
|
-
<%
|
|
2
|
+
<% FileContainer.all.flatten.group_by(&:class).each do |klass, file_containers| %>
|
|
3
3
|
<optgroup label="<%= klass.to_s.pluralize %>">
|
|
4
4
|
<%= render({
|
|
5
5
|
:partial => 'file_attachments/file_container_option',
|
|
@@ -117,7 +117,12 @@
|
|
|
117
117
|
<%= link_to_if params[:std] == '1', "Several at once", url_for(:controller => controller_name, :action => action_name, :std => 0), :class => 'fake_button' %>
|
|
118
118
|
</p>
|
|
119
119
|
|
|
120
|
-
<% if
|
|
120
|
+
<% if instance_variable_defined?("@#{controller_name.singularize}") %>
|
|
121
|
+
<% instance = instance_variable_get("@#{controller_name.singularize}") %>
|
|
122
|
+
<%= hidden_field_tag 'file_attachment[file_container]', "#{instance.class}_#{instance.id}", {
|
|
123
|
+
:id => 'file_container_select'
|
|
124
|
+
} %>
|
|
125
|
+
<% elsif !FileContainer.types.empty? %>
|
|
121
126
|
<p>
|
|
122
127
|
<select id="file_container_select" name="file_attachment[file_container]">
|
|
123
128
|
<%= render({
|
|
@@ -128,15 +133,6 @@
|
|
|
128
133
|
}) %>
|
|
129
134
|
</select>
|
|
130
135
|
</p>
|
|
131
|
-
<% elsif instance_variable_defined?("@#{controller_name.singularize}") %>
|
|
132
|
-
<% instance = instance_variable_get("@#{controller_name.singularize}") %>
|
|
133
|
-
<%= hidden_field_tag 'file_attachment[file_container]', "#{instance.class}_#{instance.id}", {
|
|
134
|
-
:id => 'file_container_select'
|
|
135
|
-
} %>
|
|
136
|
-
<% else %>
|
|
137
|
-
<%= hidden_field_tag 'file_attachment[file_container]', nil, {
|
|
138
|
-
:id => 'file_container_select'
|
|
139
|
-
} %>
|
|
140
136
|
<% end %>
|
|
141
137
|
|
|
142
138
|
<% if params[:std] && params[:std] == '1' %>
|
|
@@ -4,17 +4,18 @@
|
|
|
4
4
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
|
5
5
|
<!-- <link rel="icon" type="image/png" href="/images/favorite.png"/> -->
|
|
6
6
|
<title>FileShare</title>
|
|
7
|
-
<%= stylesheet_link_tag "blueprint/screen", :media => "screen, projection" %>
|
|
8
|
-
<%= stylesheet_link_tag "plupload/screen", :media => "screen, projection" %>
|
|
9
|
-
<%= stylesheet_link_tag "blueprint/print", :media => "print" %>
|
|
7
|
+
<%= stylesheet_link_tag "#{file_share_asset_prefix}blueprint/screen", :media => "screen, projection" %>
|
|
8
|
+
<%= stylesheet_link_tag "#{file_share_asset_prefix}plupload/screen", :media => "screen, projection" %>
|
|
9
|
+
<%= stylesheet_link_tag "#{file_share_asset_prefix}blueprint/print", :media => "print" %>
|
|
10
10
|
<!--[if lt IE 8]>
|
|
11
|
-
<%= stylesheet_link_tag "blueprint/ie", :media => "screen, projection" %>
|
|
11
|
+
<%= stylesheet_link_tag "#{file_share_asset_prefix}blueprint/ie", :media => "screen, projection" %>
|
|
12
12
|
<![endif]-->
|
|
13
|
-
<%= stylesheet_link_tag "tablesorter/blue/style", :media => "screen" %>
|
|
14
|
-
<%= stylesheet_link_tag "smoothness/jquery-ui-1.7.2.custom.css" %>
|
|
13
|
+
<%= stylesheet_link_tag "#{file_share_asset_prefix}tablesorter/blue/style", :media => "screen" %>
|
|
14
|
+
<%= stylesheet_link_tag "#{file_share_asset_prefix}smoothness/jquery-ui-1.7.2.custom.css" %>
|
|
15
15
|
|
|
16
|
-
<%= stylesheet_link_tag
|
|
17
|
-
|
|
16
|
+
<%= stylesheet_link_tag "#{file_share_asset_prefix}error_messages",
|
|
17
|
+
"#{file_share_asset_prefix}formtastic", "#{file_share_asset_prefix}formtastic_changes",
|
|
18
|
+
"#{file_share_asset_prefix}main_elements", "#{file_share_asset_prefix}text_and_colors" %>
|
|
18
19
|
|
|
19
20
|
<%= javascript_include_tag file_share_javascript_includes %>
|
|
20
21
|
|
|
@@ -194,13 +194,6 @@ describe FileAttachmentsController do
|
|
|
194
194
|
assigns[:file_attachment].should eql @mock_file_attachment
|
|
195
195
|
end
|
|
196
196
|
|
|
197
|
-
it "loads potential containers as @file_containers" do
|
|
198
|
-
FileContainer.stub(:types).and_return([mock_container.class])
|
|
199
|
-
mock_container.class.should_receive(:all).and_return([mock_container])
|
|
200
|
-
get :edit, :id => "1"
|
|
201
|
-
assigns[:file_containers].should eql [mock_container]
|
|
202
|
-
end
|
|
203
|
-
|
|
204
197
|
end
|
|
205
198
|
|
|
206
199
|
describe ":update, :id => integer, :file_attachment => {}" do
|
|
@@ -305,12 +298,6 @@ describe FileAttachmentsController do
|
|
|
305
298
|
get :index
|
|
306
299
|
assigns[:files].should eql [mock_file_attachment]
|
|
307
300
|
end
|
|
308
|
-
it "loads potential containers as @file_containers" do
|
|
309
|
-
FileContainer.stub(:types).and_return([mock_container.class])
|
|
310
|
-
mock_container.class.should_receive(:all).and_return([mock_container])
|
|
311
|
-
get :index
|
|
312
|
-
assigns[:file_containers].should eql [mock_container]
|
|
313
|
-
end
|
|
314
301
|
it "renders the index template" do
|
|
315
302
|
get :index
|
|
316
303
|
response.should render_template("file_attachments/index")
|
|
@@ -20,4 +20,9 @@ describe FileContainer do
|
|
|
20
20
|
MockContainer.should_receive(:has_many)
|
|
21
21
|
MockContainer.send :include, FileContainer
|
|
22
22
|
end
|
|
23
|
+
it "lazy loads :all of each type" do
|
|
24
|
+
MockContainer.should_receive(:where).with(1)
|
|
25
|
+
MockContainer.send :include, FileContainer
|
|
26
|
+
FileContainer.all
|
|
27
|
+
end
|
|
23
28
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: file_share
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.1.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jason LaPier
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-12-
|
|
19
|
+
date: 2010-12-16 00:00:00 -08:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -329,104 +329,103 @@ files:
|
|
|
329
329
|
- public/422.html
|
|
330
330
|
- public/500.html
|
|
331
331
|
- public/favicon.ico
|
|
332
|
-
- public/
|
|
333
|
-
- public/javascripts/file_share.js
|
|
334
|
-
- public/javascripts/
|
|
335
|
-
- public/javascripts/
|
|
336
|
-
- public/javascripts/jquery-1.
|
|
337
|
-
- public/javascripts/jquery
|
|
338
|
-
- public/javascripts/jquery.
|
|
339
|
-
- public/javascripts/jquery.js
|
|
340
|
-
- public/javascripts/jquery.qtip-1.0.0-rc3.js
|
|
341
|
-
- public/javascripts/jquery.
|
|
342
|
-
- public/javascripts/jquery.
|
|
343
|
-
- public/javascripts/jquery.
|
|
344
|
-
- public/javascripts/
|
|
345
|
-
- public/javascripts/plupload/
|
|
346
|
-
- public/javascripts/plupload/
|
|
347
|
-
- public/javascripts/plupload/plupload.
|
|
348
|
-
- public/javascripts/plupload/plupload.flash.
|
|
349
|
-
- public/javascripts/plupload/plupload.
|
|
350
|
-
- public/javascripts/plupload/plupload.
|
|
351
|
-
- public/javascripts/plupload/plupload.
|
|
352
|
-
- public/javascripts/plupload/plupload.
|
|
353
|
-
- public/javascripts/plupload/plupload.
|
|
354
|
-
- public/javascripts/plupload/plupload.min.js
|
|
355
|
-
- public/javascripts/plupload/plupload.silverlight.
|
|
356
|
-
- public/javascripts/
|
|
357
|
-
- public/javascripts/rails.js
|
|
332
|
+
- public/javascripts/file_share/file_share.js
|
|
333
|
+
- public/javascripts/file_share/file_share_behaviors.js
|
|
334
|
+
- public/javascripts/file_share/idselector.js
|
|
335
|
+
- public/javascripts/file_share/jquery-1.3.2.min.js
|
|
336
|
+
- public/javascripts/file_share/jquery-ui-1.7.2.custom.min.js
|
|
337
|
+
- public/javascripts/file_share/jquery.clonePosition.js
|
|
338
|
+
- public/javascripts/file_share/jquery.js
|
|
339
|
+
- public/javascripts/file_share/jquery.qtip-1.0.0-rc3.js
|
|
340
|
+
- public/javascripts/file_share/jquery.qtip-1.0.0-rc3.min.js
|
|
341
|
+
- public/javascripts/file_share/jquery.string.1.0-min.js
|
|
342
|
+
- public/javascripts/file_share/jquery.tablesorter.min.js
|
|
343
|
+
- public/javascripts/file_share/lowpro.jquery.js
|
|
344
|
+
- public/javascripts/file_share/plupload/gears_init.js
|
|
345
|
+
- public/javascripts/file_share/plupload/jquery.plupload.queue.min.js
|
|
346
|
+
- public/javascripts/file_share/plupload/plupload.browserplus.min.js
|
|
347
|
+
- public/javascripts/file_share/plupload/plupload.flash.min.js
|
|
348
|
+
- public/javascripts/file_share/plupload/plupload.flash.swf
|
|
349
|
+
- public/javascripts/file_share/plupload/plupload.full.min.js
|
|
350
|
+
- public/javascripts/file_share/plupload/plupload.gears.min.js
|
|
351
|
+
- public/javascripts/file_share/plupload/plupload.html4.min.js
|
|
352
|
+
- public/javascripts/file_share/plupload/plupload.html5.min.js
|
|
353
|
+
- public/javascripts/file_share/plupload/plupload.min.js
|
|
354
|
+
- public/javascripts/file_share/plupload/plupload.silverlight.min.js
|
|
355
|
+
- public/javascripts/file_share/plupload/plupload.silverlight.xap
|
|
356
|
+
- public/javascripts/file_share/rails.js
|
|
358
357
|
- public/robots.txt
|
|
359
|
-
- public/stylesheets/blueprint/grid.css
|
|
360
|
-
- public/stylesheets/blueprint/icons/cross.png
|
|
361
|
-
- public/stylesheets/blueprint/icons/doc.png
|
|
362
|
-
- public/stylesheets/blueprint/icons/email.png
|
|
363
|
-
- public/stylesheets/blueprint/icons/external.png
|
|
364
|
-
- public/stylesheets/blueprint/icons/feed.png
|
|
365
|
-
- public/stylesheets/blueprint/icons/im.png
|
|
366
|
-
- public/stylesheets/blueprint/icons/key.png
|
|
367
|
-
- public/stylesheets/blueprint/icons/pdf.png
|
|
368
|
-
- public/stylesheets/blueprint/icons/tick.png
|
|
369
|
-
- public/stylesheets/blueprint/icons/visited.png
|
|
370
|
-
- public/stylesheets/blueprint/icons/xls.png
|
|
371
|
-
- public/stylesheets/blueprint/ie.css
|
|
372
|
-
- public/stylesheets/blueprint/oldgrid.css
|
|
373
|
-
- public/stylesheets/blueprint/plugins/buttons/icons/cross.png
|
|
374
|
-
- public/stylesheets/blueprint/plugins/buttons/icons/key.png
|
|
375
|
-
- public/stylesheets/blueprint/plugins/buttons/icons/tick.png
|
|
376
|
-
- public/stylesheets/blueprint/plugins/buttons/readme.txt
|
|
377
|
-
- public/stylesheets/blueprint/plugins/buttons/screen.css
|
|
378
|
-
- public/stylesheets/blueprint/plugins/fancy-type/readme.txt
|
|
379
|
-
- public/stylesheets/blueprint/plugins/fancy-type/screen.css
|
|
380
|
-
- public/stylesheets/blueprint/plugins/link-icons/icons/doc.png
|
|
381
|
-
- public/stylesheets/blueprint/plugins/link-icons/icons/email.png
|
|
382
|
-
- public/stylesheets/blueprint/plugins/link-icons/icons/external.png
|
|
383
|
-
- public/stylesheets/blueprint/plugins/link-icons/icons/feed.png
|
|
384
|
-
- public/stylesheets/blueprint/plugins/link-icons/icons/im.png
|
|
385
|
-
- public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png
|
|
386
|
-
- public/stylesheets/blueprint/plugins/link-icons/icons/visited.png
|
|
387
|
-
- public/stylesheets/blueprint/plugins/link-icons/icons/xls.png
|
|
388
|
-
- public/stylesheets/blueprint/plugins/link-icons/readme.txt
|
|
389
|
-
- public/stylesheets/blueprint/plugins/link-icons/screen.css
|
|
390
|
-
- public/stylesheets/blueprint/plugins/rtl/readme.txt
|
|
391
|
-
- public/stylesheets/blueprint/plugins/rtl/screen.css
|
|
392
|
-
- public/stylesheets/blueprint/plugins/silksprite/sprite.css
|
|
393
|
-
- public/stylesheets/blueprint/plugins/silksprite/sprites.png
|
|
394
|
-
- public/stylesheets/blueprint/print.css
|
|
395
|
-
- public/stylesheets/blueprint/readme.txt
|
|
396
|
-
- public/stylesheets/blueprint/screen.css
|
|
397
|
-
- public/stylesheets/error_messages.css
|
|
398
|
-
- public/stylesheets/formtastic.css
|
|
399
|
-
- public/stylesheets/formtastic_changes.css
|
|
400
|
-
- public/stylesheets/main_elements.css
|
|
401
|
-
- public/stylesheets/plupload/backgrounds.gif
|
|
402
|
-
- public/stylesheets/plupload/buttons-disabled.png
|
|
403
|
-
- public/stylesheets/plupload/buttons.png
|
|
404
|
-
- public/stylesheets/plupload/delete.gif
|
|
405
|
-
- public/stylesheets/plupload/done.gif
|
|
406
|
-
- public/stylesheets/plupload/error.gif
|
|
407
|
-
- public/stylesheets/plupload/screen.css
|
|
408
|
-
- public/stylesheets/plupload/transp50.png
|
|
409
|
-
- public/stylesheets/reset.css
|
|
410
|
-
- public/stylesheets/scaffold.css
|
|
411
|
-
- public/stylesheets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
|
412
|
-
- public/stylesheets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
|
413
|
-
- public/stylesheets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
|
414
|
-
- public/stylesheets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
|
415
|
-
- public/stylesheets/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
|
416
|
-
- public/stylesheets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
|
417
|
-
- public/stylesheets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
|
418
|
-
- public/stylesheets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
|
419
|
-
- public/stylesheets/smoothness/images/ui-icons_222222_256x240.png
|
|
420
|
-
- public/stylesheets/smoothness/images/ui-icons_2e83ff_256x240.png
|
|
421
|
-
- public/stylesheets/smoothness/images/ui-icons_454545_256x240.png
|
|
422
|
-
- public/stylesheets/smoothness/images/ui-icons_888888_256x240.png
|
|
423
|
-
- public/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png
|
|
424
|
-
- public/stylesheets/smoothness/jquery-ui-1.7.2.custom.css
|
|
425
|
-
- public/stylesheets/tablesorter/blue/asc.gif
|
|
426
|
-
- public/stylesheets/tablesorter/blue/bg.gif
|
|
427
|
-
- public/stylesheets/tablesorter/blue/desc.gif
|
|
428
|
-
- public/stylesheets/tablesorter/blue/style.css
|
|
429
|
-
- public/stylesheets/text_and_colors.css
|
|
358
|
+
- public/stylesheets/file_share/blueprint/grid.css
|
|
359
|
+
- public/stylesheets/file_share/blueprint/icons/cross.png
|
|
360
|
+
- public/stylesheets/file_share/blueprint/icons/doc.png
|
|
361
|
+
- public/stylesheets/file_share/blueprint/icons/email.png
|
|
362
|
+
- public/stylesheets/file_share/blueprint/icons/external.png
|
|
363
|
+
- public/stylesheets/file_share/blueprint/icons/feed.png
|
|
364
|
+
- public/stylesheets/file_share/blueprint/icons/im.png
|
|
365
|
+
- public/stylesheets/file_share/blueprint/icons/key.png
|
|
366
|
+
- public/stylesheets/file_share/blueprint/icons/pdf.png
|
|
367
|
+
- public/stylesheets/file_share/blueprint/icons/tick.png
|
|
368
|
+
- public/stylesheets/file_share/blueprint/icons/visited.png
|
|
369
|
+
- public/stylesheets/file_share/blueprint/icons/xls.png
|
|
370
|
+
- public/stylesheets/file_share/blueprint/ie.css
|
|
371
|
+
- public/stylesheets/file_share/blueprint/oldgrid.css
|
|
372
|
+
- public/stylesheets/file_share/blueprint/plugins/buttons/icons/cross.png
|
|
373
|
+
- public/stylesheets/file_share/blueprint/plugins/buttons/icons/key.png
|
|
374
|
+
- public/stylesheets/file_share/blueprint/plugins/buttons/icons/tick.png
|
|
375
|
+
- public/stylesheets/file_share/blueprint/plugins/buttons/readme.txt
|
|
376
|
+
- public/stylesheets/file_share/blueprint/plugins/buttons/screen.css
|
|
377
|
+
- public/stylesheets/file_share/blueprint/plugins/fancy-type/readme.txt
|
|
378
|
+
- public/stylesheets/file_share/blueprint/plugins/fancy-type/screen.css
|
|
379
|
+
- public/stylesheets/file_share/blueprint/plugins/link-icons/icons/doc.png
|
|
380
|
+
- public/stylesheets/file_share/blueprint/plugins/link-icons/icons/email.png
|
|
381
|
+
- public/stylesheets/file_share/blueprint/plugins/link-icons/icons/external.png
|
|
382
|
+
- public/stylesheets/file_share/blueprint/plugins/link-icons/icons/feed.png
|
|
383
|
+
- public/stylesheets/file_share/blueprint/plugins/link-icons/icons/im.png
|
|
384
|
+
- public/stylesheets/file_share/blueprint/plugins/link-icons/icons/pdf.png
|
|
385
|
+
- public/stylesheets/file_share/blueprint/plugins/link-icons/icons/visited.png
|
|
386
|
+
- public/stylesheets/file_share/blueprint/plugins/link-icons/icons/xls.png
|
|
387
|
+
- public/stylesheets/file_share/blueprint/plugins/link-icons/readme.txt
|
|
388
|
+
- public/stylesheets/file_share/blueprint/plugins/link-icons/screen.css
|
|
389
|
+
- public/stylesheets/file_share/blueprint/plugins/rtl/readme.txt
|
|
390
|
+
- public/stylesheets/file_share/blueprint/plugins/rtl/screen.css
|
|
391
|
+
- public/stylesheets/file_share/blueprint/plugins/silksprite/sprite.css
|
|
392
|
+
- public/stylesheets/file_share/blueprint/plugins/silksprite/sprites.png
|
|
393
|
+
- public/stylesheets/file_share/blueprint/print.css
|
|
394
|
+
- public/stylesheets/file_share/blueprint/readme.txt
|
|
395
|
+
- public/stylesheets/file_share/blueprint/screen.css
|
|
396
|
+
- public/stylesheets/file_share/error_messages.css
|
|
397
|
+
- public/stylesheets/file_share/formtastic.css
|
|
398
|
+
- public/stylesheets/file_share/formtastic_changes.css
|
|
399
|
+
- public/stylesheets/file_share/main_elements.css
|
|
400
|
+
- public/stylesheets/file_share/plupload/backgrounds.gif
|
|
401
|
+
- public/stylesheets/file_share/plupload/buttons-disabled.png
|
|
402
|
+
- public/stylesheets/file_share/plupload/buttons.png
|
|
403
|
+
- public/stylesheets/file_share/plupload/delete.gif
|
|
404
|
+
- public/stylesheets/file_share/plupload/done.gif
|
|
405
|
+
- public/stylesheets/file_share/plupload/error.gif
|
|
406
|
+
- public/stylesheets/file_share/plupload/screen.css
|
|
407
|
+
- public/stylesheets/file_share/plupload/transp50.png
|
|
408
|
+
- public/stylesheets/file_share/reset.css
|
|
409
|
+
- public/stylesheets/file_share/scaffold.css
|
|
410
|
+
- public/stylesheets/file_share/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
|
411
|
+
- public/stylesheets/file_share/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
|
412
|
+
- public/stylesheets/file_share/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
|
413
|
+
- public/stylesheets/file_share/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
|
414
|
+
- public/stylesheets/file_share/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
|
415
|
+
- public/stylesheets/file_share/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
|
416
|
+
- public/stylesheets/file_share/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
|
417
|
+
- public/stylesheets/file_share/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
|
418
|
+
- public/stylesheets/file_share/smoothness/images/ui-icons_222222_256x240.png
|
|
419
|
+
- public/stylesheets/file_share/smoothness/images/ui-icons_2e83ff_256x240.png
|
|
420
|
+
- public/stylesheets/file_share/smoothness/images/ui-icons_454545_256x240.png
|
|
421
|
+
- public/stylesheets/file_share/smoothness/images/ui-icons_888888_256x240.png
|
|
422
|
+
- public/stylesheets/file_share/smoothness/images/ui-icons_cd0a0a_256x240.png
|
|
423
|
+
- public/stylesheets/file_share/smoothness/jquery-ui-1.7.2.custom.css
|
|
424
|
+
- public/stylesheets/file_share/tablesorter/blue/asc.gif
|
|
425
|
+
- public/stylesheets/file_share/tablesorter/blue/bg.gif
|
|
426
|
+
- public/stylesheets/file_share/tablesorter/blue/desc.gif
|
|
427
|
+
- public/stylesheets/file_share/tablesorter/blue/style.css
|
|
428
|
+
- public/stylesheets/file_share/text_and_colors.css
|
|
430
429
|
- spec/controllers/file_attachments_controller_spec.rb
|
|
431
430
|
- spec/fixtures/file_share_file_attachments.yml
|
|
432
431
|
- spec/fixtures/somefile.txt
|
data/public/images/rails.png
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/data/public/javascripts/{jquery-ui-1.7.2.custom.min.js → file_share/jquery-ui-1.7.2.custom.min.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/data/public/javascripts/{jquery.qtip-1.0.0-rc3.min.js → file_share/jquery.qtip-1.0.0-rc3.min.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/doc.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/email.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/external.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/feed.png
RENAMED
|
File without changes
|
|
File without changes
|
/data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/pdf.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/visited.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{blueprint → file_share/blueprint}/plugins/link-icons/icons/xls.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_flat_0_aaaaaa_40x100.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_flat_75_ffffff_40x100.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_glass_55_fbf9ee_1x400.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_glass_65_ffffff_1x400.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_glass_75_dadada_1x400.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_glass_75_e6e6e6_1x400.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-bg_glass_95_fef1ec_1x400.png
RENAMED
|
File without changes
|
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-icons_222222_256x240.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-icons_2e83ff_256x240.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-icons_454545_256x240.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-icons_888888_256x240.png
RENAMED
|
File without changes
|
/data/public/stylesheets/{smoothness → file_share/smoothness}/images/ui-icons_cd0a0a_256x240.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|