ea-area_lookup 0.2.1 → 0.2.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 +4 -4
- data/.travis.yml +22 -25
- data/CHANGELOG.md +10 -3
- data/Gemfile +0 -3
- data/README.md +4 -4
- data/Rakefile +0 -4
- data/ea-area_lookup.gemspec +1 -2
- data/lib/ea/area_lookup/version.rb +1 -1
- metadata +4 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ebb3ce081b3b0c65c18e347c7c675f2dfaf0639
|
|
4
|
+
data.tar.gz: 8fc6e31040527ae90d4b4f87a0fbcbf3ab5b947f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aee7fa970d492f90f616a145fb1339cd6bbf431bddd7fed2d94a109bb0dc86ab9d9c5d478b21220e1b1205247e5d823834cc471aaa4842c73e704a629bfb66db
|
|
7
|
+
data.tar.gz: 9de87e23e276a60f6589197cb5f3c075323e190bcc174eb1f0348ca889621d607f7c135c419f6c3c8df9cc6cec3aae34066b7d5b1f68e0a5380598f2c58c43bb
|
data/.travis.yml
CHANGED
|
@@ -1,32 +1,29 @@
|
|
|
1
|
+
env:
|
|
2
|
+
global:
|
|
3
|
+
- CC_TEST_REPORTER_ID=5fb5a14e6e46bf106b2c94f3fcdc17624a6b7151c565095f254098e38de335db
|
|
4
|
+
|
|
1
5
|
language: ruby
|
|
2
|
-
cache: bundler
|
|
3
6
|
rvm: 2.3.1
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
cache: bundler
|
|
8
|
+
|
|
9
|
+
before_install:
|
|
10
|
+
- export TZ=UTC
|
|
11
|
+
- gem install -v 1.17.3 bundler --no-document
|
|
12
|
+
|
|
6
13
|
before_script:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
branches:
|
|
19
|
-
only:
|
|
20
|
-
- master
|
|
14
|
+
# Setup to support the CodeClimate test coverage submission
|
|
15
|
+
# As per CodeClimate's documentation, they suggest only running
|
|
16
|
+
# ./cc-test-reporter commands on travis-ci push builds only. Hence we wrap all
|
|
17
|
+
# the codeclimate test coverage related commands in a check that tests if we
|
|
18
|
+
# are in a pull request or not.
|
|
19
|
+
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter; fi
|
|
20
|
+
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then chmod +x ./cc-test-reporter; fi
|
|
21
|
+
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter before-build; fi
|
|
22
|
+
|
|
23
|
+
after_script:
|
|
24
|
+
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
|
|
21
25
|
|
|
22
|
-
# This section was added as per https://docs.travis-ci.com/user/code-climate/
|
|
23
|
-
# To protect our codeclimate stats rather than adding the Codeclimate API key for ea-area_lookup
|
|
24
|
-
# in the open we used this guide https://docs.travis-ci.com/user/encryption-keys/ to encryt the
|
|
25
|
-
# value. Essentially install travis gem, then run `travis encrypt <my_code_climate_api_key>`
|
|
26
26
|
addons:
|
|
27
|
-
code_climate:
|
|
28
|
-
repo_token:
|
|
29
|
-
secure: "DsWI1kzx5RIfB/QQysErQTW94FF6v512q3vqFChSXaAViJA6LgU9coBRiLtZ3RyE0YcvPzu0B1q/fqR4sDq4xG1L6VMY2PlF4ZI57AaPa1WFmzT9mCAhYCbpYKXuMySCoS4YvoHrHgwd30M0RYmiRtZY75Olmbd1PsbbZGfnIGwcEchujHb6oQ6WKgEAqq6zvHHf5QM18oSm4ZCFSYijGU7BvxMsLTToFuPnndGomWHCfMDSyBkC2wt5pmfdsjbirrsPPnFbYxCOCxGk77WWw9G+swUZclgUiUn1q2tSFgri27zufbFuGknDWf9HMiMqzgfCO8kut/78CqRjt5BtUm2otJLEhlpmL4t9rqDUKl/hmc+asxfoj04qP1cNRmjZf0QYbT4rFlsFlcNgYNcZcLf66ry9c8WXcpV6qvKukaT9Xyj1/KAVXDqO1EUd1oEBIoKnILW7H4Zhbjhu6lq2ga47Wux0IrMdtHE2RwjdtCxwfhkuUcblfnPpjW8tXeDND0nE/Se45rXZ/YwojZSeqyZCvZbcXMOvggzRQeAgi02sruw33oZU6W/f8VOjC5VrB1KEHm4j0n21dI6ENu0D+tbjBIW0TvI47hAuV/R1v7kHJVbSIcAedtxWt87mSdyQkOukCVSYHMOKJHY6T1EtZlK5V9RHDrHD8KIMeJV/Dx0="
|
|
30
27
|
deploy:
|
|
31
28
|
provider: rubygems
|
|
32
29
|
api_key:
|
|
@@ -34,5 +31,5 @@ deploy:
|
|
|
34
31
|
gem: ea-area_lookup
|
|
35
32
|
on:
|
|
36
33
|
tags: true
|
|
37
|
-
repo:
|
|
34
|
+
repo: DEFRA/ea-area_lookup
|
|
38
35
|
all_branches: true
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
### 0.2.2
|
|
4
|
+
|
|
5
|
+
- Update Nokogiri
|
|
6
|
+
- Remove before_commit
|
|
7
|
+
- Modernise Travis CI config
|
|
8
|
+
- Fix Code Climate test reporting
|
|
2
9
|
|
|
3
10
|
### 0.1.1
|
|
4
11
|
|
|
@@ -6,6 +13,6 @@
|
|
|
6
13
|
- Loosened gem dependency version restrictions
|
|
7
14
|
- Alter Travis config to build using Ruby 2.3.1 and autodeploy to ruby gems on a tag push
|
|
8
15
|
|
|
9
|
-
|
|
16
|
+
### 0.1.0
|
|
10
17
|
|
|
11
|
-
|
|
18
|
+
Initial release
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# EA::AreaLookup
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/DEFRA/ea-area_lookup)
|
|
4
|
+
[](https://hakiri.io/github/DEFRA/ea-area_lookup/master)
|
|
5
|
+
[](https://codeclimate.com/github/DEFRA/ea-area_lookup)
|
|
6
|
+
[](https://codeclimate.com/github/DEFRA/ea-area_lookup/coverage)
|
|
7
7
|
[](https://badge.fury.io/rb/ea-area_lookup)
|
|
8
8
|
|
|
9
9
|
This ruby gem provides a means of looking up the Environment Agency Administrative Area (e.g. 'Wessex')
|
data/Rakefile
CHANGED
data/ea-area_lookup.gemspec
CHANGED
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
22
22
|
spec.require_paths = ["lib"]
|
|
23
23
|
|
|
24
|
-
spec.add_dependency "nokogiri", "~> 1.
|
|
24
|
+
spec.add_dependency "nokogiri", "~> 1.7"
|
|
25
25
|
|
|
26
26
|
spec.add_development_dependency "bundler", "~> 1.11"
|
|
27
27
|
spec.add_development_dependency "rake"
|
|
@@ -31,5 +31,4 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
spec.add_development_dependency "webmock", "~> 1.24"
|
|
32
32
|
spec.add_development_dependency "shoulda-matchers", "~> 3.1"
|
|
33
33
|
spec.add_development_dependency "simplecov"
|
|
34
|
-
spec.add_development_dependency "before_commit"
|
|
35
34
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ea-area_lookup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Digital Services Team, EnvironmentAgency
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.
|
|
19
|
+
version: '1.7'
|
|
20
20
|
type: :runtime
|
|
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.
|
|
26
|
+
version: '1.7'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: bundler
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -136,20 +136,6 @@ dependencies:
|
|
|
136
136
|
- - ">="
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: '0'
|
|
139
|
-
- !ruby/object:Gem::Dependency
|
|
140
|
-
name: before_commit
|
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
|
142
|
-
requirements:
|
|
143
|
-
- - ">="
|
|
144
|
-
- !ruby/object:Gem::Version
|
|
145
|
-
version: '0'
|
|
146
|
-
type: :development
|
|
147
|
-
prerelease: false
|
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
-
requirements:
|
|
150
|
-
- - ">="
|
|
151
|
-
- !ruby/object:Gem::Version
|
|
152
|
-
version: '0'
|
|
153
139
|
description: Provides a means of looking-up an Environment Agency administrative area
|
|
154
140
|
using the co-ordinates of any point in England.
|
|
155
141
|
email:
|