collection-json-browser 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/collection_json_browser/angular/controllers/api_controller.js +24 -7
- data/app/views/collection_json_browser/home/index.html +3 -3
- data/lib/collection-json-browser/version.rb +1 -1
- data/test/dummy/log/development.log +1059 -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 +49 -1
- metadata +2 -2
@@ -1,14 +1,13 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
function ApiController($scope, $http, $location) {
|
4
|
-
$scope.goTo = function(path) {
|
4
|
+
$scope.goTo = function(path, fromRel) {
|
5
|
+
$scope.fromRel = fromRel
|
5
6
|
$location.path(path)
|
6
7
|
}
|
7
8
|
|
8
|
-
$scope.
|
9
|
-
|
10
|
-
$scope.collection.template.data.forEach(function(f){ formData[f.name] = f.value })
|
11
|
-
$http.post($scope.collection.href, formData).success(successHandler)
|
9
|
+
$scope.submit = function() {
|
10
|
+
$scope.fromRel === 'edit-form' ? put() : post()
|
12
11
|
}
|
13
12
|
|
14
13
|
$scope.$watch(function() {
|
@@ -22,10 +21,28 @@ function ApiController($scope, $http, $location) {
|
|
22
21
|
// helpers
|
23
22
|
|
24
23
|
function get(path) {
|
25
|
-
$http.get(path).success(
|
24
|
+
$http.get(path).success(responseHandler)
|
26
25
|
}
|
27
26
|
|
28
|
-
function
|
27
|
+
function post() {
|
28
|
+
$http.post($scope.collection.href, formData()).
|
29
|
+
success(responseHandler).
|
30
|
+
error(responseHandler)
|
31
|
+
}
|
32
|
+
|
33
|
+
function put() {
|
34
|
+
$http.put($scope.collection.href, formData()).
|
35
|
+
success(responseHandler).
|
36
|
+
error(responseHandler)
|
37
|
+
}
|
38
|
+
|
39
|
+
function formData() {
|
40
|
+
var data = {};
|
41
|
+
$scope.collection.template.data.forEach(function(f){ data[f.name] = f.value })
|
42
|
+
return data
|
43
|
+
}
|
44
|
+
|
45
|
+
function responseHandler(data, status) {
|
29
46
|
$scope.collection = data.collection;
|
30
47
|
$scope.raw = JSON.stringify(data, undefined, 2)
|
31
48
|
$scope.status = status
|
@@ -12,7 +12,7 @@
|
|
12
12
|
<div ng-show="collection.template">
|
13
13
|
<h2>Template</h2>
|
14
14
|
<div class="template thumbnail">
|
15
|
-
<form class="form-horizontal" ng-submit="
|
15
|
+
<form class="form-horizontal" ng-submit="submit()">
|
16
16
|
<fieldset class="control-group" ng-repeat="field in collection.template.data">
|
17
17
|
<label class="control-label" for='{{field.name}}'>{{field.name}}</label>
|
18
18
|
<div class="controls">
|
@@ -44,7 +44,7 @@
|
|
44
44
|
<td>{{link.prompt}}</td>
|
45
45
|
<td ng-switch on="link.render">
|
46
46
|
<img ng-switch-when="image" ng-src={{link.href}} title={{link.rel}} width=150/>
|
47
|
-
<a ng-switch-default href="" ng-click="goTo(link.href)">{{link.href}}</a>
|
47
|
+
<a ng-switch-default href="" ng-click="goTo(link.href, link.rel)">{{link.href}}</a>
|
48
48
|
</td>
|
49
49
|
</tr>
|
50
50
|
</table>
|
@@ -106,7 +106,7 @@
|
|
106
106
|
<td>{{link.prompt}}</td>
|
107
107
|
<td ng-switch on="link.render">
|
108
108
|
<img ng-switch-when="image" ng-src={{link.href}} title={{link.rel}} width=150/>
|
109
|
-
<a ng-switch-default href="" ng-click="goTo(link.href)">{{link.href}}</a>
|
109
|
+
<a ng-switch-default href="" ng-click="goTo(link.href, link.rel)">{{link.href}}</a>
|
110
110
|
</td>
|
111
111
|
</tr>
|
112
112
|
</table>
|
@@ -63038,3 +63038,1062 @@ ActionController::RoutingError (No route matches [GET] "/docdoc"):
|
|
63038
63038
|
|
63039
63039
|
|
63040
63040
|
Rendered /Users/weilu/.rvm/gems/ruby-1.9.3-p327@collection-json-browser/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
|
63041
|
+
Connecting to database specified by database.yml
|
63042
|
+
|
63043
|
+
|
63044
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:36:51 +0800
|
63045
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63046
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (1.9ms)
|
63047
|
+
Compiled collection_json_browser/angular/controllers/api_controller.js (0ms) (pid 19886)
|
63048
|
+
Compiled collection_json_browser/application.js (1ms) (pid 19886)
|
63049
|
+
Completed 200 OK in 54ms (Views: 53.4ms | ActiveRecord: 0.0ms)
|
63050
|
+
|
63051
|
+
|
63052
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:52 +0800
|
63053
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (3ms)
|
63054
|
+
|
63055
|
+
|
63056
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:52 +0800
|
63057
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (1ms)
|
63058
|
+
|
63059
|
+
|
63060
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:52 +0800
|
63061
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (3ms)
|
63062
|
+
|
63063
|
+
|
63064
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:52 +0800
|
63065
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 200 OK (1ms)
|
63066
|
+
|
63067
|
+
|
63068
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:52 +0800
|
63069
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (1ms)
|
63070
|
+
|
63071
|
+
|
63072
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:52 +0800
|
63073
|
+
Processing by Api::ApplicationController#index as JSON
|
63074
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
63075
|
+
|
63076
|
+
|
63077
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:52 +0800
|
63078
|
+
Processing by Api::ApplicationController#index as JSON
|
63079
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
63080
|
+
|
63081
|
+
|
63082
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:36:52 +0800
|
63083
|
+
Served asset /cat.gif - 304 Not Modified (2ms)
|
63084
|
+
|
63085
|
+
|
63086
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63087
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63088
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63089
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
63090
|
+
|
63091
|
+
|
63092
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63093
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63094
|
+
|
63095
|
+
|
63096
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63097
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63098
|
+
|
63099
|
+
|
63100
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63101
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63102
|
+
|
63103
|
+
|
63104
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63105
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63106
|
+
|
63107
|
+
|
63108
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63109
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63110
|
+
|
63111
|
+
|
63112
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63113
|
+
Processing by Api::ApplicationController#index as JSON
|
63114
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
63115
|
+
|
63116
|
+
|
63117
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63118
|
+
Processing by Api::ApplicationController#index as JSON
|
63119
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63120
|
+
|
63121
|
+
|
63122
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63123
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63124
|
+
|
63125
|
+
|
63126
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63127
|
+
Processing by Api::PostsController#index as JSON
|
63128
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
63129
|
+
|
63130
|
+
|
63131
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63132
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63133
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63134
|
+
Completed 200 OK in 4ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
63135
|
+
|
63136
|
+
|
63137
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63138
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63139
|
+
|
63140
|
+
|
63141
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63142
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63143
|
+
|
63144
|
+
|
63145
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63146
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63147
|
+
|
63148
|
+
|
63149
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63150
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63151
|
+
|
63152
|
+
|
63153
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63154
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63155
|
+
|
63156
|
+
|
63157
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:55 +0800
|
63158
|
+
Processing by Api::ApplicationController#index as JSON
|
63159
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
63160
|
+
|
63161
|
+
|
63162
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63163
|
+
Processing by Api::ApplicationController#index as JSON
|
63164
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
63165
|
+
|
63166
|
+
|
63167
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63168
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63169
|
+
|
63170
|
+
|
63171
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63172
|
+
Processing by Api::PostsController#index as JSON
|
63173
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
63174
|
+
|
63175
|
+
|
63176
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63177
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63178
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63179
|
+
Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
63180
|
+
|
63181
|
+
|
63182
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63183
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63184
|
+
|
63185
|
+
|
63186
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63187
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63188
|
+
|
63189
|
+
|
63190
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63191
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63192
|
+
|
63193
|
+
|
63194
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63195
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63196
|
+
|
63197
|
+
|
63198
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63199
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63200
|
+
|
63201
|
+
|
63202
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63203
|
+
Processing by Api::ApplicationController#index as JSON
|
63204
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
63205
|
+
|
63206
|
+
|
63207
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63208
|
+
Processing by Api::ApplicationController#index as JSON
|
63209
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
63210
|
+
|
63211
|
+
|
63212
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63213
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63214
|
+
|
63215
|
+
|
63216
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63217
|
+
Processing by Api::PostsController#index as JSON
|
63218
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
63219
|
+
|
63220
|
+
|
63221
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63222
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63223
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63224
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
63225
|
+
|
63226
|
+
|
63227
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63228
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63229
|
+
|
63230
|
+
|
63231
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63232
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63233
|
+
|
63234
|
+
|
63235
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63236
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63237
|
+
|
63238
|
+
|
63239
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63240
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63241
|
+
|
63242
|
+
|
63243
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63244
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63245
|
+
|
63246
|
+
|
63247
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63248
|
+
Processing by Api::ApplicationController#index as JSON
|
63249
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
63250
|
+
|
63251
|
+
|
63252
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63253
|
+
Processing by Api::ApplicationController#index as JSON
|
63254
|
+
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
63255
|
+
|
63256
|
+
|
63257
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63258
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63259
|
+
|
63260
|
+
|
63261
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63262
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63263
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63264
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
63265
|
+
|
63266
|
+
|
63267
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63268
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63269
|
+
|
63270
|
+
|
63271
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63272
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63273
|
+
|
63274
|
+
|
63275
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63276
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63277
|
+
|
63278
|
+
|
63279
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63280
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63281
|
+
|
63282
|
+
|
63283
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63284
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63285
|
+
|
63286
|
+
|
63287
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63288
|
+
Processing by Api::ApplicationController#index as JSON
|
63289
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
63290
|
+
|
63291
|
+
|
63292
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63293
|
+
Processing by Api::ApplicationController#index as JSON
|
63294
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
63295
|
+
|
63296
|
+
|
63297
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63298
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63299
|
+
|
63300
|
+
|
63301
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63302
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63303
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.1ms)
|
63304
|
+
Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
63305
|
+
|
63306
|
+
|
63307
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63308
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63309
|
+
|
63310
|
+
|
63311
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63312
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63313
|
+
|
63314
|
+
|
63315
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63316
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63317
|
+
|
63318
|
+
|
63319
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63320
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63321
|
+
|
63322
|
+
|
63323
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63324
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63325
|
+
|
63326
|
+
|
63327
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63328
|
+
Processing by Api::ApplicationController#index as JSON
|
63329
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63330
|
+
|
63331
|
+
|
63332
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63333
|
+
Processing by Api::ApplicationController#index as JSON
|
63334
|
+
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
63335
|
+
|
63336
|
+
|
63337
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:36:56 +0800
|
63338
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63339
|
+
|
63340
|
+
|
63341
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:29 +0800
|
63342
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63343
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63344
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
63345
|
+
|
63346
|
+
|
63347
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:29 +0800
|
63348
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63349
|
+
|
63350
|
+
|
63351
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:29 +0800
|
63352
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63353
|
+
|
63354
|
+
|
63355
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:29 +0800
|
63356
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63357
|
+
|
63358
|
+
|
63359
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:29 +0800
|
63360
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63361
|
+
|
63362
|
+
|
63363
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:29 +0800
|
63364
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63365
|
+
|
63366
|
+
|
63367
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63368
|
+
Processing by Api::ApplicationController#index as JSON
|
63369
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63370
|
+
|
63371
|
+
|
63372
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63373
|
+
Processing by Api::ApplicationController#index as JSON
|
63374
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
63375
|
+
|
63376
|
+
|
63377
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63378
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63379
|
+
|
63380
|
+
|
63381
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63382
|
+
Processing by Api::PostsController#index as JSON
|
63383
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
63384
|
+
|
63385
|
+
|
63386
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63387
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63388
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63389
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
63390
|
+
|
63391
|
+
|
63392
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63393
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63394
|
+
|
63395
|
+
|
63396
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63397
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63398
|
+
|
63399
|
+
|
63400
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63401
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63402
|
+
|
63403
|
+
|
63404
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63405
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63406
|
+
|
63407
|
+
|
63408
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63409
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63410
|
+
|
63411
|
+
|
63412
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63413
|
+
Processing by Api::ApplicationController#index as JSON
|
63414
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
63415
|
+
|
63416
|
+
|
63417
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63418
|
+
Processing by Api::ApplicationController#index as JSON
|
63419
|
+
Completed 200 OK in 19ms (Views: 19.0ms | ActiveRecord: 0.0ms)
|
63420
|
+
|
63421
|
+
|
63422
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63423
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63424
|
+
|
63425
|
+
|
63426
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63427
|
+
Processing by Api::PostsController#index as JSON
|
63428
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
63429
|
+
|
63430
|
+
|
63431
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63432
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63433
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63434
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
63435
|
+
|
63436
|
+
|
63437
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63438
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63439
|
+
|
63440
|
+
|
63441
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63442
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63443
|
+
|
63444
|
+
|
63445
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63446
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63447
|
+
|
63448
|
+
|
63449
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63450
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63451
|
+
|
63452
|
+
|
63453
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63454
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63455
|
+
|
63456
|
+
|
63457
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63458
|
+
Processing by Api::ApplicationController#index as JSON
|
63459
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
63460
|
+
|
63461
|
+
|
63462
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63463
|
+
Processing by Api::ApplicationController#index as JSON
|
63464
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
63465
|
+
|
63466
|
+
|
63467
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63468
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63469
|
+
|
63470
|
+
|
63471
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63472
|
+
Processing by Api::PostsController#index as JSON
|
63473
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
63474
|
+
|
63475
|
+
|
63476
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63477
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63478
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63479
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
63480
|
+
|
63481
|
+
|
63482
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63483
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63484
|
+
|
63485
|
+
|
63486
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63487
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63488
|
+
|
63489
|
+
|
63490
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63491
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63492
|
+
|
63493
|
+
|
63494
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63495
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63496
|
+
|
63497
|
+
|
63498
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63499
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63500
|
+
|
63501
|
+
|
63502
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63503
|
+
Processing by Api::ApplicationController#index as JSON
|
63504
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
63505
|
+
|
63506
|
+
|
63507
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63508
|
+
Processing by Api::ApplicationController#index as JSON
|
63509
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
63510
|
+
|
63511
|
+
|
63512
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63513
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63514
|
+
|
63515
|
+
|
63516
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63517
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63518
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63519
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
63520
|
+
|
63521
|
+
|
63522
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63523
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63524
|
+
|
63525
|
+
|
63526
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63527
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63528
|
+
|
63529
|
+
|
63530
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63531
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63532
|
+
|
63533
|
+
|
63534
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63535
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63536
|
+
|
63537
|
+
|
63538
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63539
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63540
|
+
|
63541
|
+
|
63542
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63543
|
+
Processing by Api::ApplicationController#index as JSON
|
63544
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
63545
|
+
|
63546
|
+
|
63547
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63548
|
+
Processing by Api::ApplicationController#index as JSON
|
63549
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
63550
|
+
|
63551
|
+
|
63552
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:30 +0800
|
63553
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63554
|
+
|
63555
|
+
|
63556
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:31 +0800
|
63557
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63558
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63559
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
63560
|
+
|
63561
|
+
|
63562
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:31 +0800
|
63563
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63564
|
+
|
63565
|
+
|
63566
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:31 +0800
|
63567
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63568
|
+
|
63569
|
+
|
63570
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:31 +0800
|
63571
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63572
|
+
|
63573
|
+
|
63574
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:31 +0800
|
63575
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63576
|
+
|
63577
|
+
|
63578
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:31 +0800
|
63579
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63580
|
+
|
63581
|
+
|
63582
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:31 +0800
|
63583
|
+
Processing by Api::ApplicationController#index as JSON
|
63584
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63585
|
+
|
63586
|
+
|
63587
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:31 +0800
|
63588
|
+
Processing by Api::ApplicationController#index as JSON
|
63589
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
63590
|
+
|
63591
|
+
|
63592
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:31 +0800
|
63593
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63594
|
+
|
63595
|
+
|
63596
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63597
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63598
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.7ms)
|
63599
|
+
Compiled collection_json_browser/angular/controllers/api_controller.js (0ms) (pid 19886)
|
63600
|
+
Compiled collection_json_browser/application.js (1ms) (pid 19886)
|
63601
|
+
Completed 200 OK in 21ms (Views: 20.9ms | ActiveRecord: 0.0ms)
|
63602
|
+
|
63603
|
+
|
63604
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63605
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63606
|
+
|
63607
|
+
|
63608
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63609
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (3ms)
|
63610
|
+
|
63611
|
+
|
63612
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63613
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 200 OK (1ms)
|
63614
|
+
|
63615
|
+
|
63616
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63617
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63618
|
+
|
63619
|
+
|
63620
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63621
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63622
|
+
|
63623
|
+
|
63624
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63625
|
+
Processing by Api::ApplicationController#index as JSON
|
63626
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63627
|
+
|
63628
|
+
|
63629
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63630
|
+
Processing by Api::ApplicationController#index as JSON
|
63631
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63632
|
+
|
63633
|
+
|
63634
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63635
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63636
|
+
|
63637
|
+
|
63638
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63639
|
+
Processing by Api::PostsController#index as JSON
|
63640
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
63641
|
+
|
63642
|
+
|
63643
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63644
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63645
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63646
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
63647
|
+
|
63648
|
+
|
63649
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63650
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63651
|
+
|
63652
|
+
|
63653
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63654
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63655
|
+
|
63656
|
+
|
63657
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63658
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63659
|
+
|
63660
|
+
|
63661
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63662
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63663
|
+
|
63664
|
+
|
63665
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63666
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63667
|
+
|
63668
|
+
|
63669
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63670
|
+
Processing by Api::ApplicationController#index as JSON
|
63671
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
63672
|
+
|
63673
|
+
|
63674
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63675
|
+
Processing by Api::ApplicationController#index as JSON
|
63676
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
63677
|
+
|
63678
|
+
|
63679
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63680
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63681
|
+
|
63682
|
+
|
63683
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63684
|
+
Processing by Api::PostsController#index as JSON
|
63685
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
63686
|
+
|
63687
|
+
|
63688
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63689
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63690
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63691
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
63692
|
+
|
63693
|
+
|
63694
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63695
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63696
|
+
|
63697
|
+
|
63698
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63699
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63700
|
+
|
63701
|
+
|
63702
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63703
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63704
|
+
|
63705
|
+
|
63706
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63707
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63708
|
+
|
63709
|
+
|
63710
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63711
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63712
|
+
|
63713
|
+
|
63714
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63715
|
+
Processing by Api::ApplicationController#index as JSON
|
63716
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63717
|
+
|
63718
|
+
|
63719
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63720
|
+
Processing by Api::ApplicationController#index as JSON
|
63721
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
63722
|
+
|
63723
|
+
|
63724
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63725
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63726
|
+
|
63727
|
+
|
63728
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:37:40 +0800
|
63729
|
+
Processing by Api::PostsController#index as JSON
|
63730
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
63731
|
+
|
63732
|
+
|
63733
|
+
Started POST "/api/posts" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63734
|
+
Processing by Api::PostsController#create as JSON
|
63735
|
+
Parameters: {"title"=>"ruby", "content"=>"ruby", "category"=>"ruby", "post"=>{}}
|
63736
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
63737
|
+
|
63738
|
+
|
63739
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63740
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63741
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.1ms)
|
63742
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
63743
|
+
|
63744
|
+
|
63745
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63746
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63747
|
+
|
63748
|
+
|
63749
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63750
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63751
|
+
|
63752
|
+
|
63753
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63754
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63755
|
+
|
63756
|
+
|
63757
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63758
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63759
|
+
|
63760
|
+
|
63761
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63762
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63763
|
+
|
63764
|
+
|
63765
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63766
|
+
Processing by Api::ApplicationController#index as JSON
|
63767
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
63768
|
+
|
63769
|
+
|
63770
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63771
|
+
Processing by Api::ApplicationController#index as JSON
|
63772
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63773
|
+
|
63774
|
+
|
63775
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63776
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63777
|
+
|
63778
|
+
|
63779
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63780
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63781
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63782
|
+
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
63783
|
+
|
63784
|
+
|
63785
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63786
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63787
|
+
|
63788
|
+
|
63789
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63790
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63791
|
+
|
63792
|
+
|
63793
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63794
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63795
|
+
|
63796
|
+
|
63797
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63798
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63799
|
+
|
63800
|
+
|
63801
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63802
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63803
|
+
|
63804
|
+
|
63805
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63806
|
+
Processing by Api::ApplicationController#index as JSON
|
63807
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63808
|
+
|
63809
|
+
|
63810
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63811
|
+
Processing by Api::ApplicationController#index as JSON
|
63812
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
63813
|
+
|
63814
|
+
|
63815
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63816
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63817
|
+
|
63818
|
+
|
63819
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63820
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63821
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63822
|
+
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
63823
|
+
|
63824
|
+
|
63825
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63826
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63827
|
+
|
63828
|
+
|
63829
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63830
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63831
|
+
|
63832
|
+
|
63833
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63834
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63835
|
+
|
63836
|
+
|
63837
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63838
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 304 Not Modified (0ms)
|
63839
|
+
|
63840
|
+
|
63841
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63842
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63843
|
+
|
63844
|
+
|
63845
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63846
|
+
Processing by Api::ApplicationController#index as JSON
|
63847
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
63848
|
+
|
63849
|
+
|
63850
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63851
|
+
Processing by Api::ApplicationController#index as JSON
|
63852
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
63853
|
+
|
63854
|
+
|
63855
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:37:41 +0800
|
63856
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63857
|
+
|
63858
|
+
|
63859
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63860
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63861
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.5ms)
|
63862
|
+
Compiled collection_json_browser/angular/controllers/api_controller.js (0ms) (pid 19886)
|
63863
|
+
Compiled collection_json_browser/application.js (1ms) (pid 19886)
|
63864
|
+
Completed 200 OK in 18ms (Views: 17.8ms | ActiveRecord: 0.0ms)
|
63865
|
+
|
63866
|
+
|
63867
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63868
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (6ms)
|
63869
|
+
|
63870
|
+
|
63871
|
+
Started GET "/assets/collection_json_browser/angular/controllers/api_controller.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63872
|
+
Served asset /collection_json_browser/angular/controllers/api_controller.js - 200 OK (1ms)
|
63873
|
+
|
63874
|
+
|
63875
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63876
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63877
|
+
|
63878
|
+
|
63879
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63880
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63881
|
+
|
63882
|
+
|
63883
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63884
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63885
|
+
|
63886
|
+
|
63887
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63888
|
+
Processing by Api::ApplicationController#index as JSON
|
63889
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
63890
|
+
|
63891
|
+
|
63892
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63893
|
+
Processing by Api::ApplicationController#index as JSON
|
63894
|
+
Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
63895
|
+
|
63896
|
+
|
63897
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63898
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63899
|
+
|
63900
|
+
|
63901
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63902
|
+
Processing by Api::PostsController#index as JSON
|
63903
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
63904
|
+
|
63905
|
+
|
63906
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63907
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63908
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63909
|
+
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
63910
|
+
|
63911
|
+
|
63912
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63913
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63914
|
+
|
63915
|
+
|
63916
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63917
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63918
|
+
|
63919
|
+
|
63920
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63921
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63922
|
+
|
63923
|
+
|
63924
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63925
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63926
|
+
|
63927
|
+
|
63928
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63929
|
+
Processing by Api::ApplicationController#index as JSON
|
63930
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
63931
|
+
|
63932
|
+
|
63933
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63934
|
+
Processing by Api::ApplicationController#index as JSON
|
63935
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63936
|
+
|
63937
|
+
|
63938
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63939
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63940
|
+
|
63941
|
+
|
63942
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63943
|
+
Processing by Api::PostsController#index as JSON
|
63944
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
63945
|
+
|
63946
|
+
|
63947
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63948
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63949
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63950
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
63951
|
+
|
63952
|
+
|
63953
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63954
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
63955
|
+
|
63956
|
+
|
63957
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63958
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
63959
|
+
|
63960
|
+
|
63961
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63962
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
63963
|
+
|
63964
|
+
|
63965
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63966
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
63967
|
+
|
63968
|
+
|
63969
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63970
|
+
Processing by Api::ApplicationController#index as JSON
|
63971
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
63972
|
+
|
63973
|
+
|
63974
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63975
|
+
Processing by Api::ApplicationController#index as JSON
|
63976
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
63977
|
+
|
63978
|
+
|
63979
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63980
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
63981
|
+
|
63982
|
+
|
63983
|
+
Started GET "/api/posts" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63984
|
+
Processing by Api::PostsController#index as JSON
|
63985
|
+
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
63986
|
+
|
63987
|
+
|
63988
|
+
Started POST "/api/posts" for 127.0.0.1 at 2013-07-18 23:38:34 +0800
|
63989
|
+
Processing by Api::PostsController#create as JSON
|
63990
|
+
Parameters: {"title"=>"ruby", "content"=>"ruby", "category"=>"ruby", "post"=>{}}
|
63991
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
63992
|
+
|
63993
|
+
|
63994
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
63995
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
63996
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
63997
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
63998
|
+
|
63999
|
+
|
64000
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64001
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
64002
|
+
|
64003
|
+
|
64004
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64005
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
64006
|
+
|
64007
|
+
|
64008
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64009
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
64010
|
+
|
64011
|
+
|
64012
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64013
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
64014
|
+
|
64015
|
+
|
64016
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64017
|
+
Processing by Api::ApplicationController#index as JSON
|
64018
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
64019
|
+
|
64020
|
+
|
64021
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64022
|
+
Processing by Api::ApplicationController#index as JSON
|
64023
|
+
Completed 200 OK in 17ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
64024
|
+
|
64025
|
+
|
64026
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64027
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
64028
|
+
|
64029
|
+
|
64030
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64031
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
64032
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
64033
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
64034
|
+
|
64035
|
+
|
64036
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64037
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
64038
|
+
|
64039
|
+
|
64040
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64041
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
64042
|
+
|
64043
|
+
|
64044
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64045
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
64046
|
+
|
64047
|
+
|
64048
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64049
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
64050
|
+
|
64051
|
+
|
64052
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64053
|
+
Processing by Api::ApplicationController#index as JSON
|
64054
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
64055
|
+
|
64056
|
+
|
64057
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64058
|
+
Processing by Api::ApplicationController#index as JSON
|
64059
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
64060
|
+
|
64061
|
+
|
64062
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64063
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
64064
|
+
|
64065
|
+
|
64066
|
+
Started GET "/doc" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64067
|
+
Processing by CollectionJsonBrowser::HomeController#index as HTML
|
64068
|
+
Rendered /Users/weilu/workspace/collection-json-browser/app/views/collection_json_browser/home/index.html within layouts/collection_json_browser/application (0.0ms)
|
64069
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
64070
|
+
|
64071
|
+
|
64072
|
+
Started GET "/assets/collection_json_browser/bootstrap.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64073
|
+
Served asset /collection_json_browser/bootstrap.css - 304 Not Modified (0ms)
|
64074
|
+
|
64075
|
+
|
64076
|
+
Started GET "/assets/collection_json_browser/angular.min.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64077
|
+
Served asset /collection_json_browser/angular.min.js - 304 Not Modified (0ms)
|
64078
|
+
|
64079
|
+
|
64080
|
+
Started GET "/assets/collection_json_browser/application.js?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64081
|
+
Served asset /collection_json_browser/application.js - 304 Not Modified (0ms)
|
64082
|
+
|
64083
|
+
|
64084
|
+
Started GET "/assets/collection_json_browser/application.css?body=1" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64085
|
+
Served asset /collection_json_browser/application.css - 304 Not Modified (0ms)
|
64086
|
+
|
64087
|
+
|
64088
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64089
|
+
Processing by Api::ApplicationController#index as JSON
|
64090
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
64091
|
+
|
64092
|
+
|
64093
|
+
Started GET "/api" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64094
|
+
Processing by Api::ApplicationController#index as JSON
|
64095
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
64096
|
+
|
64097
|
+
|
64098
|
+
Started GET "/assets/cat.gif" for 127.0.0.1 at 2013-07-18 23:38:35 +0800
|
64099
|
+
Served asset /cat.gif - 304 Not Modified (0ms)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -17,7 +17,13 @@ describe('ApiController', function(){
|
|
17
17
|
collection: {
|
18
18
|
version: "1.0",
|
19
19
|
href: "/api",
|
20
|
-
links: [ link, image ]
|
20
|
+
links: [ link, image ],
|
21
|
+
template: {
|
22
|
+
data: [
|
23
|
+
{name: ''},
|
24
|
+
{age: 2}
|
25
|
+
]
|
26
|
+
}
|
21
27
|
}
|
22
28
|
}
|
23
29
|
|
@@ -25,6 +31,8 @@ describe('ApiController', function(){
|
|
25
31
|
$httpBackend = _$httpBackend_;
|
26
32
|
var root = "http://localhost:3000"
|
27
33
|
$httpBackend.when('GET', '/api').respond(responseData);
|
34
|
+
$httpBackend.when('POST', '/api').respond(responseData);
|
35
|
+
$httpBackend.when('PUT', '/api').respond(responseData);
|
28
36
|
|
29
37
|
scope = $rootScope.$new();
|
30
38
|
location = $location;
|
@@ -51,4 +59,44 @@ describe('ApiController', function(){
|
|
51
59
|
|
52
60
|
expect(location.path()).toEqual('/api')
|
53
61
|
})
|
62
|
+
|
63
|
+
describe('#goTo', function(){
|
64
|
+
beforeEach(function(){
|
65
|
+
spyOn(location, 'path')
|
66
|
+
})
|
67
|
+
|
68
|
+
it('stores fromRel', function(){
|
69
|
+
scope.goTo('/api/posts', 'some-rel')
|
70
|
+
expect(scope.fromRel).toEqual('some-rel')
|
71
|
+
})
|
72
|
+
|
73
|
+
it('sets location path', function(){
|
74
|
+
scope.goTo('/api/posts', 'some-rel')
|
75
|
+
expect(location.path).toHaveBeenCalledWith('/api/posts')
|
76
|
+
})
|
77
|
+
})
|
78
|
+
|
79
|
+
describe('#submit', function(){
|
80
|
+
it('post the form when fromRel is not edit-form', function(){
|
81
|
+
scope.collection = responseData.collection
|
82
|
+
|
83
|
+
$httpBackend.expectPOST('/api')
|
84
|
+
|
85
|
+
scope.fromRel = 'some-stuff'
|
86
|
+
scope.submit()
|
87
|
+
|
88
|
+
$httpBackend.flush()
|
89
|
+
})
|
90
|
+
|
91
|
+
it('put the form when fromRel is edit-form', function(){
|
92
|
+
scope.collection = responseData.collection
|
93
|
+
|
94
|
+
$httpBackend.expectPUT('/api')
|
95
|
+
|
96
|
+
scope.fromRel = 'edit-form'
|
97
|
+
scope.submit()
|
98
|
+
|
99
|
+
$httpBackend.flush()
|
100
|
+
})
|
101
|
+
})
|
54
102
|
});
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: collection-json-browser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|