uploader 0.1.8 → 0.1.9

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/README.rdoc CHANGED
@@ -5,13 +5,12 @@ Uploader makes it easy to integrate multiple file uploads into your application
5
5
 
6
6
  == Installation
7
7
 
8
- === Install Dependancies:
9
- sudo gem install mime-types
10
-
11
-
12
8
  === Install the gem:
13
9
  sudo gem install uploader
14
10
 
11
+ Installing uploader should also install mime-types. If for some reason it does not then manually install it:
12
+ sudo gem install mime-types
13
+
15
14
 
16
15
  === Add the gem to environment.rb
17
16
  config.gem 'uploader'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -36,7 +36,7 @@ class Uploader::UploadsController < ApplicationController
36
36
  @upload = @parent.uploads.build
37
37
  @upload.is_public = true if params[:is_public] == true
38
38
  @upload.creator = get_creator
39
- @upload.swfupload_local = params[:filedata]
39
+ @upload.swfupload_local = params[:Filedata]
40
40
  @upload.save!
41
41
  @parent.uploads << @upload
42
42
  respond_to do |format|
Binary file
data/rdoc/created.rid CHANGED
@@ -1 +1 @@
1
- Sat, 30 May 2009 09:55:43 -0600
1
+ Sat, 30 May 2009 16:52:50 -0600
@@ -0,0 +1,107 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: amazonaws.rb</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>amazonaws.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/daemons/amazonaws.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Fri May 22 17:44:38 -0600 2009</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <p>
73
+ You might want to change this
74
+ </p>
75
+
76
+ </div>
77
+
78
+
79
+ </div>
80
+
81
+
82
+ </div>
83
+
84
+
85
+ <!-- if includes -->
86
+
87
+ <div id="section">
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <!-- if method_list -->
97
+
98
+
99
+ </div>
100
+
101
+
102
+ <div id="validator-badges">
103
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
104
+ </div>
105
+
106
+ </body>
107
+ </html>
data/uploader.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{uploader}
5
- s.version = "0.1.8"
5
+ s.version = "0.1.9"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Justin Ball", "David South"]
9
- s.date = %q{2009-05-30}
9
+ s.date = %q{2009-06-01}
10
10
  s.description = %q{Uploader gem that makes it simple add multiple file uploads to your Rails project using SWFUpload and Paperclip}
11
11
  s.email = %q{justinball@gmail.com}
12
12
  s.extra_rdoc_files = [
@@ -64,6 +64,7 @@ Gem::Specification.new do |s|
64
64
  "locales/zh-CN.yml",
65
65
  "locales/zh-TW.yml",
66
66
  "locales/zh.yml",
67
+ "pkg/uploader-0.1.8.gem",
67
68
  "public/images/SWFUploadButton.png",
68
69
  "public/images/file_icons/excel.gif",
69
70
  "public/images/file_icons/file.gif",
@@ -138,6 +139,7 @@ Gem::Specification.new do |s|
138
139
  "rdoc/created.rid",
139
140
  "rdoc/files/README_rdoc.html",
140
141
  "rdoc/files/lib/active_record/acts/uploader_upload_rb.html",
142
+ "rdoc/files/lib/daemons/amazonaws_rb.html",
141
143
  "rdoc/files/lib/uploader/exceptions_rb.html",
142
144
  "rdoc/files/lib/uploader/initialize_routes_rb.html",
143
145
  "rdoc/files/lib/uploader/middleware/flash_session_cookie_middleware_rb.html",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uploader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-05-30 00:00:00 -06:00
13
+ date: 2009-06-01 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -83,6 +83,7 @@ files:
83
83
  - locales/zh-CN.yml
84
84
  - locales/zh-TW.yml
85
85
  - locales/zh.yml
86
+ - pkg/uploader-0.1.8.gem
86
87
  - public/images/SWFUploadButton.png
87
88
  - public/images/file_icons/excel.gif
88
89
  - public/images/file_icons/file.gif
@@ -157,6 +158,7 @@ files:
157
158
  - rdoc/created.rid
158
159
  - rdoc/files/README_rdoc.html
159
160
  - rdoc/files/lib/active_record/acts/uploader_upload_rb.html
161
+ - rdoc/files/lib/daemons/amazonaws_rb.html
160
162
  - rdoc/files/lib/uploader/exceptions_rb.html
161
163
  - rdoc/files/lib/uploader/initialize_routes_rb.html
162
164
  - rdoc/files/lib/uploader/middleware/flash_session_cookie_middleware_rb.html