soaring_china_city 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +31 -0
  4. data/app/assets/javascripts/china_city/application.js.coffee +3 -0
  5. data/app/assets/javascripts/china_city/jquery.china_city.js.coffee +18 -0
  6. data/app/assets/stylesheets/china_city/application.css +13 -0
  7. data/app/controllers/china_city/application_controller.rb +4 -0
  8. data/app/controllers/china_city/data_controller.rb +13 -0
  9. data/app/helpers/china_city/application_helper.rb +4 -0
  10. data/app/views/china_city/data/index.html.erb +37 -0
  11. data/app/views/layouts/china_city/application.html.erb +12 -0
  12. data/config/routes.rb +4 -0
  13. data/db/areas.json +191326 -0
  14. data/db/district_gb2260_taobao.yml +17 -0
  15. data/lib/china_city.rb +124 -0
  16. data/lib/china_city/engine.rb +13 -0
  17. data/lib/china_city/version.rb +3 -0
  18. data/lib/china_city_tasks.rake +137 -0
  19. data/spec/controllers/china_city/data_controller_spec.rb +12 -0
  20. data/spec/dummy/README.rdoc +28 -0
  21. data/spec/dummy/Rakefile +6 -0
  22. data/spec/dummy/app/assets/config/manifest.js +5 -0
  23. data/spec/dummy/app/assets/javascripts/application.js +14 -0
  24. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  25. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  26. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  27. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  28. data/spec/dummy/bin/bundle +3 -0
  29. data/spec/dummy/bin/rails +4 -0
  30. data/spec/dummy/bin/rake +4 -0
  31. data/spec/dummy/config.ru +4 -0
  32. data/spec/dummy/config/application.rb +35 -0
  33. data/spec/dummy/config/boot.rb +5 -0
  34. data/spec/dummy/config/database.yml +25 -0
  35. data/spec/dummy/config/environment.rb +5 -0
  36. data/spec/dummy/config/environments/development.rb +29 -0
  37. data/spec/dummy/config/environments/production.rb +80 -0
  38. data/spec/dummy/config/environments/test.rb +36 -0
  39. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  40. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  41. data/spec/dummy/config/initializers/inflections.rb +16 -0
  42. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  43. data/spec/dummy/config/initializers/secret_token.rb +13 -0
  44. data/spec/dummy/config/initializers/session_store.rb +3 -0
  45. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  46. data/spec/dummy/config/locales/en.yml +23 -0
  47. data/spec/dummy/config/routes.rb +4 -0
  48. data/spec/dummy/public/404.html +58 -0
  49. data/spec/dummy/public/422.html +58 -0
  50. data/spec/dummy/public/500.html +57 -0
  51. data/spec/dummy/public/favicon.ico +0 -0
  52. data/spec/dummy/script/rails +6 -0
  53. data/spec/features/china_city_spec.rb +69 -0
  54. data/spec/lib/china_city_spec.rb +64 -0
  55. data/spec/spec_helper.rb +29 -0
  56. metadata +288 -0
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,69 @@
1
+ # encoding: utf-8
2
+ require 'spec_helper'
3
+
4
+ feature 'china city', js: true do
5
+ scenario 'select' do
6
+ visit '/china_city'
7
+ within '.rails-helper' do
8
+ select '广东省'
9
+ select '深圳市'
10
+ select '南山区'
11
+ end
12
+ within '.html-tag' do
13
+ select '广东省'
14
+ select '深圳市'
15
+ select '南山区'
16
+ end
17
+ end
18
+
19
+ describe 'clean' do
20
+ before do
21
+ visit '/china_city'
22
+ within '.rails-helper' do
23
+ select '广东省'
24
+ select '深圳市'
25
+ select '南山区'
26
+ end
27
+ end
28
+ context 'select empty parent' do
29
+ scenario 'city and district' do
30
+ within '.rails-helper' do
31
+ select '--省份--'
32
+ expect(find('.city-city').value).to be_blank
33
+ expect(find('.city-district').value).to be_blank
34
+ sleep 2
35
+ expect(all('.city-city option').size).to eql 1
36
+ expect(all('.city-district option').size).to eql 1
37
+ end
38
+ end
39
+ scenario 'district' do
40
+ within '.rails-helper' do
41
+ select '--城市--'
42
+ expect(find('.city-district').value).to be_blank
43
+ sleep 2
44
+ expect(all('.city-district option').size).to eql 1
45
+ end
46
+ end
47
+ end
48
+ context 'select other parent' do
49
+ scenario 'city and district' do
50
+ within '.rails-helper' do
51
+ select '江苏省'
52
+ expect(find('.city-city').value).to be_blank
53
+ expect(find('.city-district').value).to be_blank
54
+ sleep 2
55
+ expect(all('.city-city option').size).to eql 14
56
+ expect(all('.city-district option').size).to eql 1
57
+ end
58
+ end
59
+ scenario 'district' do
60
+ within '.rails-helper' do
61
+ select '广州市'
62
+ expect(find('.city-district').value).to be_blank
63
+ sleep 2
64
+ expect(all('.city-district option').size).to eql 14
65
+ end
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,64 @@
1
+ # encoding: utf-8
2
+ require 'spec_helper'
3
+
4
+ describe ChinaCity do
5
+ it 'should be list' do
6
+ # 省
7
+ ChinaCity.list.should eql [["北京市", "110000"], ["天津市", "120000"], ["河北省", "130000"], ["山西省", "140000"], ["内蒙古自治区", "150000"], ["辽宁省", "210000"], ["吉林省", "220000"], ["黑龙江省", "230000"], ["上海市", "310000"], ["江苏省", "320000"], ["浙江省", "330000"], ["安徽省", "340000"], ["福建省", "350000"], ["江西省", "360000"], ["山东省", "370000"], ["河南省", "410000"], ["湖北省", "420000"], ["湖南省", "430000"], ["广东省", "440000"], ["广西壮族自治区", "450000"], ["海南省", "460000"], ["重庆市", "500000"], ["四川省", "510000"], ["贵州省", "520000"], ["云南省", "530000"], ["西藏自治区", "540000"], ["陕西省", "610000"], ["甘肃省", "620000"], ["青海省", "630000"], ["宁夏回族自治区", "640000"], ["新疆维吾尔自治区", "650000"]]
8
+
9
+ ChinaCity.list(nil, show_all: true).should eql [["北京市", "110000"], ["天津市", "120000"], ["河北省", "130000"], ["山西省", "140000"], ["内蒙古自治区", "150000"], ["辽宁省", "210000"], ["吉林省", "220000"], ["黑龙江省", "230000"], ["上海市", "310000"], ["江苏省", "320000"], ["浙江省", "330000"], ["安徽省", "340000"], ["福建省", "350000"], ["江西省", "360000"], ["山东省", "370000"], ["河南省", "410000"], ["湖北省", "420000"], ["湖南省", "430000"], ["广东省", "440000"], ["广西壮族自治区", "450000"], ["海南省", "460000"], ["重庆市", "500000"], ["四川省", "510000"], ["贵州省", "520000"], ["云南省", "530000"], ["西藏自治区", "540000"], ["陕西省", "610000"], ["甘肃省", "620000"], ["青海省", "630000"], ["宁夏回族自治区", "640000"], ["新疆维吾尔自治区", "650000"], ["台湾省", "710000"], ["香港特别行政区", "810000"], ["澳门特别行政区", "820000"]]
10
+
11
+ #市
12
+ ChinaCity.list('440000').should eql [["广州市", "440100"], ["韶关市", "440200"], ["深圳市", "440300"], ["珠海市", "440400"], ["汕头市", "440500"], ["佛山市", "440600"], ["江门市", "440700"], ["湛江市", "440800"], ["茂名市", "440900"], ["肇庆市", "441200"], ["惠州市", "441300"], ["梅州市", "441400"], ["汕尾市", "441500"], ["河源市", "441600"], ["阳江市", "441700"], ["清远市", "441800"], ["东莞市", "441900"], ["中山市", "442000"], ["潮州市", "445100"], ["揭阳市", "445200"], ["云浮市", "445300"]]
13
+
14
+ #区
15
+ ChinaCity.list('440300').should eql [["市辖区", "440301"], ["罗湖区", "440303"], ["福田区", "440304"], ["南山区", "440305"], ["宝安区", "440306"], ["龙岗区", "440307"], ["盐田区", "440308"]]
16
+
17
+ #街道
18
+ ChinaCity.list('440305').should eql [["南头街道", "440305001"], ["南山街道", "440305002"], ["沙河街道", "440305003"], ["蛇口街道", "440305005"], ["招商街道", "440305006"], ["粤海街道", "440305007"], ["桃源街道", "440305008"], ["西丽街道", "440305009"]]
19
+ end
20
+
21
+ it 'should be get' do
22
+ ChinaCity.get('440000').should eql '广东省'
23
+ ChinaCity.get('440300').should eql '深圳市'
24
+ ChinaCity.get('440305').should eql '南山区'
25
+ ChinaCity.get('440000' , prepend_parent: true).should eql '广东省'
26
+ ChinaCity.get('440300' , prepend_parent: true).should eql '广东省深圳市'
27
+ ChinaCity.get('440305' , prepend_parent: true).should eql '广东省深圳市南山区'
28
+ ChinaCity.get('440305001', prepend_parent: true).should eql '广东省深圳市南山区南头街道'
29
+ end
30
+
31
+ it 'should be parse' do # 可以直接获取省、市
32
+ ChinaCity.province('440000').should eql '440000' # 省
33
+ ChinaCity.city('440000').should eql '440000'
34
+ ChinaCity.district('440000').should eql '440000'
35
+ ChinaCity.province('440300').should eql '440000' # 市
36
+ ChinaCity.city('440300').should eql '440300'
37
+ ChinaCity.district('440300').should eql '440300'
38
+ ChinaCity.province('440305').should eql '440000' # 区
39
+ ChinaCity.city('440305').should eql '440300'
40
+ ChinaCity.district('440305').should eql '440305'
41
+ end
42
+
43
+ it 'should has children' do # 省市区都有子记录
44
+ data = ChinaCity.data
45
+
46
+ # 省
47
+ empty_provinces = data.select{|k, v| v[:children].empty?}
48
+ # empty_provinces.should be_empty
49
+ # 港澳台暂时没有子记录
50
+ empty_provinces.keys.should eql ["710000", "810000", "820000"]
51
+
52
+ # 市
53
+ cities = {}
54
+ data.each {|k, v| v[:children].each{|ck, cv| cities[ck] = cv}}
55
+ empty_cities = cities.select{|k, v| v[:children].empty?}
56
+ empty_cities.should be_empty
57
+
58
+ # 区
59
+ districts = {}
60
+ cities.each {|k, v| v[:children].each{|ck, cv| districts[ck] = cv}}
61
+ empty_districts = districts.select{|k, v| v[:children].nil?}
62
+ empty_districts.should be_empty
63
+ end
64
+ end
@@ -0,0 +1,29 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # Require this file using `require "spec_helper"` to ensure that it is only
4
+ # loaded once.
5
+ #
6
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
+ ENV["RAILS_ENV"] = "test"
8
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
9
+
10
+ require "rspec/rails"
11
+ # require 'capybara/rails'
12
+ require 'capybara/rspec'
13
+
14
+ require 'capybara/poltergeist'
15
+ Capybara.javascript_driver = :poltergeist
16
+
17
+ puts "Rails: #{Rails.version}"
18
+
19
+ RSpec.configure do |config|
20
+ config.treat_symbols_as_metadata_keys_with_true_values = true
21
+ config.run_all_when_everything_filtered = true
22
+ config.filter_run :focus
23
+
24
+ # Run specs in random order to surface order dependencies. If you find an
25
+ # order dependency and want to debug it, you can fix the order by providing
26
+ # the seed, which is printed after each run.
27
+ # --seed 1234
28
+ config.order = 'random'
29
+ end
metadata ADDED
@@ -0,0 +1,288 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: soaring_china_city
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.6
5
+ platform: ruby
6
+ authors:
7
+ - hayate_cn
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-07-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jquery-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sqlite3
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.3'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.14'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.14'
69
+ - !ruby/object:Gem::Dependency
70
+ name: coffee-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '4.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '4.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: capybara
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: launchy
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: poltergeist
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.8'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.8'
125
+ - !ruby/object:Gem::Dependency
126
+ name: GB2260
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: httparty
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: json
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description: a gem to help you select chinese area like province, city and district
168
+ email:
169
+ - holdstock@yeah.net
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - MIT-LICENSE
175
+ - Rakefile
176
+ - app/assets/javascripts/china_city/application.js.coffee
177
+ - app/assets/javascripts/china_city/jquery.china_city.js.coffee
178
+ - app/assets/stylesheets/china_city/application.css
179
+ - app/controllers/china_city/application_controller.rb
180
+ - app/controllers/china_city/data_controller.rb
181
+ - app/helpers/china_city/application_helper.rb
182
+ - app/views/china_city/data/index.html.erb
183
+ - app/views/layouts/china_city/application.html.erb
184
+ - config/routes.rb
185
+ - db/areas.json
186
+ - db/district_gb2260_taobao.yml
187
+ - lib/china_city.rb
188
+ - lib/china_city/engine.rb
189
+ - lib/china_city/version.rb
190
+ - lib/china_city_tasks.rake
191
+ - spec/controllers/china_city/data_controller_spec.rb
192
+ - spec/dummy/README.rdoc
193
+ - spec/dummy/Rakefile
194
+ - spec/dummy/app/assets/config/manifest.js
195
+ - spec/dummy/app/assets/javascripts/application.js
196
+ - spec/dummy/app/assets/stylesheets/application.css
197
+ - spec/dummy/app/controllers/application_controller.rb
198
+ - spec/dummy/app/helpers/application_helper.rb
199
+ - spec/dummy/app/views/layouts/application.html.erb
200
+ - spec/dummy/bin/bundle
201
+ - spec/dummy/bin/rails
202
+ - spec/dummy/bin/rake
203
+ - spec/dummy/config.ru
204
+ - spec/dummy/config/application.rb
205
+ - spec/dummy/config/boot.rb
206
+ - spec/dummy/config/database.yml
207
+ - spec/dummy/config/environment.rb
208
+ - spec/dummy/config/environments/development.rb
209
+ - spec/dummy/config/environments/production.rb
210
+ - spec/dummy/config/environments/test.rb
211
+ - spec/dummy/config/initializers/backtrace_silencers.rb
212
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
213
+ - spec/dummy/config/initializers/inflections.rb
214
+ - spec/dummy/config/initializers/mime_types.rb
215
+ - spec/dummy/config/initializers/secret_token.rb
216
+ - spec/dummy/config/initializers/session_store.rb
217
+ - spec/dummy/config/initializers/wrap_parameters.rb
218
+ - spec/dummy/config/locales/en.yml
219
+ - spec/dummy/config/routes.rb
220
+ - spec/dummy/public/404.html
221
+ - spec/dummy/public/422.html
222
+ - spec/dummy/public/500.html
223
+ - spec/dummy/public/favicon.ico
224
+ - spec/dummy/script/rails
225
+ - spec/features/china_city_spec.rb
226
+ - spec/lib/china_city_spec.rb
227
+ - spec/spec_helper.rb
228
+ homepage: https://github.com/hinagiku/china_city
229
+ licenses:
230
+ - MIT
231
+ metadata: {}
232
+ post_install_message:
233
+ rdoc_options: []
234
+ require_paths:
235
+ - lib
236
+ required_ruby_version: !ruby/object:Gem::Requirement
237
+ requirements:
238
+ - - ">="
239
+ - !ruby/object:Gem::Version
240
+ version: '0'
241
+ required_rubygems_version: !ruby/object:Gem::Requirement
242
+ requirements:
243
+ - - ">="
244
+ - !ruby/object:Gem::Version
245
+ version: '0'
246
+ requirements: []
247
+ rubygems_version: 3.2.3
248
+ signing_key:
249
+ specification_version: 4
250
+ summary: a gem to help you select chinese area
251
+ test_files:
252
+ - spec/controllers/china_city/data_controller_spec.rb
253
+ - spec/dummy/README.rdoc
254
+ - spec/dummy/Rakefile
255
+ - spec/dummy/app/assets/config/manifest.js
256
+ - spec/dummy/app/assets/javascripts/application.js
257
+ - spec/dummy/app/assets/stylesheets/application.css
258
+ - spec/dummy/app/controllers/application_controller.rb
259
+ - spec/dummy/app/helpers/application_helper.rb
260
+ - spec/dummy/app/views/layouts/application.html.erb
261
+ - spec/dummy/bin/bundle
262
+ - spec/dummy/bin/rails
263
+ - spec/dummy/bin/rake
264
+ - spec/dummy/config/application.rb
265
+ - spec/dummy/config/boot.rb
266
+ - spec/dummy/config/database.yml
267
+ - spec/dummy/config/environment.rb
268
+ - spec/dummy/config/environments/development.rb
269
+ - spec/dummy/config/environments/production.rb
270
+ - spec/dummy/config/environments/test.rb
271
+ - spec/dummy/config/initializers/backtrace_silencers.rb
272
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
273
+ - spec/dummy/config/initializers/inflections.rb
274
+ - spec/dummy/config/initializers/mime_types.rb
275
+ - spec/dummy/config/initializers/secret_token.rb
276
+ - spec/dummy/config/initializers/session_store.rb
277
+ - spec/dummy/config/initializers/wrap_parameters.rb
278
+ - spec/dummy/config/locales/en.yml
279
+ - spec/dummy/config/routes.rb
280
+ - spec/dummy/config.ru
281
+ - spec/dummy/public/404.html
282
+ - spec/dummy/public/422.html
283
+ - spec/dummy/public/500.html
284
+ - spec/dummy/public/favicon.ico
285
+ - spec/dummy/script/rails
286
+ - spec/features/china_city_spec.rb
287
+ - spec/lib/china_city_spec.rb
288
+ - spec/spec_helper.rb