rack-raw-upload 1.0.8 → 1.0.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.
Files changed (22) hide show
  1. data/lib/rack/raw_upload.rb +11 -2
  2. data/test/apps/undefined_conversion_error/app/controllers/application_controller.rb +3 -0
  3. data/test/apps/undefined_conversion_error/app/controllers/test_controller.rb +13 -0
  4. data/test/apps/undefined_conversion_error/app/helpers/application_helper.rb +2 -0
  5. data/test/apps/undefined_conversion_error/config/application.rb +50 -0
  6. data/test/apps/undefined_conversion_error/config/boot.rb +6 -0
  7. data/test/apps/undefined_conversion_error/config/environment.rb +5 -0
  8. data/test/apps/undefined_conversion_error/config/environments/development.rb +30 -0
  9. data/test/apps/undefined_conversion_error/config/environments/production.rb +60 -0
  10. data/test/apps/undefined_conversion_error/config/environments/test.rb +39 -0
  11. data/test/apps/undefined_conversion_error/config/initializers/backtrace_silencers.rb +7 -0
  12. data/test/apps/undefined_conversion_error/config/initializers/inflections.rb +10 -0
  13. data/test/apps/undefined_conversion_error/config/initializers/mime_types.rb +5 -0
  14. data/test/apps/undefined_conversion_error/config/initializers/secret_token.rb +7 -0
  15. data/test/apps/undefined_conversion_error/config/initializers/session_store.rb +8 -0
  16. data/test/apps/undefined_conversion_error/config/initializers/wrap_parameters.rb +14 -0
  17. data/test/apps/undefined_conversion_error/config/routes.rb +3 -0
  18. data/test/apps/undefined_conversion_error/db/seeds.rb +7 -0
  19. data/test/apps/undefined_conversion_error/test/performance/browsing_test.rb +12 -0
  20. data/test/apps/undefined_conversion_error/test/test_helper.rb +13 -0
  21. data/test/raw_upload_test.rb +14 -5
  22. metadata +100 -64
@@ -3,7 +3,7 @@ require 'tmpdir' # Needed in 1.8.7 to access Dir::tmpdir
3
3
  module Rack
4
4
  class RawUpload
5
5
 
6
- VERSION = '1.0.8'
6
+ VERSION = '1.0.9'
7
7
 
8
8
  def initialize(app, opts = {})
9
9
  @app = app
@@ -34,7 +34,16 @@ module Rack
34
34
  tempfile = env['rack.input']
35
35
  else
36
36
  tempfile = Tempfile.new('raw-upload.', @tmpdir)
37
- tempfile << env['rack.input'].read
37
+
38
+ # Can't get to produce a test case for this :-(
39
+ env['rack.input'].each do |chunk|
40
+ if chunk.respond_to?(:force_encoding)
41
+ tempfile << chunk.force_encoding('UTF-8')
42
+ else
43
+ tempfile << chunk
44
+ end
45
+ end
46
+
38
47
  tempfile.flush
39
48
  tempfile.rewind
40
49
  end
@@ -0,0 +1,3 @@
1
+ class ApplicationController < ActionController::Base
2
+ # protect_from_forgery
3
+ end
@@ -0,0 +1,13 @@
1
+ require 'pp'
2
+
3
+ class TestController < ApplicationController
4
+
5
+ def index
6
+ return unless request.post?
7
+
8
+ output = ''
9
+ PP.pp(params, output)
10
+ render :text => output
11
+ end
12
+
13
+ end
@@ -0,0 +1,2 @@
1
+ module ApplicationHelper
2
+ end
@@ -0,0 +1,50 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ require 'rails/all'
4
+
5
+ if defined?(Bundler)
6
+ # If you precompile assets before deploying to production, use this line
7
+ Bundler.require(*Rails.groups(:assets => %w(development test)))
8
+ # If you want your assets lazily compiled in production, use this line
9
+ # Bundler.require(:default, :assets, Rails.env)
10
+ end
11
+
12
+ module UndefinedConversionError
13
+ class Application < Rails::Application
14
+ # Settings in config/environments/* take precedence over those specified here.
15
+ # Application configuration should go into files in config/initializers
16
+ # -- all .rb files in that directory are automatically loaded.
17
+
18
+ # Custom directories with classes and modules you want to be autoloadable.
19
+ # config.autoload_paths += %W(#{config.root}/extras)
20
+
21
+ # Only load the plugins named here, in the order given (default is alphabetical).
22
+ # :all can be used as a placeholder for all plugins not explicitly named.
23
+ # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
24
+
25
+ # Activate observers that should always be running.
26
+ # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
27
+
28
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
29
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
30
+ # config.time_zone = 'Central Time (US & Canada)'
31
+
32
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
33
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
34
+ # config.i18n.default_locale = :de
35
+
36
+ # Configure the default encoding used in templates for Ruby 1.9.
37
+ config.encoding = "utf-8"
38
+
39
+ # Configure sensitive parameters which will be filtered from the log file.
40
+ config.filter_parameters += [:password]
41
+
42
+ # Enable the asset pipeline
43
+ config.assets.enabled = true
44
+
45
+ # Version of your assets, change this if you want to expire all your assets
46
+ config.assets.version = '1.0'
47
+
48
+ config.middleware.use 'Rack::RawUpload'
49
+ end
50
+ end
@@ -0,0 +1,6 @@
1
+ require 'rubygems'
2
+
3
+ # Set up gems listed in the Gemfile.
4
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
5
+
6
+ require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
@@ -0,0 +1,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ UndefinedConversionError::Application.initialize!
@@ -0,0 +1,30 @@
1
+ UndefinedConversionError::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger
20
+ config.active_support.deprecation = :log
21
+
22
+ # Only use best-standards-support built into browsers
23
+ config.action_dispatch.best_standards_support = :builtin
24
+
25
+ # Do not compress assets
26
+ config.assets.compress = false
27
+
28
+ # Expands the lines which load the assets
29
+ config.assets.debug = true
30
+ end
@@ -0,0 +1,60 @@
1
+ UndefinedConversionError::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
16
+
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
19
+
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to Rails.root.join("public/assets")
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
32
+
33
+ # See everything in the log (default is :info)
34
+ # config.log_level = :debug
35
+
36
+ # Use a different logger for distributed setups
37
+ # config.logger = SyslogLogger.new
38
+
39
+ # Use a different cache store in production
40
+ # config.cache_store = :mem_cache_store
41
+
42
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
43
+ # config.action_controller.asset_host = "http://assets.example.com"
44
+
45
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
46
+ # config.assets.precompile += %w( search.js )
47
+
48
+ # Disable delivery errors, bad email addresses will be ignored
49
+ # config.action_mailer.raise_delivery_errors = false
50
+
51
+ # Enable threaded mode
52
+ # config.threadsafe!
53
+
54
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
55
+ # the I18n.default_locale when a translation can not be found)
56
+ config.i18n.fallbacks = true
57
+
58
+ # Send deprecation notices to registered listeners
59
+ config.active_support.deprecation = :notify
60
+ end
@@ -0,0 +1,39 @@
1
+ UndefinedConversionError::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
15
+ config.whiny_nils = true
16
+
17
+ # Show full error reports and disable caching
18
+ config.consider_all_requests_local = true
19
+ config.action_controller.perform_caching = false
20
+
21
+ # Raise exceptions instead of rendering exception templates
22
+ config.action_dispatch.show_exceptions = false
23
+
24
+ # Disable request forgery protection in test environment
25
+ config.action_controller.allow_forgery_protection = false
26
+
27
+ # Tell Action Mailer not to deliver emails to the real world.
28
+ # The :test delivery method accumulates sent emails in the
29
+ # ActionMailer::Base.deliveries array.
30
+ config.action_mailer.delivery_method = :test
31
+
32
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
33
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
34
+ # like if you have constraints or database-specific column types
35
+ # config.active_record.schema_format = :sql
36
+
37
+ # Print deprecation notices to the stderr
38
+ config.active_support.deprecation = :stderr
39
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ UndefinedConversionError::Application.config.secret_token = '9da07c0b9ed292dcfde28cd3eb326ddf906f9bd53f6dd5ec80566ce87641c8a1e20dcbaa262cb1b9a38019d15a2b3a183d57f07dfc5bd894311883642e78109f'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ UndefinedConversionError::Application.config.session_store :cookie_store, key: '_undefined_conversion_error_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # UndefinedConversionError::Application.config.session_store :active_record_store
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -0,0 +1,3 @@
1
+ UndefinedConversionError::Application.routes.draw do
2
+ root :to => 'test#index'
3
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
+ # Mayor.create(name: 'Emanuel', city: cities.first)
@@ -0,0 +1,12 @@
1
+ require 'test_helper'
2
+ require 'rails/performance_test_help'
3
+
4
+ class BrowsingTest < ActionDispatch::PerformanceTest
5
+ # Refer to the documentation for all available options
6
+ # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
7
+ # :output => 'tmp/performance', :formats => [:flat] }
8
+
9
+ def test_homepage
10
+ get '/'
11
+ end
12
+ end
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
7
+ #
8
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
+ # -- they do not yet inherit this setting
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
@@ -20,7 +20,7 @@ class RawUploadTest < Test::Unit::TestCase
20
20
  @middleware_opts = {}
21
21
  @path = File.join(File.dirname(__FILE__), %w{data me-in-shanghai.jpg})
22
22
  @filename = File.basename(@path)
23
- @file = File.open(@path)
23
+ @file = File.open(@path) # Maybe use mode 'rb:ASCII-8BIT'? May help with the pending test below. Not doing it for the moment, as it's not supported by Rubinius
24
24
  end
25
25
 
26
26
  def upload(env = {})
@@ -87,7 +87,16 @@ class RawUploadTest < Test::Unit::TestCase
87
87
  upload('rack.input' => tempfile)
88
88
  assert_file_uploaded
89
89
  end
90
-
90
+
91
+ # Sould be something like this, but I can't get this to fail
92
+ # when it should. Instead, I'm testing using the example
93
+ # undefined_conversion_error app for the time being.
94
+ # should "work when the input is a StringIO" do
95
+ # rack_input = StringIO.new(@file.read)
96
+ # upload('rack.input' => rack_input)
97
+ # assert_file_uploaded
98
+ # end
99
+
91
100
  should "be forced to perform a file upload if `X-File-Upload: true`" do
92
101
  upload('CONTENT_TYPE' => 'multipart/form-data', 'HTTP_X_FILE_UPLOAD' => 'true')
93
102
  assert_file_uploaded_as 'multipart/form-data'
@@ -198,7 +207,7 @@ class RawUploadTest < Test::Unit::TestCase
198
207
  end
199
208
  end
200
209
  end
201
-
210
+
202
211
  context "path matcher" do
203
212
  should "accept any path by default" do
204
213
  rru = Rack::RawUpload.new(nil)
@@ -221,7 +230,7 @@ class RawUploadTest < Test::Unit::TestCase
221
230
  assert ! rru.upload_path?('/resourcess.json')
222
231
  assert ! rru.upload_path?('/resources.json/blah')
223
232
  end
224
-
233
+
225
234
  should "accept several entries" do
226
235
  rru = Rack::RawUpload.new nil, :paths => ['/resources.*', '/uploads']
227
236
  assert rru.upload_path?('/uploads')
@@ -236,7 +245,7 @@ class RawUploadTest < Test::Unit::TestCase
236
245
  assert_files_equal file, received[:tempfile]
237
246
  assert last_response.ok?
238
247
  end
239
-
248
+
240
249
  def assert_file_uploaded_as(file_type)
241
250
  file = File.open(@path)
242
251
  received = last_request.POST["file"]
metadata CHANGED
@@ -1,102 +1,138 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rack-raw-upload
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.8
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 9
9
+ version: 1.0.9
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Pablo Brasero
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2011-10-08 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2011-10-24 00:00:00 +01:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: json
16
- requirement: &2153512340 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: *2153512340
25
- - !ruby/object:Gem::Dependency
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :runtime
31
+ version_requirements: *id001
32
+ - !ruby/object:Gem::Dependency
26
33
  name: rake
27
- requirement: &2153511880 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
33
- type: :development
34
34
  prerelease: false
35
- version_requirements: *2153511880
36
- - !ruby/object:Gem::Dependency
37
- name: rack-test
38
- requirement: &2153511460 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
41
+ version: "0"
44
42
  type: :development
43
+ version_requirements: *id002
44
+ - !ruby/object:Gem::Dependency
45
+ name: rack-test
45
46
  prerelease: false
46
- version_requirements: *2153511460
47
- - !ruby/object:Gem::Dependency
48
- name: shoulda
49
- requirement: &2153511000 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
47
+ requirement: &id003 !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
53
+ version: "0"
55
54
  type: :development
55
+ version_requirements: *id003
56
+ - !ruby/object:Gem::Dependency
57
+ name: shoulda
56
58
  prerelease: false
57
- version_requirements: *2153511000
58
- description: Middleware that converts files uploaded with mimetype application/octet-stream
59
- into normal form input, so Rack applications can read these as normal, rather than
60
- as raw input.
59
+ requirement: &id004 !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ segments:
64
+ - 0
65
+ version: "0"
66
+ type: :development
67
+ version_requirements: *id004
68
+ description: Middleware that converts files uploaded with mimetype application/octet-stream into normal form input, so Rack applications can read these as normal, rather than as raw input.
61
69
  email: pablobm@gmail.com
62
70
  executables: []
71
+
63
72
  extensions: []
64
- extra_rdoc_files:
73
+
74
+ extra_rdoc_files:
65
75
  - LICENSE
66
76
  - README.md
67
- files:
77
+ files:
68
78
  - lib/rack/raw_upload.rb
69
79
  - lib/rack-raw-upload.rb
80
+ - test/apps/undefined_conversion_error/app/controllers/application_controller.rb
81
+ - test/apps/undefined_conversion_error/app/controllers/test_controller.rb
82
+ - test/apps/undefined_conversion_error/app/helpers/application_helper.rb
83
+ - test/apps/undefined_conversion_error/config/application.rb
84
+ - test/apps/undefined_conversion_error/config/boot.rb
85
+ - test/apps/undefined_conversion_error/config/environment.rb
86
+ - test/apps/undefined_conversion_error/config/environments/development.rb
87
+ - test/apps/undefined_conversion_error/config/environments/production.rb
88
+ - test/apps/undefined_conversion_error/config/environments/test.rb
89
+ - test/apps/undefined_conversion_error/config/initializers/backtrace_silencers.rb
90
+ - test/apps/undefined_conversion_error/config/initializers/inflections.rb
91
+ - test/apps/undefined_conversion_error/config/initializers/mime_types.rb
92
+ - test/apps/undefined_conversion_error/config/initializers/secret_token.rb
93
+ - test/apps/undefined_conversion_error/config/initializers/session_store.rb
94
+ - test/apps/undefined_conversion_error/config/initializers/wrap_parameters.rb
95
+ - test/apps/undefined_conversion_error/config/routes.rb
96
+ - test/apps/undefined_conversion_error/db/seeds.rb
97
+ - test/apps/undefined_conversion_error/test/performance/browsing_test.rb
98
+ - test/apps/undefined_conversion_error/test/test_helper.rb
70
99
  - test/raw_upload_test.rb
71
100
  - LICENSE
72
101
  - README.md
73
102
  - Gemfile
74
103
  - Gemfile.lock
104
+ has_rdoc: true
75
105
  homepage: https://github.com/newbamboo/rack-raw-upload
76
106
  licenses: []
107
+
77
108
  post_install_message:
78
- rdoc_options:
109
+ rdoc_options:
79
110
  - --charset=UTF-8
80
111
  - --main
81
112
  - README.rdoc
82
- require_paths:
113
+ require_paths:
83
114
  - lib
84
- required_ruby_version: !ruby/object:Gem::Requirement
85
- none: false
86
- requirements:
87
- - - ! '>='
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- required_rubygems_version: !ruby/object:Gem::Requirement
91
- none: false
92
- requirements:
93
- - - ! '>='
94
- - !ruby/object:Gem::Version
95
- version: '0'
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ segments:
120
+ - 0
121
+ version: "0"
122
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ segments:
127
+ - 0
128
+ version: "0"
96
129
  requirements: []
130
+
97
131
  rubyforge_project:
98
- rubygems_version: 1.8.6
132
+ rubygems_version: 1.3.6
99
133
  signing_key:
100
134
  specification_version: 3
101
135
  summary: Rack Raw Upload middleware
102
- test_files: []
136
+ test_files:
137
+ - test/apps/undefined_conversion_error/app/controllers/test_controller.rb
138
+ - test/apps/undefined_conversion_error/test/test_helper.rb