geo_contrast 0.0.4 → 0.0.5.1

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: e62e7699de6d7f0ea1372683c197fa1c9c898090
4
- data.tar.gz: e70ea1b6e8fc2ece8905e205b0d308b49a95e197
3
+ metadata.gz: 2ecd38c5725020779b293a7ddd186b7889ce7338
4
+ data.tar.gz: 4ae5821784974eba4954179e62be15166c9c54a7
5
5
  SHA512:
6
- metadata.gz: d3d75e785ade8fd66a82b7382a3625b4bcc0aa723ce041c9af6598f57a0734c5a3329b2e577854fb1ff6af144e3125b85d1694c543de5759620329d2b4cb81b3
7
- data.tar.gz: bd3f710a7b658b6434c25b7a3fab25278f58ace9fb44e8702df3a0f84676f1883cd324bee500023fbd8a90b3c523faf6194e4b1255a237233bed78cf30fffa9c
6
+ metadata.gz: b0e74deb016cc2dad5d8918e090e117556b2d586e71e634bfe9d10d79633525b2439b360e5fe206fadf78b6af29392917ea25a608149d4d9ba88d6a772fc0f24
7
+ data.tar.gz: 76e48937887ce4230647643185de50f81af75c5437a31b59848478435dc4620d81090913dd033ee23b4441fcf2a51c1f7922c7a5e92acb7328df9675a377acc6
@@ -1,3 +1,3 @@
1
1
  module GeoContrast
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5.1"
3
3
  end
@@ -209,20 +209,23 @@ $(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
+ this.find_address(this.first_hint(), function(){
224
+ this.sync();
225
+ });
226
+ break;
227
+ }
228
+ });
226
229
 
227
230
  $(document).on('click','.pin_geocontrast',function(){
228
231
  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.4
4
+ version: 0.0.5.1
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-24 00:00:00.000000000 Z
11
+ date: 2015-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,18 +42,18 @@ dependencies:
42
42
  name: jquery-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 3.1.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
55
- description: GeoContrast allows you to transform a simple text field in a Google Maps
56
- Autocomplete search field, bringing the name of streets, cities or an establishments.
54
+ version: 3.1.2
55
+ description: Transform a simple text field in a Google Maps Autocomplete search field,
56
+ bringing the name of streets, cities or establishments.
57
57
  email:
58
58
  - contato@codeland.com.br
59
59
  executables: []
@@ -85,9 +85,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  requirements: []
87
87
  rubyforge_project:
88
- rubygems_version: 2.2.2
88
+ rubygems_version: 2.4.5
89
89
  signing_key:
90
90
  specification_version: 4
91
- summary: GeoContrast allows you to transform a simple text field in a Google Maps
92
- Autocomplete search field, bringing the name of streets, cities or an establishments.
91
+ summary: Transform a simple text field in a Google Maps Autocomplete search field,
92
+ bringing the name of streets, cities or establishments.
93
93
  test_files: []