human_routes 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2ad89763d40365e71ad1e2d6ca62e93c9d407cb4342ed0904c1b181338c5a599
4
+ data.tar.gz: 076fe95f90963ab455b86559c00c0af7dd0aeb624b2a1605c12ab2cccfbd3418
5
+ SHA512:
6
+ metadata.gz: 2af45ff4d9f08a645a0c2a367a652579ef43e24bd7bb9ad13db111b6be11b9d0952f0fcd6570797279d467948599d9cd4b92881ba48f44ea41a489d1513baad8
7
+ data.tar.gz: 51122db49e0b50327e3f7dd9751e7f4051425386f5ab59b6c1504819d7d4654fa320f1896c4bb05e17d6eef4f324a5d47a5ad9865e8e174974f9f76f11275bee
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /log
10
+ /Gemfile.lock
data/.rubocop.yml ADDED
@@ -0,0 +1,12 @@
1
+ ---
2
+ inherit_gem:
3
+ rubocop-fnando: .rubocop.yml
4
+
5
+ AllCops:
6
+ TargetRubyVersion: 2.7
7
+
8
+ Metrics/MethodLength:
9
+ Enabled: false
10
+
11
+ Metrics/ClassLength:
12
+ Enabled: false
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ nodejs 12.16.1
@@ -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 me@fnando.com. 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 [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in human_routes.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Nando Vieira
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,139 @@
1
+ # human_routes
2
+
3
+ I never liked REST routing for customer-facing web pages, and until then I've
4
+ been doing it manually, with `get/post` helpers. This gem extracts some helpers
5
+ so I don't have to keep doing it manually. I never use the same controllers
6
+ responding to multiple formats anyway, as I like to keep API in a separate
7
+ endpoint.
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ```ruby
14
+ gem "human_routes"
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ $ bundle install
20
+
21
+ Or install it yourself as:
22
+
23
+ $ gem install human_routes
24
+
25
+ ## Usage
26
+
27
+ After loading this gem, you'll have a `route` method available on your routes.
28
+
29
+ ```ruby
30
+ Rails.application.routes.draw do
31
+ route :signup do
32
+ create
33
+ end
34
+ end
35
+ ```
36
+
37
+ This will generate a few routes different routes, as you can see below:
38
+
39
+ ```
40
+ $ rails routes
41
+ Prefix Verb URI Pattern Controller#Action
42
+ new_signup GET /signup/new signup#new
43
+ POST /signup/new signup#create
44
+ ```
45
+
46
+ Notice that routes are generated without the optional `:format` param. Just
47
+ awesome!
48
+
49
+ A classic "resource" would be represented like this:
50
+
51
+ ```ruby
52
+ Rails.application.routes.draw do
53
+ route :blogs do
54
+ create
55
+ update
56
+ remove
57
+ list
58
+ show
59
+ end
60
+ end
61
+ ```
62
+
63
+ The above could added in one line with `route(:blogs) { all }`.
64
+
65
+ This will generate the following routes:
66
+
67
+ ```
68
+ $ rails routes
69
+ Prefix Verb URI Pattern Controller#Action
70
+ new_blog GET /blogs/new blogs#new
71
+ POST /blogs/new blogs#create
72
+ edit_blog GET /blogs/:id/edit blogs#edit
73
+ POST /blogs/:id/edit blogs#update
74
+ remove_blog GET /blogs/:id/remove blogs#remove
75
+ POST /blogs/:id/remove blogs#destroy
76
+ blogs GET /blogs blogs#index
77
+ blog GET /blogs/:id blogs#show
78
+ ```
79
+
80
+ The API is quite simple and delegated to
81
+ [ActionDispatch::Routing::Mapper::Base#match](https://api.rubyonrails.org/classes/ActionDispatch/Routing/Mapper/Base.html#method-i-match).
82
+
83
+ ```ruby
84
+ # `options` will be applied to every single route in the block.
85
+ # Can be used to set `format: true`, or `param: :another_id`.
86
+ routes(options = {}, &block)
87
+
88
+ # Each of the route generators accepts its own path and options.
89
+ # Use it to override the path or set a different named route.
90
+ create(path, &options)
91
+ update(path, &options)
92
+ remove(path, &options)
93
+ list(path, &options)
94
+ show(path, &options)
95
+
96
+ # In practice, something along these lines.
97
+ Rails.application.routes.draw do
98
+ route :signup do
99
+ # This will generate the helper `signup_path` instead of `new_signup_path`.
100
+ # The route will also be modified to `/signup` instead of `/signup/new`.
101
+ create "signup", as: "signup"
102
+ end
103
+
104
+ route :pages, module: "customer" do
105
+ all
106
+ end
107
+ end
108
+ ```
109
+
110
+ ## Development
111
+
112
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
113
+ `rake test` to run the tests. You can also run `bin/console` for an interactive
114
+ prompt that will allow you to experiment.
115
+
116
+ To install this gem onto your local machine, run `bundle exec rake install`. To
117
+ release a new version, update the version number in `version.rb`, and then run
118
+ `bundle exec rake release`, which will create a git tag for the version, push
119
+ git commits and tags, and push the `.gem` file to
120
+ [rubygems.org](https://rubygems.org).
121
+
122
+ ## Contributing
123
+
124
+ Bug reports and pull requests are welcome on GitHub at
125
+ https://github.com/fnando/human_routes. This project is intended to be a safe,
126
+ welcoming space for collaboration, and contributors are expected to adhere to
127
+ the
128
+ [code of conduct](https://github.com/fnando/human_routes/blob/master/CODE_OF_CONDUCT.md).
129
+
130
+ ## License
131
+
132
+ The gem is available as open source under the terms of the
133
+ [MIT License](https://opensource.org/licenses/MIT).
134
+
135
+ ## Code of Conduct
136
+
137
+ Everyone interacting in the HumanRoutes project's codebases, issue trackers,
138
+ chat rooms and mailing lists is expected to follow the
139
+ [code of conduct](https://github.com/fnando/human_routes/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
+ require "rubocop/rake_task"
6
+
7
+ Rake::TestTask.new(:test) do |t|
8
+ t.libs << "test"
9
+ t.libs << "lib"
10
+ t.test_files = FileList["test/**/*_test.rb"]
11
+ end
12
+
13
+ RuboCop::RakeTask.new
14
+
15
+ task default: %i[test rubocop]
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "human_routes"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/human_routes/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "human_routes"
7
+ spec.version = HumanRoutes::VERSION
8
+ spec.authors = ["Nando Vieira"]
9
+ spec.email = ["me@fnando.com"]
10
+
11
+ spec.summary = "I say no to REST for client-facing urls."
12
+ spec.description = spec.summary
13
+ spec.homepage = "https://github.com/fnando/human_routes"
14
+ spec.license = "MIT"
15
+
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = spec.homepage
18
+ spec.metadata["changelog_uri"] = spec.homepage
19
+
20
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
21
+ `git ls-files -z`
22
+ .split("\x0")
23
+ .reject {|f| f.match(%r{^(test|spec|features)/}) }
24
+ end
25
+
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency "rails"
31
+
32
+ spec.add_development_dependency "minitest"
33
+ spec.add_development_dependency "minitest-utils"
34
+ spec.add_development_dependency "pry-meta"
35
+ spec.add_development_dependency "rack-test"
36
+ spec.add_development_dependency "rake"
37
+ spec.add_development_dependency "rubocop"
38
+ spec.add_development_dependency "rubocop-fnando"
39
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "action_dispatch/routing/mapper"
4
+
5
+ module HumanRoutes
6
+ require_relative "human_routes/version"
7
+ require_relative "human_routes/extensions"
8
+ require_relative "human_routes/context"
9
+
10
+ ActionDispatch::Routing::Mapper.include(Extensions)
11
+ end
@@ -0,0 +1,164 @@
1
+ # frozen_string_literal: true
2
+
3
+ module HumanRoutes
4
+ class Context
5
+ attr_reader :controller
6
+ attr_reader :options
7
+
8
+ def initialize(controller, options = {})
9
+ @controller = controller
10
+ @options = options
11
+ end
12
+
13
+ def singular_controller_name
14
+ @singular_controller_name ||= controller.to_s.singularize
15
+ end
16
+
17
+ def routes
18
+ @routes ||= []
19
+ end
20
+
21
+ def create(*args)
22
+ path, name, options = extract_route_args(
23
+ default_path: "#{controller}/new",
24
+ default_name: "new_#{singular_controller_name}",
25
+ args: args
26
+ )
27
+
28
+ routes << [
29
+ path,
30
+ {
31
+ via: :get,
32
+ controller: controller,
33
+ action: :new,
34
+ as: name
35
+ }.merge(options)
36
+ ]
37
+
38
+ routes << [
39
+ path,
40
+ {
41
+ via: :post,
42
+ controller: controller,
43
+ action: :create,
44
+ as: ""
45
+ }.merge(options)
46
+ ]
47
+ end
48
+
49
+ def update(*args)
50
+ path, name, options = extract_route_args(
51
+ default_path: "#{controller}/:id/edit",
52
+ default_name: "edit_#{singular_controller_name}",
53
+ args: args
54
+ )
55
+
56
+ routes << [
57
+ path,
58
+ {
59
+ via: :get,
60
+ controller: controller,
61
+ action: :edit,
62
+ as: name
63
+ }.merge(options)
64
+ ]
65
+
66
+ routes << [
67
+ path,
68
+ {
69
+ via: :post,
70
+ controller: controller,
71
+ action: :update,
72
+ as: ""
73
+ }.merge(options)
74
+ ]
75
+ end
76
+
77
+ def remove(*args)
78
+ path, name, options = extract_route_args(
79
+ default_path: "#{controller}/:id/remove",
80
+ default_name: "remove_#{singular_controller_name}",
81
+ args: args
82
+ )
83
+
84
+ routes << [
85
+ path,
86
+ {
87
+ via: :get,
88
+ controller: controller,
89
+ action: :remove,
90
+ as: name
91
+ }.merge(options)
92
+ ]
93
+
94
+ routes << [
95
+ path,
96
+ {
97
+ via: :post,
98
+ controller: controller,
99
+ action: :destroy,
100
+ as: ""
101
+ }.merge(options)
102
+ ]
103
+ end
104
+
105
+ def list(*args)
106
+ path, name, options = extract_route_args(
107
+ default_path: controller,
108
+ default_name: controller,
109
+ args: args
110
+ )
111
+
112
+ routes << [
113
+ path,
114
+ {
115
+ via: :get,
116
+ controller: controller,
117
+ action: :index,
118
+ as: name
119
+ }.merge(options)
120
+ ]
121
+ end
122
+
123
+ def show(*args)
124
+ path, name, options = extract_route_args(
125
+ default_path: "#{controller}/:id",
126
+ default_name: singular_controller_name,
127
+ args: args
128
+ )
129
+
130
+ routes << [
131
+ path,
132
+ {
133
+ via: :get,
134
+ controller: controller,
135
+ action: :show,
136
+ as: name
137
+ }.merge(options)
138
+ ]
139
+ end
140
+
141
+ def all
142
+ create
143
+ update
144
+ remove
145
+ list
146
+ show
147
+ end
148
+
149
+ private def extract_route_args(default_path:, default_name:, args:)
150
+ route_options = args.extract_options!
151
+ route_options = default_options.merge(options).merge(route_options)
152
+ path = args.first || default_path
153
+ name = route_options.delete(:as) || default_name
154
+
155
+ [path, name, route_options]
156
+ end
157
+
158
+ private def default_options
159
+ {
160
+ format: false
161
+ }
162
+ end
163
+ end
164
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module HumanRoutes
4
+ module Extensions
5
+ def route(controller, options = {}, &block)
6
+ context = Context.new(controller, options)
7
+ context.instance_eval(&block)
8
+
9
+ context.routes.each do |route|
10
+ match(*route)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module HumanRoutes
4
+ VERSION = "0.0.1"
5
+ end
metadata ADDED
@@ -0,0 +1,173 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: human_routes
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Nando Vieira
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-02-22 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: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
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: minitest-utils
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
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: pry-meta
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
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: rack-test
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
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: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
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: rubocop
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
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: rubocop-fnando
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: I say no to REST for client-facing urls.
126
+ email:
127
+ - me@fnando.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - ".gitignore"
133
+ - ".rubocop.yml"
134
+ - ".tool-versions"
135
+ - CODE_OF_CONDUCT.md
136
+ - Gemfile
137
+ - LICENSE.txt
138
+ - README.md
139
+ - Rakefile
140
+ - bin/console
141
+ - bin/setup
142
+ - human_routes.gemspec
143
+ - lib/human_routes.rb
144
+ - lib/human_routes/context.rb
145
+ - lib/human_routes/extensions.rb
146
+ - lib/human_routes/version.rb
147
+ homepage: https://github.com/fnando/human_routes
148
+ licenses:
149
+ - MIT
150
+ metadata:
151
+ homepage_uri: https://github.com/fnando/human_routes
152
+ source_code_uri: https://github.com/fnando/human_routes
153
+ changelog_uri: https://github.com/fnando/human_routes
154
+ post_install_message:
155
+ rdoc_options: []
156
+ require_paths:
157
+ - lib
158
+ required_ruby_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ requirements: []
169
+ rubygems_version: 3.1.2
170
+ signing_key:
171
+ specification_version: 4
172
+ summary: I say no to REST for client-facing urls.
173
+ test_files: []