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 +4 -4
- data/lib/geo_contrast/version.rb +1 -1
- data/vendor/assets/javascripts/geo_contrast.js +17 -14
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ecd38c5725020779b293a7ddd186b7889ce7338
|
4
|
+
data.tar.gz: 4ae5821784974eba4954179e62be15166c9c54a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0e74deb016cc2dad5d8918e090e117556b2d586e71e634bfe9d10d79633525b2439b360e5fe206fadf78b6af29392917ea25a608149d4d9ba88d6a772fc0f24
|
7
|
+
data.tar.gz: 76e48937887ce4230647643185de50f81af75c5437a31b59848478435dc4620d81090913dd033ee23b4441fcf2a51c1f7922c7a5e92acb7328df9675a377acc6
|
data/lib/geo_contrast/version.rb
CHANGED
@@ -209,20 +209,23 @@ $(function(){
|
|
209
209
|
}
|
210
210
|
});
|
211
211
|
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
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
|
+
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:
|
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:
|
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:
|
55
|
-
description:
|
56
|
-
|
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.
|
88
|
+
rubygems_version: 2.4.5
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
|
-
summary:
|
92
|
-
|
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: []
|