uploader 3.1.3 → 3.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.3
1
+ 3.1.4
@@ -92,11 +92,7 @@ class Uploader::UploadsController < ApplicationController
92
92
  format.js { render :text => message }
93
93
  format.json do
94
94
  if Uploader.configuration.use_http_status_failures
95
- if success
96
- render :json => message
97
- else
98
- render :json => message, :status => :unprocessable_entity
99
- end
95
+ render :json => @upload, :status => success ? :ok : :unprocessable_entity
100
96
  else
101
97
  render :json => { :success => success, :message => message }
102
98
  end
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{uploader}
8
- s.version = "3.1.3"
7
+ s.name = "uploader"
8
+ s.version = "3.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Ball", "Joel Duffin", "David South"]
12
- s.date = %q{2011-09-19}
13
- s.description = %q{Uploader gem that makes it simple add multiple file uploads to your Rails project using SWFUpload, Uploadify and Paperclip}
14
- s.email = %q{justinball@gmail.com}
12
+ s.date = "2011-09-22"
13
+ s.description = "Uploader gem that makes it simple add multiple file uploads to your Rails project using SWFUpload, Uploadify and Paperclip"
14
+ s.email = "justinball@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "README.rdoc",
17
17
  "TODO"
@@ -289,10 +289,10 @@ Gem::Specification.new do |s|
289
289
  "uninstall.rb",
290
290
  "uploader.gemspec"
291
291
  ]
292
- s.homepage = %q{http://github.com/jbasdf/uploader}
292
+ s.homepage = "http://github.com/jbasdf/uploader"
293
293
  s.require_paths = ["lib"]
294
- s.rubygems_version = %q{1.6.2}
295
- s.summary = %q{Uploadify, SWFUpload + Paperclip wrapped in an engine with love.}
294
+ s.rubygems_version = "1.8.10"
295
+ s.summary = "Uploadify, SWFUpload + Paperclip wrapped in an engine with love."
296
296
 
297
297
  if s.respond_to? :specification_version then
298
298
  s.specification_version = 3
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uploader
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 1
9
- - 3
10
- version: 3.1.3
9
+ - 4
10
+ version: 3.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Ball
@@ -17,8 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-09-19 00:00:00 -06:00
21
- default_executable:
20
+ date: 2011-09-22 00:00:00 Z
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency
24
23
  name: mime-types
@@ -357,7 +356,6 @@ files:
357
356
  - test/rails_test/spec/spec_helper.rb
358
357
  - uninstall.rb
359
358
  - uploader.gemspec
360
- has_rdoc: true
361
359
  homepage: http://github.com/jbasdf/uploader
362
360
  licenses: []
363
361
 
@@ -387,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
387
385
  requirements: []
388
386
 
389
387
  rubyforge_project:
390
- rubygems_version: 1.6.2
388
+ rubygems_version: 1.8.10
391
389
  signing_key:
392
390
  specification_version: 3
393
391
  summary: Uploadify, SWFUpload + Paperclip wrapped in an engine with love.