sora_geocoding 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: cccbe927ebc316c0b92d678bb685dfa4be47613aa6f1c2c002b383cae68e21fa
4
+ data.tar.gz: ab1b13c1e34e5344a802f79ce827621d2ae0d4085b7477fc173181c65adb07d4
5
+ SHA512:
6
+ metadata.gz: 3b2f09cac420de0006952689898560f28584314657e56f5e6866f6d8d34f0ae315d35c815217cf0faa0849a959418cd9ef96b4043e7c3991c6a3c9fc6bcd2e04
7
+ data.tar.gz: b9a326d9f73e1e6a37351fdff724cca4b0906ad86936b5b3f58038b4b8eee42fb340e449b686a585a02c6d4f4d6e2026890c79ef8ffed305e3256190295b702c
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,251 @@
1
+ # Copies (excluding dependent parts): https://github.com/rails/rails/blob/master/.rubocop.yml
2
+
3
+ Layout/EmptyLinesAroundAttributeAccessor:
4
+ Enabled: true
5
+
6
+ Layout/SpaceAroundMethodCallOperator:
7
+ Enabled: true
8
+
9
+ Lint/DeprecatedOpenSSLConstant:
10
+ Enabled: true
11
+
12
+ Lint/MixedRegexpCaptureTypes:
13
+ Enabled: true
14
+
15
+ Lint/RaiseException:
16
+ Enabled: true
17
+
18
+ Lint/StructNewOverride:
19
+ Enabled: true
20
+
21
+ Style/ExponentialNotation:
22
+ Enabled: true
23
+
24
+ Style/HashEachMethods:
25
+ Enabled: true
26
+
27
+ Style/RedundantFetchBlock:
28
+ Enabled: true
29
+
30
+ Style/RedundantRegexpCharacterClass:
31
+ Enabled: true
32
+
33
+ Style/RedundantRegexpEscape:
34
+ Enabled: true
35
+
36
+ Style/SlicingWithRange:
37
+ Enabled: true
38
+
39
+ # Prefer &&/|| over and/or.
40
+ Style/AndOr:
41
+ Enabled: true
42
+
43
+ # Align `when` with `case`.
44
+ Layout/CaseIndentation:
45
+ Enabled: true
46
+
47
+ Layout/ClosingHeredocIndentation:
48
+ Enabled: true
49
+
50
+ # Align comments with method definitions.
51
+ Layout/CommentIndentation:
52
+ Enabled: true
53
+
54
+ Layout/ElseAlignment:
55
+ Enabled: true
56
+
57
+ # Align `end` with the matching keyword or starting expression except for
58
+ # assignments, where it should be aligned with the LHS.
59
+ Layout/EndAlignment:
60
+ Enabled: true
61
+ EnforcedStyleAlignWith: variable
62
+ AutoCorrect: true
63
+
64
+ Layout/EmptyLineAfterMagicComment:
65
+ Enabled: true
66
+
67
+ Layout/EmptyLinesAroundAccessModifier:
68
+ Enabled: true
69
+ EnforcedStyle: only_before
70
+
71
+ Layout/EmptyLinesAroundBlockBody:
72
+ Enabled: true
73
+
74
+ # In a regular class definition, no empty lines around the body.
75
+ Layout/EmptyLinesAroundClassBody:
76
+ Enabled: true
77
+
78
+ # In a regular method definition, no empty lines around the body.
79
+ Layout/EmptyLinesAroundMethodBody:
80
+ Enabled: true
81
+
82
+ # In a regular module definition, no empty lines around the body.
83
+ Layout/EmptyLinesAroundModuleBody:
84
+ Enabled: true
85
+
86
+ # Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
87
+ Style/HashSyntax:
88
+ Enabled: true
89
+
90
+ Layout/FirstArgumentIndentation:
91
+ Enabled: true
92
+
93
+ # Method definitions after `private` or `protected` isolated calls need one
94
+ # extra level of indentation.
95
+ Layout/IndentationConsistency:
96
+ Enabled: true
97
+ EnforcedStyle: indented_internal_methods
98
+
99
+ # Two spaces, no tabs (for indentation).
100
+ Layout/IndentationWidth:
101
+ Enabled: true
102
+
103
+ Layout/LeadingCommentSpace:
104
+ Enabled: true
105
+
106
+ Layout/SpaceAfterColon:
107
+ Enabled: true
108
+
109
+ Layout/SpaceAfterComma:
110
+ Enabled: true
111
+
112
+ Layout/SpaceAfterSemicolon:
113
+ Enabled: true
114
+
115
+ Layout/SpaceAroundEqualsInParameterDefault:
116
+ Enabled: true
117
+
118
+ Layout/SpaceAroundKeyword:
119
+ Enabled: true
120
+
121
+ Layout/SpaceBeforeComma:
122
+ Enabled: true
123
+
124
+ Layout/SpaceBeforeComment:
125
+ Enabled: true
126
+
127
+ Layout/SpaceBeforeFirstArg:
128
+ Enabled: true
129
+
130
+ Style/DefWithParentheses:
131
+ Enabled: true
132
+
133
+ # Defining a method with parameters needs parentheses.
134
+ Style/MethodDefParentheses:
135
+ Enabled: true
136
+
137
+ Style/RedundantFreeze:
138
+ Enabled: true
139
+
140
+ # Use `foo {}` not `foo{}`.
141
+ Layout/SpaceBeforeBlockBraces:
142
+ Enabled: true
143
+
144
+ # Use `foo { bar }` not `foo {bar}`.
145
+ Layout/SpaceInsideBlockBraces:
146
+ Enabled: true
147
+ EnforcedStyleForEmptyBraces: space
148
+
149
+ # Use `{ a: 1 }` not `{a:1}`.
150
+ Layout/SpaceInsideHashLiteralBraces:
151
+ Enabled: true
152
+
153
+ Layout/SpaceInsideParens:
154
+ Enabled: true
155
+
156
+ # Check quotes usage according to lint rule below.
157
+ Style/StringLiterals:
158
+ Enabled: true
159
+ EnforcedStyle: single_quotes
160
+
161
+ # Detect hard tabs, no hard tabs.
162
+ Layout/IndentationStyle:
163
+ Enabled: true
164
+
165
+ # Empty lines should not have any spaces.
166
+ Layout/TrailingEmptyLines:
167
+ Enabled: true
168
+
169
+ # No trailing whitespace.
170
+ Layout/TrailingWhitespace:
171
+ Enabled: true
172
+
173
+ # Use quotes for string literals when they are enough.
174
+ Style/RedundantPercentQ:
175
+ Enabled: true
176
+
177
+ Lint/AmbiguousOperator:
178
+ Enabled: true
179
+
180
+ Lint/AmbiguousRegexpLiteral:
181
+ Enabled: true
182
+
183
+ Lint/ErbNewArguments:
184
+ Enabled: true
185
+
186
+ # Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
187
+ Lint/RequireParentheses:
188
+ Enabled: true
189
+
190
+ Lint/ShadowingOuterLocalVariable:
191
+ Enabled: true
192
+
193
+ Lint/RedundantStringCoercion:
194
+ Enabled: true
195
+
196
+ Lint/UriEscapeUnescape:
197
+ Enabled: true
198
+
199
+ Lint/UselessAssignment:
200
+ Enabled: true
201
+
202
+ Lint/DeprecatedClassMethods:
203
+ Enabled: true
204
+
205
+ Style/ParenthesesAroundCondition:
206
+ Enabled: true
207
+
208
+ Style/HashTransformKeys:
209
+ Enabled: true
210
+
211
+ Style/HashTransformValues:
212
+ Enabled: true
213
+
214
+ Style/RedundantBegin:
215
+ Enabled: true
216
+
217
+ Style/RedundantReturn:
218
+ Enabled: true
219
+ AllowMultipleReturnValues: true
220
+
221
+ Style/Semicolon:
222
+ Enabled: true
223
+ AllowAsExpressionSeparator: true
224
+
225
+ Style/ColonMethodCall:
226
+ Enabled: true
227
+
228
+ Style/TrivialAccessors:
229
+ Enabled: true
230
+
231
+ Style/FrozenStringLiteralComment:
232
+ Enabled: false
233
+
234
+ MethodLength:
235
+ CountComments: false
236
+ Max: 25
237
+ Exclude:
238
+ - "spec/**/*"
239
+
240
+ Documentation:
241
+ Enabled: false
242
+
243
+ Metrics/AbcSize:
244
+ Max: 20
245
+
246
+ Style/ClassLength:
247
+ Max: 120
248
+
249
+ Metrics/BlockLength:
250
+ Exclude:
251
+ - "spec/**/*"
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.5
7
+ before_install: gem install bundler -v 2.0.2
@@ -0,0 +1,3 @@
1
+ lib/**/*.rb
2
+ -
3
+ LICENSE
@@ -0,0 +1,6 @@
1
+ Changelog
2
+ =========
3
+
4
+ 0.1.0 (2020 Aug 5)
5
+ ------------------
6
+ First release.
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at hirontan@sora.flights. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ group :development do
6
+ gem 'guard'
7
+ gem 'guard-rspec', require: false
8
+ end
9
+
10
+ group :development, :test do
11
+ gem 'rubocop'
12
+ gem 'rubocop-rspec'
13
+ end
14
+
15
+ group :test do
16
+ gem 'faker'
17
+ gem 'simplecov'
18
+ gem 'webmock'
19
+ gem 'yard'
20
+ end
21
+
22
+ gemspec
@@ -0,0 +1,121 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sora_geocoding (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ addressable (2.7.0)
10
+ public_suffix (>= 2.0.2, < 5.0)
11
+ ast (2.4.1)
12
+ coderay (1.1.3)
13
+ concurrent-ruby (1.1.6)
14
+ crack (0.4.3)
15
+ safe_yaml (~> 1.0.0)
16
+ diff-lcs (1.4.2)
17
+ docile (1.3.2)
18
+ faker (2.13.0)
19
+ i18n (>= 1.6, < 2)
20
+ ffi (1.13.1)
21
+ formatador (0.2.5)
22
+ guard (2.16.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-compat (1.2.1)
32
+ guard-rspec (4.7.3)
33
+ guard (~> 2.1)
34
+ guard-compat (~> 1.1)
35
+ rspec (>= 2.99.0, < 4.0)
36
+ hashdiff (1.0.1)
37
+ i18n (1.8.5)
38
+ concurrent-ruby (~> 1.0)
39
+ listen (3.2.1)
40
+ rb-fsevent (~> 0.10, >= 0.10.3)
41
+ rb-inotify (~> 0.9, >= 0.9.10)
42
+ lumberjack (1.2.7)
43
+ method_source (1.0.0)
44
+ nenv (0.3.0)
45
+ notiffany (0.1.3)
46
+ nenv (~> 0.1)
47
+ shellany (~> 0.0)
48
+ parallel (1.19.2)
49
+ parser (2.7.1.4)
50
+ ast (~> 2.4.1)
51
+ pry (0.13.1)
52
+ coderay (~> 1.1)
53
+ method_source (~> 1.0)
54
+ public_suffix (4.0.5)
55
+ rainbow (3.0.0)
56
+ rake (13.0.1)
57
+ rb-fsevent (0.10.4)
58
+ rb-inotify (0.10.1)
59
+ ffi (~> 1.0)
60
+ regexp_parser (1.7.1)
61
+ rexml (3.2.4)
62
+ rspec (3.9.0)
63
+ rspec-core (~> 3.9.0)
64
+ rspec-expectations (~> 3.9.0)
65
+ rspec-mocks (~> 3.9.0)
66
+ rspec-core (3.9.2)
67
+ rspec-support (~> 3.9.3)
68
+ rspec-expectations (3.9.2)
69
+ diff-lcs (>= 1.2.0, < 2.0)
70
+ rspec-support (~> 3.9.0)
71
+ rspec-mocks (3.9.1)
72
+ diff-lcs (>= 1.2.0, < 2.0)
73
+ rspec-support (~> 3.9.0)
74
+ rspec-support (3.9.3)
75
+ rubocop (0.86.0)
76
+ parallel (~> 1.10)
77
+ parser (>= 2.7.0.1)
78
+ rainbow (>= 2.2.2, < 4.0)
79
+ regexp_parser (>= 1.7)
80
+ rexml
81
+ rubocop-ast (>= 0.0.3, < 1.0)
82
+ ruby-progressbar (~> 1.7)
83
+ unicode-display_width (>= 1.4.0, < 2.0)
84
+ rubocop-ast (0.0.3)
85
+ parser (>= 2.7.0.1)
86
+ rubocop-rspec (1.41.0)
87
+ rubocop (>= 0.68.1)
88
+ ruby-progressbar (1.10.1)
89
+ safe_yaml (1.0.5)
90
+ shellany (0.0.1)
91
+ simplecov (0.18.5)
92
+ docile (~> 1.1)
93
+ simplecov-html (~> 0.11)
94
+ simplecov-html (0.12.2)
95
+ thor (1.0.1)
96
+ unicode-display_width (1.7.0)
97
+ webmock (3.8.3)
98
+ addressable (>= 2.3.6)
99
+ crack (>= 0.3.2)
100
+ hashdiff (>= 0.4.0, < 2.0.0)
101
+ yard (0.9.25)
102
+
103
+ PLATFORMS
104
+ ruby
105
+
106
+ DEPENDENCIES
107
+ bundler (~> 2.0)
108
+ faker
109
+ guard
110
+ guard-rspec
111
+ rake (~> 13.0)
112
+ rspec (~> 3.0)
113
+ rubocop
114
+ rubocop-rspec
115
+ simplecov
116
+ sora_geocoding!
117
+ webmock
118
+ yard
119
+
120
+ BUNDLED WITH
121
+ 2.0.2