geo_labels 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +15 -0
  3. data/MIT-LICENSE +20 -0
  4. data/README.md +28 -0
  5. data/Rakefile +8 -0
  6. data/app/assets/config/geo_labels_manifest.js +2 -0
  7. data/app/assets/javascripts/geo_labels/application.coffee +29 -0
  8. data/app/assets/stylesheets/geo_labels/application.sass +10 -0
  9. data/app/controllers/concerns/geo_labels/shared_template_and_instance_methods.rb +21 -0
  10. data/app/controllers/geo_labels/application_controller.rb +14 -0
  11. data/app/controllers/geo_labels/contacts_controller.rb +56 -0
  12. data/app/controllers/geo_labels/dashboard_controller.rb +33 -0
  13. data/app/controllers/geo_labels/labels_controller.rb +56 -0
  14. data/app/helpers/geo_labels/application_helper.rb +197 -0
  15. data/app/jobs/geo_labels/application_job.rb +4 -0
  16. data/app/mailers/geo_labels/application_mailer.rb +6 -0
  17. data/app/models/geo_labels/application_record.rb +5 -0
  18. data/app/models/geo_labels/contact.rb +64 -0
  19. data/app/models/geo_labels/contact_label.rb +40 -0
  20. data/app/models/geo_labels/label.rb +15 -0
  21. data/app/views/geo_labels/application/_button-destroy-record.html.slim +1 -0
  22. data/app/views/geo_labels/application/_button-edit-record.html.slim +1 -0
  23. data/app/views/geo_labels/application/_button-new-record.html.slim +1 -0
  24. data/app/views/geo_labels/application/_messages.html.slim +4 -0
  25. data/app/views/geo_labels/application/_navigation.html.slim +29 -0
  26. data/app/views/geo_labels/contacts/_form.html.slim +46 -0
  27. data/app/views/geo_labels/contacts/edit.html.slim +3 -0
  28. data/app/views/geo_labels/contacts/index.html.slim +31 -0
  29. data/app/views/geo_labels/contacts/new.html.slim +3 -0
  30. data/app/views/geo_labels/contacts/show.html.slim +20 -0
  31. data/app/views/geo_labels/dashboard/export.html.slim +4 -0
  32. data/app/views/geo_labels/dashboard/import.html.slim +7 -0
  33. data/app/views/geo_labels/dashboard/main.html.slim +35 -0
  34. data/app/views/geo_labels/labels/_form.html.slim +13 -0
  35. data/app/views/geo_labels/labels/edit.html.slim +3 -0
  36. data/app/views/geo_labels/labels/index.html.slim +47 -0
  37. data/app/views/geo_labels/labels/new.html.slim +3 -0
  38. data/app/views/geo_labels/labels/show.html.slim +12 -0
  39. data/app/views/layouts/geo_labels/application.html.slim +22 -0
  40. data/config/environment.rb +2 -0
  41. data/config/initializers/human_plural.rb +16 -0
  42. data/config/locales/geo_labels.en.yml +5 -0
  43. data/config/locales/geo_labels.es.yml +5 -0
  44. data/config/routes.rb +13 -0
  45. data/db/migrate/20221019150722_create_geo_labels_contacts.rb +20 -0
  46. data/db/migrate/20221020180213_create_geo_labels_labels.rb +16 -0
  47. data/db/migrate/20221020195346_create_geo_labels_contact_labels.rb +12 -0
  48. data/lib/geo_labels/engine.rb +36 -0
  49. data/lib/geo_labels/exporter.rb +48 -0
  50. data/lib/geo_labels/importer.rb +124 -0
  51. data/lib/geo_labels/version.rb +3 -0
  52. data/lib/geo_labels.rb +8 -0
  53. data/lib/tasks/geo_labels_tasks.rake +4 -0
  54. metadata +267 -0
metadata ADDED
@@ -0,0 +1,267 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: geo_labels
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Benjamin ter Kuile
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-02-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: geocoder
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: coffee-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: slim-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sassc-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jquery-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: cancancan
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: ransack
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: kaminari
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: countries
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: awesome_nested_set
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rspec-rails
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ description: "This mountable rails engine can be added to any modern rails application
182
+ \n for geocoding addresses and search them by label and map"
183
+ email:
184
+ - bterkuile@gmail.com
185
+ executables: []
186
+ extensions: []
187
+ extra_rdoc_files: []
188
+ files:
189
+ - CHANGELOG.md
190
+ - MIT-LICENSE
191
+ - README.md
192
+ - Rakefile
193
+ - app/assets/config/geo_labels_manifest.js
194
+ - app/assets/javascripts/geo_labels/application.coffee
195
+ - app/assets/stylesheets/geo_labels/application.sass
196
+ - app/controllers/concerns/geo_labels/shared_template_and_instance_methods.rb
197
+ - app/controllers/geo_labels/application_controller.rb
198
+ - app/controllers/geo_labels/contacts_controller.rb
199
+ - app/controllers/geo_labels/dashboard_controller.rb
200
+ - app/controllers/geo_labels/labels_controller.rb
201
+ - app/helpers/geo_labels/application_helper.rb
202
+ - app/jobs/geo_labels/application_job.rb
203
+ - app/mailers/geo_labels/application_mailer.rb
204
+ - app/models/geo_labels/application_record.rb
205
+ - app/models/geo_labels/contact.rb
206
+ - app/models/geo_labels/contact_label.rb
207
+ - app/models/geo_labels/label.rb
208
+ - app/views/geo_labels/application/_button-destroy-record.html.slim
209
+ - app/views/geo_labels/application/_button-edit-record.html.slim
210
+ - app/views/geo_labels/application/_button-new-record.html.slim
211
+ - app/views/geo_labels/application/_messages.html.slim
212
+ - app/views/geo_labels/application/_navigation.html.slim
213
+ - app/views/geo_labels/contacts/_form.html.slim
214
+ - app/views/geo_labels/contacts/edit.html.slim
215
+ - app/views/geo_labels/contacts/index.html.slim
216
+ - app/views/geo_labels/contacts/new.html.slim
217
+ - app/views/geo_labels/contacts/show.html.slim
218
+ - app/views/geo_labels/dashboard/export.html.slim
219
+ - app/views/geo_labels/dashboard/import.html.slim
220
+ - app/views/geo_labels/dashboard/main.html.slim
221
+ - app/views/geo_labels/labels/_form.html.slim
222
+ - app/views/geo_labels/labels/edit.html.slim
223
+ - app/views/geo_labels/labels/index.html.slim
224
+ - app/views/geo_labels/labels/new.html.slim
225
+ - app/views/geo_labels/labels/show.html.slim
226
+ - app/views/layouts/geo_labels/application.html.slim
227
+ - config/environment.rb
228
+ - config/initializers/human_plural.rb
229
+ - config/locales/geo_labels.en.yml
230
+ - config/locales/geo_labels.es.yml
231
+ - config/routes.rb
232
+ - db/migrate/20221019150722_create_geo_labels_contacts.rb
233
+ - db/migrate/20221020180213_create_geo_labels_labels.rb
234
+ - db/migrate/20221020195346_create_geo_labels_contact_labels.rb
235
+ - lib/geo_labels.rb
236
+ - lib/geo_labels/engine.rb
237
+ - lib/geo_labels/exporter.rb
238
+ - lib/geo_labels/importer.rb
239
+ - lib/geo_labels/version.rb
240
+ - lib/tasks/geo_labels_tasks.rake
241
+ homepage: https://gitlab.com/benja-2/geo_labels
242
+ licenses:
243
+ - MIT
244
+ metadata:
245
+ homepage_uri: https://gitlab.com/benja-2/geo_labels
246
+ source_code_uri: https://gitlab.com/benja-2/geo_labels
247
+ changelog_uri: https://gitlab.com/benja-2/geo_labels/-/blob/master/CHANGELOG.md
248
+ post_install_message:
249
+ rdoc_options: []
250
+ require_paths:
251
+ - lib
252
+ required_ruby_version: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ required_rubygems_version: !ruby/object:Gem::Requirement
258
+ requirements:
259
+ - - ">="
260
+ - !ruby/object:Gem::Version
261
+ version: '0'
262
+ requirements: []
263
+ rubygems_version: 3.3.7
264
+ signing_key:
265
+ specification_version: 4
266
+ summary: Rails mountable engine to label search locations
267
+ test_files: []