| 
					
				 | 
			
			
				@@ -4,6 +4,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+支持 Rails3.1, Rails3.2, Rails4.0。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+请留意,Rails3.1 与 Ruby2.0 不兼容,sprockets 无法正常解析 application.js,请使用 Ruby1.9。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ## 简介 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 这是一个基于 Rails Engine 开发的插件,为 Rails 项目增加省市区三级(或者省市 二级)选择框,可用于实现收货地址等信息的录入。 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -47,10 +51,20 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ```bash 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 git clone git@github.com:saberma/china_city.git 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 cd china_city 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+rake appraisal:install 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 cd spec/dummy 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 rails server # http://localhost:3000/china_city 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ``` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+## 测试 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+```bash 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+rake appraisal:rails32 spec 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+rake appraisal:rails4 spec 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+rvm use 1.9.3 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+rake appraisal:rails31 spec 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+``` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ## 类似项目 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 * https://github.com/Kehao/area_cn_select 
			 |