pointpin 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d0f544f9a1742e7af6de4b579da145bfa848990
4
- data.tar.gz: 5bb0c35e5c057d46508ea13c24db7d30eb8ecbdf
3
+ metadata.gz: 28d1d5052223861e63447115b7e06721ddf45a3a
4
+ data.tar.gz: b6ae43479465af0382d57cb4360f90babeed9ee0
5
5
  SHA512:
6
- metadata.gz: 82ae72017ab3f520ef02cbbe35107a97420e5d0aaa5e202fd603f7d9603a28cb8efd29e8315bdbad16ce74714119e4692c18419a6972db019967ce4c9e287e9e
7
- data.tar.gz: c5b722993fc557f3a6ce4a812d02462e5def1b7612a6413ae5686adfd7b4e681b854b0a632a801cd2da993c20a4ceaf77b3dec6808f6c332d45723aaa170781e
6
+ metadata.gz: 27b9b4d6e57f2e76e822b5d10f7b0802a011d564afe747e9064a47d889247400cbc3a796583f044ca71bac8b9577174aff32a854bda566c1b784e659664d5364
7
+ data.tar.gz: 81aea2c278874727887a7a3422fa59732aaf16b74bc6e48d995adf8b879de4a9934cf0b4c0af7cae8707640e957abdbddcb5ef216581fe063f2d6ea009f07992
@@ -1,7 +1,7 @@
1
1
  module Pointpin
2
2
  module Configuration
3
3
  # Default API endpoint
4
- DEFAULT_API_ENDPOINT = 'http://geo.pointp.in'
4
+ DEFAULT_API_ENDPOINT = 'https://geo.pointp.in'
5
5
 
6
6
  # Pointpin API endpoint
7
7
  attr_writer :api_endpoint
@@ -11,7 +11,7 @@ module Pointpin
11
11
 
12
12
  # Default parameters
13
13
  attr_accessor :default_params
14
-
14
+
15
15
  def configure
16
16
  yield self
17
17
  end
@@ -26,4 +26,4 @@ module Pointpin
26
26
  @api_key
27
27
  end
28
28
  end
29
- end
29
+ end
@@ -1,3 +1,3 @@
1
1
  module Pointpin
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
data/pointpin.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.6"
22
+ spec.add_development_dependency "bundler", "~> 2.2"
23
23
  spec.add_development_dependency('rake')
24
24
  spec.add_development_dependency('rspec')
25
25
  spec.add_development_dependency('vcr')
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://geo.pointp.in/this-is-a-valid-api-key/json/55.111.555.555
5
+ uri: https://geo.pointp.in/this-is-a-valid-api-key/json/55.111.555.555
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -38,6 +38,6 @@ http_interactions:
38
38
  City","city_name":"Dublin","postcode":null,"latitude":53.3331,"longitude":-6.2489,"time_zone":"Europe/Dublin"}'
39
39
  http_version: '1.1'
40
40
  adapter_metadata:
41
- effective_url: http://geo.pointp.in/this-is-a-valid-api-key/json/55.111.555.555
41
+ effective_url: https://geo.pointp.in/this-is-a-valid-api-key/json/55.111.555.555
42
42
  recorded_at: Wed, 16 Jul 2014 08:42:12 GMT
43
43
  recorded_with: VCR 2.9.2
@@ -38,7 +38,7 @@ describe Pointpin do
38
38
 
39
39
  it "sends a standard request" do
40
40
  faraday.should_receive(:get).with(
41
- 'http://geo.pointp.in/api-key/json/1.2.3.4', {}
41
+ 'https://geo.pointp.in/api-key/json/1.2.3.4', {}
42
42
  ).and_return(response)
43
43
 
44
44
  Pointpin.locate('1.2.3.4')
@@ -46,4 +46,4 @@ describe Pointpin do
46
46
  end
47
47
  end
48
48
  end
49
- end
49
+ end
@@ -2,6 +2,6 @@ require 'spec_helper'
2
2
 
3
3
  describe 'Pointpin::VERSION' do
4
4
  it 'should be the correct version' do
5
- Pointpin::VERSION.should == '1.0.1'
5
+ Pointpin::VERSION.should == '1.0.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pointpin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Flanagan
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-11 00:00:00.000000000 Z
11
+ date: 2021-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
19
+ version: '2.2'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.6'
26
+ version: '2.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -148,7 +148,7 @@ homepage: ''
148
148
  licenses:
149
149
  - MIT
150
150
  metadata: {}
151
- post_install_message:
151
+ post_install_message:
152
152
  rdoc_options: []
153
153
  require_paths:
154
154
  - lib
@@ -163,9 +163,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
165
  requirements: []
166
- rubyforge_project:
167
- rubygems_version: 2.4.6
168
- signing_key:
166
+ rubyforge_project:
167
+ rubygems_version: 2.6.14.4
168
+ signing_key:
169
169
  specification_version: 4
170
170
  summary: Pointp.in API wrapper in Ruby
171
171
  test_files: