fine_uploader 3.4.1 → 3.5.0
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.
- checksums.yaml +7 -0
- data/{README.md → README.markdown} +3 -1
- data/Rakefile +11 -0
- data/lib/fine_uploader.rb +1 -7
- data/lib/fine_uploader/engine.rb +6 -0
- data/lib/fine_uploader/version.rb +1 -1
- data/test/dummy/app/assets/javascripts/application.js +5 -0
- data/test/dummy/app/assets/stylesheets/application.css +5 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +17 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +1 -0
- data/test/dummy/config/routes.rb +2 -0
- data/test/dummy/log/test.log +258 -0
- data/test/fine_uploader_test.rb +31 -0
- data/test/test_helper.rb +7 -0
- data/vendor/assets/javascripts/fine_uploader.js +9 -17
- data/vendor/assets/javascripts/fine_uploader/dnd.js +94 -82
- data/vendor/assets/javascripts/fine_uploader/handler.base.js +1 -1
- data/vendor/assets/javascripts/fine_uploader/handler.xhr.js +3 -3
- data/vendor/assets/javascripts/fine_uploader/jquery-plugin.js +2 -9
- data/vendor/assets/javascripts/fine_uploader/promise.js +22 -1
- data/vendor/assets/javascripts/fine_uploader/uploader.basic.js +64 -44
- data/vendor/assets/javascripts/fine_uploader/uploader.js +57 -55
- data/vendor/assets/javascripts/fine_uploader/util.js +3 -3
- metadata +91 -35
- data/.gitignore +0 -17
- data/Gemfile +0 -4
- data/LICENSE.txt +0 -20
- data/Vendorfile +0 -32
- data/fine_uploader.gemspec +0 -21
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c6b0eab2abc08c2513c54c2c13e699bb193f6c4d
|
4
|
+
data.tar.gz: 255d982716deea301973d6593caba014d022c795
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 88d47aa0bd2459c8d6d87bf19e20da337193e5acb047dc8edada317d96db17f0bf3fcee5fe03c94f87c21880fab48234407896346337d94aebab8b4e5ba853ec
|
7
|
+
data.tar.gz: 15f26a877fea2460f3607f1dbd1f27366a86351335eeb52c0519606aeafcec5ba901677bfaf38633d1db33e0b0db691732b2140232714cc9fba003ba70832495
|
@@ -1,4 +1,6 @@
|
|
1
|
-
# Fine Uploader
|
1
|
+
# Fine Uploader [](http://badge.fury.io/rb/fine_uploader) [](http://travis-ci.org/subosito/fine_uploader) [](https://gemnasium.com/subosito/fine_uploader)
|
2
|
+
|
3
|
+

|
2
4
|
|
3
5
|
Fine Uploader is a project attempts to achieve a user-friendly file-uploading experience over the web. It's built as a Javascript plugin for developers looking to incorporate file-uploading into their website.
|
4
6
|
|
data/Rakefile
CHANGED
data/lib/fine_uploader.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
require "sprockets/railtie"
|
4
|
+
|
5
|
+
Bundler.require(:default, :development)
|
6
|
+
|
7
|
+
module Dummy
|
8
|
+
class Application < Rails::Application
|
9
|
+
config.encoding = "utf-8"
|
10
|
+
config.assets.enabled = true
|
11
|
+
config.assets.version = '1.0'
|
12
|
+
|
13
|
+
# replacement for environments/*.rb
|
14
|
+
config.active_support.deprecation = :stderr
|
15
|
+
config.eager_load = false
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
Dummy::Application.config.secret_token = "78ede8feffd2195a2afc2abf2ff44eeae9a25f3d12d0e06775025e77eb198af8a1d4f6a918276210e13fb5b171cf4e307cd57cc1a9c8a34d9254f44daa246c09"
|
@@ -0,0 +1,258 @@
|
|
1
|
+
Started GET "/assets/audiojs.js" for 127.0.0.1 at 2013-04-26 18:34:12 +0700
|
2
|
+
Compiled audiojs.js (43ms) (pid 10874)
|
3
|
+
Served asset /audiojs.js - 200 OK (50ms)
|
4
|
+
Started GET "/assets/audiojs.swf" for 127.0.0.1 at 2013-04-26 18:35:27 +0700
|
5
|
+
Served asset /audiojs.swf - 200 OK (3ms)
|
6
|
+
Started GET "/assets/audiojs-player-graphics.gif" for 127.0.0.1 at 2013-04-26 18:35:27 +0700
|
7
|
+
Served asset /audiojs-player-graphics.gif - 200 OK (2ms)
|
8
|
+
Started GET "/assets/audiojs.js" for 127.0.0.1 at 2013-04-26 18:35:27 +0700
|
9
|
+
Compiled audiojs.js (41ms) (pid 10963)
|
10
|
+
Served asset /audiojs.js - 200 OK (46ms)
|
11
|
+
Started GET "/assets/audiojs.swf" for 127.0.0.1 at 2013-04-26 18:37:59 +0700
|
12
|
+
Served asset /audiojs.swf - 200 OK (3ms)
|
13
|
+
Started GET "/assets/audiojs-player-graphics.gif" for 127.0.0.1 at 2013-04-26 18:37:59 +0700
|
14
|
+
Served asset /audiojs-player-graphics.gif - 200 OK (2ms)
|
15
|
+
Started GET "/assets/audiojs.js" for 127.0.0.1 at 2013-04-26 18:37:59 +0700
|
16
|
+
Compiled audiojs.js (41ms) (pid 11056)
|
17
|
+
Served asset /audiojs.js - 200 OK (46ms)
|
18
|
+
Started GET "/assets/audiojs.js" for 127.0.0.1 at 2013-04-26 18:37:59 +0700
|
19
|
+
Served asset /audiojs.js - 200 OK (0ms)
|
20
|
+
Started GET "/assets/audiojs.swf" for 127.0.0.1 at 2013-04-26 18:38:38 +0700
|
21
|
+
Served asset /audiojs.swf - 200 OK (3ms)
|
22
|
+
Started GET "/assets/audiojs-player-graphics.gif" for 127.0.0.1 at 2013-04-26 18:38:38 +0700
|
23
|
+
Served asset /audiojs-player-graphics.gif - 200 OK (2ms)
|
24
|
+
Started GET "/assets/audiojs.js" for 127.0.0.1 at 2013-04-26 18:38:38 +0700
|
25
|
+
Compiled audiojs.js (41ms) (pid 11140)
|
26
|
+
Served asset /audiojs.js - 200 OK (47ms)
|
27
|
+
Started GET "/assets/audiojs.js" for 127.0.0.1 at 2013-04-26 18:38:38 +0700
|
28
|
+
Served asset /audiojs.js - 200 OK (0ms)
|
29
|
+
Started GET "/assets/loading.gif" for 127.0.0.1 at 2013-04-26 19:58:59 +0700
|
30
|
+
Served asset /loading.gif - 404 Not Found (1ms)
|
31
|
+
|
32
|
+
ActionController::RoutingError (No route matches [GET] "/assets/loading.gif"):
|
33
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
34
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
35
|
+
railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
|
36
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
|
37
|
+
activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
|
38
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
|
39
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
40
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
41
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
42
|
+
activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
43
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
44
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
|
45
|
+
railties (3.2.12) lib/rails/engine.rb:479:in `call'
|
46
|
+
railties (3.2.12) lib/rails/application.rb:223:in `call'
|
47
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
48
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
49
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
50
|
+
actionpack (3.2.12) lib/action_dispatch/testing/integration.rb:299:in `process'
|
51
|
+
actionpack (3.2.12) lib/action_dispatch/testing/integration.rb:33:in `get'
|
52
|
+
actionpack (3.2.12) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
53
|
+
/mnt/code/gem/fine_uploader/test/fine_uploader_test.rb:16:in `block in <class:FineUploaderTest>'
|
54
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:858:in `run_test'
|
55
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1301:in `run'
|
56
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit/testcase.rb:17:in `run'
|
57
|
+
activesupport (3.2.12) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
58
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:425:in `_run__4179464195097093633__setup__1640898226305783591__callbacks'
|
59
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:405:in `__run_callback'
|
60
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
61
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
62
|
+
activesupport (3.2.12) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
63
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:919:in `block in _run_suite'
|
64
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:912:in `map'
|
65
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:912:in `_run_suite'
|
66
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:657:in `block in _run_suites'
|
67
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:655:in `each'
|
68
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:655:in `_run_suites'
|
69
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:867:in `_run_anything'
|
70
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1060:in `run_tests'
|
71
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1047:in `block in _run'
|
72
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1046:in `each'
|
73
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1046:in `_run'
|
74
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1035:in `run'
|
75
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:21:in `run'
|
76
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:774:in `run'
|
77
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:366:in `block (2 levels) in autorun'
|
78
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:27:in `run_once'
|
79
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:365:in `block in autorun'
|
80
|
+
|
81
|
+
|
82
|
+
Started GET "/assets/processing.gif" for 127.0.0.1 at 2013-04-26 19:58:59 +0700
|
83
|
+
Served asset /processing.gif - 404 Not Found (1ms)
|
84
|
+
|
85
|
+
ActionController::RoutingError (No route matches [GET] "/assets/processing.gif"):
|
86
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
87
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
88
|
+
railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
|
89
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
|
90
|
+
activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
|
91
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
|
92
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
93
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
94
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
95
|
+
activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
96
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
97
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
|
98
|
+
railties (3.2.12) lib/rails/engine.rb:479:in `call'
|
99
|
+
railties (3.2.12) lib/rails/application.rb:223:in `call'
|
100
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
101
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
102
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
103
|
+
actionpack (3.2.12) lib/action_dispatch/testing/integration.rb:299:in `process'
|
104
|
+
actionpack (3.2.12) lib/action_dispatch/testing/integration.rb:33:in `get'
|
105
|
+
actionpack (3.2.12) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
106
|
+
/mnt/code/gem/fine_uploader/test/fine_uploader_test.rb:17:in `block in <class:FineUploaderTest>'
|
107
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:858:in `run_test'
|
108
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1301:in `run'
|
109
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit/testcase.rb:17:in `run'
|
110
|
+
activesupport (3.2.12) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
111
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:425:in `_run__4179464195097093633__setup__1640898226305783591__callbacks'
|
112
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:405:in `__run_callback'
|
113
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
114
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
115
|
+
activesupport (3.2.12) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
116
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:919:in `block in _run_suite'
|
117
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:912:in `map'
|
118
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:912:in `_run_suite'
|
119
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:657:in `block in _run_suites'
|
120
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:655:in `each'
|
121
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:655:in `_run_suites'
|
122
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:867:in `_run_anything'
|
123
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1060:in `run_tests'
|
124
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1047:in `block in _run'
|
125
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1046:in `each'
|
126
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1046:in `_run'
|
127
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:1035:in `run'
|
128
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:21:in `run'
|
129
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:774:in `run'
|
130
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:366:in `block (2 levels) in autorun'
|
131
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:27:in `run_once'
|
132
|
+
/home/subosito/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:365:in `block in autorun'
|
133
|
+
|
134
|
+
|
135
|
+
Started GET "/assets/fine_uploader.js" for 127.0.0.1 at 2013-04-26 19:58:59 +0700
|
136
|
+
Compiled fine_uploader/ajax.requester.js (0ms) (pid 17367)
|
137
|
+
Compiled fine_uploader/button.js (0ms) (pid 17367)
|
138
|
+
Compiled fine_uploader/deletefile.ajax.requester.js (0ms) (pid 17367)
|
139
|
+
Compiled fine_uploader/header.js (0ms) (pid 17367)
|
140
|
+
Compiled fine_uploader/util.js (0ms) (pid 17367)
|
141
|
+
Compiled fine_uploader/handler.base.js (0ms) (pid 17367)
|
142
|
+
Compiled fine_uploader/handler.form.js (0ms) (pid 17367)
|
143
|
+
Compiled fine_uploader/handler.xhr.js (0ms) (pid 17367)
|
144
|
+
Compiled fine_uploader/uploader.basic.js (0ms) (pid 17367)
|
145
|
+
Compiled fine_uploader/dnd.js (0ms) (pid 17367)
|
146
|
+
Compiled fine_uploader/iframe.xss.response.js (0ms) (pid 17367)
|
147
|
+
Compiled fine_uploader/paste.js (0ms) (pid 17367)
|
148
|
+
Compiled fine_uploader/promise.js (0ms) (pid 17367)
|
149
|
+
Compiled fine_uploader/window.receive.message.js (0ms) (pid 17367)
|
150
|
+
Compiled fine_uploader/uploader.js (0ms) (pid 17367)
|
151
|
+
Compiled fine_uploader/jquery-plugin.js (0ms) (pid 17367)
|
152
|
+
Compiled fine_uploader.js (111ms) (pid 17367)
|
153
|
+
Served asset /fine_uploader.js - 200 OK (118ms)
|
154
|
+
Started GET "/assets/fine_uploader/loading.gif" for 127.0.0.1 at 2013-04-26 19:59:17 +0700
|
155
|
+
Served asset /fine_uploader/loading.gif - 200 OK (3ms)
|
156
|
+
Started GET "/assets/fine_uploader/processing.gif" for 127.0.0.1 at 2013-04-26 19:59:17 +0700
|
157
|
+
Served asset /fine_uploader/processing.gif - 200 OK (2ms)
|
158
|
+
Started GET "/assets/fine_uploader.js" for 127.0.0.1 at 2013-04-26 19:59:17 +0700
|
159
|
+
Compiled fine_uploader/ajax.requester.js (0ms) (pid 17455)
|
160
|
+
Compiled fine_uploader/button.js (0ms) (pid 17455)
|
161
|
+
Compiled fine_uploader/deletefile.ajax.requester.js (0ms) (pid 17455)
|
162
|
+
Compiled fine_uploader/header.js (0ms) (pid 17455)
|
163
|
+
Compiled fine_uploader/util.js (0ms) (pid 17455)
|
164
|
+
Compiled fine_uploader/handler.base.js (0ms) (pid 17455)
|
165
|
+
Compiled fine_uploader/handler.form.js (0ms) (pid 17455)
|
166
|
+
Compiled fine_uploader/handler.xhr.js (0ms) (pid 17455)
|
167
|
+
Compiled fine_uploader/uploader.basic.js (0ms) (pid 17455)
|
168
|
+
Compiled fine_uploader/dnd.js (0ms) (pid 17455)
|
169
|
+
Compiled fine_uploader/iframe.xss.response.js (0ms) (pid 17455)
|
170
|
+
Compiled fine_uploader/paste.js (0ms) (pid 17455)
|
171
|
+
Compiled fine_uploader/promise.js (0ms) (pid 17455)
|
172
|
+
Compiled fine_uploader/window.receive.message.js (0ms) (pid 17455)
|
173
|
+
Compiled fine_uploader/uploader.js (0ms) (pid 17455)
|
174
|
+
Compiled fine_uploader/jquery-plugin.js (0ms) (pid 17455)
|
175
|
+
Compiled fine_uploader.js (111ms) (pid 17455)
|
176
|
+
Served asset /fine_uploader.js - 200 OK (117ms)
|
177
|
+
Started GET "/assets/fine_uploader/loading.gif" for 127.0.0.1 at 2013-04-26 20:00:07 +0700
|
178
|
+
Served asset /fine_uploader/loading.gif - 200 OK (3ms)
|
179
|
+
Started GET "/assets/fine_uploader/processing.gif" for 127.0.0.1 at 2013-04-26 20:00:07 +0700
|
180
|
+
Served asset /fine_uploader/processing.gif - 200 OK (2ms)
|
181
|
+
Started GET "/assets/fine_uploader.js" for 127.0.0.1 at 2013-04-26 20:00:08 +0700
|
182
|
+
Compiled fine_uploader/ajax.requester.js (0ms) (pid 17545)
|
183
|
+
Compiled fine_uploader/button.js (0ms) (pid 17545)
|
184
|
+
Compiled fine_uploader/deletefile.ajax.requester.js (0ms) (pid 17545)
|
185
|
+
Compiled fine_uploader/header.js (0ms) (pid 17545)
|
186
|
+
Compiled fine_uploader/util.js (0ms) (pid 17545)
|
187
|
+
Compiled fine_uploader/handler.base.js (0ms) (pid 17545)
|
188
|
+
Compiled fine_uploader/handler.form.js (0ms) (pid 17545)
|
189
|
+
Compiled fine_uploader/handler.xhr.js (0ms) (pid 17545)
|
190
|
+
Compiled fine_uploader/uploader.basic.js (0ms) (pid 17545)
|
191
|
+
Compiled fine_uploader/dnd.js (0ms) (pid 17545)
|
192
|
+
Compiled fine_uploader/iframe.xss.response.js (0ms) (pid 17545)
|
193
|
+
Compiled fine_uploader/paste.js (0ms) (pid 17545)
|
194
|
+
Compiled fine_uploader/promise.js (0ms) (pid 17545)
|
195
|
+
Compiled fine_uploader/window.receive.message.js (0ms) (pid 17545)
|
196
|
+
Compiled fine_uploader/uploader.js (0ms) (pid 17545)
|
197
|
+
Compiled fine_uploader/jquery-plugin.js (0ms) (pid 17545)
|
198
|
+
Compiled fine_uploader.js (110ms) (pid 17545)
|
199
|
+
Served asset /fine_uploader.js - 200 OK (116ms)
|
200
|
+
Started GET "/assets/fine_uploader.css" for 127.0.0.1 at 2013-04-26 20:00:08 +0700
|
201
|
+
Error compiling asset fine_uploader.css:
|
202
|
+
LoadError: cannot load such file -- sass
|
203
|
+
(in /mnt/code/gem/fine_uploader/vendor/assets/stylesheets/fine_uploader.css.scss)
|
204
|
+
Served asset /fine_uploader.css - 500 Internal Server Error
|
205
|
+
|
206
|
+
|
207
|
+
Started GET "/assets/fine_uploader/loading.gif" for 127.0.0.1 at 2013-04-26 20:01:03 +0700
|
208
|
+
Served asset /fine_uploader/loading.gif - 200 OK (4ms)
|
209
|
+
Started GET "/assets/fine_uploader/processing.gif" for 127.0.0.1 at 2013-04-26 20:01:03 +0700
|
210
|
+
Served asset /fine_uploader/processing.gif - 200 OK (2ms)
|
211
|
+
Started GET "/assets/fine_uploader.js" for 127.0.0.1 at 2013-04-26 20:01:03 +0700
|
212
|
+
Compiled fine_uploader/ajax.requester.js (0ms) (pid 17727)
|
213
|
+
Compiled fine_uploader/button.js (0ms) (pid 17727)
|
214
|
+
Compiled fine_uploader/deletefile.ajax.requester.js (0ms) (pid 17727)
|
215
|
+
Compiled fine_uploader/header.js (0ms) (pid 17727)
|
216
|
+
Compiled fine_uploader/util.js (0ms) (pid 17727)
|
217
|
+
Compiled fine_uploader/handler.base.js (0ms) (pid 17727)
|
218
|
+
Compiled fine_uploader/handler.form.js (0ms) (pid 17727)
|
219
|
+
Compiled fine_uploader/handler.xhr.js (0ms) (pid 17727)
|
220
|
+
Compiled fine_uploader/uploader.basic.js (0ms) (pid 17727)
|
221
|
+
Compiled fine_uploader/dnd.js (0ms) (pid 17727)
|
222
|
+
Compiled fine_uploader/iframe.xss.response.js (0ms) (pid 17727)
|
223
|
+
Compiled fine_uploader/paste.js (0ms) (pid 17727)
|
224
|
+
Compiled fine_uploader/promise.js (0ms) (pid 17727)
|
225
|
+
Compiled fine_uploader/window.receive.message.js (0ms) (pid 17727)
|
226
|
+
Compiled fine_uploader/uploader.js (0ms) (pid 17727)
|
227
|
+
Compiled fine_uploader/jquery-plugin.js (0ms) (pid 17727)
|
228
|
+
Compiled fine_uploader.js (92ms) (pid 17727)
|
229
|
+
Served asset /fine_uploader.js - 200 OK (98ms)
|
230
|
+
Started GET "/assets/fine_uploader.css" for 127.0.0.1 at 2013-04-26 20:01:03 +0700
|
231
|
+
Compiled fine_uploader.css (74ms) (pid 17727)
|
232
|
+
Served asset /fine_uploader.css - 200 OK (79ms)
|
233
|
+
Started GET "/assets/fine_uploader/loading.gif" for 127.0.0.1 at 2013-04-26 20:01:44 +0700
|
234
|
+
Served asset /fine_uploader/loading.gif - 200 OK (3ms)
|
235
|
+
Started GET "/assets/fine_uploader/processing.gif" for 127.0.0.1 at 2013-04-26 20:01:44 +0700
|
236
|
+
Served asset /fine_uploader/processing.gif - 200 OK (2ms)
|
237
|
+
Started GET "/assets/fine_uploader.js" for 127.0.0.1 at 2013-04-26 20:01:44 +0700
|
238
|
+
Compiled fine_uploader/ajax.requester.js (0ms) (pid 17885)
|
239
|
+
Compiled fine_uploader/button.js (0ms) (pid 17885)
|
240
|
+
Compiled fine_uploader/deletefile.ajax.requester.js (0ms) (pid 17885)
|
241
|
+
Compiled fine_uploader/header.js (0ms) (pid 17885)
|
242
|
+
Compiled fine_uploader/util.js (0ms) (pid 17885)
|
243
|
+
Compiled fine_uploader/handler.base.js (0ms) (pid 17885)
|
244
|
+
Compiled fine_uploader/handler.form.js (0ms) (pid 17885)
|
245
|
+
Compiled fine_uploader/handler.xhr.js (0ms) (pid 17885)
|
246
|
+
Compiled fine_uploader/uploader.basic.js (0ms) (pid 17885)
|
247
|
+
Compiled fine_uploader/dnd.js (0ms) (pid 17885)
|
248
|
+
Compiled fine_uploader/iframe.xss.response.js (0ms) (pid 17885)
|
249
|
+
Compiled fine_uploader/paste.js (0ms) (pid 17885)
|
250
|
+
Compiled fine_uploader/promise.js (0ms) (pid 17885)
|
251
|
+
Compiled fine_uploader/window.receive.message.js (0ms) (pid 17885)
|
252
|
+
Compiled fine_uploader/uploader.js (0ms) (pid 17885)
|
253
|
+
Compiled fine_uploader/jquery-plugin.js (0ms) (pid 17885)
|
254
|
+
Compiled fine_uploader.js (86ms) (pid 17885)
|
255
|
+
Served asset /fine_uploader.js - 200 OK (92ms)
|
256
|
+
Started GET "/assets/fine_uploader.css" for 127.0.0.1 at 2013-04-26 20:01:44 +0700
|
257
|
+
Compiled fine_uploader.css (44ms) (pid 17885)
|
258
|
+
Served asset /fine_uploader.css - 200 OK (49ms)
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class FineUploaderTest < ActionDispatch::IntegrationTest
|
4
|
+
teardown { clean_cache }
|
5
|
+
|
6
|
+
test "engine is loaded" do
|
7
|
+
assert_equal ::Rails::Engine, FineUploader::Rails::Engine.superclass
|
8
|
+
end
|
9
|
+
|
10
|
+
test "javascript is served" do
|
11
|
+
get "/assets/fine_uploader.js"
|
12
|
+
assert_response :success
|
13
|
+
end
|
14
|
+
|
15
|
+
test "images are served" do
|
16
|
+
get "/assets/fine_uploader/loading.gif"
|
17
|
+
get "/assets/fine_uploader/processing.gif"
|
18
|
+
assert_response :success
|
19
|
+
end
|
20
|
+
|
21
|
+
test "stylesheet contain references to images" do
|
22
|
+
get "/assets/fine_uploader.css"
|
23
|
+
assert_match "/assets/fine_uploader/loading.gif", response.body
|
24
|
+
assert_match "/assets/fine_uploader/processing.gif", response.body
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
def clean_cache
|
29
|
+
FileUtils.rm_rf File.expand_path("../dummy/tmp", __FILE__)
|
30
|
+
end
|
31
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -1,3 +1,6 @@
|
|
1
|
+
//= require fine_uploader/ajax.requester
|
2
|
+
//= require fine_uploader/button
|
3
|
+
//= require fine_uploader/deletefile.ajax.requester
|
1
4
|
//= require fine_uploader/header
|
2
5
|
//= require fine_uploader/util
|
3
6
|
//= require fine_uploader/button
|
@@ -6,22 +9,11 @@
|
|
6
9
|
//= require fine_uploader/handler.xhr
|
7
10
|
//= require fine_uploader/uploader.basic
|
8
11
|
//= require fine_uploader/dnd.js
|
12
|
+
//= require fine_uploader/iframe.xss.response
|
13
|
+
//= require fine_uploader/paste
|
14
|
+
//= require fine_uploader/promise
|
15
|
+
//= require fine_uploader/uploader.basic
|
16
|
+
//= require fine_uploader/util
|
17
|
+
//= require fine_uploader/window.receive.message
|
9
18
|
//= require fine_uploader/uploader
|
10
19
|
//= require fine_uploader/jquery-plugin
|
11
|
-
//
|
12
|
-
file 'vendor/assets/javascripts/fine_uploader/ajax.requester.js', 'client/js/ajax.requester.js'
|
13
|
-
file 'vendor/assets/javascripts/fine_uploader/button.js', 'client/js/button.js'
|
14
|
-
file 'vendor/assets/javascripts/fine_uploader/deletefile.ajax.requester.js', 'client/js/deletefile.ajax.requester.js'
|
15
|
-
file 'vendor/assets/javascripts/fine_uploader/dnd.js', 'client/js/dnd.js'
|
16
|
-
file 'vendor/assets/javascripts/fine_uploader/handler.base.js', 'client/js/handler.base.js'
|
17
|
-
file 'vendor/assets/javascripts/fine_uploader/handler.form.js', 'client/js/handler.form.js'
|
18
|
-
file 'vendor/assets/javascripts/fine_uploader/handler.xhr.js', 'client/js/handler.xhr.js'
|
19
|
-
file 'vendor/assets/javascripts/fine_uploader/header.js', 'client/js/header.js'
|
20
|
-
file 'vendor/assets/javascripts/fine_uploader/iframe.xss.response.js', 'client/js/iframe.xss.response.js'
|
21
|
-
file 'vendor/assets/javascripts/fine_uploader/jquery-plugin.js', 'client/js/jquery-plugin.js'
|
22
|
-
file 'vendor/assets/javascripts/fine_uploader/paste.js', 'client/js/paste.js'
|
23
|
-
file 'vendor/assets/javascripts/fine_uploader/promise.js', 'client/js/promise.js'
|
24
|
-
file 'vendor/assets/javascripts/fine_uploader/uploader.basic.js', 'client/js/uploader.basic.js'
|
25
|
-
file 'vendor/assets/javascripts/fine_uploader/uploader.js', 'client/js/uploader.js'
|
26
|
-
file 'vendor/assets/javascripts/fine_uploader/util.js', 'client/js/util.js'
|
27
|
-
file 'vendor/assets/javascripts/fine_uploader/window.receive.message.js', 'client/js/window.receive.message.js'
|