geo_contrast 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4683e82af6440462adac2486f460c25f66949f48
4
- data.tar.gz: f13e132f69f6bc3862e807dd3c38456e253fed9b
3
+ metadata.gz: e62e7699de6d7f0ea1372683c197fa1c9c898090
4
+ data.tar.gz: e70ea1b6e8fc2ece8905e205b0d308b49a95e197
5
5
  SHA512:
6
- metadata.gz: f40da18cba0246c943c05fa147545991ce047c4466be2a496dbdb05c6a100e0494469243835a92ec82ed65254f60ace8c5299bbcb714b63c857f4f2d628c9d92
7
- data.tar.gz: 014270e976bf346562481937f2778a6fce9133209ed1420946b6b18e701508667446e6b136d5ddc343f2586299b3ae0b84841ef7f916a918e9262583a52eeb0c
6
+ metadata.gz: d3d75e785ade8fd66a82b7382a3625b4bcc0aa723ce041c9af6598f57a0734c5a3329b2e577854fb1ff6af144e3125b85d1694c543de5759620329d2b4cb81b3
7
+ data.tar.gz: bd3f710a7b658b6434c25b7a3fab25278f58ace9fb44e8702df3a0f84676f1883cd324bee500023fbd8a90b3c523faf6194e4b1255a237233bed78cf30fffa9c
data/README.md CHANGED
@@ -54,9 +54,16 @@ $('.your_class').geoContrast({format: "formatted"});
54
54
 
55
55
  If you want to search just for cities, for example, you can pass a option to specify this:
56
56
  ```javascript
57
- $('.your_class').geoContrast({format: "long", options_gmaps: {types: ['(cities)']}});
57
+ $('.your_class').geoContrast({format: "formatted", options_gmaps: {types: ['(cities)']}});
58
58
  ```
59
59
 
60
+ The options are:
61
+
62
+ 1. 'geocode' -> For addresses.
63
+ 2. '(regions)' -> For administrative regions.
64
+ 3. 'establishment' -> For businesses.
65
+ 4. '(cities)' -> For just city names.
66
+
60
67
  ## ROADMAP
61
68
 
62
69
  Here is the next things that will be (probably) implemented:
@@ -67,13 +74,6 @@ Here is the next things that will be (probably) implemented:
67
74
 
68
75
  **...and more**
69
76
 
70
- The options are:
71
-
72
- 1. 'geocode' -> For addresses.
73
- 2. '(regions)' -> For administrative regions.
74
- 3. 'establishment' -> For businesses.
75
- 4. '(cities)' -> For just city names.
76
-
77
77
  ## Contributing
78
78
  1. Fork it ( https://github.com/codelandev/geo-contrast/fork )
79
79
  2. Create your feature branch (`git checkout -b my-new-feature`)
@@ -1,3 +1,3 @@
1
1
  module GeoContrast
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -209,20 +209,20 @@ $(function(){
209
209
  }
210
210
  });
211
211
 
212
- $(document).on('keydown','.geocontrast',function(e){
213
- switch(e.keyCode){
214
- case 9:
215
- if (this.options.assign_through_tab){
216
- this.find_address(this.first_hint(), function(){
217
- this.sync();
218
- });
219
- }
220
- break;
221
- case 13:
222
- e.preventDefault();
223
- break;
224
- }
225
- });
212
+ // $(document).on('keydown','.geocontrast',function(e){
213
+ // switch(e.keyCode){
214
+ // case 9:
215
+ // if (this.options.assign_through_tab){
216
+ // this.find_address(this.first_hint(), function(){
217
+ // this.sync();
218
+ // });
219
+ // }
220
+ // break;
221
+ // case 13:
222
+ // e.preventDefault();
223
+ // break;
224
+ // }
225
+ // });
226
226
 
227
227
  $(document).on('click','.pin_geocontrast',function(){
228
228
  var input = $(this).prev()[0];
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_contrast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - CODELAND
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-17 00:00:00.000000000 Z
11
+ date: 2014-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler