china_city 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/app/assets/javascripts/china_city/jquery.china_city.js.coffee +5 -7
- data/lib/china_city/version.rb +1 -1
- data/spec/dummy/log/development.log +222 -0
- data/spec/dummy/log/test.log +517 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/35f568d6b4c5b9431aeca08ebe1b2dea +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/37921dfa12e3d26acd1391b11883b3f6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4de331a6a64d5ace50f9234a9a64c617 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6b50e161ae0a55621ba1dfc58a60e90c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/78abd667345b2147eba18800e12e6d17 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/887e2ba7efa792fda790a48911a596b2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/35f568d6b4c5b9431aeca08ebe1b2dea +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4de331a6a64d5ace50f9234a9a64c617 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6b50e161ae0a55621ba1dfc58a60e90c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/78abd667345b2147eba18800e12e6d17 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/887e2ba7efa792fda790a48911a596b2 +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/features/china_city_spec.rb +44 -15
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae119d78c7cad24c74810ab18d630b7a30884e26
|
4
|
+
data.tar.gz: 0b60b6ec63628eb87dad7ac2872689db83202cff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a24b248d33b52fb84287fde44496eeaf795962d2892bd160e7fe4e291c8bfe94326964432d4981a2d9dd97e47edb81618ec40c2bcdf87993833a2bfef8a49a3
|
7
|
+
data.tar.gz: 0cb40c85d4c5601c15928bb16cd65af41e4e4e4adc089fd3763831fc90a849f8ffdae58a4e58763bcecdabe53d31494b205e77a505f5bd087af53bf3deb78dea
|
data/MIT-LICENSE
CHANGED
@@ -3,14 +3,12 @@
|
|
3
3
|
@each ->
|
4
4
|
selects = $(@).find('.city-select')
|
5
5
|
selects.change ->
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
else if next_select[0] # init next child
|
6
|
+
$this = $(@)
|
7
|
+
next_selects = selects.slice(selects.index(@) + 1) # empty all children city
|
8
|
+
$("option:gt(0)", next_selects).remove()
|
9
|
+
if next_selects.first()[0] and $this.val() # init next child
|
11
10
|
$.get "/china_city/#{$(@).val()}", (data) ->
|
12
|
-
|
13
|
-
next_select[0].options.add(new Option(option[0], option[1])) for option in data
|
11
|
+
next_selects.first()[0].options.add(new Option(option[0], option[1])) for option in data
|
14
12
|
|
15
13
|
$ ->
|
16
14
|
$('.city-group').china_city()
|
data/lib/china_city/version.rb
CHANGED
@@ -5919,3 +5919,225 @@ Started GET "/china_city/440500" for 127.0.0.1 at 2013-08-12 21:45:11 +0800
|
|
5919
5919
|
Processing by ChinaCity::DataController#show as */*
|
5920
5920
|
Parameters: {"id"=>"440500"}
|
5921
5921
|
Completed 200 OK in 1ms (Views: 0.3ms)
|
5922
|
+
|
5923
|
+
|
5924
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 08:54:08 +0800
|
5925
|
+
Processing by ChinaCity::DataController#index as HTML
|
5926
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (76.0ms)
|
5927
|
+
Completed 200 OK in 400ms (Views: 399.4ms)
|
5928
|
+
|
5929
|
+
|
5930
|
+
Started GET "/assets/china_city/application.css?body=1" for 127.0.0.1 at 2013-08-20 08:54:08 +0800
|
5931
|
+
|
5932
|
+
|
5933
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-20 08:54:08 +0800
|
5934
|
+
|
5935
|
+
|
5936
|
+
Started GET "/assets/china_city/jquery.china_city.js?body=1" for 127.0.0.1 at 2013-08-20 08:54:08 +0800
|
5937
|
+
|
5938
|
+
|
5939
|
+
Started GET "/assets/china_city/application.js?body=1" for 127.0.0.1 at 2013-08-20 08:54:08 +0800
|
5940
|
+
|
5941
|
+
|
5942
|
+
Started GET "/china_city/430000" for 127.0.0.1 at 2013-08-20 08:54:15 +0800
|
5943
|
+
Processing by ChinaCity::DataController#show as */*
|
5944
|
+
Parameters: {"id"=>"430000"}
|
5945
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
5946
|
+
|
5947
|
+
|
5948
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:10:07 +0800
|
5949
|
+
Processing by ChinaCity::DataController#index as HTML
|
5950
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (33.9ms)
|
5951
|
+
Completed 200 OK in 106ms (Views: 106.0ms)
|
5952
|
+
|
5953
|
+
|
5954
|
+
Started GET "/assets/china_city/application.css?body=1" for 127.0.0.1 at 2013-08-20 09:10:07 +0800
|
5955
|
+
|
5956
|
+
|
5957
|
+
Started GET "/assets/china_city/jquery.china_city.js?body=1" for 127.0.0.1 at 2013-08-20 09:10:07 +0800
|
5958
|
+
|
5959
|
+
|
5960
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-20 09:10:07 +0800
|
5961
|
+
|
5962
|
+
|
5963
|
+
Started GET "/assets/china_city/application.js?body=1" for 127.0.0.1 at 2013-08-20 09:10:07 +0800
|
5964
|
+
|
5965
|
+
|
5966
|
+
Started GET "/china_city/320000" for 127.0.0.1 at 2013-08-20 09:10:15 +0800
|
5967
|
+
Processing by ChinaCity::DataController#show as */*
|
5968
|
+
Parameters: {"id"=>"320000"}
|
5969
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
5970
|
+
|
5971
|
+
|
5972
|
+
Started GET "/china_city/320100" for 127.0.0.1 at 2013-08-20 09:10:27 +0800
|
5973
|
+
Processing by ChinaCity::DataController#show as */*
|
5974
|
+
Parameters: {"id"=>"320100"}
|
5975
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
5976
|
+
|
5977
|
+
|
5978
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:51:43 +0800
|
5979
|
+
Processing by ChinaCity::DataController#index as HTML
|
5980
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.8ms)
|
5981
|
+
Completed 200 OK in 259ms (Views: 258.8ms)
|
5982
|
+
|
5983
|
+
|
5984
|
+
Started GET "/assets/china_city/application.css?body=1" for 127.0.0.1 at 2013-08-20 09:51:43 +0800
|
5985
|
+
|
5986
|
+
|
5987
|
+
Started GET "/assets/china_city/application.js?body=1" for 127.0.0.1 at 2013-08-20 09:51:43 +0800
|
5988
|
+
|
5989
|
+
|
5990
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-20 09:51:43 +0800
|
5991
|
+
|
5992
|
+
|
5993
|
+
Started GET "/assets/china_city/jquery.china_city.js?body=1" for 127.0.0.1 at 2013-08-20 09:51:43 +0800
|
5994
|
+
|
5995
|
+
|
5996
|
+
Started GET "/china_city/460000" for 127.0.0.1 at 2013-08-20 09:51:48 +0800
|
5997
|
+
Processing by ChinaCity::DataController#show as */*
|
5998
|
+
Parameters: {"id"=>"460000"}
|
5999
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
6000
|
+
|
6001
|
+
|
6002
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:52:51 +0800
|
6003
|
+
Processing by ChinaCity::DataController#index as HTML
|
6004
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (3.8ms)
|
6005
|
+
Completed 200 OK in 245ms (Views: 244.7ms)
|
6006
|
+
|
6007
|
+
|
6008
|
+
Started GET "/assets/china_city/application.css?body=1" for 127.0.0.1 at 2013-08-20 09:52:52 +0800
|
6009
|
+
|
6010
|
+
|
6011
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-20 09:52:52 +0800
|
6012
|
+
|
6013
|
+
|
6014
|
+
Started GET "/assets/china_city/jquery.china_city.js?body=1" for 127.0.0.1 at 2013-08-20 09:52:52 +0800
|
6015
|
+
|
6016
|
+
|
6017
|
+
Started GET "/assets/china_city/application.js?body=1" for 127.0.0.1 at 2013-08-20 09:52:52 +0800
|
6018
|
+
|
6019
|
+
|
6020
|
+
Started GET "/china_city/430000" for 127.0.0.1 at 2013-08-20 09:52:56 +0800
|
6021
|
+
Processing by ChinaCity::DataController#show as */*
|
6022
|
+
Parameters: {"id"=>"430000"}
|
6023
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
6024
|
+
|
6025
|
+
|
6026
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:54:05 +0800
|
6027
|
+
Processing by ChinaCity::DataController#index as HTML
|
6028
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (4.5ms)
|
6029
|
+
Completed 200 OK in 283ms (Views: 282.9ms)
|
6030
|
+
|
6031
|
+
|
6032
|
+
Started GET "/assets/china_city/application.css?body=1" for 127.0.0.1 at 2013-08-20 09:54:05 +0800
|
6033
|
+
|
6034
|
+
|
6035
|
+
Started GET "/assets/china_city/jquery.china_city.js?body=1" for 127.0.0.1 at 2013-08-20 09:54:05 +0800
|
6036
|
+
|
6037
|
+
|
6038
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-20 09:54:05 +0800
|
6039
|
+
|
6040
|
+
|
6041
|
+
Started GET "/assets/china_city/application.js?body=1" for 127.0.0.1 at 2013-08-20 09:54:05 +0800
|
6042
|
+
|
6043
|
+
|
6044
|
+
Started GET "/china_city/500000" for 127.0.0.1 at 2013-08-20 09:54:08 +0800
|
6045
|
+
Processing by ChinaCity::DataController#show as */*
|
6046
|
+
Parameters: {"id"=>"500000"}
|
6047
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
6048
|
+
|
6049
|
+
|
6050
|
+
Started GET "/china_city/500200" for 127.0.0.1 at 2013-08-20 09:54:11 +0800
|
6051
|
+
Processing by ChinaCity::DataController#show as */*
|
6052
|
+
Parameters: {"id"=>"500200"}
|
6053
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
6054
|
+
|
6055
|
+
|
6056
|
+
Started GET "/china_city/130000" for 127.0.0.1 at 2013-08-20 09:54:18 +0800
|
6057
|
+
Processing by ChinaCity::DataController#show as */*
|
6058
|
+
Parameters: {"id"=>"130000"}
|
6059
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
6060
|
+
|
6061
|
+
|
6062
|
+
Started GET "/china_city/130300" for 127.0.0.1 at 2013-08-20 09:54:20 +0800
|
6063
|
+
Processing by ChinaCity::DataController#show as */*
|
6064
|
+
Parameters: {"id"=>"130300"}
|
6065
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
6066
|
+
|
6067
|
+
|
6068
|
+
Started GET "/china_city/" for 127.0.0.1 at 2013-08-20 09:54:24 +0800
|
6069
|
+
Processing by ChinaCity::DataController#index as */*
|
6070
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (4.4ms)
|
6071
|
+
Completed 200 OK in 17ms (Views: 17.0ms)
|
6072
|
+
|
6073
|
+
|
6074
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:54:59 +0800
|
6075
|
+
Processing by ChinaCity::DataController#index as HTML
|
6076
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (3.5ms)
|
6077
|
+
Completed 200 OK in 247ms (Views: 246.4ms)
|
6078
|
+
|
6079
|
+
|
6080
|
+
Started GET "/assets/china_city/application.css?body=1" for 127.0.0.1 at 2013-08-20 09:54:59 +0800
|
6081
|
+
|
6082
|
+
|
6083
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-20 09:54:59 +0800
|
6084
|
+
|
6085
|
+
|
6086
|
+
Started GET "/assets/china_city/jquery.china_city.js?body=1" for 127.0.0.1 at 2013-08-20 09:54:59 +0800
|
6087
|
+
|
6088
|
+
|
6089
|
+
Started GET "/assets/china_city/application.js?body=1" for 127.0.0.1 at 2013-08-20 09:54:59 +0800
|
6090
|
+
|
6091
|
+
|
6092
|
+
Started GET "/china_city/320000" for 127.0.0.1 at 2013-08-20 10:25:58 +0800
|
6093
|
+
Processing by ChinaCity::DataController#show as */*
|
6094
|
+
Parameters: {"id"=>"320000"}
|
6095
|
+
Completed 200 OK in 1ms (Views: 0.6ms)
|
6096
|
+
|
6097
|
+
|
6098
|
+
Started GET "/china_city/440100" for 127.0.0.1 at 2013-08-20 10:27:01 +0800
|
6099
|
+
Processing by ChinaCity::DataController#show as */*
|
6100
|
+
Parameters: {"id"=>"440100"}
|
6101
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
6102
|
+
|
6103
|
+
|
6104
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:34:45 +0800
|
6105
|
+
Processing by ChinaCity::DataController#index as HTML
|
6106
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (40.9ms)
|
6107
|
+
Completed 200 OK in 136ms (Views: 135.5ms)
|
6108
|
+
|
6109
|
+
|
6110
|
+
Started GET "/assets/china_city/application.css?body=1" for 127.0.0.1 at 2013-08-20 10:34:45 +0800
|
6111
|
+
|
6112
|
+
|
6113
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-20 10:34:45 +0800
|
6114
|
+
|
6115
|
+
|
6116
|
+
Started GET "/assets/china_city/application.js?body=1" for 127.0.0.1 at 2013-08-20 10:34:45 +0800
|
6117
|
+
|
6118
|
+
|
6119
|
+
Started GET "/assets/china_city/jquery.china_city.js?body=1" for 127.0.0.1 at 2013-08-20 10:34:45 +0800
|
6120
|
+
|
6121
|
+
|
6122
|
+
Started GET "/china_city/110000" for 127.0.0.1 at 2013-08-20 10:34:53 +0800
|
6123
|
+
Processing by ChinaCity::DataController#show as */*
|
6124
|
+
Parameters: {"id"=>"110000"}
|
6125
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
6126
|
+
|
6127
|
+
|
6128
|
+
Started GET "/china_city/110200" for 127.0.0.1 at 2013-08-20 10:34:58 +0800
|
6129
|
+
Processing by ChinaCity::DataController#show as */*
|
6130
|
+
Parameters: {"id"=>"110200"}
|
6131
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
6132
|
+
|
6133
|
+
|
6134
|
+
Started GET "/china_city/110100" for 127.0.0.1 at 2013-08-20 10:35:03 +0800
|
6135
|
+
Processing by ChinaCity::DataController#show as */*
|
6136
|
+
Parameters: {"id"=>"110100"}
|
6137
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
6138
|
+
|
6139
|
+
|
6140
|
+
Started GET "/china_city/120000" for 127.0.0.1 at 2013-08-20 10:35:11 +0800
|
6141
|
+
Processing by ChinaCity::DataController#show as */*
|
6142
|
+
Parameters: {"id"=>"120000"}
|
6143
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
data/spec/dummy/log/test.log
CHANGED
@@ -250,3 +250,520 @@ Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-13 21:49:01 +0800
|
|
250
250
|
Processing by ChinaCity::DataController#show as */*
|
251
251
|
Parameters: {"id"=>"440300"}
|
252
252
|
Completed 200 OK in 0ms (Views: 0.2ms)
|
253
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
254
|
+
Processing by ChinaCity::DataController#index as HTML
|
255
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (3.8ms)
|
256
|
+
Completed 200 OK in 30ms (Views: 29.5ms)
|
257
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
258
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
259
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
260
|
+
Processing by ChinaCity::DataController#show as */*
|
261
|
+
Parameters: {"id"=>"440000"}
|
262
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
263
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
264
|
+
Processing by ChinaCity::DataController#show as */*
|
265
|
+
Parameters: {"id"=>"440300"}
|
266
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
267
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
268
|
+
Processing by ChinaCity::DataController#show as */*
|
269
|
+
Parameters: {"id"=>"440000"}
|
270
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
271
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
272
|
+
Processing by ChinaCity::DataController#show as */*
|
273
|
+
Parameters: {"id"=>"440300"}
|
274
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
275
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
276
|
+
Processing by ChinaCity::DataController#index as HTML
|
277
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (39.8ms)
|
278
|
+
Completed 200 OK in 41ms (Views: 40.8ms)
|
279
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
280
|
+
Processing by ChinaCity::DataController#show as */*
|
281
|
+
Parameters: {"id"=>"440000"}
|
282
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
283
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
284
|
+
Processing by ChinaCity::DataController#show as */*
|
285
|
+
Parameters: {"id"=>"440300"}
|
286
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
287
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 08:54:39 +0800
|
288
|
+
Processing by ChinaCity::DataController#show as */*
|
289
|
+
Parameters: {"id"=>"440300"}
|
290
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
291
|
+
Processing by ChinaCity::DataController#show as HTML
|
292
|
+
Parameters: {"id"=>"000000"}
|
293
|
+
Completed 200 OK in 1ms (Views: 0.8ms)
|
294
|
+
Processing by ChinaCity::DataController#show as HTML
|
295
|
+
Parameters: {"id"=>"000000"}
|
296
|
+
Completed 200 OK in 61ms (Views: 0.6ms)
|
297
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:04:36 +0800
|
298
|
+
Processing by ChinaCity::DataController#index as HTML
|
299
|
+
Completed 200 OK in 68ms (Views: 67.4ms)
|
300
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 09:04:36 +0800
|
301
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 09:04:36 +0800
|
302
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:04:36 +0800
|
303
|
+
Processing by ChinaCity::DataController#show as */*
|
304
|
+
Parameters: {"id"=>"440000"}
|
305
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
306
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:04:36 +0800
|
307
|
+
Processing by ChinaCity::DataController#show as */*
|
308
|
+
Parameters: {"id"=>"440300"}
|
309
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
310
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:04:36 +0800
|
311
|
+
Processing by ChinaCity::DataController#show as */*
|
312
|
+
Parameters: {"id"=>"440000"}
|
313
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
314
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:04:36 +0800
|
315
|
+
Processing by ChinaCity::DataController#show as */*
|
316
|
+
Parameters: {"id"=>"440300"}
|
317
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
318
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:04:36 +0800
|
319
|
+
Processing by ChinaCity::DataController#index as HTML
|
320
|
+
Completed 200 OK in 3ms (Views: 3.1ms)
|
321
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:04:38 +0800
|
322
|
+
Processing by ChinaCity::DataController#index as HTML
|
323
|
+
Completed 200 OK in 4ms (Views: 4.1ms)
|
324
|
+
Processing by ChinaCity::DataController#show as HTML
|
325
|
+
Parameters: {"id"=>"000000"}
|
326
|
+
Completed 200 OK in 60ms (Views: 0.6ms)
|
327
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
328
|
+
Processing by ChinaCity::DataController#index as HTML
|
329
|
+
Completed 200 OK in 60ms (Views: 59.8ms)
|
330
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
331
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
332
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
333
|
+
Processing by ChinaCity::DataController#show as */*
|
334
|
+
Parameters: {"id"=>"440000"}
|
335
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
336
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
337
|
+
Processing by ChinaCity::DataController#show as */*
|
338
|
+
Parameters: {"id"=>"440300"}
|
339
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
340
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
341
|
+
Processing by ChinaCity::DataController#show as */*
|
342
|
+
Parameters: {"id"=>"440000"}
|
343
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
344
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
345
|
+
Processing by ChinaCity::DataController#show as */*
|
346
|
+
Parameters: {"id"=>"440300"}
|
347
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
348
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
349
|
+
Processing by ChinaCity::DataController#index as HTML
|
350
|
+
Completed 200 OK in 3ms (Views: 2.7ms)
|
351
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
352
|
+
Processing by ChinaCity::DataController#show as */*
|
353
|
+
Parameters: {"id"=>"440000"}
|
354
|
+
Completed 200 OK in 1ms (Views: 0.7ms)
|
355
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
356
|
+
Processing by ChinaCity::DataController#show as */*
|
357
|
+
Parameters: {"id"=>"440300"}
|
358
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
359
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
360
|
+
Processing by ChinaCity::DataController#index as HTML
|
361
|
+
Completed 200 OK in 4ms (Views: 4.1ms)
|
362
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
363
|
+
Processing by ChinaCity::DataController#show as */*
|
364
|
+
Parameters: {"id"=>"440000"}
|
365
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
366
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:05:54 +0800
|
367
|
+
Processing by ChinaCity::DataController#show as */*
|
368
|
+
Parameters: {"id"=>"440300"}
|
369
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
370
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:13:57 +0800
|
371
|
+
Processing by ChinaCity::DataController#index as HTML
|
372
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (101.6ms)
|
373
|
+
Completed 200 OK in 127ms (Views: 126.6ms)
|
374
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 09:13:57 +0800
|
375
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 09:13:57 +0800
|
376
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:13:57 +0800
|
377
|
+
Processing by ChinaCity::DataController#show as */*
|
378
|
+
Parameters: {"id"=>"440000"}
|
379
|
+
Completed 200 OK in 1ms (Views: 0.7ms)
|
380
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:13:57 +0800
|
381
|
+
Processing by ChinaCity::DataController#show as */*
|
382
|
+
Parameters: {"id"=>"440300"}
|
383
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
384
|
+
Started GET "/china_city/320000" for 127.0.0.1 at 2013-08-20 09:13:57 +0800
|
385
|
+
Processing by ChinaCity::DataController#show as */*
|
386
|
+
Parameters: {"id"=>"320000"}
|
387
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
388
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:50:28 +0800
|
389
|
+
Processing by ChinaCity::DataController#index as HTML
|
390
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (80.1ms)
|
391
|
+
Completed 200 OK in 387ms (Views: 386.3ms)
|
392
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 09:50:28 +0800
|
393
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 09:50:28 +0800
|
394
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:50:28 +0800
|
395
|
+
Processing by ChinaCity::DataController#show as */*
|
396
|
+
Parameters: {"id"=>"440000"}
|
397
|
+
Completed 200 OK in 1ms (Views: 0.6ms)
|
398
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:56:19 +0800
|
399
|
+
Processing by ChinaCity::DataController#index as HTML
|
400
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (68.9ms)
|
401
|
+
Completed 200 OK in 316ms (Views: 315.5ms)
|
402
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 09:56:19 +0800
|
403
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 09:56:19 +0800
|
404
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
405
|
+
Processing by ChinaCity::DataController#show as */*
|
406
|
+
Parameters: {"id"=>"440000"}
|
407
|
+
Completed 200 OK in 1ms (Views: 0.6ms)
|
408
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
409
|
+
Processing by ChinaCity::DataController#show as */*
|
410
|
+
Parameters: {"id"=>"440300"}
|
411
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
412
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
413
|
+
Processing by ChinaCity::DataController#show as */*
|
414
|
+
Parameters: {"id"=>"440000"}
|
415
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
416
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
417
|
+
Processing by ChinaCity::DataController#show as */*
|
418
|
+
Parameters: {"id"=>"440300"}
|
419
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
420
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
421
|
+
Processing by ChinaCity::DataController#index as HTML
|
422
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.5ms)
|
423
|
+
Completed 200 OK in 4ms (Views: 3.6ms)
|
424
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
425
|
+
Processing by ChinaCity::DataController#show as */*
|
426
|
+
Parameters: {"id"=>"440000"}
|
427
|
+
Completed 200 OK in 1ms (Views: 0.7ms)
|
428
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
429
|
+
Processing by ChinaCity::DataController#show as */*
|
430
|
+
Parameters: {"id"=>"440300"}
|
431
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
432
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
433
|
+
Processing by ChinaCity::DataController#index as HTML
|
434
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.8ms)
|
435
|
+
Completed 200 OK in 4ms (Views: 3.7ms)
|
436
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
437
|
+
Processing by ChinaCity::DataController#show as */*
|
438
|
+
Parameters: {"id"=>"440000"}
|
439
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
440
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
441
|
+
Processing by ChinaCity::DataController#show as */*
|
442
|
+
Parameters: {"id"=>"440300"}
|
443
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
444
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
445
|
+
Processing by ChinaCity::DataController#index as HTML
|
446
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (3.8ms)
|
447
|
+
Completed 200 OK in 5ms (Views: 4.7ms)
|
448
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
449
|
+
Processing by ChinaCity::DataController#show as */*
|
450
|
+
Parameters: {"id"=>"440000"}
|
451
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
452
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
453
|
+
Processing by ChinaCity::DataController#show as */*
|
454
|
+
Parameters: {"id"=>"440300"}
|
455
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
456
|
+
Started GET "/china_city/320000" for 127.0.0.1 at 2013-08-20 09:56:20 +0800
|
457
|
+
Processing by ChinaCity::DataController#show as */*
|
458
|
+
Parameters: {"id"=>"320000"}
|
459
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
460
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 09:59:31 +0800
|
461
|
+
Processing by ChinaCity::DataController#index as HTML
|
462
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (90.7ms)
|
463
|
+
Completed 200 OK in 115ms (Views: 114.3ms)
|
464
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 09:59:31 +0800
|
465
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 09:59:31 +0800
|
466
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 09:59:32 +0800
|
467
|
+
Processing by ChinaCity::DataController#show as */*
|
468
|
+
Parameters: {"id"=>"440000"}
|
469
|
+
Completed 200 OK in 1ms (Views: 0.7ms)
|
470
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 09:59:32 +0800
|
471
|
+
Processing by ChinaCity::DataController#show as */*
|
472
|
+
Parameters: {"id"=>"440300"}
|
473
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
474
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:01:14 +0800
|
475
|
+
Processing by ChinaCity::DataController#index as HTML
|
476
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (81.4ms)
|
477
|
+
Completed 200 OK in 111ms (Views: 111.0ms)
|
478
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 10:01:15 +0800
|
479
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 10:01:15 +0800
|
480
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:01:15 +0800
|
481
|
+
Processing by ChinaCity::DataController#show as */*
|
482
|
+
Parameters: {"id"=>"440000"}
|
483
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
484
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:01:15 +0800
|
485
|
+
Processing by ChinaCity::DataController#show as */*
|
486
|
+
Parameters: {"id"=>"440300"}
|
487
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
488
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:19:50 +0800
|
489
|
+
Processing by ChinaCity::DataController#index as HTML
|
490
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (76.9ms)
|
491
|
+
Completed 200 OK in 113ms (Views: 113.1ms)
|
492
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 10:19:50 +0800
|
493
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 10:19:50 +0800
|
494
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:19:50 +0800
|
495
|
+
Processing by ChinaCity::DataController#show as */*
|
496
|
+
Parameters: {"id"=>"440000"}
|
497
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
498
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:19:50 +0800
|
499
|
+
Processing by ChinaCity::DataController#show as */*
|
500
|
+
Parameters: {"id"=>"440300"}
|
501
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
502
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:20:49 +0800
|
503
|
+
Processing by ChinaCity::DataController#index as HTML
|
504
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (89.3ms)
|
505
|
+
Completed 200 OK in 105ms (Views: 104.7ms)
|
506
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 10:20:49 +0800
|
507
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 10:20:49 +0800
|
508
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:20:49 +0800
|
509
|
+
Processing by ChinaCity::DataController#show as */*
|
510
|
+
Parameters: {"id"=>"440000"}
|
511
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
512
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:20:49 +0800
|
513
|
+
Processing by ChinaCity::DataController#show as */*
|
514
|
+
Parameters: {"id"=>"440300"}
|
515
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
516
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:21:28 +0800
|
517
|
+
Processing by ChinaCity::DataController#index as HTML
|
518
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (81.1ms)
|
519
|
+
Completed 200 OK in 98ms (Views: 97.9ms)
|
520
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 10:21:28 +0800
|
521
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 10:21:28 +0800
|
522
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:21:28 +0800
|
523
|
+
Processing by ChinaCity::DataController#show as */*
|
524
|
+
Parameters: {"id"=>"440000"}
|
525
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
526
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:21:28 +0800
|
527
|
+
Processing by ChinaCity::DataController#show as */*
|
528
|
+
Parameters: {"id"=>"440300"}
|
529
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
530
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:24:30 +0800
|
531
|
+
Processing by ChinaCity::DataController#index as HTML
|
532
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (71.0ms)
|
533
|
+
Completed 200 OK in 91ms (Views: 90.6ms)
|
534
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 10:24:30 +0800
|
535
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 10:24:30 +0800
|
536
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:24:30 +0800
|
537
|
+
Processing by ChinaCity::DataController#show as */*
|
538
|
+
Parameters: {"id"=>"440000"}
|
539
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
540
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:24:30 +0800
|
541
|
+
Processing by ChinaCity::DataController#show as */*
|
542
|
+
Parameters: {"id"=>"440300"}
|
543
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
544
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
545
|
+
Processing by ChinaCity::DataController#index as HTML
|
546
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (66.9ms)
|
547
|
+
Completed 200 OK in 82ms (Views: 81.8ms)
|
548
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
549
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
550
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
551
|
+
Processing by ChinaCity::DataController#show as */*
|
552
|
+
Parameters: {"id"=>"440000"}
|
553
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
554
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
555
|
+
Processing by ChinaCity::DataController#show as */*
|
556
|
+
Parameters: {"id"=>"440300"}
|
557
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
558
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
559
|
+
Processing by ChinaCity::DataController#show as */*
|
560
|
+
Parameters: {"id"=>"440000"}
|
561
|
+
Completed 200 OK in 0ms (Views: 0.4ms)
|
562
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
563
|
+
Processing by ChinaCity::DataController#show as */*
|
564
|
+
Parameters: {"id"=>"440300"}
|
565
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
566
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
567
|
+
Processing by ChinaCity::DataController#index as HTML
|
568
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.4ms)
|
569
|
+
Completed 200 OK in 3ms (Views: 3.3ms)
|
570
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
571
|
+
Processing by ChinaCity::DataController#show as */*
|
572
|
+
Parameters: {"id"=>"440000"}
|
573
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
574
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
575
|
+
Processing by ChinaCity::DataController#show as */*
|
576
|
+
Parameters: {"id"=>"440300"}
|
577
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
578
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
579
|
+
Processing by ChinaCity::DataController#index as HTML
|
580
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.1ms)
|
581
|
+
Completed 200 OK in 3ms (Views: 2.9ms)
|
582
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
583
|
+
Processing by ChinaCity::DataController#show as */*
|
584
|
+
Parameters: {"id"=>"440000"}
|
585
|
+
Completed 200 OK in 1ms (Views: 0.8ms)
|
586
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
587
|
+
Processing by ChinaCity::DataController#show as */*
|
588
|
+
Parameters: {"id"=>"440300"}
|
589
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
590
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
591
|
+
Processing by ChinaCity::DataController#index as HTML
|
592
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.6ms)
|
593
|
+
Completed 200 OK in 3ms (Views: 3.4ms)
|
594
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
595
|
+
Processing by ChinaCity::DataController#show as */*
|
596
|
+
Parameters: {"id"=>"440000"}
|
597
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
598
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
599
|
+
Processing by ChinaCity::DataController#show as */*
|
600
|
+
Parameters: {"id"=>"440300"}
|
601
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
602
|
+
Started GET "/china_city/320000" for 127.0.0.1 at 2013-08-20 10:24:38 +0800
|
603
|
+
Processing by ChinaCity::DataController#show as */*
|
604
|
+
Parameters: {"id"=>"320000"}
|
605
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
606
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:29:36 +0800
|
607
|
+
Processing by ChinaCity::DataController#index as HTML
|
608
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (68.3ms)
|
609
|
+
Completed 200 OK in 83ms (Views: 83.2ms)
|
610
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 10:29:36 +0800
|
611
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 10:29:36 +0800
|
612
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:29:36 +0800
|
613
|
+
Processing by ChinaCity::DataController#show as */*
|
614
|
+
Parameters: {"id"=>"440000"}
|
615
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
616
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:29:36 +0800
|
617
|
+
Processing by ChinaCity::DataController#show as */*
|
618
|
+
Parameters: {"id"=>"440300"}
|
619
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
620
|
+
Started GET "/china_city/440100" for 127.0.0.1 at 2013-08-20 10:29:36 +0800
|
621
|
+
Processing by ChinaCity::DataController#show as */*
|
622
|
+
Parameters: {"id"=>"440100"}
|
623
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
624
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:29:48 +0800
|
625
|
+
Processing by ChinaCity::DataController#index as HTML
|
626
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (82.2ms)
|
627
|
+
Completed 200 OK in 103ms (Views: 102.2ms)
|
628
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 10:29:48 +0800
|
629
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 10:29:48 +0800
|
630
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:29:48 +0800
|
631
|
+
Processing by ChinaCity::DataController#show as */*
|
632
|
+
Parameters: {"id"=>"440000"}
|
633
|
+
Completed 200 OK in 1ms (Views: 0.8ms)
|
634
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:29:48 +0800
|
635
|
+
Processing by ChinaCity::DataController#show as */*
|
636
|
+
Parameters: {"id"=>"440300"}
|
637
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
638
|
+
Started GET "/china_city/440100" for 127.0.0.1 at 2013-08-20 10:29:48 +0800
|
639
|
+
Processing by ChinaCity::DataController#show as */*
|
640
|
+
Parameters: {"id"=>"440100"}
|
641
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
642
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:29:49 +0800
|
643
|
+
Processing by ChinaCity::DataController#index as HTML
|
644
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.6ms)
|
645
|
+
Completed 200 OK in 4ms (Views: 3.6ms)
|
646
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:29:49 +0800
|
647
|
+
Processing by ChinaCity::DataController#show as */*
|
648
|
+
Parameters: {"id"=>"440000"}
|
649
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
650
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:29:49 +0800
|
651
|
+
Processing by ChinaCity::DataController#show as */*
|
652
|
+
Parameters: {"id"=>"440300"}
|
653
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
654
|
+
Started GET "/china_city/320000" for 127.0.0.1 at 2013-08-20 10:29:49 +0800
|
655
|
+
Processing by ChinaCity::DataController#show as */*
|
656
|
+
Parameters: {"id"=>"320000"}
|
657
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
658
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:30:16 +0800
|
659
|
+
Processing by ChinaCity::DataController#index as HTML
|
660
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (70.0ms)
|
661
|
+
Completed 200 OK in 86ms (Views: 85.8ms)
|
662
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 10:30:16 +0800
|
663
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 10:30:16 +0800
|
664
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:30:16 +0800
|
665
|
+
Processing by ChinaCity::DataController#show as */*
|
666
|
+
Parameters: {"id"=>"440000"}
|
667
|
+
Completed 200 OK in 1ms (Views: 0.6ms)
|
668
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:30:16 +0800
|
669
|
+
Processing by ChinaCity::DataController#show as */*
|
670
|
+
Parameters: {"id"=>"440300"}
|
671
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
672
|
+
Started GET "/china_city/440100" for 127.0.0.1 at 2013-08-20 10:30:16 +0800
|
673
|
+
Processing by ChinaCity::DataController#show as */*
|
674
|
+
Parameters: {"id"=>"440100"}
|
675
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
676
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:30:16 +0800
|
677
|
+
Processing by ChinaCity::DataController#index as HTML
|
678
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (3.3ms)
|
679
|
+
Completed 200 OK in 4ms (Views: 4.3ms)
|
680
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:30:16 +0800
|
681
|
+
Processing by ChinaCity::DataController#show as */*
|
682
|
+
Parameters: {"id"=>"440000"}
|
683
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
684
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:30:16 +0800
|
685
|
+
Processing by ChinaCity::DataController#show as */*
|
686
|
+
Parameters: {"id"=>"440300"}
|
687
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
688
|
+
Started GET "/china_city/320000" for 127.0.0.1 at 2013-08-20 10:30:16 +0800
|
689
|
+
Processing by ChinaCity::DataController#show as */*
|
690
|
+
Parameters: {"id"=>"320000"}
|
691
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
692
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:31:38 +0800
|
693
|
+
Processing by ChinaCity::DataController#index as HTML
|
694
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (83.1ms)
|
695
|
+
Completed 200 OK in 103ms (Views: 102.8ms)
|
696
|
+
Started GET "/assets/china_city/application.css" for 127.0.0.1 at 2013-08-20 10:31:38 +0800
|
697
|
+
Started GET "/assets/china_city/application.js" for 127.0.0.1 at 2013-08-20 10:31:38 +0800
|
698
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:31:38 +0800
|
699
|
+
Processing by ChinaCity::DataController#show as */*
|
700
|
+
Parameters: {"id"=>"440000"}
|
701
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
702
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:31:38 +0800
|
703
|
+
Processing by ChinaCity::DataController#show as */*
|
704
|
+
Parameters: {"id"=>"440300"}
|
705
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
706
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:31:38 +0800
|
707
|
+
Processing by ChinaCity::DataController#show as */*
|
708
|
+
Parameters: {"id"=>"440000"}
|
709
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
710
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:31:38 +0800
|
711
|
+
Processing by ChinaCity::DataController#show as */*
|
712
|
+
Parameters: {"id"=>"440300"}
|
713
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
714
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
715
|
+
Processing by ChinaCity::DataController#index as HTML
|
716
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.5ms)
|
717
|
+
Completed 200 OK in 3ms (Views: 3.4ms)
|
718
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
719
|
+
Processing by ChinaCity::DataController#show as */*
|
720
|
+
Parameters: {"id"=>"440000"}
|
721
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
722
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
723
|
+
Processing by ChinaCity::DataController#show as */*
|
724
|
+
Parameters: {"id"=>"440300"}
|
725
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
726
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
727
|
+
Processing by ChinaCity::DataController#index as HTML
|
728
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.3ms)
|
729
|
+
Completed 200 OK in 3ms (Views: 3.2ms)
|
730
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
731
|
+
Processing by ChinaCity::DataController#show as */*
|
732
|
+
Parameters: {"id"=>"440000"}
|
733
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
734
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
735
|
+
Processing by ChinaCity::DataController#show as */*
|
736
|
+
Parameters: {"id"=>"440300"}
|
737
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
738
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
739
|
+
Processing by ChinaCity::DataController#index as HTML
|
740
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.5ms)
|
741
|
+
Completed 200 OK in 3ms (Views: 3.3ms)
|
742
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
743
|
+
Processing by ChinaCity::DataController#show as */*
|
744
|
+
Parameters: {"id"=>"440000"}
|
745
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
746
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
747
|
+
Processing by ChinaCity::DataController#show as */*
|
748
|
+
Parameters: {"id"=>"440300"}
|
749
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
750
|
+
Started GET "/china_city/320000" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
751
|
+
Processing by ChinaCity::DataController#show as */*
|
752
|
+
Parameters: {"id"=>"320000"}
|
753
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
754
|
+
Started GET "/china_city" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
755
|
+
Processing by ChinaCity::DataController#index as HTML
|
756
|
+
Rendered /Users/saberma/Documents/china_city/app/views/china_city/data/index.html.erb within layouts/china_city/application (2.1ms)
|
757
|
+
Completed 200 OK in 3ms (Views: 2.9ms)
|
758
|
+
Started GET "/china_city/440000" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
759
|
+
Processing by ChinaCity::DataController#show as */*
|
760
|
+
Parameters: {"id"=>"440000"}
|
761
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
762
|
+
Started GET "/china_city/440300" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
763
|
+
Processing by ChinaCity::DataController#show as */*
|
764
|
+
Parameters: {"id"=>"440300"}
|
765
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
766
|
+
Started GET "/china_city/440100" for 127.0.0.1 at 2013-08-20 10:31:39 +0800
|
767
|
+
Processing by ChinaCity::DataController#show as */*
|
768
|
+
Parameters: {"id"=>"440100"}
|
769
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
23402
|
@@ -15,21 +15,50 @@ feature 'china city', js: true do
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
18
|
+
describe 'clean' do
|
19
|
+
before do
|
20
|
+
visit '/china_city'
|
21
|
+
within '.rails-helper' do
|
22
|
+
select '广东省'
|
23
|
+
select '深圳市'
|
24
|
+
select '南山区'
|
25
|
+
end
|
26
|
+
end
|
27
|
+
context 'select empty parent' do
|
28
|
+
scenario 'city and district' do
|
29
|
+
within '.rails-helper' do
|
30
|
+
select '--省份--'
|
31
|
+
expect(find('.city-city').value).to be_blank
|
32
|
+
expect(find('.city-district').value).to be_blank
|
33
|
+
expect(all('.city-city option').size).to eql 1
|
34
|
+
expect(all('.city-district option').size).to eql 1
|
35
|
+
end
|
36
|
+
end
|
37
|
+
scenario 'district' do
|
38
|
+
within '.rails-helper' do
|
39
|
+
select '--城市--'
|
40
|
+
expect(find('.city-district').value).to be_blank
|
41
|
+
expect(all('.city-district option').size).to eql 1
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
context 'select other parent' do
|
46
|
+
scenario 'city and district' do
|
47
|
+
within '.rails-helper' do
|
48
|
+
select '江苏省'
|
49
|
+
expect(find('.city-city').value).to be_blank
|
50
|
+
expect(find('.city-district').value).to be_blank
|
51
|
+
expect(all('.city-city option').size).to eql 14
|
52
|
+
expect(all('.city-district option').size).to eql 1
|
53
|
+
end
|
54
|
+
end
|
55
|
+
scenario 'district' do
|
56
|
+
within '.rails-helper' do
|
57
|
+
select '广州市'
|
58
|
+
expect(find('.city-district').value).to be_blank
|
59
|
+
expect(all('.city-district option').size).to eql 14
|
60
|
+
end
|
61
|
+
end
|
33
62
|
end
|
34
63
|
end
|
35
64
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: china_city
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- saberma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -228,11 +228,13 @@ files:
|
|
228
228
|
- spec/dummy/tmp/capybara/capybara-201308122138487518932375.html
|
229
229
|
- spec/dummy/tmp/capybara/capybara-201308122236338878485935.html
|
230
230
|
- spec/dummy/tmp/capybara/capybara-201308122237183217273230.html
|
231
|
+
- spec/dummy/tmp/pids/server.pid
|
231
232
|
- spec/features/china_city_spec.rb
|
232
233
|
- spec/lib/china_city_spec.rb
|
233
234
|
- spec/spec_helper.rb
|
234
235
|
homepage: https://github.com/saberma/china_city
|
235
|
-
licenses:
|
236
|
+
licenses:
|
237
|
+
- MIT
|
236
238
|
metadata: {}
|
237
239
|
post_install_message:
|
238
240
|
rdoc_options: []
|
@@ -324,6 +326,7 @@ test_files:
|
|
324
326
|
- spec/dummy/tmp/capybara/capybara-201308122138487518932375.html
|
325
327
|
- spec/dummy/tmp/capybara/capybara-201308122236338878485935.html
|
326
328
|
- spec/dummy/tmp/capybara/capybara-201308122237183217273230.html
|
329
|
+
- spec/dummy/tmp/pids/server.pid
|
327
330
|
- spec/features/china_city_spec.rb
|
328
331
|
- spec/lib/china_city_spec.rb
|
329
332
|
- spec/spec_helper.rb
|