ymaps 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/geokit/geocoders/yandex_geocoder.rb +0 -1
- data/lib/ymaps/action_view/html_helper.rb +5 -5
- data/lib/ymaps/version.rb +1 -1
- metadata +63 -60
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NDA3Y2MxZDlmOWViYjI2NTZlMjU1ODE5NWUwY2IyMmM4MTdlNzkwNA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YzliNTBkMzZmZGFlOWE2OWI5NDEzNThjYzRmYTcxYWU0YzgwNjU2Mg==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZDNiNjkwMGE3Njg0ODVkNjUxYWE1ZjM3ZTM3OTFmODY3YWU0Mzc2NTMwYTZk
|
10
|
+
M2E0MDA2MmQxYzM4MmZlYzNhN2UwYjBkZTdmNDFjNTFiODYyMTg0NGYyMDJk
|
11
|
+
NDJmYWU1OGFhM2Q3ODlhM2FkZTlkMTFhMThmZjk4MGE2MTBjYTI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YzdmZDRlN2NjZWFlMjdkZGQxZDc3NGI3MTNkMjhmY2ExYTk1ODk0NDQ2Yjli
|
14
|
+
YjYzMmEzYTJkOTBjYmVkOWQ4MTljNTA2MWZjYmU4Mzk5ZWY2YjI5M2E5YTQ1
|
15
|
+
ZTEwMDIzZTAyMzI3YTY4YTM2NDY1MWMxODJlYzJiMzFkMTY2ZTc=
|
@@ -40,13 +40,13 @@ module YMaps
|
|
40
40
|
:type => 'application/ymapsml+xml'))
|
41
41
|
end
|
42
42
|
|
43
|
-
def ymaps_javascript_path(key = nil)
|
44
|
-
key
|
45
|
-
"http://api-maps.yandex.ru/1.1/index.xml
|
43
|
+
def ymaps_javascript_path(key = nil, by_require = 0)
|
44
|
+
query = {:key => key || YMaps.key, :loadByRequire => by_require}.to_query
|
45
|
+
"http://api-maps.yandex.ru/1.1/index.xml?#{query}"
|
46
46
|
end
|
47
47
|
|
48
|
-
def ymaps_include_tag(key = nil)
|
49
|
-
javascript_include_tag(ymaps_javascript_path)
|
48
|
+
def ymaps_include_tag(key = nil, by_require = 0)
|
49
|
+
javascript_include_tag(ymaps_javascript_path(key, by_require))
|
50
50
|
end
|
51
51
|
|
52
52
|
def static_map(resources, options = {})
|
data/lib/ymaps/version.rb
CHANGED
metadata
CHANGED
@@ -1,60 +1,65 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ymaps
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.0.8
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.9
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
6
|
+
authors:
|
8
7
|
- Alexander Semyonov
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-06-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
16
14
|
name: geokit
|
17
|
-
|
18
|
-
|
19
|
-
none: false
|
20
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
21
17
|
- - ~>
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.5'
|
24
20
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: shoulda
|
28
21
|
prerelease: false
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: shoulda
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
35
34
|
type: :development
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: yard
|
39
35
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: yard
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
46
48
|
type: :development
|
47
|
-
|
48
|
-
|
49
|
-
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Different helpers for generating YMapsML, using YMaps widgets and geocoding
|
56
|
+
via Yandex.Maps
|
57
|
+
email:
|
50
58
|
- al@semyonov.us
|
51
59
|
executables: []
|
52
|
-
|
53
60
|
extensions: []
|
54
|
-
|
55
61
|
extra_rdoc_files: []
|
56
|
-
|
57
|
-
files:
|
62
|
+
files:
|
58
63
|
- .document
|
59
64
|
- .gitignore
|
60
65
|
- Gemfile
|
@@ -76,30 +81,28 @@ files:
|
|
76
81
|
- ymaps.gemspec
|
77
82
|
homepage: http://github.com/rotuka/ymaps
|
78
83
|
licenses: []
|
79
|
-
|
84
|
+
metadata: {}
|
80
85
|
post_install_message:
|
81
86
|
rdoc_options: []
|
82
|
-
|
83
|
-
require_paths:
|
87
|
+
require_paths:
|
84
88
|
- lib
|
85
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: "0"
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
97
99
|
requirements: []
|
98
|
-
|
99
100
|
rubyforge_project: ymaps
|
100
|
-
rubygems_version:
|
101
|
+
rubygems_version: 2.0.3
|
101
102
|
signing_key:
|
102
|
-
specification_version:
|
103
|
+
specification_version: 4
|
103
104
|
summary: Helpers for using YMaps
|
104
|
-
test_files:
|
105
|
-
|
105
|
+
test_files:
|
106
|
+
- test/helper.rb
|
107
|
+
- test/test_ymaps.rb
|
108
|
+
has_rdoc:
|