collection-json-browser 0.0.10 → 0.0.11
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.
- data/app/assets/javascripts/collection_json_browser/angular/controllers/api_controller.js +3 -45
- data/app/views/collection_json_browser/home/index.html +2 -10
- data/lib/collection-json-browser/version.rb +1 -1
- data/test/dummy/log/development.log +1023 -0
- data/test/dummy/tmp/cache/assets/CC8/CC0/sprockets%2F77ac1342b1ae62c0123f399257a703aa +0 -0
- data/test/dummy/tmp/cache/assets/D01/390/sprockets%2F152365a6c64bdbf13d80c22762c0f48b +0 -0
- data/test/dummy/tmp/cache/assets/D36/D00/sprockets%2F3a43e8f11605c939cbb04aec364ba775 +0 -0
- data/test/dummy/tmp/cache/assets/D58/C00/sprockets%2F7bd61bb28f7ce577f679872a7cc4a477 +0 -0
- data/test/dummy/tmp/cache/assets/D74/650/sprockets%2F5c448233c8ef782e60adda4b8f572b6b +0 -0
- data/test/javascripts/test/unit/controllersSpec.js +2 -51
- metadata +1 -1
|
@@ -21,25 +21,14 @@ function ApiController($scope, $http, $location) {
|
|
|
21
21
|
get(url)
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
-
$scope.$watch(function() {
|
|
25
|
-
return $scope.item;
|
|
26
|
-
}, function(item, oldItem) {
|
|
27
|
-
if(item != oldItem)
|
|
28
|
-
getTemplate(item)
|
|
29
|
-
});
|
|
30
|
-
|
|
31
24
|
get($scope.rootUrl)
|
|
32
25
|
|
|
33
26
|
// helpers
|
|
34
27
|
|
|
35
|
-
function get(url
|
|
28
|
+
function get(url) {
|
|
36
29
|
$scope.loading = true
|
|
37
|
-
|
|
38
|
-
if(successHandler === undefined)
|
|
39
|
-
successHandler = responseHandler
|
|
40
|
-
|
|
41
30
|
$http.get(url).success(function(data, status){
|
|
42
|
-
|
|
31
|
+
responseHandler(data, status)
|
|
43
32
|
$location.url(url)
|
|
44
33
|
}).error(responseHandler)
|
|
45
34
|
}
|
|
@@ -68,7 +57,7 @@ function ApiController($scope, $http, $location) {
|
|
|
68
57
|
|
|
69
58
|
function formData() {
|
|
70
59
|
var data = {};
|
|
71
|
-
$scope.template.forEach(function(f)
|
|
60
|
+
$scope.collection.template.data.forEach(function(f){
|
|
72
61
|
data[f.name] = f.value
|
|
73
62
|
})
|
|
74
63
|
return data
|
|
@@ -77,40 +66,9 @@ function ApiController($scope, $http, $location) {
|
|
|
77
66
|
function responseHandler(data, status) {
|
|
78
67
|
$scope.collection = data.collection;
|
|
79
68
|
$scope.raw = JSON.stringify(data, undefined, 2)
|
|
80
|
-
|
|
81
|
-
setTemplate(data)
|
|
82
|
-
|
|
83
|
-
var items = data.collection.items
|
|
84
|
-
$scope.itemPaths = [{ name: "-- None (POST create) --", value: ''}]
|
|
85
|
-
if(items)
|
|
86
|
-
items.forEach(function(i){
|
|
87
|
-
$scope.itemPaths.push({name: i.href, value: i.href})
|
|
88
|
-
})
|
|
89
|
-
$scope.item = ""
|
|
90
|
-
|
|
91
69
|
$scope.status = status
|
|
92
70
|
$scope.loading = false
|
|
93
71
|
}
|
|
94
|
-
|
|
95
|
-
function getTemplate(item) {
|
|
96
|
-
if(item === undefined || item == '') {
|
|
97
|
-
//TODO
|
|
98
|
-
//empty fields
|
|
99
|
-
//post
|
|
100
|
-
} else {
|
|
101
|
-
get(item, setTemplate)
|
|
102
|
-
//TODO
|
|
103
|
-
//put
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function setTemplate(data){
|
|
108
|
-
if(data.collection.template) {
|
|
109
|
-
$scope.template = data.collection.template.data
|
|
110
|
-
} else {
|
|
111
|
-
$scope.template = undefined
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
72
|
}
|
|
115
73
|
|
|
116
74
|
ApiController.$inject = ['$scope', '$http', '$location'];
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
<input id='href' value="{{collection.href}}">
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
|
-
<div ng-show="template">
|
|
28
|
+
<div ng-show="collection.template">
|
|
29
29
|
<h2>Template</h2>
|
|
30
30
|
<div class="template thumbnail">
|
|
31
31
|
<form class="form-horizontal" ng-submit="submit()">
|
|
32
|
-
<fieldset class="control-group" ng-repeat="field in template">
|
|
32
|
+
<fieldset class="control-group" ng-repeat="field in collection.template.data">
|
|
33
33
|
<label class="control-label" for='{{field.name}}'>{{field.name}}</label>
|
|
34
34
|
<div class="controls" ng-switch on="field.array">
|
|
35
35
|
<input ng-switch-when="undefined" id='{{field.name}}' value="{{field.value}}" ng-model='field.value'>
|
|
@@ -37,14 +37,6 @@
|
|
|
37
37
|
</select>
|
|
38
38
|
</div>
|
|
39
39
|
</fieldset>
|
|
40
|
-
<div ng-show="collection.items">
|
|
41
|
-
<fieldset class="control-group">
|
|
42
|
-
<label class="control-label" for="item-to-update">item to update</label>
|
|
43
|
-
<div class="controls">
|
|
44
|
-
<select id='item-to-updat' ng-model='item' ng-options="option.value as option.name for option in itemPaths"></select>
|
|
45
|
-
</div>
|
|
46
|
-
</fieldset>
|
|
47
|
-
</div>
|
|
48
40
|
<div class="control-group">
|
|
49
41
|
<div class="controls">
|
|
50
42
|
<button type="submit" class="btn">Submit</button>
|
|
@@ -127271,3 +127271,1026 @@ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
|
127271
127271
|
|
|
127272
127272
|
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 17:57:25 +0800
|
|
127273
127273
|
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127274
|
+
Connecting to database specified by database.yml
|
|
127275
|
+
|
|
127276
|
+
|
|
127277
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127278
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127279
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (1.5ms)
|
|
127280
|
+
Compiled collection_json_browser/angular/controllers/api_controller.js (0ms) (pid 53294)
|
|
127281
|
+
Compiled collection_json_browser/application.js (1ms) (pid 53294)
|
|
127282
|
+
Completed 200 OK in 40ms (Views: 39.6ms | ActiveRecord: 0.0ms)
|
|
127283
|
+
|
|
127284
|
+
|
|
127285
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127286
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (6ms)
|
|
127287
|
+
|
|
127288
|
+
|
|
127289
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127290
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 200 OK (1ms)
|
|
127291
|
+
|
|
127292
|
+
|
|
127293
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127294
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (2ms)
|
|
127295
|
+
|
|
127296
|
+
|
|
127297
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127298
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (3ms)
|
|
127299
|
+
|
|
127300
|
+
|
|
127301
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127302
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (2ms)
|
|
127303
|
+
|
|
127304
|
+
|
|
127305
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127306
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (3ms)
|
|
127307
|
+
|
|
127308
|
+
|
|
127309
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127310
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127311
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
127312
|
+
|
|
127313
|
+
|
|
127314
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127315
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127316
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127317
|
+
|
|
127318
|
+
|
|
127319
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127320
|
+
Served asset /cat.gif - 304 Not Modified (23ms)
|
|
127321
|
+
|
|
127322
|
+
|
|
127323
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127324
|
+
Processing by Api::PostsController#index as JSON
|
|
127325
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
|
127326
|
+
|
|
127327
|
+
|
|
127328
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127329
|
+
Processing by Api::PostsController#index as JSON
|
|
127330
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
|
127331
|
+
|
|
127332
|
+
|
|
127333
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127334
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127335
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127336
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
|
127337
|
+
|
|
127338
|
+
|
|
127339
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127340
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
127341
|
+
|
|
127342
|
+
|
|
127343
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127344
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127345
|
+
|
|
127346
|
+
|
|
127347
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:11:55 +0800
|
|
127348
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127349
|
+
|
|
127350
|
+
|
|
127351
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127352
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127353
|
+
|
|
127354
|
+
|
|
127355
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127356
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127357
|
+
|
|
127358
|
+
|
|
127359
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127360
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127361
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
|
127362
|
+
|
|
127363
|
+
|
|
127364
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127365
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127366
|
+
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
127367
|
+
|
|
127368
|
+
|
|
127369
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127370
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127371
|
+
|
|
127372
|
+
|
|
127373
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127374
|
+
Processing by Api::PostsController#index as JSON
|
|
127375
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
|
127376
|
+
|
|
127377
|
+
|
|
127378
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127379
|
+
Processing by Api::PostsController#index as JSON
|
|
127380
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
|
127381
|
+
|
|
127382
|
+
|
|
127383
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127384
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127385
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127386
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
|
127387
|
+
|
|
127388
|
+
|
|
127389
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127390
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127391
|
+
|
|
127392
|
+
|
|
127393
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127394
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127395
|
+
|
|
127396
|
+
|
|
127397
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127398
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
127399
|
+
|
|
127400
|
+
|
|
127401
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127402
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127403
|
+
|
|
127404
|
+
|
|
127405
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127406
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127407
|
+
|
|
127408
|
+
|
|
127409
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127410
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127411
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127412
|
+
|
|
127413
|
+
|
|
127414
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127415
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127416
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
|
127417
|
+
|
|
127418
|
+
|
|
127419
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127420
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127421
|
+
|
|
127422
|
+
|
|
127423
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127424
|
+
Processing by Api::PostsController#index as JSON
|
|
127425
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
|
127426
|
+
|
|
127427
|
+
|
|
127428
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127429
|
+
Processing by Api::PostsController#index as JSON
|
|
127430
|
+
Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)
|
|
127431
|
+
|
|
127432
|
+
|
|
127433
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127434
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127435
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127436
|
+
Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
127437
|
+
|
|
127438
|
+
|
|
127439
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127440
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (3ms)
|
|
127441
|
+
|
|
127442
|
+
|
|
127443
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127444
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127445
|
+
|
|
127446
|
+
|
|
127447
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127448
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127449
|
+
|
|
127450
|
+
|
|
127451
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127452
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127453
|
+
|
|
127454
|
+
|
|
127455
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127456
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127457
|
+
|
|
127458
|
+
|
|
127459
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127460
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127461
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127462
|
+
|
|
127463
|
+
|
|
127464
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127465
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127466
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
127467
|
+
|
|
127468
|
+
|
|
127469
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127470
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127471
|
+
|
|
127472
|
+
|
|
127473
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127474
|
+
Processing by Api::PostsController#index as JSON
|
|
127475
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
|
127476
|
+
|
|
127477
|
+
|
|
127478
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127479
|
+
Processing by Api::PostsController#index as JSON
|
|
127480
|
+
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
|
127481
|
+
|
|
127482
|
+
|
|
127483
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127484
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127485
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127486
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
|
127487
|
+
|
|
127488
|
+
|
|
127489
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127490
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
127491
|
+
|
|
127492
|
+
|
|
127493
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127494
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127495
|
+
|
|
127496
|
+
|
|
127497
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127498
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127499
|
+
|
|
127500
|
+
|
|
127501
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127502
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127503
|
+
|
|
127504
|
+
|
|
127505
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127506
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127507
|
+
|
|
127508
|
+
|
|
127509
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127510
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127511
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127512
|
+
|
|
127513
|
+
|
|
127514
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127515
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127516
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
127517
|
+
|
|
127518
|
+
|
|
127519
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127520
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127521
|
+
|
|
127522
|
+
|
|
127523
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127524
|
+
Processing by Api::PostsController#index as JSON
|
|
127525
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
|
127526
|
+
|
|
127527
|
+
|
|
127528
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:56 +0800
|
|
127529
|
+
Processing by Api::PostsController#index as JSON
|
|
127530
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
|
127531
|
+
|
|
127532
|
+
|
|
127533
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127534
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127535
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127536
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
|
127537
|
+
|
|
127538
|
+
|
|
127539
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127540
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127541
|
+
|
|
127542
|
+
|
|
127543
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127544
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
127545
|
+
|
|
127546
|
+
|
|
127547
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127548
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127549
|
+
|
|
127550
|
+
|
|
127551
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127552
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127553
|
+
|
|
127554
|
+
|
|
127555
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127556
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127557
|
+
|
|
127558
|
+
|
|
127559
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127560
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127561
|
+
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
127562
|
+
|
|
127563
|
+
|
|
127564
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127565
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127566
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
127567
|
+
|
|
127568
|
+
|
|
127569
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127570
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127571
|
+
|
|
127572
|
+
|
|
127573
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127574
|
+
Processing by Api::PostsController#index as JSON
|
|
127575
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
|
127576
|
+
|
|
127577
|
+
|
|
127578
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127579
|
+
Processing by Api::PostsController#index as JSON
|
|
127580
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
|
127581
|
+
|
|
127582
|
+
|
|
127583
|
+
Started POST "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127584
|
+
Processing by Api::PostsController#create as JSON
|
|
127585
|
+
Parameters: {"title"=>"Happily ever after", "content"=>"Happily ever after", "category"=>"ruby", "post"=>{}}
|
|
127586
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
127587
|
+
|
|
127588
|
+
|
|
127589
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127590
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127591
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127592
|
+
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
|
127593
|
+
|
|
127594
|
+
|
|
127595
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127596
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127597
|
+
|
|
127598
|
+
|
|
127599
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127600
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127601
|
+
|
|
127602
|
+
|
|
127603
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127604
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
127605
|
+
|
|
127606
|
+
|
|
127607
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127608
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127609
|
+
|
|
127610
|
+
|
|
127611
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127612
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127613
|
+
|
|
127614
|
+
|
|
127615
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127616
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127617
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
127618
|
+
|
|
127619
|
+
|
|
127620
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127621
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127622
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127623
|
+
|
|
127624
|
+
|
|
127625
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127626
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127627
|
+
|
|
127628
|
+
|
|
127629
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127630
|
+
Processing by Api::PostsController#index as JSON
|
|
127631
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
|
127632
|
+
|
|
127633
|
+
|
|
127634
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127635
|
+
Processing by Api::PostsController#index as JSON
|
|
127636
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
|
127637
|
+
|
|
127638
|
+
|
|
127639
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127640
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127641
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127642
|
+
|
|
127643
|
+
|
|
127644
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127645
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127646
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127647
|
+
|
|
127648
|
+
|
|
127649
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127650
|
+
Served asset /cat.gif - 304 Not Modified (24ms)
|
|
127651
|
+
|
|
127652
|
+
|
|
127653
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127654
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127655
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127656
|
+
Completed 200 OK in 5ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
|
127657
|
+
|
|
127658
|
+
|
|
127659
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127660
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127661
|
+
|
|
127662
|
+
|
|
127663
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127664
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
127665
|
+
|
|
127666
|
+
|
|
127667
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127668
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127669
|
+
|
|
127670
|
+
|
|
127671
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127672
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127673
|
+
|
|
127674
|
+
|
|
127675
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127676
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127677
|
+
|
|
127678
|
+
|
|
127679
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127680
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127681
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
127682
|
+
|
|
127683
|
+
|
|
127684
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127685
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127686
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
127687
|
+
|
|
127688
|
+
|
|
127689
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:57 +0800
|
|
127690
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127691
|
+
|
|
127692
|
+
|
|
127693
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127694
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127695
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127696
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
|
127697
|
+
|
|
127698
|
+
|
|
127699
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127700
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127701
|
+
|
|
127702
|
+
|
|
127703
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127704
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
127705
|
+
|
|
127706
|
+
|
|
127707
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127708
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127709
|
+
|
|
127710
|
+
|
|
127711
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127712
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127713
|
+
|
|
127714
|
+
|
|
127715
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127716
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127717
|
+
|
|
127718
|
+
|
|
127719
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127720
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127721
|
+
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
127722
|
+
|
|
127723
|
+
|
|
127724
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127725
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127726
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
127727
|
+
|
|
127728
|
+
|
|
127729
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127730
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127731
|
+
|
|
127732
|
+
|
|
127733
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127734
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127735
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127736
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
|
127737
|
+
|
|
127738
|
+
|
|
127739
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127740
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127741
|
+
|
|
127742
|
+
|
|
127743
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127744
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127745
|
+
|
|
127746
|
+
|
|
127747
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127748
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
127749
|
+
|
|
127750
|
+
|
|
127751
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127752
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127753
|
+
|
|
127754
|
+
|
|
127755
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127756
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127757
|
+
|
|
127758
|
+
|
|
127759
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127760
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127761
|
+
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
127762
|
+
|
|
127763
|
+
|
|
127764
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127765
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127766
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127767
|
+
|
|
127768
|
+
|
|
127769
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:11:58 +0800
|
|
127770
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127771
|
+
Connecting to database specified by database.yml
|
|
127772
|
+
Connecting to database specified by database.yml
|
|
127773
|
+
|
|
127774
|
+
|
|
127775
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127776
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127777
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (1.7ms)
|
|
127778
|
+
Compiled collection_json_browser/angular/controllers/api_controller.js (0ms) (pid 55063)
|
|
127779
|
+
Compiled collection_json_browser/application.js (1ms) (pid 55063)
|
|
127780
|
+
Completed 200 OK in 31ms (Views: 30.8ms | ActiveRecord: 0.0ms)
|
|
127781
|
+
|
|
127782
|
+
|
|
127783
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127784
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (7ms)
|
|
127785
|
+
|
|
127786
|
+
|
|
127787
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127788
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 200 OK (1ms)
|
|
127789
|
+
|
|
127790
|
+
|
|
127791
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127792
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (3ms)
|
|
127793
|
+
|
|
127794
|
+
|
|
127795
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127796
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (2ms)
|
|
127797
|
+
|
|
127798
|
+
|
|
127799
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127800
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (3ms)
|
|
127801
|
+
|
|
127802
|
+
|
|
127803
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127804
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (2ms)
|
|
127805
|
+
|
|
127806
|
+
|
|
127807
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127808
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127809
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
|
127810
|
+
|
|
127811
|
+
|
|
127812
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127813
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127814
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127815
|
+
|
|
127816
|
+
|
|
127817
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127818
|
+
Served asset /cat.gif - 304 Not Modified (1ms)
|
|
127819
|
+
|
|
127820
|
+
|
|
127821
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127822
|
+
Processing by Api::PostsController#index as JSON
|
|
127823
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
|
127824
|
+
|
|
127825
|
+
|
|
127826
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127827
|
+
Processing by Api::PostsController#index as JSON
|
|
127828
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
|
127829
|
+
|
|
127830
|
+
|
|
127831
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127832
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127833
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127834
|
+
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
|
127835
|
+
|
|
127836
|
+
|
|
127837
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127838
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127839
|
+
|
|
127840
|
+
|
|
127841
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127842
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127843
|
+
|
|
127844
|
+
|
|
127845
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127846
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127847
|
+
|
|
127848
|
+
|
|
127849
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127850
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127851
|
+
|
|
127852
|
+
|
|
127853
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127854
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
127855
|
+
|
|
127856
|
+
|
|
127857
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127858
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127859
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
127860
|
+
|
|
127861
|
+
|
|
127862
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127863
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127864
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127865
|
+
|
|
127866
|
+
|
|
127867
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:26 +0800
|
|
127868
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127869
|
+
|
|
127870
|
+
|
|
127871
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127872
|
+
Processing by Api::PostsController#index as JSON
|
|
127873
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
|
127874
|
+
|
|
127875
|
+
|
|
127876
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127877
|
+
Processing by Api::PostsController#index as JSON
|
|
127878
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
|
127879
|
+
|
|
127880
|
+
|
|
127881
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127882
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127883
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127884
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
|
127885
|
+
|
|
127886
|
+
|
|
127887
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127888
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (1ms)
|
|
127889
|
+
|
|
127890
|
+
|
|
127891
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127892
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127893
|
+
|
|
127894
|
+
|
|
127895
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127896
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127897
|
+
|
|
127898
|
+
|
|
127899
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127900
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127901
|
+
|
|
127902
|
+
|
|
127903
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127904
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127905
|
+
|
|
127906
|
+
|
|
127907
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127908
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127909
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127910
|
+
|
|
127911
|
+
|
|
127912
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127913
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127914
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
127915
|
+
|
|
127916
|
+
|
|
127917
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127918
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127919
|
+
|
|
127920
|
+
|
|
127921
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127922
|
+
Processing by Api::PostsController#index as JSON
|
|
127923
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
|
127924
|
+
|
|
127925
|
+
|
|
127926
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127927
|
+
Processing by Api::PostsController#index as JSON
|
|
127928
|
+
Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.0ms)
|
|
127929
|
+
|
|
127930
|
+
|
|
127931
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127932
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127933
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.1ms)
|
|
127934
|
+
Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
127935
|
+
|
|
127936
|
+
|
|
127937
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127938
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127939
|
+
|
|
127940
|
+
|
|
127941
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127942
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
127943
|
+
|
|
127944
|
+
|
|
127945
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127946
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
|
127947
|
+
|
|
127948
|
+
|
|
127949
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127950
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127951
|
+
|
|
127952
|
+
|
|
127953
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127954
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
127955
|
+
|
|
127956
|
+
|
|
127957
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127958
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
127959
|
+
|
|
127960
|
+
|
|
127961
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127962
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127963
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
|
127964
|
+
|
|
127965
|
+
|
|
127966
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127967
|
+
Processing by Api::ApplicationController#index as JSON
|
|
127968
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
127969
|
+
|
|
127970
|
+
|
|
127971
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127972
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
127973
|
+
|
|
127974
|
+
|
|
127975
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127976
|
+
Processing by Api::PostsController#index as JSON
|
|
127977
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
|
127978
|
+
|
|
127979
|
+
|
|
127980
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127981
|
+
Processing by Api::PostsController#index as JSON
|
|
127982
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
|
127983
|
+
|
|
127984
|
+
|
|
127985
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127986
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
127987
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
127988
|
+
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
|
127989
|
+
|
|
127990
|
+
|
|
127991
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127992
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
127993
|
+
|
|
127994
|
+
|
|
127995
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
127996
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
127997
|
+
|
|
127998
|
+
|
|
127999
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128000
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
|
128001
|
+
|
|
128002
|
+
|
|
128003
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128004
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
128005
|
+
|
|
128006
|
+
|
|
128007
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128008
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
128009
|
+
|
|
128010
|
+
|
|
128011
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128012
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
128013
|
+
|
|
128014
|
+
|
|
128015
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128016
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128017
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
128018
|
+
|
|
128019
|
+
|
|
128020
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128021
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128022
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
128023
|
+
|
|
128024
|
+
|
|
128025
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128026
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
128027
|
+
|
|
128028
|
+
|
|
128029
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128030
|
+
Processing by Api::PostsController#index as JSON
|
|
128031
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
|
128032
|
+
|
|
128033
|
+
|
|
128034
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128035
|
+
Processing by Api::PostsController#index as JSON
|
|
128036
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
|
128037
|
+
|
|
128038
|
+
|
|
128039
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128040
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
128041
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
128042
|
+
Completed 200 OK in 30ms (Views: 29.9ms | ActiveRecord: 0.0ms)
|
|
128043
|
+
|
|
128044
|
+
|
|
128045
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:27 +0800
|
|
128046
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
128047
|
+
|
|
128048
|
+
|
|
128049
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128050
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
128051
|
+
|
|
128052
|
+
|
|
128053
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128054
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
128055
|
+
|
|
128056
|
+
|
|
128057
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128058
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
128059
|
+
|
|
128060
|
+
|
|
128061
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128062
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
|
128063
|
+
|
|
128064
|
+
|
|
128065
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128066
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
128067
|
+
|
|
128068
|
+
|
|
128069
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128070
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128071
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
128072
|
+
|
|
128073
|
+
|
|
128074
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128075
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128076
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
128077
|
+
|
|
128078
|
+
|
|
128079
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128080
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
128081
|
+
|
|
128082
|
+
|
|
128083
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128084
|
+
Processing by Api::PostsController#index as JSON
|
|
128085
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
|
128086
|
+
|
|
128087
|
+
|
|
128088
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128089
|
+
Processing by Api::PostsController#index as JSON
|
|
128090
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
|
128091
|
+
|
|
128092
|
+
|
|
128093
|
+
Started POST "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128094
|
+
Processing by Api::PostsController#create as JSON
|
|
128095
|
+
Parameters: {"title"=>"Happily ever after", "content"=>"Happily ever after", "category"=>"ruby", "post"=>{}}
|
|
128096
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
|
128097
|
+
|
|
128098
|
+
|
|
128099
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128100
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
128101
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
128102
|
+
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
|
128103
|
+
|
|
128104
|
+
|
|
128105
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128106
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
128107
|
+
|
|
128108
|
+
|
|
128109
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128110
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
128111
|
+
|
|
128112
|
+
|
|
128113
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128114
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
128115
|
+
|
|
128116
|
+
|
|
128117
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128118
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
128119
|
+
|
|
128120
|
+
|
|
128121
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128122
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
128123
|
+
|
|
128124
|
+
|
|
128125
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128126
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
|
128127
|
+
|
|
128128
|
+
|
|
128129
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128130
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128131
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
128132
|
+
|
|
128133
|
+
|
|
128134
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128135
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128136
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
128137
|
+
|
|
128138
|
+
|
|
128139
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128140
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
128141
|
+
|
|
128142
|
+
|
|
128143
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128144
|
+
Processing by Api::PostsController#index as JSON
|
|
128145
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
|
128146
|
+
|
|
128147
|
+
|
|
128148
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128149
|
+
Processing by Api::PostsController#index as JSON
|
|
128150
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
|
128151
|
+
|
|
128152
|
+
|
|
128153
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128154
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128155
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
128156
|
+
|
|
128157
|
+
|
|
128158
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128159
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128160
|
+
Completed 200 OK in 18ms (Views: 18.1ms | ActiveRecord: 0.0ms)
|
|
128161
|
+
|
|
128162
|
+
|
|
128163
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128164
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
128165
|
+
|
|
128166
|
+
|
|
128167
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128168
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
128169
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
128170
|
+
Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
128171
|
+
|
|
128172
|
+
|
|
128173
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128174
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
128175
|
+
|
|
128176
|
+
|
|
128177
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128178
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
128179
|
+
|
|
128180
|
+
|
|
128181
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128182
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
|
128183
|
+
|
|
128184
|
+
|
|
128185
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128186
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
128187
|
+
|
|
128188
|
+
|
|
128189
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128190
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
128191
|
+
|
|
128192
|
+
|
|
128193
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128194
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
128195
|
+
|
|
128196
|
+
|
|
128197
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128198
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128199
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
128200
|
+
|
|
128201
|
+
|
|
128202
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128203
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128204
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
128205
|
+
|
|
128206
|
+
|
|
128207
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128208
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
128209
|
+
|
|
128210
|
+
|
|
128211
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128212
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
128213
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
128214
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
|
128215
|
+
|
|
128216
|
+
|
|
128217
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128218
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
128219
|
+
|
|
128220
|
+
|
|
128221
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128222
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
128223
|
+
|
|
128224
|
+
|
|
128225
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128226
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
128227
|
+
|
|
128228
|
+
|
|
128229
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128230
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
|
128231
|
+
|
|
128232
|
+
|
|
128233
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128234
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
128235
|
+
|
|
128236
|
+
|
|
128237
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128238
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
128239
|
+
|
|
128240
|
+
|
|
128241
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128242
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128243
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
|
128244
|
+
|
|
128245
|
+
|
|
128246
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128247
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128248
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
|
128249
|
+
|
|
128250
|
+
|
|
128251
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128252
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
128253
|
+
|
|
128254
|
+
|
|
128255
|
+
Started GET "/doc" for 127.0.0.1 at 2013-09-15 18:30:28 +0800
|
|
128256
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
|
128257
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
|
128258
|
+
Completed 200 OK in 5ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
|
128259
|
+
|
|
128260
|
+
|
|
128261
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:29 +0800
|
|
128262
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
|
128263
|
+
|
|
128264
|
+
|
|
128265
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:29 +0800
|
|
128266
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
|
128267
|
+
|
|
128268
|
+
|
|
128269
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:29 +0800
|
|
128270
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
|
128271
|
+
|
|
128272
|
+
|
|
128273
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-09-15 18:30:29 +0800
|
|
128274
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
|
128275
|
+
|
|
128276
|
+
|
|
128277
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-09-15 18:30:29 +0800
|
|
128278
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
|
128279
|
+
|
|
128280
|
+
|
|
128281
|
+
Started GET "/assets/collection-json-browser/loading-spinner.gif" for 127.0.0.1 at 2013-09-15 18:30:29 +0800
|
|
128282
|
+
Served asset /collection-json-browser/loading-spinner.gif - 304 Not Modified (0ms)
|
|
128283
|
+
|
|
128284
|
+
|
|
128285
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:29 +0800
|
|
128286
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128287
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
|
128288
|
+
|
|
128289
|
+
|
|
128290
|
+
Started GET "/api" for 127.0.0.1 at 2013-09-15 18:30:29 +0800
|
|
128291
|
+
Processing by Api::ApplicationController#index as JSON
|
|
128292
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
128293
|
+
|
|
128294
|
+
|
|
128295
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-09-15 18:30:29 +0800
|
|
128296
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -13,7 +13,6 @@ describe('ApiController', function(){
|
|
|
13
13
|
rel: "My cat is cooler",
|
|
14
14
|
render: "image"
|
|
15
15
|
};
|
|
16
|
-
|
|
17
16
|
var responseData = {
|
|
18
17
|
collection: {
|
|
19
18
|
version: "1.0",
|
|
@@ -22,15 +21,8 @@ describe('ApiController', function(){
|
|
|
22
21
|
items: [ getItem(1), getItem(2) ],
|
|
23
22
|
template: {
|
|
24
23
|
data: [
|
|
25
|
-
{
|
|
26
|
-
|
|
27
|
-
prompt: "Post title",
|
|
28
|
-
value: ""
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
name: "tag",
|
|
32
|
-
value: ""
|
|
33
|
-
},
|
|
24
|
+
{name: ''},
|
|
25
|
+
{age: 2}
|
|
34
26
|
]
|
|
35
27
|
}
|
|
36
28
|
}
|
|
@@ -77,47 +69,6 @@ describe('ApiController', function(){
|
|
|
77
69
|
expect(JSON.parse(scope.raw)).toEqual(responseData);
|
|
78
70
|
});
|
|
79
71
|
|
|
80
|
-
describe('template', function(){
|
|
81
|
-
var t;
|
|
82
|
-
beforeEach(function(){
|
|
83
|
-
t = responseData.collection.template
|
|
84
|
-
})
|
|
85
|
-
|
|
86
|
-
it('sets the template from response data', function() {
|
|
87
|
-
expect(scope.template).toBeUndefined();
|
|
88
|
-
$httpBackend.flush();
|
|
89
|
-
|
|
90
|
-
expect(scope.template).toEqual(responseData.collection.template.data);
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
it('assigns undefined when response data does not contain template', function() {
|
|
94
|
-
responseData.collection.template = undefined
|
|
95
|
-
scope.template = t
|
|
96
|
-
$httpBackend.flush();
|
|
97
|
-
|
|
98
|
-
expect(scope.template).toBeUndefined();
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
afterEach(function(){
|
|
102
|
-
responseData.collection.template = t
|
|
103
|
-
})
|
|
104
|
-
})
|
|
105
|
-
|
|
106
|
-
it('sets the itemPaths from response data', function() {
|
|
107
|
-
expect(scope.itemPaths).toBeUndefined();
|
|
108
|
-
$httpBackend.flush();
|
|
109
|
-
|
|
110
|
-
var href1 = getItem(1).href
|
|
111
|
-
var href2 = getItem(2).href
|
|
112
|
-
expect(scope.itemPaths).toEqual(
|
|
113
|
-
[
|
|
114
|
-
{name: "-- None (POST create) --", value: ""},
|
|
115
|
-
{name: href1, value: href1},
|
|
116
|
-
{name: href2, value: href2}
|
|
117
|
-
]
|
|
118
|
-
);
|
|
119
|
-
});
|
|
120
|
-
|
|
121
72
|
it('sets location path', function(){
|
|
122
73
|
expect(location.path()).toEqual('');
|
|
123
74
|
$httpBackend.flush();
|