uploader 3.0.1 → 3.0.2

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 CHANGED
@@ -1 +1 @@
1
- 3.0.1
1
+ 3.0.2
data/lib/uploader.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require 'paperclip'
2
+ require 'rack'
3
+
1
4
  require 'uploader/config'
2
5
  require 'uploader/exceptions'
3
6
  require 'uploader/mime_type_groups'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/jbasdf/projects/uploader
3
3
  specs:
4
- uploader (3.0.0)
4
+ uploader (3.0.1)
5
5
  aws-s3
6
6
  mime-types
7
7
  paperclip
@@ -20,7 +20,7 @@ class UploadTest < ActiveSupport::TestCase
20
20
  upload = Upload.new
21
21
  upload.stubs(:id).returns(12345)
22
22
  upload.local = VALID_FILE
23
- assert_equal "#{::Rails.root.to_s}/public/system/locals/000/012/345/original/rails.png", upload.local.path
23
+ assert upload.local.path.include?("/public/system/locals/000/012/345/original/rails.png")
24
24
  assert_equal '/system/locals/000/012/345/original/rails.png', upload.local.url(:original, false)
25
25
  end
26
26
 
data/uploader.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{uploader}
8
- s.version = "3.0.1"
8
+ s.version = "3.0.2"
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{2010-09-16}
12
+ s.date = %q{2010-10-12}
13
13
  s.description = %q{Uploader gem that makes it simple add multiple file uploads to your Rails project using SWFUpload, Uploadify and Paperclip}
14
14
  s.email = %q{justinball@gmail.com}
15
15
  s.extra_rdoc_files = [
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: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 1
10
- version: 3.0.1
9
+ - 2
10
+ version: 3.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Ball
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-09-16 00:00:00 -06:00
20
+ date: 2010-10-12 00:00:00 -06:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency