upload_juicer 0.9.1 → 0.9.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.
Files changed (3) hide show
  1. data/config/routes.rb +11 -3
  2. data/lib/upload_juicer.rb +1 -1
  3. metadata +3 -3
data/config/routes.rb CHANGED
@@ -1,5 +1,13 @@
1
- Rails.application.routes.draw do |map|
2
- namespace :upload_juicer do
3
- resources :uploads, :only => [ :create ]
1
+ if Rails.respond_to?(:appliction)
2
+ Rails.application.routes.draw do |map|
3
+ namespace :upload_juicer do
4
+ resources :uploads, :only => [ :create ]
5
+ end
6
+ end
7
+ else
8
+ ActionController::Routing::Routes.draw do |map|
9
+ map.namespace :upload_juicer do |upload_juicer|
10
+ upload_juicer.resources :uploads, :only => [ :create ]
11
+ end
4
12
  end
5
13
  end
data/lib/upload_juicer.rb CHANGED
@@ -4,7 +4,7 @@ require 'ostruct'
4
4
 
5
5
  module UploadJuicer
6
6
  API_URL = 'http://app.uploadjuicer.com/jobs'
7
- VERSION = '0.9.1'
7
+ VERSION = '0.9.2'
8
8
 
9
9
  Config = OpenStruct.new
10
10
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 1
9
- version: 0.9.1
8
+ - 2
9
+ version: 0.9.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Benjamin Curtis
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-20 00:00:00 -07:00
17
+ date: 2010-07-22 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency