daengine 0.6.21 → 0.6.22
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 +4 -4
- data/app/controllers/content_folders_controller.rb +51 -0
- data/app/controllers/digital_assets_controller.rb +3 -3
- data/app/models/content_folder.rb +22 -11
- data/app/views/content_folders/_content_folder.json.jbuilder +5 -0
- data/app/views/content_folders/index.json.jbuilder +5 -0
- data/app/views/content_folders/show.json.jbuilder +7 -0
- data/bin/process_assets +7 -8
- data/bin/process_availability +16 -15
- data/bin/process_taxonomy +16 -15
- data/config/routes.rb +2 -1
- data/lib/daengine/version.rb +1 -1
- data/spec/acceptance/content_folders_controller_spec.rb +116 -0
- data/spec/acceptance/digital_assets_spec.rb +6 -2
- data/spec/controllers/digital_assets_controller_spec.rb +1 -1
- data/spec/dummy/config/mongoid.yml +1 -1
- data/spec/factories.rb +1 -1
- data/spec/mock_data/daengine.yml +1 -1
- data/spec/mock_data/taxonomy/taxonomyengine.yml +1 -1
- data/spec/models/content_folder_spec.rb +102 -9
- metadata +22 -9
- data/app/controllers/content_folder_controller.rb +0 -30
- data/spec/acceptance/content_folder_controller_spec.rb +0 -72
- data/spec/dummy/log/development.log +0 -369
- data/spec/dummy/log/test.log +0 -13266
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daengine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sbhatia
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -95,6 +95,20 @@ dependencies:
|
|
95
95
|
version: 0.10.2
|
96
96
|
prerelease: false
|
97
97
|
type: :runtime
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: jbuilder
|
100
|
+
version_requirements: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ~>
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '1.2'
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.2'
|
110
|
+
prerelease: false
|
111
|
+
type: :runtime
|
98
112
|
- !ruby/object:Gem::Dependency
|
99
113
|
name: rspec-rails
|
100
114
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -147,7 +161,7 @@ executables:
|
|
147
161
|
extensions: []
|
148
162
|
extra_rdoc_files: []
|
149
163
|
files:
|
150
|
-
- app/controllers/
|
164
|
+
- app/controllers/content_folders_controller.rb
|
151
165
|
- app/controllers/digital_assets_controller.rb
|
152
166
|
- app/helpers/digital_assets_helper.rb
|
153
167
|
- app/models/content_folder.rb
|
@@ -157,6 +171,9 @@ files:
|
|
157
171
|
- app/models/taxonomy_term.rb
|
158
172
|
- app/models/teamsite_digital_asset_shim.rb
|
159
173
|
- app/service/digital_asset_lookup_service.rb
|
174
|
+
- app/views/content_folders/_content_folder.json.jbuilder
|
175
|
+
- app/views/content_folders/index.json.jbuilder
|
176
|
+
- app/views/content_folders/show.json.jbuilder
|
160
177
|
- app/views/digital_assets/index.html.erb
|
161
178
|
- app/views/digital_assets/search.html.erb
|
162
179
|
- app/views/digital_assets/show.html.erb
|
@@ -197,7 +214,7 @@ files:
|
|
197
214
|
- Gemfile
|
198
215
|
- spec/factories.rb
|
199
216
|
- spec/spec_helper.rb
|
200
|
-
- spec/acceptance/
|
217
|
+
- spec/acceptance/content_folders_controller_spec.rb
|
201
218
|
- spec/acceptance/digital_assets_spec.rb
|
202
219
|
- spec/controllers/digital_assets_controller_spec.rb
|
203
220
|
- spec/dummy/config.ru
|
@@ -224,8 +241,6 @@ files:
|
|
224
241
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
225
242
|
- spec/dummy/config/locales/en.yml
|
226
243
|
- spec/dummy/db/test.sqlite3
|
227
|
-
- spec/dummy/log/development.log
|
228
|
-
- spec/dummy/log/test.log
|
229
244
|
- spec/dummy/script/rails
|
230
245
|
- spec/lib/content_service_processor_spec.rb
|
231
246
|
- spec/lib/digital_asset_processor_spec.rb
|
@@ -290,7 +305,7 @@ summary: Daengine GEM.
|
|
290
305
|
test_files:
|
291
306
|
- spec/factories.rb
|
292
307
|
- spec/spec_helper.rb
|
293
|
-
- spec/acceptance/
|
308
|
+
- spec/acceptance/content_folders_controller_spec.rb
|
294
309
|
- spec/acceptance/digital_assets_spec.rb
|
295
310
|
- spec/controllers/digital_assets_controller_spec.rb
|
296
311
|
- spec/dummy/config.ru
|
@@ -317,8 +332,6 @@ test_files:
|
|
317
332
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
318
333
|
- spec/dummy/config/locales/en.yml
|
319
334
|
- spec/dummy/db/test.sqlite3
|
320
|
-
- spec/dummy/log/development.log
|
321
|
-
- spec/dummy/log/test.log
|
322
335
|
- spec/dummy/script/rails
|
323
336
|
- spec/lib/content_service_processor_spec.rb
|
324
337
|
- spec/lib/digital_asset_processor_spec.rb
|
@@ -1,30 +0,0 @@
|
|
1
|
-
class ContentFolderController < ApplicationController
|
2
|
-
respond_to :json
|
3
|
-
|
4
|
-
rescue_from 'Mongoid::Errors::DocumentNotFound' do |exception|
|
5
|
-
render json: {errors: [exception.message]}, status: 404
|
6
|
-
end
|
7
|
-
|
8
|
-
# GET /content_folder
|
9
|
-
# GET /content_folder.json
|
10
|
-
def index
|
11
|
-
content_folder = ContentFolder.last
|
12
|
-
if content_folder.nil?
|
13
|
-
render json: {}, status: :not_found
|
14
|
-
else
|
15
|
-
render json: content_folder
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
# POST /content_folder
|
20
|
-
# POST /content_folder.json
|
21
|
-
def create
|
22
|
-
content_folder = ContentFolder.new(params[:content_folder])
|
23
|
-
ContentFolder.delete_all # TODO: need to validate prior to delete
|
24
|
-
if content_folder.save
|
25
|
-
render json: content_folder, status: :created
|
26
|
-
else
|
27
|
-
render json: content_folder.errors, status: :unprocessable_entity
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
@@ -1,72 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'rspec_api_documentation'
|
3
|
-
require 'rspec_api_documentation/dsl'
|
4
|
-
require 'securerandom'
|
5
|
-
|
6
|
-
resource 'Content Folder', :api => true do
|
7
|
-
get '/content_folder' do
|
8
|
-
context 'has a content folder' do
|
9
|
-
example 'returns the content folder' do
|
10
|
-
folder_id = 'folder id'
|
11
|
-
folder = ContentFolder.new(:folder_id => folder_id, :label => 'folder label', :document_ids => %w(id1 id2))
|
12
|
-
ContentFolder.stub(:last).and_return(folder)
|
13
|
-
|
14
|
-
do_request
|
15
|
-
expect(status).to eq(200)
|
16
|
-
result = JSON.parse(response_body)
|
17
|
-
expect(result).not_to be_nil
|
18
|
-
expect(result['folder_id']).to eq(folder_id)
|
19
|
-
end
|
20
|
-
|
21
|
-
example 'returns 404 when the folder does not exist' do
|
22
|
-
ContentFolder.stub(:last).and_return(nil)
|
23
|
-
|
24
|
-
do_request
|
25
|
-
expect(status).to eq(404)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
post '/content_folder' do
|
31
|
-
parameter :folder_id, 'folder id', :require => true, :scope => 'content_folder'
|
32
|
-
parameter :label, 'folder label', :require => true, :scope => 'content_folder'
|
33
|
-
parameter :document_ids, 'array of document ids associated with folder', :require => true, :scope => 'content_folder'
|
34
|
-
parameter :child_folders, 'array of child folder hashes', :require => true, :scope => 'content_folder'
|
35
|
-
|
36
|
-
context 'successful' do
|
37
|
-
folder_id = 'folder id'
|
38
|
-
label = 'label'
|
39
|
-
document_ids = %w(id1 id2)
|
40
|
-
child_folders = nil
|
41
|
-
|
42
|
-
let(:folder_id) { folder_id }
|
43
|
-
let(:label) { label }
|
44
|
-
let(:document_ids) { document_ids }
|
45
|
-
let(:child_folders) { [{:folder_id => 'child folder id', :label => 'child label', :document_ids => document_ids}] }
|
46
|
-
|
47
|
-
example 'stores the content folder and returns the content folder instance' do
|
48
|
-
do_request
|
49
|
-
expect(status).to eq(201)
|
50
|
-
result = JSON.parse(response_body)
|
51
|
-
expect(result).not_to be_nil
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
context 'missing required values' do
|
56
|
-
folder_id = 'folder id'
|
57
|
-
label = 'label'
|
58
|
-
document_ids = nil
|
59
|
-
child_folders = nil
|
60
|
-
|
61
|
-
let(:folder_id) { folder_id }
|
62
|
-
let(:label) { label }
|
63
|
-
let(:document_ids) { document_ids }
|
64
|
-
let(:child_folders) { child_folders }
|
65
|
-
|
66
|
-
example 'returns status 422 when missing document id and child_folders' do
|
67
|
-
do_request
|
68
|
-
expect(status).to eq(422)
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
72
|
-
end
|
@@ -1,369 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:34:50 -0700
|
4
|
-
|
5
|
-
|
6
|
-
Started GET "/docs/__sinatra__/500.png" for 127.0.0.1 at 2014-03-05 08:34:50 -0700
|
7
|
-
|
8
|
-
ActionController::RoutingError (No route matches [GET] "/docs/__sinatra__/500.png"):
|
9
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
10
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
11
|
-
railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
|
12
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
13
|
-
activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
|
14
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
15
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
16
|
-
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
17
|
-
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
18
|
-
activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
19
|
-
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
20
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
|
21
|
-
railties (3.2.16) lib/rails/engine.rb:484:in `call'
|
22
|
-
railties (3.2.16) lib/rails/application.rb:231:in `call'
|
23
|
-
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
24
|
-
railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
|
25
|
-
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
26
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
|
27
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
|
28
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
|
29
|
-
|
30
|
-
|
31
|
-
Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (6.0ms)
|
32
|
-
|
33
|
-
|
34
|
-
Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:35:01 -0700
|
35
|
-
|
36
|
-
|
37
|
-
Started GET "/docs/__sinatra__/500.png" for 127.0.0.1 at 2014-03-05 08:35:01 -0700
|
38
|
-
|
39
|
-
ActionController::RoutingError (No route matches [GET] "/docs/__sinatra__/500.png"):
|
40
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
41
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
42
|
-
railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
|
43
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
44
|
-
activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
|
45
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
46
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
47
|
-
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
48
|
-
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
49
|
-
activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
50
|
-
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
51
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
|
52
|
-
railties (3.2.16) lib/rails/engine.rb:484:in `call'
|
53
|
-
railties (3.2.16) lib/rails/application.rb:231:in `call'
|
54
|
-
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
55
|
-
railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
|
56
|
-
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
57
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
|
58
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
|
59
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
|
60
|
-
|
61
|
-
|
62
|
-
Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)
|
63
|
-
|
64
|
-
|
65
|
-
Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:35:03 -0700
|
66
|
-
|
67
|
-
|
68
|
-
Started GET "/docs/__sinatra__/500.png" for 127.0.0.1 at 2014-03-05 08:35:04 -0700
|
69
|
-
|
70
|
-
ActionController::RoutingError (No route matches [GET] "/docs/__sinatra__/500.png"):
|
71
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
72
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
73
|
-
railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
|
74
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
75
|
-
activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
|
76
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
77
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
78
|
-
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
79
|
-
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
80
|
-
activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
81
|
-
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
82
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
|
83
|
-
railties (3.2.16) lib/rails/engine.rb:484:in `call'
|
84
|
-
railties (3.2.16) lib/rails/application.rb:231:in `call'
|
85
|
-
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
86
|
-
railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
|
87
|
-
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
88
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
|
89
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
|
90
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
|
91
|
-
|
92
|
-
|
93
|
-
Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)
|
94
|
-
|
95
|
-
|
96
|
-
Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:35:24 -0700
|
97
|
-
|
98
|
-
|
99
|
-
Started GET "/docs/__sinatra__/500.png" for 127.0.0.1 at 2014-03-05 08:35:24 -0700
|
100
|
-
|
101
|
-
ActionController::RoutingError (No route matches [GET] "/docs/__sinatra__/500.png"):
|
102
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
103
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
104
|
-
railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
|
105
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
106
|
-
activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
|
107
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
108
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
109
|
-
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
110
|
-
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
111
|
-
activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
112
|
-
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
113
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
|
114
|
-
railties (3.2.16) lib/rails/engine.rb:484:in `call'
|
115
|
-
railties (3.2.16) lib/rails/application.rb:231:in `call'
|
116
|
-
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
117
|
-
railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
|
118
|
-
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
119
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
|
120
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
|
121
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
|
122
|
-
|
123
|
-
|
124
|
-
Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
|
125
|
-
|
126
|
-
|
127
|
-
Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:36:31 -0700
|
128
|
-
|
129
|
-
|
130
|
-
Started GET "/docs/__sinatra__/500.png" for 127.0.0.1 at 2014-03-05 08:36:32 -0700
|
131
|
-
|
132
|
-
ActionController::RoutingError (No route matches [GET] "/docs/__sinatra__/500.png"):
|
133
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
134
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
135
|
-
railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
|
136
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
137
|
-
activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
|
138
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
139
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
140
|
-
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
141
|
-
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
142
|
-
activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
143
|
-
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
144
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
|
145
|
-
railties (3.2.16) lib/rails/engine.rb:484:in `call'
|
146
|
-
railties (3.2.16) lib/rails/application.rb:231:in `call'
|
147
|
-
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
148
|
-
railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
|
149
|
-
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
150
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
|
151
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
|
152
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
|
153
|
-
|
154
|
-
|
155
|
-
Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
|
156
|
-
|
157
|
-
|
158
|
-
Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
|
159
|
-
|
160
|
-
|
161
|
-
Started GET "/docs/codemirror.css" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
|
162
|
-
|
163
|
-
|
164
|
-
Started GET "/docs/application.css" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
|
165
|
-
|
166
|
-
|
167
|
-
Started GET "/docs/bootstrap.min.css" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
|
168
|
-
|
169
|
-
|
170
|
-
Started GET "/docs/js/codemirror.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
|
171
|
-
|
172
|
-
|
173
|
-
Started GET "/docs/js/mode/css/css.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
|
174
|
-
|
175
|
-
|
176
|
-
Started GET "/docs/js/jquery-1-7-2.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
|
177
|
-
|
178
|
-
|
179
|
-
Started GET "/docs/js/mode/htmlmixed/htmlmixed.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
|
180
|
-
|
181
|
-
|
182
|
-
Started GET "/docs/js/mode/javascript/javascript.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
|
183
|
-
|
184
|
-
|
185
|
-
Started GET "/docs/js/mode/xml/xml.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
|
186
|
-
|
187
|
-
|
188
|
-
Started GET "/docs" for 127.0.0.1 at 2014-03-05 09:01:13 -0700
|
189
|
-
|
190
|
-
ActionController::RoutingError (No route matches [GET] "/docs"):
|
191
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
192
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
193
|
-
railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
|
194
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
195
|
-
activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
|
196
|
-
railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
|
197
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
198
|
-
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
199
|
-
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
200
|
-
activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
201
|
-
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
202
|
-
actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
|
203
|
-
railties (3.2.16) lib/rails/engine.rb:484:in `call'
|
204
|
-
railties (3.2.16) lib/rails/application.rb:231:in `call'
|
205
|
-
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
206
|
-
railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
|
207
|
-
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
208
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
|
209
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
|
210
|
-
/Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
|
211
|
-
|
212
|
-
|
213
|
-
Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.0ms)
|
214
|
-
|
215
|
-
|
216
|
-
Started GET "/digital_assets/api" for 127.0.0.1 at 2014-03-05 09:01:19 -0700
|
217
|
-
Processing by DigitalAssetsController#show as JSON
|
218
|
-
Parameters: {"id"=>"api"}
|
219
|
-
Completed 404 Not Found in 92.0ms (Views: 1.0ms)
|
220
|
-
|
221
|
-
|
222
|
-
Started GET "/daengine/api" for 127.0.0.1 at 2014-03-05 09:01:45 -0700
|
223
|
-
|
224
|
-
|
225
|
-
Started GET "/daengine/api/codemirror.css" for 127.0.0.1 at 2014-03-05 09:01:45 -0700
|
226
|
-
|
227
|
-
|
228
|
-
Started GET "/daengine/api/application.css" for 127.0.0.1 at 2014-03-05 09:01:45 -0700
|
229
|
-
|
230
|
-
|
231
|
-
Started GET "/daengine/api/bootstrap.min.css" for 127.0.0.1 at 2014-03-05 09:01:45 -0700
|
232
|
-
|
233
|
-
|
234
|
-
Started GET "/daengine/api/js/jquery-1-7-2.js" for 127.0.0.1 at 2014-03-05 09:01:45 -0700
|
235
|
-
|
236
|
-
|
237
|
-
Started GET "/daengine/api/js/codemirror.js" for 127.0.0.1 at 2014-03-05 09:01:45 -0700
|
238
|
-
|
239
|
-
|
240
|
-
Started GET "/daengine/api/js/mode/css/css.js" for 127.0.0.1 at 2014-03-05 09:01:45 -0700
|
241
|
-
|
242
|
-
|
243
|
-
Started GET "/daengine/api/js/mode/htmlmixed/htmlmixed.js" for 127.0.0.1 at 2014-03-05 09:01:45 -0700
|
244
|
-
|
245
|
-
|
246
|
-
Started GET "/daengine/api/js/mode/javascript/javascript.js" for 127.0.0.1 at 2014-03-05 09:01:45 -0700
|
247
|
-
|
248
|
-
|
249
|
-
Started GET "/daengine/api/js/mode/xml/xml.js" for 127.0.0.1 at 2014-03-05 09:01:45 -0700
|
250
|
-
|
251
|
-
|
252
|
-
Started GET "/daengine/api" for 127.0.0.1 at 2014-03-05 09:01:55 -0700
|
253
|
-
|
254
|
-
|
255
|
-
Started GET "/daengine/api/js/jquery-1-7-2.js" for 127.0.0.1 at 2014-03-05 09:01:56 -0700
|
256
|
-
|
257
|
-
|
258
|
-
Started GET "/daengine/api/bootstrap.min.css" for 127.0.0.1 at 2014-03-05 09:01:56 -0700
|
259
|
-
|
260
|
-
|
261
|
-
Started GET "/daengine/api/js/mode/htmlmixed/htmlmixed.js" for 127.0.0.1 at 2014-03-05 09:01:56 -0700
|
262
|
-
|
263
|
-
|
264
|
-
Started GET "/daengine/api/codemirror.css" for 127.0.0.1 at 2014-03-05 09:01:56 -0700
|
265
|
-
|
266
|
-
|
267
|
-
Started GET "/daengine/api/application.css" for 127.0.0.1 at 2014-03-05 09:01:56 -0700
|
268
|
-
|
269
|
-
|
270
|
-
Started GET "/daengine/api/js/codemirror.js" for 127.0.0.1 at 2014-03-05 09:01:56 -0700
|
271
|
-
|
272
|
-
|
273
|
-
Started GET "/daengine/api/js/mode/css/css.js" for 127.0.0.1 at 2014-03-05 09:01:56 -0700
|
274
|
-
|
275
|
-
|
276
|
-
Started GET "/daengine/api/js/mode/javascript/javascript.js" for 127.0.0.1 at 2014-03-05 09:01:56 -0700
|
277
|
-
|
278
|
-
|
279
|
-
Started GET "/daengine/api/js/mode/xml/xml.js" for 127.0.0.1 at 2014-03-05 09:01:56 -0700
|
280
|
-
|
281
|
-
|
282
|
-
Started GET "/daengine/api/content_folder/returns__when_the_folder_does_not_exist" for 127.0.0.1 at 2014-03-05 09:02:05 -0700
|
283
|
-
|
284
|
-
|
285
|
-
Started GET "/daengine/api/application.css" for 127.0.0.1 at 2014-03-05 09:02:05 -0700
|
286
|
-
|
287
|
-
|
288
|
-
Started GET "/daengine/api/codemirror.css" for 127.0.0.1 at 2014-03-05 09:02:05 -0700
|
289
|
-
|
290
|
-
|
291
|
-
Started GET "/daengine/api/js/mode/css/css.js" for 127.0.0.1 at 2014-03-05 09:02:05 -0700
|
292
|
-
|
293
|
-
|
294
|
-
Started GET "/daengine/api/bootstrap.min.css" for 127.0.0.1 at 2014-03-05 09:02:05 -0700
|
295
|
-
|
296
|
-
|
297
|
-
Started GET "/daengine/api/js/codemirror.js" for 127.0.0.1 at 2014-03-05 09:02:05 -0700
|
298
|
-
|
299
|
-
|
300
|
-
Started GET "/daengine/api/js/jquery-1-7-2.js" for 127.0.0.1 at 2014-03-05 09:02:05 -0700
|
301
|
-
|
302
|
-
|
303
|
-
Started GET "/daengine/api/js/mode/htmlmixed/htmlmixed.js" for 127.0.0.1 at 2014-03-05 09:02:05 -0700
|
304
|
-
|
305
|
-
|
306
|
-
Started GET "/daengine/api/js/mode/javascript/javascript.js" for 127.0.0.1 at 2014-03-05 09:02:05 -0700
|
307
|
-
|
308
|
-
|
309
|
-
Started GET "/daengine/api/js/mode/xml/xml.js" for 127.0.0.1 at 2014-03-05 09:02:05 -0700
|
310
|
-
|
311
|
-
|
312
|
-
Started GET "/daengine/api/digital_assets/query_for_a_document_by_digital_asset_id" for 127.0.0.1 at 2014-03-05 09:02:12 -0700
|
313
|
-
|
314
|
-
|
315
|
-
Started GET "/daengine/api/application.css" for 127.0.0.1 at 2014-03-05 09:02:12 -0700
|
316
|
-
|
317
|
-
|
318
|
-
Started GET "/daengine/api/codemirror.css" for 127.0.0.1 at 2014-03-05 09:02:12 -0700
|
319
|
-
|
320
|
-
|
321
|
-
Started GET "/daengine/api/js/codemirror.js" for 127.0.0.1 at 2014-03-05 09:02:12 -0700
|
322
|
-
|
323
|
-
|
324
|
-
Started GET "/daengine/api/bootstrap.min.css" for 127.0.0.1 at 2014-03-05 09:02:12 -0700
|
325
|
-
|
326
|
-
|
327
|
-
Started GET "/daengine/api/js/mode/css/css.js" for 127.0.0.1 at 2014-03-05 09:02:12 -0700
|
328
|
-
|
329
|
-
|
330
|
-
Started GET "/daengine/api/js/jquery-1-7-2.js" for 127.0.0.1 at 2014-03-05 09:02:12 -0700
|
331
|
-
|
332
|
-
|
333
|
-
Started GET "/daengine/api/js/mode/htmlmixed/htmlmixed.js" for 127.0.0.1 at 2014-03-05 09:02:12 -0700
|
334
|
-
|
335
|
-
|
336
|
-
Started GET "/daengine/api/js/mode/javascript/javascript.js" for 127.0.0.1 at 2014-03-05 09:02:12 -0700
|
337
|
-
|
338
|
-
|
339
|
-
Started GET "/daengine/api/js/mode/xml/xml.js" for 127.0.0.1 at 2014-03-05 09:02:12 -0700
|
340
|
-
|
341
|
-
|
342
|
-
Started GET "/daengine/api/digital_assets/returns_a__for_docs_we_dont_have_in_the_db" for 127.0.0.1 at 2014-03-05 09:02:24 -0700
|
343
|
-
|
344
|
-
|
345
|
-
Started GET "/daengine/api/codemirror.css" for 127.0.0.1 at 2014-03-05 09:02:24 -0700
|
346
|
-
|
347
|
-
|
348
|
-
Started GET "/daengine/api/application.css" for 127.0.0.1 at 2014-03-05 09:02:24 -0700
|
349
|
-
|
350
|
-
|
351
|
-
Started GET "/daengine/api/bootstrap.min.css" for 127.0.0.1 at 2014-03-05 09:02:24 -0700
|
352
|
-
|
353
|
-
|
354
|
-
Started GET "/daengine/api/js/codemirror.js" for 127.0.0.1 at 2014-03-05 09:02:24 -0700
|
355
|
-
|
356
|
-
|
357
|
-
Started GET "/daengine/api/js/mode/css/css.js" for 127.0.0.1 at 2014-03-05 09:02:24 -0700
|
358
|
-
|
359
|
-
|
360
|
-
Started GET "/daengine/api/js/jquery-1-7-2.js" for 127.0.0.1 at 2014-03-05 09:02:25 -0700
|
361
|
-
|
362
|
-
|
363
|
-
Started GET "/daengine/api/js/mode/htmlmixed/htmlmixed.js" for 127.0.0.1 at 2014-03-05 09:02:25 -0700
|
364
|
-
|
365
|
-
|
366
|
-
Started GET "/daengine/api/js/mode/javascript/javascript.js" for 127.0.0.1 at 2014-03-05 09:02:25 -0700
|
367
|
-
|
368
|
-
|
369
|
-
Started GET "/daengine/api/js/mode/xml/xml.js" for 127.0.0.1 at 2014-03-05 09:02:25 -0700
|