glebtv-rails-uploader 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uploader/version.rb +1 -1
- metadata +13 -31
- data/spec/dummy/log/test.log +0 -134
- data/spec/dummy/public/uploads/picture/data/5260e2af61732e16d5010000/rails.png +0 -0
- data/spec/dummy/public/uploads/picture/data/5260e2af61732e16d5010000/thumb_rails.png +0 -0
- data/spec/dummy/public/uploads/picture/data/5260e2af61732e16d5060000/rails.png +0 -0
- data/spec/dummy/public/uploads/picture/data/5260e2af61732e16d5060000/thumb_rails.png +0 -0
- data/spec/dummy/public/uploads/picture/data/5260e2e261732e1735010000/rails.png +0 -0
- data/spec/dummy/public/uploads/picture/data/5260e2e261732e1735010000/thumb_rails.png +0 -0
- data/spec/dummy/public/uploads/picture/data/5260e2e261732e1735060000/rails.png +0 -0
- data/spec/dummy/public/uploads/picture/data/5260e2e261732e1735060000/thumb_rails.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88efe49c0d42aff2f12db2360479b4251fedc7a6
|
4
|
+
data.tar.gz: 6878df72b63fca3d0196d14fb5d4c3cc9c478b51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc980ceee75826bfd9d73ac15a4ed178575bc7fb99b9e6ada11f6024cfefe70bb6bd7bc53e0d6efcb1fdc0ae682f69447e668dd78f0e1c80d04cb98cc7ed46c6
|
7
|
+
data.tar.gz: beb74c354fa43d79cd95dd9ac9a2744c7c54bba1823e154d9d2d74a214cf8a76f0c8303155ab5faf95540fa046783f10f1783cc63d74983c83880f1206147c6c
|
data/lib/uploader/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glebtv-rails-uploader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GlebTv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.0.0.alpha1
|
20
20
|
- - <
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '5.0'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 4.0.0.alpha1
|
30
30
|
- - <
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '5.0'
|
@@ -90,30 +90,30 @@ dependencies:
|
|
90
90
|
name: rspec-rails
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- -
|
93
|
+
- - '>='
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
95
|
+
version: '0'
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- -
|
100
|
+
- - '>='
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
102
|
+
version: '0'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: factory_girl_rails
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
109
|
+
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- -
|
114
|
+
- - '>='
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
116
|
+
version: '0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: database_cleaner
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,14 +192,6 @@ files:
|
|
192
192
|
- spec/dummy/db/migrate/20120508093416_create_assets.rb
|
193
193
|
- spec/dummy/public/422.html
|
194
194
|
- spec/dummy/public/404.html
|
195
|
-
- spec/dummy/public/uploads/picture/data/5260e2af61732e16d5010000/rails.png
|
196
|
-
- spec/dummy/public/uploads/picture/data/5260e2af61732e16d5010000/thumb_rails.png
|
197
|
-
- spec/dummy/public/uploads/picture/data/5260e2af61732e16d5060000/rails.png
|
198
|
-
- spec/dummy/public/uploads/picture/data/5260e2af61732e16d5060000/thumb_rails.png
|
199
|
-
- spec/dummy/public/uploads/picture/data/5260e2e261732e1735010000/rails.png
|
200
|
-
- spec/dummy/public/uploads/picture/data/5260e2e261732e1735010000/thumb_rails.png
|
201
|
-
- spec/dummy/public/uploads/picture/data/5260e2e261732e1735060000/rails.png
|
202
|
-
- spec/dummy/public/uploads/picture/data/5260e2e261732e1735060000/thumb_rails.png
|
203
195
|
- spec/dummy/public/favicon.ico
|
204
196
|
- spec/dummy/public/500.html
|
205
197
|
- spec/dummy/README.rdoc
|
@@ -219,7 +211,6 @@ files:
|
|
219
211
|
- spec/dummy/config/environments/test.rb
|
220
212
|
- spec/dummy/config/mongoid.yml
|
221
213
|
- spec/dummy/config/routes.rb
|
222
|
-
- spec/dummy/log/test.log
|
223
214
|
- spec/dummy/script/rails
|
224
215
|
- spec/dummy/app/helpers/application_helper.rb
|
225
216
|
- spec/dummy/app/controllers/application_controller.rb
|
@@ -259,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
250
|
version: '0'
|
260
251
|
requirements: []
|
261
252
|
rubyforge_project: rails-uploader
|
262
|
-
rubygems_version: 2.
|
253
|
+
rubygems_version: 2.1.11
|
263
254
|
signing_key:
|
264
255
|
specification_version: 4
|
265
256
|
summary: Rails file upload implementation with jQuery-File-Upload
|
@@ -269,14 +260,6 @@ test_files:
|
|
269
260
|
- spec/dummy/db/migrate/20120508093416_create_assets.rb
|
270
261
|
- spec/dummy/public/422.html
|
271
262
|
- spec/dummy/public/404.html
|
272
|
-
- spec/dummy/public/uploads/picture/data/5260e2af61732e16d5010000/rails.png
|
273
|
-
- spec/dummy/public/uploads/picture/data/5260e2af61732e16d5010000/thumb_rails.png
|
274
|
-
- spec/dummy/public/uploads/picture/data/5260e2af61732e16d5060000/rails.png
|
275
|
-
- spec/dummy/public/uploads/picture/data/5260e2af61732e16d5060000/thumb_rails.png
|
276
|
-
- spec/dummy/public/uploads/picture/data/5260e2e261732e1735010000/rails.png
|
277
|
-
- spec/dummy/public/uploads/picture/data/5260e2e261732e1735010000/thumb_rails.png
|
278
|
-
- spec/dummy/public/uploads/picture/data/5260e2e261732e1735060000/rails.png
|
279
|
-
- spec/dummy/public/uploads/picture/data/5260e2e261732e1735060000/thumb_rails.png
|
280
263
|
- spec/dummy/public/favicon.ico
|
281
264
|
- spec/dummy/public/500.html
|
282
265
|
- spec/dummy/README.rdoc
|
@@ -296,7 +279,6 @@ test_files:
|
|
296
279
|
- spec/dummy/config/environments/test.rb
|
297
280
|
- spec/dummy/config/mongoid.yml
|
298
281
|
- spec/dummy/config/routes.rb
|
299
|
-
- spec/dummy/log/test.log
|
300
282
|
- spec/dummy/script/rails
|
301
283
|
- spec/dummy/app/helpers/application_helper.rb
|
302
284
|
- spec/dummy/app/controllers/application_controller.rb
|
data/spec/dummy/log/test.log
DELETED
@@ -1,134 +0,0 @@
|
|
1
|
-
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7760ms
|
2
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=articles documents=[{"_id"=>BSON::ObjectId('5260e2af61732e16d5000000'), "title"=>"MyString", "content"=>"MyText"}] flags=[]
|
3
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 9.3263ms
|
4
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=assets documents=[{"_id"=>BSON::ObjectId('5260e2af61732e16d5010000'), "_type"=>"Picture", "data_file_name"=>"rails.png", "assetable_id"=>BSON::ObjectId('5260e2af61732e16d5000000'), "assetable_type"=>"Article"}] flags=[]
|
5
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 1.0125ms
|
6
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=assets selector={"$query"=>{"guid"=>nil, "_type"=>{"$in"=>["Picture"]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3457ms
|
7
|
-
MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=assets selector={"guid"=>nil, "assetable_type"=>"Article", "_type"=>{"$in"=>["Picture"]}} update={"$set"=>{"assetable_id"=>BSON::ObjectId('507f1f77bcf86cd799439011'), "guid"=>nil}} flags=[:multi]
|
8
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms
|
9
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=assets selector={:_id=>BSON::ObjectId('5260e2af61732e16d5010000')} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1396ms
|
10
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=assets selector={"$query"=>{"guid"=>"nyvk1SDIWw", "_type"=>{"$in"=>["Picture"]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2224ms
|
11
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms
|
12
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=articles selector={} flags=[]
|
13
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms
|
14
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=assets selector={} flags=[]
|
15
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.9371ms
|
16
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>BSON::ObjectId('5260e2af61732e16d5040000'), "guid"=>"guid", "assetable_type"=>"MongoidArticle"}] flags=[]
|
17
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.9922ms
|
18
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2235ms
|
19
|
-
MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} runtime: 0.1327ms
|
20
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1597ms
|
21
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>BSON::ObjectId('5260e2af61732e16d5040000')} flags=[:remove_first]
|
22
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms
|
23
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>BSON::ObjectId('5260e2af61732e16d5050000'), "guid"=>"guid", "assetable_type"=>"MongoidArticle"}] flags=[]
|
24
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms
|
25
|
-
MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{"assetable_id"=>BSON::ObjectId('507f1f77bcf86cd799439011'), "guid"=>nil}} flags=[:multi]
|
26
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms
|
27
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>BSON::ObjectId('5260e2af61732e16d5050000')} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1648ms
|
28
|
-
MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} runtime: 0.1498ms
|
29
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1187ms
|
30
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>BSON::ObjectId('5260e2af61732e16d5050000')} flags=[:remove_first]
|
31
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1707ms
|
32
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2008ms
|
33
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=articles selector={} flags=[]
|
34
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1986ms
|
35
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=assets selector={} flags=[]
|
36
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms
|
37
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={} flags=[]
|
38
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1638ms
|
39
|
-
Started POST "/uploader/attachments" for 127.0.0.1 at 2013-10-18 11:26:39 +0400
|
40
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=assets documents=[{"_id"=>BSON::ObjectId('5260e2af61732e16d5060000'), "_type"=>"Picture", "guid"=>"SOMESTRING", "assetable_type"=>"Article", "assetable_id"=>BSON::ObjectId('507f1f77bcf86cd799439011'), "data_file_name"=>"rails.png"}] flags=[]
|
41
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.4989ms
|
42
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=articles documents=[{"_id"=>BSON::ObjectId('5260e2af61732e16d5070000'), "title"=>"MyString", "content"=>"MyText"}] flags=[]
|
43
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms
|
44
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=assets documents=[{"_id"=>BSON::ObjectId('5260e2af61732e16d5080000'), "_type"=>"Picture", "data_file_name"=>"rails.png", "assetable_id"=>BSON::ObjectId('5260e2af61732e16d5070000'), "assetable_type"=>"Article"}] flags=[]
|
45
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms
|
46
|
-
MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"assets", :query=>{"_type"=>{"$in"=>["Picture"]}}} runtime: 0.2769ms
|
47
|
-
Started DELETE "/uploader/attachments/5260e2af61732e16d5080000" for 127.0.0.1 at 2013-10-18 11:26:39 +0400
|
48
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=assets selector={"_id"=>BSON::ObjectId('5260e2af61732e16d5080000'), "_type"=>{"$in"=>["Picture"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms
|
49
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=assets selector={"_id"=>BSON::ObjectId('5260e2af61732e16d5080000')} flags=[:remove_first]
|
50
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms
|
51
|
-
MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"assets", :query=>{"_type"=>{"$in"=>["Picture"]}}} runtime: 0.2002ms
|
52
|
-
Started POST "/uploader/attachments" for 127.0.0.1 at 2013-10-18 11:26:39 +0400
|
53
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms
|
54
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=articles selector={} flags=[]
|
55
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.8245ms
|
56
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=assets selector={} flags=[]
|
57
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms
|
58
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={} flags=[]
|
59
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1994ms
|
60
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms
|
61
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=articles selector={} flags=[]
|
62
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2060ms
|
63
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=assets selector={} flags=[]
|
64
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1767ms
|
65
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={} flags=[]
|
66
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1769ms
|
67
|
-
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7348ms
|
68
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=articles documents=[{"_id"=>BSON::ObjectId('5260e2e261732e1735000000'), "title"=>"MyString", "content"=>"MyText"}] flags=[]
|
69
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms
|
70
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=assets documents=[{"_id"=>BSON::ObjectId('5260e2e261732e1735010000'), "_type"=>"Picture", "data_file_name"=>"rails.png", "assetable_id"=>BSON::ObjectId('5260e2e261732e1735000000'), "assetable_type"=>"Article"}] flags=[]
|
71
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms
|
72
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=assets selector={"$query"=>{"guid"=>nil, "_type"=>{"$in"=>["Picture"]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3935ms
|
73
|
-
MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=assets selector={"guid"=>nil, "assetable_type"=>"Article", "_type"=>{"$in"=>["Picture"]}} update={"$set"=>{"assetable_id"=>BSON::ObjectId('507f1f77bcf86cd799439011'), "guid"=>nil}} flags=[:multi]
|
74
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms
|
75
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=assets selector={:_id=>BSON::ObjectId('5260e2e261732e1735010000')} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1814ms
|
76
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=assets selector={"$query"=>{"guid"=>"d2uYyLz0nT", "_type"=>{"$in"=>["Picture"]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
|
77
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms
|
78
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=articles selector={} flags=[]
|
79
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms
|
80
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=assets selector={} flags=[]
|
81
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2118ms
|
82
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={} flags=[]
|
83
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1612ms
|
84
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>BSON::ObjectId('5260e2e261732e1735040000'), "guid"=>"guid", "assetable_type"=>"MongoidArticle"}] flags=[]
|
85
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms
|
86
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2457ms
|
87
|
-
MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} runtime: 0.1860ms
|
88
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms
|
89
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>BSON::ObjectId('5260e2e261732e1735040000')} flags=[:remove_first]
|
90
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms
|
91
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>BSON::ObjectId('5260e2e261732e1735050000'), "guid"=>"guid", "assetable_type"=>"MongoidArticle"}] flags=[]
|
92
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2020ms
|
93
|
-
MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{"assetable_id"=>BSON::ObjectId('507f1f77bcf86cd799439011'), "guid"=>nil}} flags=[:multi]
|
94
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2262ms
|
95
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>BSON::ObjectId('5260e2e261732e1735050000')} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1327ms
|
96
|
-
MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} runtime: 0.1401ms
|
97
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1612ms
|
98
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>BSON::ObjectId('5260e2e261732e1735050000')} flags=[:remove_first]
|
99
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2174ms
|
100
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2162ms
|
101
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=articles selector={} flags=[]
|
102
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1359ms
|
103
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=assets selector={} flags=[]
|
104
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1241ms
|
105
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={} flags=[]
|
106
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1200ms
|
107
|
-
Started POST "/uploader/attachments" for 127.0.0.1 at 2013-10-18 11:27:30 +0400
|
108
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=assets documents=[{"_id"=>BSON::ObjectId('5260e2e261732e1735060000'), "_type"=>"Picture", "guid"=>"SOMESTRING", "assetable_type"=>"Article", "assetable_id"=>BSON::ObjectId('507f1f77bcf86cd799439011'), "data_file_name"=>"rails.png"}] flags=[]
|
109
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms
|
110
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=articles documents=[{"_id"=>BSON::ObjectId('5260e2e261732e1735070000'), "title"=>"MyString", "content"=>"MyText"}] flags=[]
|
111
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
|
112
|
-
MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=assets documents=[{"_id"=>BSON::ObjectId('5260e2e261732e1735080000'), "_type"=>"Picture", "data_file_name"=>"rails.png", "assetable_id"=>BSON::ObjectId('5260e2e261732e1735070000'), "assetable_type"=>"Article"}] flags=[]
|
113
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.7119ms
|
114
|
-
MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"assets", :query=>{"_type"=>{"$in"=>["Picture"]}}} runtime: 0.2731ms
|
115
|
-
Started DELETE "/uploader/attachments/5260e2e261732e1735080000" for 127.0.0.1 at 2013-10-18 11:27:30 +0400
|
116
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=assets selector={"_id"=>BSON::ObjectId('5260e2e261732e1735080000'), "_type"=>{"$in"=>["Picture"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms
|
117
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=assets selector={"_id"=>BSON::ObjectId('5260e2e261732e1735080000')} flags=[:remove_first]
|
118
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms
|
119
|
-
MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"assets", :query=>{"_type"=>{"$in"=>["Picture"]}}} runtime: 0.2077ms
|
120
|
-
Started POST "/uploader/attachments" for 127.0.0.1 at 2013-10-18 11:27:30 +0400
|
121
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms
|
122
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=articles selector={} flags=[]
|
123
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms
|
124
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=assets selector={} flags=[]
|
125
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1566ms
|
126
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={} flags=[]
|
127
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1501ms
|
128
|
-
MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms
|
129
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=articles selector={} flags=[]
|
130
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1745ms
|
131
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=assets selector={} flags=[]
|
132
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1477ms
|
133
|
-
MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={} flags=[]
|
134
|
-
COMMAND database=rails_uploader_test command={:getlasterror=>1, :w=>1} runtime: 0.1762ms
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|