geo_scaffold 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: 21082774a5a6900ad352a4c8b864d6540d8e00b840294ec1d75d8f0696cee24e
4
- data.tar.gz: 32cb394a898ab8a1bba706a396e99ba3550b0f0a598ba5660d28edf651df1946
3
+ metadata.gz: 79af904e67bbb7df082dd34d5b41c3ed63675404242b4d065b10eb3689385398
4
+ data.tar.gz: 9aaa8a8c1c569a859e3081c664385c92abc84a0655bb2767a5497c8f4e1e83b8
5
5
  SHA512:
6
- metadata.gz: ee52d9e2e4dc873dbf340a29a304cecf72754ea8864b59200c7c93b1465e1902c6419f69a7a1b7ac6aba66d8c66f74dd852f02937ed2104486ceca4d0af7c57c
7
- data.tar.gz: b46ae0f7f9f1d151ef1ef9958080014760cb3e0958d2b0d5e63f16d847680285f5d5402a2426a1c3abb50070e3d25d7586ed0bc8064af403275f4ca85b494631
6
+ metadata.gz: bf499763ac20ce1c5d51129b716d6beb177cedd452516049735713a34ed31064b295dc330275fa137aa6a51371df8f54a24a83d82f1c56ba2d23275b1c63103b
7
+ data.tar.gz: 92ae4a8f89aa098d16359ffbd14a6bec758b4eb832b7bde97b24c8a366575b3b1f51d54c67b77f682ebdfe64d3d50e8c9be2a94f1236718b468bf757ba96e663
data/CODE_OF_CONDUCT.md CHANGED
@@ -2,19 +2,28 @@
2
2
 
3
3
  ## Our Pledge
4
4
 
5
- We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
6
11
 
7
- We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
8
14
 
9
15
  ## Our Standards
10
16
 
11
- Examples of behavior that contributes to a positive environment for our community include:
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
12
19
 
13
20
  * Demonstrating empathy and kindness toward other people
14
21
  * Being respectful of differing opinions, viewpoints, and experiences
15
22
  * Giving and gracefully accepting constructive feedback
16
- * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
- * Focusing on what is best not just for us as individuals, but for the overall community
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
18
27
 
19
28
  Examples of unacceptable behavior include:
20
29
 
@@ -29,56 +38,91 @@ Examples of unacceptable behavior include:
29
38
 
30
39
  ## Enforcement Responsibilities
31
40
 
32
- Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
33
45
 
34
- Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
35
50
 
36
51
  ## Scope
37
52
 
38
- This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
39
58
 
40
59
  ## Enforcement
41
60
 
42
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at junya@champierre.com. All complaints will be reviewed and investigated promptly and fairly.
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ webmaster@champierre.com.
64
+ All complaints will be reviewed and investigated promptly and fairly.
43
65
 
44
- All community leaders are obligated to respect the privacy and security of the reporter of any incident.
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
45
68
 
46
69
  ## Enforcement Guidelines
47
70
 
48
- Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
49
73
 
50
74
  ### 1. Correction
51
75
 
52
- **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
53
78
 
54
- **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
55
82
 
56
83
  ### 2. Warning
57
84
 
58
- **Community Impact**: A violation through a single incident or series of actions.
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
59
87
 
60
- **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
61
94
 
62
95
  ### 3. Temporary Ban
63
96
 
64
- **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
65
99
 
66
- **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
67
105
 
68
106
  ### 4. Permanent Ban
69
107
 
70
- **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
71
111
 
72
- **Consequence**: A permanent ban from any sort of public interaction within the community.
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
73
114
 
74
115
  ## Attribution
75
116
 
76
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
- available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
120
 
79
- Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
80
123
 
81
124
  [homepage]: https://www.contributor-covenant.org
82
125
 
83
126
  For answers to common questions about this code of conduct, see the FAQ at
84
- https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
data/Gemfile.lock ADDED
@@ -0,0 +1,55 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ geo_scaffold (0.1.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ diff-lcs (1.5.0)
11
+ parallel (1.21.0)
12
+ parser (3.0.3.2)
13
+ ast (~> 2.4.1)
14
+ rainbow (3.0.0)
15
+ rake (13.0.6)
16
+ regexp_parser (2.2.0)
17
+ rexml (3.2.5)
18
+ rspec (3.10.0)
19
+ rspec-core (~> 3.10.0)
20
+ rspec-expectations (~> 3.10.0)
21
+ rspec-mocks (~> 3.10.0)
22
+ rspec-core (3.10.1)
23
+ rspec-support (~> 3.10.0)
24
+ rspec-expectations (3.10.1)
25
+ diff-lcs (>= 1.2.0, < 2.0)
26
+ rspec-support (~> 3.10.0)
27
+ rspec-mocks (3.10.2)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.10.0)
30
+ rspec-support (3.10.3)
31
+ rubocop (1.24.1)
32
+ parallel (~> 1.10)
33
+ parser (>= 3.0.0.0)
34
+ rainbow (>= 2.2.2, < 4.0)
35
+ regexp_parser (>= 1.8, < 3.0)
36
+ rexml
37
+ rubocop-ast (>= 1.15.1, < 2.0)
38
+ ruby-progressbar (~> 1.7)
39
+ unicode-display_width (>= 1.4.0, < 3.0)
40
+ rubocop-ast (1.15.1)
41
+ parser (>= 3.0.1.1)
42
+ ruby-progressbar (1.11.0)
43
+ unicode-display_width (2.1.0)
44
+
45
+ PLATFORMS
46
+ ruby
47
+
48
+ DEPENDENCIES
49
+ geo_scaffold!
50
+ rake (~> 13.0)
51
+ rspec (~> 3.0)
52
+ rubocop (~> 1.21)
53
+
54
+ BUNDLED WITH
55
+ 2.0.1
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # GeoScaffold
2
2
 
3
- 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/geo_scaffold`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ GeoScaffold generates views with [Geolonia Maps](https://geolonia.com/maps-dev/) for a new resource that has coordinates(lat and lng).
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ Geolonia Maps can be freely used without API key on [development environments](https://docs.geolonia.com/tutorial/002/#%E9%96%8B%E7%99%BA%E7%92%B0%E5%A2%83%E3%81%A7%E3%81%AE%E5%88%A9%E7%94%A8%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6) such as localhost, CodePen and JSFiddle etc.
6
+
7
+ ![Demo](geo_scaffold_demo.gif)
6
8
 
7
9
  ## Installation
8
10
 
@@ -22,7 +24,23 @@ Or install it yourself as:
22
24
 
23
25
  ## Usage
24
26
 
25
- TODO: Write usage instructions here
27
+ Generate a model for a new resource that has coordinates.
28
+
29
+ ```
30
+ % bin/rails g model <resource name> name:string lng:float lat:float
31
+ ```
32
+
33
+ Run the migration.
34
+
35
+ ```
36
+ % bin/rails db:migrate
37
+ ```
38
+
39
+ Use GeoScaffold generator to create controllers and views.
40
+
41
+ ```
42
+ % bin/rails g geo_scaffold:controller <resource name>
43
+ ```
26
44
 
27
45
  ## Development
28
46
 
@@ -32,7 +50,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
50
 
33
51
  ## Contributing
34
52
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/geo_scaffold. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/geo_scaffold/blob/master/CODE_OF_CONDUCT.md).
53
+ Bug reports and pull requests are welcome on GitHub at https://github.com/champierre/geo_scaffold. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/champierre/geo_scaffold/blob/master/CODE_OF_CONDUCT.md).
36
54
 
37
55
  ## License
38
56
 
@@ -40,4 +58,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
40
58
 
41
59
  ## Code of Conduct
42
60
 
43
- Everyone interacting in the GeoScaffold project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/geo_scaffold/blob/master/CODE_OF_CONDUCT.md).
61
+ Everyone interacting in the GeoScaffold project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/champierre/geo_scaffold/blob/master/CODE_OF_CONDUCT.md).
Binary file
@@ -9,7 +9,7 @@ module GeoScaffold
9
9
  source_root File.expand_path('../templates', __FILE__)
10
10
 
11
11
  class_option :orm, banner: "NAME", type: :string, required: true,
12
- desc: "ORM to generate the controller for"
12
+ desc: "ORM to generate the controller for"
13
13
 
14
14
  argument :attributes, type: :array, default: [], banner: "field:type field:type"
15
15
 
@@ -32,6 +32,11 @@ module GeoScaffold
32
32
  end
33
33
 
34
34
  template "views/partial.html.erb", File.join(directory_path, "_#{singular_table_name}.html.erb")
35
+ template "views/index.json.jbuilder", File.join(directory_path, "index.json.jbuilder")
36
+ end
37
+
38
+ def copy_helper_files
39
+ template "helpers/helper.rb", File.join("app/helpers", "#{controller_file_name}_helper.rb")
35
40
  end
36
41
 
37
42
  protected
@@ -0,0 +1,7 @@
1
+ module <%= controller_class_name %>Helper
2
+ def marker_content(<%= singular_table_name %>)
3
+ <%= singular_table_name %>.attributes.except("id", "created_at", "updated_at", "lat", "lng").map do |key, value|
4
+ "<strong>#{key}</strong> #{key == 'name' ? link_to(value, <%= singular_table_name %>) : value }<br />"
5
+ end.join.html_safe
6
+ end
7
+ end
@@ -26,11 +26,9 @@
26
26
  <% elsif attribute.attachments? -%>
27
27
  <%%= form.label :<%= attribute.column_name %>, style: "display: block" %>
28
28
  <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, multiple: true %>
29
- <% elsif attribute.column_name == 'lat' || attribute.column_name == 'lng' %>
30
- <%%= form.hidden_field :<%= attribute.column_name %> %>
31
29
  <% else -%>
32
30
  <%%= form.label :<%= attribute.column_name %>, style: "display: block" %>
33
- <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %> %>
31
+ <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, readonly: <%= attribute.column_name == 'lat' || attribute.column_name == 'lng' %> %>
34
32
  <% end -%>
35
33
  </div>
36
34
 
@@ -42,29 +40,30 @@
42
40
 
43
41
  <script>
44
42
  document.addEventListener('turbo:load', () => {
45
-
46
- <%% if <%= singular_table_name %>.new_record? %>
47
- const center = [139.7673068, 35.6809591]
48
- <%% else %>
49
- const center = [<%%= <%= singular_table_name %>.lng %>, <%%= <%= singular_table_name %>.lat %>]
50
- <%% end %>
43
+ const center = <%%= <%= singular_table_name %>.new_record? ? [139.7673068, 35.6809591] : [<%= singular_table_name %>.lng, <%= singular_table_name %>.lat] %>
51
44
  const map = new geolonia.Map({
52
45
  container: 'map',
53
46
  center: center,
54
- zoom: 16
55
- })
56
- const marker = new geolonia.Marker({
57
- draggable: true
47
+ zoom: <%%= <%= singular_table_name %>.new_record? ? 14 : 16 %>
58
48
  })
59
- .setLngLat(center)
60
- .addTo(map)
49
+ const marker = new geolonia.Marker()
50
+
51
+ <%% if !<%= singular_table_name %>.new_record? %>
52
+ marker.setLngLat(center).addTo(map)
53
+ <%% end %>
54
+
55
+ function onClick(e) {
56
+ const lngLat = e.lngLat
57
+
58
+ if (marker) {
59
+ marker.remove()
60
+ }
61
61
 
62
- function onDragEnd() {
63
- const lngLat = marker.getLngLat()
62
+ marker.setLngLat([lngLat.lng, lngLat.lat]).addTo(map)
64
63
  document.querySelector("#<%= singular_table_name %>_lng").value = lngLat.lng
65
64
  document.querySelector("#<%= singular_table_name %>_lat").value = lngLat.lat
66
65
  }
67
66
 
68
- marker.on('dragend', onDragEnd)
67
+ map.on('click', onClick)
69
68
  })
70
69
  </script>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <h1><%= human_name.pluralize %></h1>
4
4
 
5
- <div class="geolonia" data-geojson="#example-geojson" style="height:300px;"></div>
5
+ <div class="geolonia" data-geojson="/<%= plural_table_name %>.json" style="height:300px;"></div>
6
6
 
7
7
  <div id="<%= plural_table_name %>">
8
8
  <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
@@ -15,28 +15,4 @@
15
15
 
16
16
  <%%= link_to "New <%= human_name.downcase %>", <%= new_helper(type: :path) %>, data: {turbo: false} %>
17
17
 
18
- <script id="example-geojson" type="application/json">
19
- {
20
- "type": "FeatureCollection",
21
- "features": [
22
- <%% @<%= plural_table_name %>.each_with_index do |<%= singular_table_name %>, i| %>
23
- {
24
- "type": "Feature",
25
- "properties": {
26
- "title": "<%%= <%= singular_table_name %>.name %>",
27
- "description": "<a href='/<%= plural_table_name %>/<%%= <%= singular_table_name %>.id %>'><%%= <%= singular_table_name %>.name %></a>"
28
- },
29
- "geometry": {
30
- "type": "Point",
31
- "coordinates": [
32
- <%%= <%= singular_table_name %>.lng %>,
33
- <%%= <%= singular_table_name %>.lat %>
34
- ]
35
- }
36
- }<%%= i != @<%= plural_table_name %>.length - 1 ? ',' : '' %>
37
- <%% end %>
38
- ]
39
- }
40
- </script>
41
-
42
18
  <script type="text/javascript" src="https://cdn.geolonia.com/v1/embed?geolonia-api-key=YOUR-API-KEY"></script>
@@ -0,0 +1,12 @@
1
+ json.type "FeatureCollection"
2
+ json.features @<%= plural_table_name %> do |spot|
3
+ json.type "Feature"
4
+ json.properties do
5
+ json.title <%= singular_table_name %>.name
6
+ json.description marker_content(<%= singular_table_name %>)
7
+ end
8
+ json.geometry do
9
+ json.type "Point"
10
+ json.coordinates [<%= singular_table_name %>.lng, <%= singular_table_name %>.lat]
11
+ end
12
+ end
@@ -1,5 +1,11 @@
1
1
  <p style="color: green"><%%= notice %></p>
2
2
 
3
+ <div class="geolonia"
4
+ data-lat=<%%= @<%= singular_table_name %>.lat %>
5
+ data-lng=<%%= @<%= singular_table_name %>.lng %>
6
+ data-zoom=16
7
+ style="height:300px;"><%%= marker_content(@<%= singular_table_name %>) %></div>
8
+
3
9
  <%%= render @<%= singular_table_name %> %>
4
10
 
5
11
  <div>
@@ -8,3 +14,5 @@
8
14
 
9
15
  <%%= button_to "Destroy this <%= human_name.downcase %>", <%= model_resource_name(prefix: "@") %>, method: :delete %>
10
16
  </div>
17
+
18
+ <script type="text/javascript" src="https://cdn.geolonia.com/v1/embed?geolonia-api-key=YOUR-API-KEY"></script>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GeoScaffold
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,18 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Junya Ishihara
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-16 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Geo Scaffold
13
+ description: GeoScaffold generates views with Geolonia Maps for a new resource that
14
+ has coordinates(lat and lng).
14
15
  email:
15
- - junya@champierre.com
16
+ - webmaster@champierre.com
16
17
  executables: []
17
18
  extensions: []
18
19
  extra_rdoc_files: []
@@ -22,17 +23,21 @@ files:
22
23
  - CHANGELOG.md
23
24
  - CODE_OF_CONDUCT.md
24
25
  - Gemfile
26
+ - Gemfile.lock
25
27
  - LICENSE.txt
26
28
  - README.md
27
29
  - Rakefile
28
30
  - bin/console
29
31
  - bin/setup
32
+ - geo_scaffold_demo.gif
30
33
  - lib/generators/geo_scaffold/controller_generator.rb
31
34
  - lib/generators/geo_scaffold/generator_helpers.rb
32
35
  - lib/generators/geo_scaffold/templates/controller.rb
36
+ - lib/generators/geo_scaffold/templates/helpers/helper.rb
33
37
  - lib/generators/geo_scaffold/templates/views/_form.html.erb
34
38
  - lib/generators/geo_scaffold/templates/views/edit.html.erb
35
39
  - lib/generators/geo_scaffold/templates/views/index.html.erb
40
+ - lib/generators/geo_scaffold/templates/views/index.json.jbuilder
36
41
  - lib/generators/geo_scaffold/templates/views/new.html.erb
37
42
  - lib/generators/geo_scaffold/templates/views/partial.html.erb
38
43
  - lib/generators/geo_scaffold/templates/views/show.html.erb
@@ -47,7 +52,7 @@ metadata:
47
52
  homepage_uri: https://github.com/champierre/geo_scaffold
48
53
  source_code_uri: https://github.com/champierre/geo_scaffold
49
54
  changelog_uri: https://github.com/champierre/geo_scaffold
50
- post_install_message:
55
+ post_install_message:
51
56
  rdoc_options: []
52
57
  require_paths:
53
58
  - lib
@@ -62,8 +67,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
67
  - !ruby/object:Gem::Version
63
68
  version: '0'
64
69
  requirements: []
65
- rubygems_version: 3.0.3
66
- signing_key:
70
+ rubygems_version: 3.3.26
71
+ signing_key:
67
72
  specification_version: 4
68
- summary: Geo Scaffold
73
+ summary: GeoScaffold
69
74
  test_files: []