yandex_locator 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yandex_locator/configuration.rb +0 -1
- data/lib/yandex_locator/version.rb +1 -1
- data/lib/yandex_locator.rb +10 -9
- data/yandex_locator.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4647615c78eea1bfd3e08fcde4e37f40533af5ba
|
4
|
+
data.tar.gz: f3b61df1a544aca4082bfb76b2c7013524f08029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd9883a04b1386b566cebed9bcb81d5af54bc57b14083abe0ee9c91712a69dc9bd26abd9065d1e906fdec272b6c70638eff814c657b26ec9537f210182e515d7
|
7
|
+
data.tar.gz: 07d217181e15fc293abce49559e19b5ca9f12246d2a99f2f588865e5102dc66314cf879f35fae60e263c313ea8a8e896575bdfc1d31c1da009a55228e42d2e19
|
data/lib/yandex_locator.rb
CHANGED
@@ -8,17 +8,18 @@ require 'yandex_locator/api'
|
|
8
8
|
module YandexLocator
|
9
9
|
class << self
|
10
10
|
attr_accessor :configuration
|
11
|
-
end
|
12
11
|
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
def configuration
|
13
|
+
@configuration ||= Configuration.new
|
14
|
+
end
|
16
15
|
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
def reset
|
17
|
+
@configuration = Configuration.new
|
18
|
+
end
|
20
19
|
|
21
|
-
|
22
|
-
|
20
|
+
def configure
|
21
|
+
yield(configuration)
|
22
|
+
end
|
23
23
|
end
|
24
|
+
|
24
25
|
end
|
data/yandex_locator.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yandex_locator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Chechaev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.11.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.11.0
|
41
41
|
description: ruby gem for yandex locator
|
42
42
|
email:
|
43
43
|
- kompotdrinker@gmail.com
|