loqate 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +11 -0
- data/.gitignore +12 -0
- data/.overcommit.yml +33 -0
- data/.rspec +3 -0
- data/.rubocop.yml +16 -0
- data/.travis.yml +27 -0
- data/.yardopts +1 -0
- data/.yardstick.yml +31 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +147 -0
- data/Guardfile +20 -0
- data/README.md +54 -0
- data/ROADMAP.md +39 -0
- data/Rakefile +39 -0
- data/bin/console +8 -0
- data/bin/setup +14 -0
- data/lib/loqate.rb +8 -0
- data/lib/loqate/version.rb +5 -0
- data/loqate.gemspec +45 -0
- metadata +315 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 47002dc81cfda694969dd28475fbe196b99f00e72df5bd6ef5cfe05172d853f1
|
4
|
+
data.tar.gz: 59bfa426b7132b601e84ea52dacfcfc9650b428beb1e7142738faf0743166e69
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9fe20f3fbe659b7116e648ff538652be8417693d825fa4c8f73b50898ddd95fbad9c9d071e9eb506b0957ddfb01dcb60d13175c9fc54d2648a7a08d2ae79d92a
|
7
|
+
data.tar.gz: 51c9b923de5ec21e2c3ad61de941a114d2d52a690d7f8614ae257ae952fef0175486a85c66d627212e70af5b4c4881d8808e199871bd1b44b59ddc88ab4f3685
|
data/.editorconfig
ADDED
data/.gitignore
ADDED
data/.overcommit.yml
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# Use this file to configure the Overcommit hooks you wish to use. This will
|
2
|
+
# extend the default configuration defined in:
|
3
|
+
# https://github.com/brigade/overcommit/blob/master/config/default.yml
|
4
|
+
#
|
5
|
+
# At the topmost level of this YAML file is a key representing type of hook
|
6
|
+
# being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
|
7
|
+
# customize each hook, such as whether to only run it on certain files (via
|
8
|
+
# `include`), whether to only display output if it fails (via `quiet`), etc.
|
9
|
+
#
|
10
|
+
# For a complete list of hooks, see:
|
11
|
+
# https://github.com/brigade/overcommit/tree/master/lib/overcommit/hook
|
12
|
+
#
|
13
|
+
# For a complete list of options that you can use to customize hooks, see:
|
14
|
+
# https://github.com/brigade/overcommit#configuration
|
15
|
+
#
|
16
|
+
# Uncomment the following lines to make the configuration take effect.
|
17
|
+
|
18
|
+
PreCommit:
|
19
|
+
RuboCop:
|
20
|
+
enabled: true
|
21
|
+
on_warn: fail # Treat all warnings as failures
|
22
|
+
#
|
23
|
+
# TrailingWhitespace:
|
24
|
+
# enabled: true
|
25
|
+
# exclude:
|
26
|
+
# - '**/db/structure.sql' # Ignore trailing whitespace in generated files
|
27
|
+
#
|
28
|
+
#PostCheckout:
|
29
|
+
# ALL: # Special hook name that customizes all hooks of this type
|
30
|
+
# quiet: true # Change all post-checkout hooks to only display output on failure
|
31
|
+
#
|
32
|
+
# IndexTags:
|
33
|
+
# enabled: true # Generate a tags file with `ctags` each time HEAD changes
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
AllCops:
|
2
|
+
DisplayCopNames: true
|
3
|
+
|
4
|
+
# ---------------------- Metrics ----------------------
|
5
|
+
|
6
|
+
Metrics/BlockLength:
|
7
|
+
Exclude:
|
8
|
+
- loqate.gemspec
|
9
|
+
|
10
|
+
Metrics/LineLength:
|
11
|
+
Max: 120
|
12
|
+
|
13
|
+
# ----------------------- Style -----------------------
|
14
|
+
|
15
|
+
Style/FrozenStringLiteralComment:
|
16
|
+
Enabled: false
|
data/.travis.yml
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
sudo: false
|
3
|
+
language: ruby
|
4
|
+
cache: bundler
|
5
|
+
|
6
|
+
env:
|
7
|
+
global:
|
8
|
+
- CC_TEST_REPORTER_ID=b25183239ab212ebe6b73b13e25fe32ff06b542836e2e1d8786fa8966954b63f
|
9
|
+
|
10
|
+
rvm:
|
11
|
+
- 2.5.1
|
12
|
+
|
13
|
+
before_install: gem install bundler -v 1.16.5
|
14
|
+
|
15
|
+
before_script:
|
16
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
17
|
+
- chmod +x ./cc-test-reporter
|
18
|
+
- ./cc-test-reporter before-build
|
19
|
+
|
20
|
+
script:
|
21
|
+
- bundle exec bundle-audit
|
22
|
+
- bundle exec rspec
|
23
|
+
- bundle exec rubocop
|
24
|
+
- bundle exec rake yard:junk
|
25
|
+
|
26
|
+
after_script:
|
27
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--plugin junk
|
data/.yardstick.yml
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
threshold: 100
|
2
|
+
rules:
|
3
|
+
ApiTag::Presence:
|
4
|
+
enabled: true
|
5
|
+
exclude: []
|
6
|
+
ApiTag::Inclusion:
|
7
|
+
enabled: true
|
8
|
+
exclude: []
|
9
|
+
ApiTag::ProtectedMethod:
|
10
|
+
enabled: true
|
11
|
+
exclude: []
|
12
|
+
ApiTag::PrivateMethod:
|
13
|
+
enabled: true
|
14
|
+
exclude: []
|
15
|
+
ExampleTag:
|
16
|
+
enabled: true
|
17
|
+
exclude: []
|
18
|
+
ReturnTag:
|
19
|
+
enabled: true
|
20
|
+
exclude: []
|
21
|
+
Summary::Presence:
|
22
|
+
enabled: true
|
23
|
+
exclude: []
|
24
|
+
Summary::Length:
|
25
|
+
enabled: false
|
26
|
+
Summary::Delimiter:
|
27
|
+
enabled: false
|
28
|
+
exclude: []
|
29
|
+
Summary::SingleLine:
|
30
|
+
enabled: true
|
31
|
+
exclude: []
|
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
loqate (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
ansi (1.5.0)
|
10
|
+
ast (2.4.0)
|
11
|
+
backports (3.11.4)
|
12
|
+
bundler-audit (0.6.0)
|
13
|
+
bundler (~> 1.2)
|
14
|
+
thor (~> 0.18)
|
15
|
+
childprocess (0.9.0)
|
16
|
+
ffi (~> 1.0, >= 1.0.11)
|
17
|
+
coderay (1.1.2)
|
18
|
+
diff-lcs (1.3)
|
19
|
+
docile (1.3.1)
|
20
|
+
ffi (1.9.25)
|
21
|
+
formatador (0.2.5)
|
22
|
+
guard (2.14.2)
|
23
|
+
formatador (>= 0.2.4)
|
24
|
+
listen (>= 2.7, < 4.0)
|
25
|
+
lumberjack (>= 1.0.12, < 2.0)
|
26
|
+
nenv (~> 0.1)
|
27
|
+
notiffany (~> 0.0)
|
28
|
+
pry (>= 0.9.12)
|
29
|
+
shellany (~> 0.0)
|
30
|
+
thor (>= 0.18.1)
|
31
|
+
guard-bundler (2.1.0)
|
32
|
+
bundler (~> 1.0)
|
33
|
+
guard (~> 2.2)
|
34
|
+
guard-compat (~> 1.1)
|
35
|
+
guard-bundler-audit (0.1.4)
|
36
|
+
bundler-audit (>= 0.3.1)
|
37
|
+
guard (~> 2.0)
|
38
|
+
guard-compat (1.2.1)
|
39
|
+
guard-rspec (4.7.3)
|
40
|
+
guard (~> 2.1)
|
41
|
+
guard-compat (~> 1.1)
|
42
|
+
rspec (>= 2.99.0, < 4.0)
|
43
|
+
guard-rubocop (1.3.0)
|
44
|
+
guard (~> 2.0)
|
45
|
+
rubocop (~> 0.20)
|
46
|
+
hirb (0.7.3)
|
47
|
+
iniparse (1.4.4)
|
48
|
+
jaro_winkler (1.5.1)
|
49
|
+
json (2.1.0)
|
50
|
+
listen (3.1.5)
|
51
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
52
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
53
|
+
ruby_dep (~> 1.2)
|
54
|
+
lumberjack (1.0.13)
|
55
|
+
method_source (0.9.0)
|
56
|
+
nenv (0.3.0)
|
57
|
+
notiffany (0.1.1)
|
58
|
+
nenv (~> 0.1)
|
59
|
+
shellany (~> 0.0)
|
60
|
+
overcommit (0.46.0)
|
61
|
+
childprocess (~> 0.6, >= 0.6.3)
|
62
|
+
iniparse (~> 1.4)
|
63
|
+
parallel (1.12.1)
|
64
|
+
parser (2.5.1.2)
|
65
|
+
ast (~> 2.4.0)
|
66
|
+
powerpack (0.1.2)
|
67
|
+
pry (0.11.3)
|
68
|
+
coderay (~> 1.1.0)
|
69
|
+
method_source (~> 0.9.0)
|
70
|
+
rainbow (3.0.0)
|
71
|
+
rake (10.5.0)
|
72
|
+
rb-fsevent (0.10.3)
|
73
|
+
rb-inotify (0.9.10)
|
74
|
+
ffi (>= 0.5.0, < 2)
|
75
|
+
rspec (3.7.0)
|
76
|
+
rspec-core (~> 3.7.0)
|
77
|
+
rspec-expectations (~> 3.7.0)
|
78
|
+
rspec-mocks (~> 3.7.0)
|
79
|
+
rspec-core (3.7.1)
|
80
|
+
rspec-support (~> 3.7.0)
|
81
|
+
rspec-expectations (3.7.0)
|
82
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
83
|
+
rspec-support (~> 3.7.0)
|
84
|
+
rspec-mocks (3.7.0)
|
85
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
86
|
+
rspec-support (~> 3.7.0)
|
87
|
+
rspec-support (3.7.1)
|
88
|
+
rubocop (0.59.2)
|
89
|
+
jaro_winkler (~> 1.5.1)
|
90
|
+
parallel (~> 1.10)
|
91
|
+
parser (>= 2.5, != 2.5.1.1)
|
92
|
+
powerpack (~> 0.1)
|
93
|
+
rainbow (>= 2.2.2, < 4.0)
|
94
|
+
ruby-progressbar (~> 1.7)
|
95
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
96
|
+
rubocop-rspec (1.29.1)
|
97
|
+
rubocop (>= 0.58.0)
|
98
|
+
ruby-progressbar (1.10.0)
|
99
|
+
ruby_dep (1.5.0)
|
100
|
+
shellany (0.0.1)
|
101
|
+
simplecov (0.16.1)
|
102
|
+
docile (~> 1.1)
|
103
|
+
json (>= 1.8, < 3)
|
104
|
+
simplecov-html (~> 0.10.0)
|
105
|
+
simplecov-console (0.4.2)
|
106
|
+
ansi
|
107
|
+
hirb
|
108
|
+
simplecov
|
109
|
+
simplecov-html (0.10.2)
|
110
|
+
thor (0.20.0)
|
111
|
+
tty-color (0.4.2)
|
112
|
+
unicode-display_width (1.4.0)
|
113
|
+
yard (0.9.16)
|
114
|
+
yard-junk (0.0.7)
|
115
|
+
backports
|
116
|
+
rainbow
|
117
|
+
tty-color
|
118
|
+
yard
|
119
|
+
yardstick (0.9.9)
|
120
|
+
yard (~> 0.8, >= 0.8.7.2)
|
121
|
+
|
122
|
+
PLATFORMS
|
123
|
+
ruby
|
124
|
+
|
125
|
+
DEPENDENCIES
|
126
|
+
bundler (~> 1.16)
|
127
|
+
bundler-audit (~> 0.6)
|
128
|
+
guard (~> 2.14)
|
129
|
+
guard-bundler (~> 2.1)
|
130
|
+
guard-bundler-audit (~> 0.1)
|
131
|
+
guard-rspec (~> 4.7)
|
132
|
+
guard-rubocop (~> 1.2)
|
133
|
+
loqate!
|
134
|
+
overcommit (~> 0.46)
|
135
|
+
pry (~> 0.11)
|
136
|
+
rake (~> 10.0)
|
137
|
+
rspec (~> 3.0)
|
138
|
+
rubocop (~> 0.59)
|
139
|
+
rubocop-rspec (~> 1.29)
|
140
|
+
simplecov (~> 0.16)
|
141
|
+
simplecov-console (~> 0.4)
|
142
|
+
yard (~> 0.9)
|
143
|
+
yard-junk (~> 0.0.7)
|
144
|
+
yardstick (~> 0.9)
|
145
|
+
|
146
|
+
BUNDLED WITH
|
147
|
+
1.16.5
|
data/Guardfile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
guard :bundler do
|
2
|
+
watch('loqate.gemspec')
|
3
|
+
end
|
4
|
+
|
5
|
+
guard :bundler_audit, run_on_start: true do
|
6
|
+
watch('Gemfile.lock')
|
7
|
+
end
|
8
|
+
|
9
|
+
group :tests do
|
10
|
+
guard :rspec, all_on_start: true, cmd: 'bundle exec rspec --format progress' do
|
11
|
+
watch(%r{^spec/.+_spec\.rb$})
|
12
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
13
|
+
watch('spec/spec_helper.rb') { 'spec' }
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
guard :rubocop do
|
18
|
+
watch(/.+\.rb$/)
|
19
|
+
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
20
|
+
end
|
data/README.md
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# Loqate
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/loqate.svg)](https://badge.fury.io/rb/loqate)
|
4
|
+
[![Build Status](https://travis-ci.org/wilsonsilva/loqate.svg?branch=master)](https://travis-ci.org/wilsonsilva/loqate)
|
5
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/5c1414d5dedc68c15533/maintainability)](https://codeclimate.com/github/wilsonsilva/loqate/maintainability)
|
6
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/5c1414d5dedc68c15533/test_coverage)](https://codeclimate.com/github/wilsonsilva/loqate/test_coverage)
|
7
|
+
[![Security](https://hakiri.io/github/wilsonsilva/loqate/master.svg)](https://hakiri.io/github/wilsonsilva/loqate/master)
|
8
|
+
[![Inline docs](http://inch-ci.org/github/wilsonsilva/loqate.svg?branch=master)](http://inch-ci.org/github/wilsonsilva/loqate)
|
9
|
+
|
10
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/loqate`. To experiment with that code, run `bin/console` for an interactive prompt.
|
11
|
+
|
12
|
+
TODO: Delete this and the text above, and describe your gem
|
13
|
+
|
14
|
+
## Installation
|
15
|
+
|
16
|
+
Add this line to your application's Gemfile:
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
gem 'loqate'
|
20
|
+
```
|
21
|
+
|
22
|
+
And then execute:
|
23
|
+
|
24
|
+
$ bundle
|
25
|
+
|
26
|
+
Or install it yourself as:
|
27
|
+
|
28
|
+
$ gem install loqate
|
29
|
+
|
30
|
+
## Usage
|
31
|
+
|
32
|
+
TODO: Write usage instructions here
|
33
|
+
|
34
|
+
## Development
|
35
|
+
|
36
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive
|
37
|
+
prompt that will allow you to experiment. The health and maintainability of the codebase is ensured through a set of
|
38
|
+
Rake tasks to test, lint and audit the gem for security vulnerabilities and documentation:
|
39
|
+
|
40
|
+
```
|
41
|
+
rake bundle:audit # Checks for vulnerable versions of gems
|
42
|
+
rake qa # Test, lint and perform security and documentation audits
|
43
|
+
rake rubocop # Lint the codebase with RuboCop
|
44
|
+
rake rubocop:auto_correct # Auto-correct RuboCop offenses
|
45
|
+
rake spec # Run RSpec code examples
|
46
|
+
rake verify_measurements # Verify that yardstick coverage is at least 100%
|
47
|
+
rake yard # Generate YARD Documentation
|
48
|
+
rake yard:junk # Check the junk in your YARD Documentation
|
49
|
+
rake yardstick_measure # Measure docs in lib/**/*.rb with yardstick
|
50
|
+
```
|
51
|
+
|
52
|
+
## Contributing
|
53
|
+
|
54
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/loqate.
|
data/ROADMAP.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# Roadmap
|
2
|
+
|
3
|
+
## Core
|
4
|
+
|
5
|
+
- [ ] HTTP Client
|
6
|
+
- [ ] Core Client
|
7
|
+
- [ ] Logging
|
8
|
+
- [ ] Domain error handling
|
9
|
+
- [ ] Configuration
|
10
|
+
- [ ] Versioning
|
11
|
+
- [ ] Integration with RSpec
|
12
|
+
|
13
|
+
## APIs
|
14
|
+
|
15
|
+
- [ ] Address Verification
|
16
|
+
- [ ] Geocode
|
17
|
+
- [ ] Data Cleanse
|
18
|
+
- [ ] Email Verification
|
19
|
+
- [ ] Phone Verification
|
20
|
+
- [ ] Bank Verification
|
21
|
+
|
22
|
+
## Formats
|
23
|
+
|
24
|
+
- [ ] CSV
|
25
|
+
- [ ] Dataset (ADO.NET)
|
26
|
+
- [ ] File Renderer
|
27
|
+
- [ ] HTML Table
|
28
|
+
- [ ] Image Renderer
|
29
|
+
- [ ] JSON
|
30
|
+
- [ ] JSON (with extra)
|
31
|
+
- [ ] JSONP (JavaScript)
|
32
|
+
- [ ] PDF
|
33
|
+
- [ ] Pipe Separated (PSV)
|
34
|
+
- [ ] Recordset
|
35
|
+
- [ ] SOAP
|
36
|
+
- [ ] Table Separated (TSV)
|
37
|
+
- [ ] XML
|
38
|
+
- [ ] XML (Attribute based)
|
39
|
+
- [ ] XML RPC
|
data/Rakefile
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'bundler/gem_tasks'
|
4
|
+
require 'bundler/audit/task'
|
5
|
+
require 'rspec/core/rake_task'
|
6
|
+
require 'rubocop/rake_task'
|
7
|
+
require 'yaml'
|
8
|
+
require 'yard/rake/yardoc_task'
|
9
|
+
require 'yard-junk/rake'
|
10
|
+
require 'yardstick/rake/measurement'
|
11
|
+
require 'yardstick/rake/verify'
|
12
|
+
|
13
|
+
yardstick_options = YAML.load_file('.yardstick.yml')
|
14
|
+
|
15
|
+
Bundler::Audit::Task.new
|
16
|
+
RuboCop::RakeTask.new
|
17
|
+
RSpec::Core::RakeTask.new(:spec)
|
18
|
+
YARD::Rake::YardocTask.new
|
19
|
+
YardJunk::Rake.define_task
|
20
|
+
Yardstick::Rake::Measurement.new(:yardstick_measure, yardstick_options)
|
21
|
+
Yardstick::Rake::Verify.new
|
22
|
+
|
23
|
+
task default: :spec
|
24
|
+
|
25
|
+
# Delete these files and folders when running rake clobber.
|
26
|
+
CLOBBER.include('coverage', '.rspec_status')
|
27
|
+
|
28
|
+
# Remove the report on rake clobber
|
29
|
+
CLEAN.include('measurements', 'doc', '.yardoc', 'tmp')
|
30
|
+
|
31
|
+
desc 'Run spec with coverage'
|
32
|
+
task :coverage do
|
33
|
+
ENV['COVERAGE'] = 'true'
|
34
|
+
Rake::Task['spec'].execute
|
35
|
+
`open coverage/index.html`
|
36
|
+
end
|
37
|
+
|
38
|
+
desc 'Test, lint and perform security and documentation audits'
|
39
|
+
task qa: %w[spec rubocop yard:junk verify_measurements bundle:audit]
|
data/bin/console
ADDED
data/bin/setup
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
set -euo pipefail
|
3
|
+
IFS=$'\n\t'
|
4
|
+
set -vx
|
5
|
+
|
6
|
+
bundle install
|
7
|
+
|
8
|
+
if ! which overcommit >/dev/null; then
|
9
|
+
echo 'The gem overcommit is not installed. It is necessary to lint the git history through git hooks.'
|
10
|
+
echo 'Please install overcommit and run this script again.'
|
11
|
+
exit 1
|
12
|
+
fi
|
13
|
+
|
14
|
+
overcommit --install
|
data/lib/loqate.rb
ADDED
data/loqate.gemspec
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'loqate/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'loqate'
|
9
|
+
spec.version = Loqate::VERSION
|
10
|
+
spec.authors = ['Wilson Silva']
|
11
|
+
spec.email = ['me@wilsonsilva.net']
|
12
|
+
|
13
|
+
spec.summary = 'API client for GBG Loqate'
|
14
|
+
spec.description = 'API client for GBG Loqate'
|
15
|
+
spec.homepage = 'https://github.com/wilsonsilva/loqate'
|
16
|
+
|
17
|
+
# Specify which files should be added to the gem when it is released.
|
18
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
19
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
20
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
21
|
+
end
|
22
|
+
|
23
|
+
spec.bindir = 'exe'
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
28
|
+
spec.add_development_dependency 'bundler-audit', '~> 0.6'
|
29
|
+
spec.add_development_dependency 'guard', '~> 2.14'
|
30
|
+
spec.add_development_dependency 'guard-bundler', '~> 2.1'
|
31
|
+
spec.add_development_dependency 'guard-bundler-audit', '~> 0.1'
|
32
|
+
spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
33
|
+
spec.add_development_dependency 'guard-rubocop', '~> 1.2'
|
34
|
+
spec.add_development_dependency 'overcommit', '~> 0.46'
|
35
|
+
spec.add_development_dependency 'pry', '~> 0.11'
|
36
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
37
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
38
|
+
spec.add_development_dependency 'rubocop', '~> 0.59'
|
39
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 1.29'
|
40
|
+
spec.add_development_dependency 'simplecov', '~> 0.16'
|
41
|
+
spec.add_development_dependency 'simplecov-console', '~> 0.4'
|
42
|
+
spec.add_development_dependency 'yard', '~> 0.9'
|
43
|
+
spec.add_development_dependency 'yard-junk', '~> 0.0.7'
|
44
|
+
spec.add_development_dependency 'yardstick', '~> 0.9'
|
45
|
+
end
|
metadata
ADDED
@@ -0,0 +1,315 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: loqate
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Wilson Silva
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-09-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.16'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.16'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler-audit
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.6'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.6'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: guard
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.14'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.14'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: guard-bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.1'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: guard-bundler-audit
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.1'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard-rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '4.7'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '4.7'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard-rubocop
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.2'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.2'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: overcommit
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.46'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.46'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.11'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.11'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rake
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '10.0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '10.0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rspec
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '3.0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '3.0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rubocop
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0.59'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0.59'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rubocop-rspec
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '1.29'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '1.29'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: simplecov
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.16'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0.16'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: simplecov-console
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0.4'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0.4'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: yard
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0.9'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0.9'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: yard-junk
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - "~>"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: 0.0.7
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: 0.0.7
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: yardstick
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - "~>"
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0.9'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - "~>"
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0.9'
|
265
|
+
description: API client for GBG Loqate
|
266
|
+
email:
|
267
|
+
- me@wilsonsilva.net
|
268
|
+
executables: []
|
269
|
+
extensions: []
|
270
|
+
extra_rdoc_files: []
|
271
|
+
files:
|
272
|
+
- ".editorconfig"
|
273
|
+
- ".gitignore"
|
274
|
+
- ".overcommit.yml"
|
275
|
+
- ".rspec"
|
276
|
+
- ".rubocop.yml"
|
277
|
+
- ".travis.yml"
|
278
|
+
- ".yardopts"
|
279
|
+
- ".yardstick.yml"
|
280
|
+
- CHANGELOG.md
|
281
|
+
- Gemfile
|
282
|
+
- Gemfile.lock
|
283
|
+
- Guardfile
|
284
|
+
- README.md
|
285
|
+
- ROADMAP.md
|
286
|
+
- Rakefile
|
287
|
+
- bin/console
|
288
|
+
- bin/setup
|
289
|
+
- lib/loqate.rb
|
290
|
+
- lib/loqate/version.rb
|
291
|
+
- loqate.gemspec
|
292
|
+
homepage: https://github.com/wilsonsilva/loqate
|
293
|
+
licenses: []
|
294
|
+
metadata: {}
|
295
|
+
post_install_message:
|
296
|
+
rdoc_options: []
|
297
|
+
require_paths:
|
298
|
+
- lib
|
299
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
300
|
+
requirements:
|
301
|
+
- - ">="
|
302
|
+
- !ruby/object:Gem::Version
|
303
|
+
version: '0'
|
304
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
305
|
+
requirements:
|
306
|
+
- - ">="
|
307
|
+
- !ruby/object:Gem::Version
|
308
|
+
version: '0'
|
309
|
+
requirements: []
|
310
|
+
rubyforge_project:
|
311
|
+
rubygems_version: 2.7.6
|
312
|
+
signing_key:
|
313
|
+
specification_version: 4
|
314
|
+
summary: API client for GBG Loqate
|
315
|
+
test_files: []
|