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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d4f4c021f6cdd349e4858d07da66bedb940bea9
4
- data.tar.gz: fd26a9b5116248ab9c56187a683227f5a42749c5
3
+ metadata.gz: 4647615c78eea1bfd3e08fcde4e37f40533af5ba
4
+ data.tar.gz: f3b61df1a544aca4082bfb76b2c7013524f08029
5
5
  SHA512:
6
- metadata.gz: a16b1c541878f2adad22680755e7ab3e75040d3c1e40713c66a423448854d6b6559ac64aa6254fe4763f92b2e6996a78e2a454380ac2cb05fde9af92df642341
7
- data.tar.gz: f63de8df0f370190c420ae73c7617af249492e6c905200c49b8f87926afda40e2973314177485d9eab4fdaf5bc53b1990e072a3440b37292b567d57f0adb6be5
6
+ metadata.gz: fd9883a04b1386b566cebed9bcb81d5af54bc57b14083abe0ee9c91712a69dc9bd26abd9065d1e906fdec272b6c70638eff814c657b26ec9537f210182e515d7
7
+ data.tar.gz: 07d217181e15fc293abce49559e19b5ca9f12246d2a99f2f588865e5102dc66314cf879f35fae60e263c313ea8a8e896575bdfc1d31c1da009a55228e42d2e19
@@ -8,7 +8,6 @@ module YandexLocator
8
8
  }.freeze
9
9
 
10
10
  def initialize
11
- @key = nil
12
11
  @version = DEFAULT_CONF[:version]
13
12
  @url_prefix = DEFAULT_CONF[:url_prefix]
14
13
  end
@@ -1,3 +1,3 @@
1
1
  module YandexLocator
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
@@ -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
- def self.configuration
14
- @configuration ||= Configuration.new
15
- end
12
+ def configuration
13
+ @configuration ||= Configuration.new
14
+ end
16
15
 
17
- def self.reset
18
- @configuration = Configuration.new
19
- end
16
+ def reset
17
+ @configuration = Configuration.new
18
+ end
20
19
 
21
- def self.configure
22
- yield(configuration)
20
+ def configure
21
+ yield(configuration)
22
+ end
23
23
  end
24
+
24
25
  end
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
21
21
  spec.required_ruby_version = '>= 2.0.0'
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.12"
24
- spec.add_runtime_dependency 'faraday', '~> 0.9.2'
24
+ spec.add_runtime_dependency 'faraday', '~> 0.11.0'
25
25
 
26
26
  end
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.1
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-01-22 00:00:00.000000000 Z
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.9.2
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.9.2
40
+ version: 0.11.0
41
41
  description: ruby gem for yandex locator
42
42
  email:
43
43
  - kompotdrinker@gmail.com