implicit_rendering 0.1.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: daf983952c251c8981120ce542042b65b2b5cce8c88721a7f0e1928e4d9107e6
4
+ data.tar.gz: 160f2c677db60dd99fa66bb7d0da762d9e8b259df44a753119d6ac89c081cd1e
5
+ SHA512:
6
+ metadata.gz: 77a2d0126ffb633004a523d012de3a71567d61fc1050644ba73881f5339b36ffd097102626081f63a6d2a916b1d18c484285ceccc3b96327f7427370dd9d489c
7
+ data.tar.gz: 893ac08de646da8f6ce37822153fdaf52fffcf9af51eb27f33ce1a2abdeaa01863cf209381bf511b7c7ae598fb0b7adbeec7a16e552a1379122788399a282908
data/.gitignore ADDED
@@ -0,0 +1,16 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ .DS_Store
10
+ # rspec failure tracking
11
+ .rspec_status
12
+
13
+ .byebug_history
14
+ .rake_tasks~
15
+
16
+ *.gem
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,182 @@
1
+ AllCops:
2
+ Exclude:
3
+ - .git/**/*
4
+ SuggestExtensions: false
5
+ TargetRubyVersion: 2.6
6
+
7
+ Layout/AccessModifierIndentation:
8
+ EnforcedStyle: outdent
9
+
10
+ Layout/CaseIndentation:
11
+ Enabled: false
12
+
13
+ Layout/EmptyLinesAroundAccessModifier:
14
+ Enabled: true
15
+
16
+ Layout/EmptyLinesAroundBlockBody:
17
+ Enabled: false
18
+
19
+ Layout/EmptyLinesAroundClassBody:
20
+ Enabled: false
21
+
22
+ Layout/EmptyLinesAroundModuleBody:
23
+ Enabled: false
24
+
25
+ Layout/EndAlignment:
26
+ EnforcedStyleAlignWith: variable
27
+
28
+ Layout/FirstArgumentIndentation:
29
+ Enabled: false
30
+
31
+ Layout/FirstArrayElementIndentation:
32
+ Enabled: false
33
+
34
+ Layout/FirstHashElementIndentation:
35
+ Enabled: false
36
+
37
+ Layout/HashAlignment:
38
+ Enabled: false
39
+
40
+ Layout/IndentationWidth:
41
+ Enabled: false
42
+
43
+ Layout/LineLength:
44
+ Enabled: false
45
+
46
+ Layout/MultilineMethodCallBraceLayout:
47
+ Enabled: false
48
+
49
+ Layout/MultilineMethodCallIndentation:
50
+ Enabled: false
51
+
52
+ Layout/MultilineOperationIndentation:
53
+ Enabled: false
54
+
55
+ # Disable until the bug fixed. Ref: https://github.com/rubocop-hq/rubocop/issues/6918
56
+ Layout/RescueEnsureAlignment:
57
+ Enabled: false
58
+
59
+ Layout/SpaceAroundEqualsInParameterDefault:
60
+ EnforcedStyle: no_space
61
+
62
+ Layout/SpaceInsideBlockBraces:
63
+ Enabled: false
64
+
65
+ Layout/TrailingEmptyLines:
66
+ EnforcedStyle: final_newline
67
+
68
+ Lint/AmbiguousBlockAssociation:
69
+ Enabled: false
70
+
71
+ Lint/BooleanSymbol:
72
+ Enabled: false
73
+
74
+ Lint/IneffectiveAccessModifier:
75
+ Enabled: false
76
+
77
+ Lint/UnusedMethodArgument:
78
+ AllowUnusedKeywordArguments: true
79
+
80
+ Metrics/AbcSize:
81
+ Enabled: false
82
+
83
+ Metrics/BlockLength:
84
+ Enabled: false
85
+
86
+ Metrics/ClassLength:
87
+ Enabled: false
88
+
89
+ Metrics/CyclomaticComplexity:
90
+ Enabled: true
91
+ Max: 10
92
+
93
+ Metrics/MethodLength:
94
+ Enabled: false
95
+
96
+ Metrics/PerceivedComplexity:
97
+ Enabled: true
98
+ Max: 10
99
+
100
+ Naming/MemoizedInstanceVariableName:
101
+ Enabled: false
102
+
103
+ Naming/PredicateName:
104
+ Enabled: false
105
+
106
+ Naming/VariableNumber:
107
+ EnforcedStyle: snake_case
108
+
109
+ Style/Alias:
110
+ Enabled: false
111
+
112
+ Style/AndOr:
113
+ Enabled: false
114
+
115
+ Style/AsciiComments:
116
+ Enabled: false
117
+
118
+ Style/BlockDelimiters:
119
+ Enabled: false
120
+
121
+ Style/ClassAndModuleChildren:
122
+ Enabled: false
123
+
124
+ Style/Documentation:
125
+ Enabled: false
126
+
127
+ Style/DoubleNegation:
128
+ Enabled: false
129
+
130
+ Style/EmptyMethod:
131
+ Enabled: false
132
+
133
+ Style/FormatStringToken:
134
+ EnforcedStyle: template
135
+
136
+ Style/FrozenStringLiteralComment:
137
+ Enabled: false
138
+
139
+ Style/GlobalVars:
140
+ Enabled: false
141
+
142
+ Style/HashEachMethods:
143
+ Enabled: true
144
+
145
+ Style/HashTransformKeys:
146
+ Enabled: true
147
+
148
+ Style/HashTransformValues:
149
+ Enabled: true
150
+
151
+ Style/IfUnlessModifier:
152
+ Enabled: false
153
+
154
+ Style/Lambda:
155
+ Enabled: false
156
+
157
+ Style/ModuleFunction:
158
+ Enabled: false
159
+
160
+ Style/MultilineBlockChain:
161
+ Enabled: false
162
+
163
+ Style/NumericPredicate:
164
+ Enabled: false
165
+
166
+ Style/RedundantSelf:
167
+ Enabled: false
168
+
169
+ Style/RegexpLiteral:
170
+ Enabled: false
171
+
172
+ Style/SymbolArray:
173
+ Enabled: false
174
+
175
+ Style/SymbolProc:
176
+ Enabled: false
177
+
178
+ Style/TrailingCommaInHashLiteral:
179
+ Enabled: false
180
+
181
+ Style/WordArray:
182
+ Enabled: false
@@ -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 alex.pauly@posteo.de. 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,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in sti_enum.gemspec
4
+ gemspec
5
+
6
+ group(:development, :test) do
7
+ gem 'rspec-rails', require: false
8
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,144 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ implicit_rendering (0.1.0)
5
+ actionpack
6
+ activesupport
7
+ zeitwerk
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionpack (7.0.0)
13
+ actionview (= 7.0.0)
14
+ activesupport (= 7.0.0)
15
+ rack (~> 2.0, >= 2.2.0)
16
+ rack-test (>= 0.6.3)
17
+ rails-dom-testing (~> 2.0)
18
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
19
+ actionview (7.0.0)
20
+ activesupport (= 7.0.0)
21
+ builder (~> 3.1)
22
+ erubi (~> 1.4)
23
+ rails-dom-testing (~> 2.0)
24
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
25
+ activesupport (7.0.0)
26
+ concurrent-ruby (~> 1.0, >= 1.0.2)
27
+ i18n (>= 1.6, < 2)
28
+ minitest (>= 5.1)
29
+ tzinfo (~> 2.0)
30
+ ast (2.4.2)
31
+ builder (3.2.4)
32
+ byebug (11.1.3)
33
+ coderay (1.1.3)
34
+ combustion (1.3.5)
35
+ activesupport (>= 3.0.0)
36
+ railties (>= 3.0.0)
37
+ thor (>= 0.14.6)
38
+ concurrent-ruby (1.1.9)
39
+ crass (1.0.6)
40
+ diff-lcs (1.4.4)
41
+ docile (1.4.0)
42
+ erubi (1.10.0)
43
+ i18n (1.8.11)
44
+ concurrent-ruby (~> 1.0)
45
+ loofah (2.13.0)
46
+ crass (~> 1.0.2)
47
+ nokogiri (>= 1.5.9)
48
+ method_source (1.0.0)
49
+ mini_portile2 (2.6.1)
50
+ minitest (5.15.0)
51
+ nokogiri (1.12.5)
52
+ mini_portile2 (~> 2.6.1)
53
+ racc (~> 1.4)
54
+ parallel (1.21.0)
55
+ parser (3.1.0.0)
56
+ ast (~> 2.4.1)
57
+ pry (0.13.1)
58
+ coderay (~> 1.1)
59
+ method_source (~> 1.0)
60
+ pry-byebug (3.9.0)
61
+ byebug (~> 11.0)
62
+ pry (~> 0.13.0)
63
+ racc (1.6.0)
64
+ rack (2.2.3)
65
+ rack-test (1.1.0)
66
+ rack (>= 1.0, < 3)
67
+ rails-dom-testing (2.0.3)
68
+ activesupport (>= 4.2.0)
69
+ nokogiri (>= 1.6)
70
+ rails-html-sanitizer (1.4.2)
71
+ loofah (~> 2.3)
72
+ railties (7.0.0)
73
+ actionpack (= 7.0.0)
74
+ activesupport (= 7.0.0)
75
+ method_source
76
+ rake (>= 12.2)
77
+ thor (~> 1.0)
78
+ zeitwerk (~> 2.5)
79
+ rainbow (3.1.1)
80
+ rake (12.3.3)
81
+ regexp_parser (2.2.0)
82
+ rexml (3.2.5)
83
+ rspec (3.10.0)
84
+ rspec-core (~> 3.10.0)
85
+ rspec-expectations (~> 3.10.0)
86
+ rspec-mocks (~> 3.10.0)
87
+ rspec-core (3.10.1)
88
+ rspec-support (~> 3.10.0)
89
+ rspec-expectations (3.10.1)
90
+ diff-lcs (>= 1.2.0, < 2.0)
91
+ rspec-support (~> 3.10.0)
92
+ rspec-mocks (3.10.2)
93
+ diff-lcs (>= 1.2.0, < 2.0)
94
+ rspec-support (~> 3.10.0)
95
+ rspec-rails (5.0.2)
96
+ actionpack (>= 5.2)
97
+ activesupport (>= 5.2)
98
+ railties (>= 5.2)
99
+ rspec-core (~> 3.10)
100
+ rspec-expectations (~> 3.10)
101
+ rspec-mocks (~> 3.10)
102
+ rspec-support (~> 3.10)
103
+ rspec-support (3.10.3)
104
+ rubocop (1.24.1)
105
+ parallel (~> 1.10)
106
+ parser (>= 3.0.0.0)
107
+ rainbow (>= 2.2.2, < 4.0)
108
+ regexp_parser (>= 1.8, < 3.0)
109
+ rexml
110
+ rubocop-ast (>= 1.15.1, < 2.0)
111
+ ruby-progressbar (~> 1.7)
112
+ unicode-display_width (>= 1.4.0, < 3.0)
113
+ rubocop-ast (1.15.1)
114
+ parser (>= 3.0.1.1)
115
+ ruby-progressbar (1.11.0)
116
+ simplecov (0.21.2)
117
+ docile (~> 1.1)
118
+ simplecov-html (~> 0.11)
119
+ simplecov_json_formatter (~> 0.1)
120
+ simplecov-html (0.12.3)
121
+ simplecov-lcov (0.8.0)
122
+ simplecov_json_formatter (0.1.3)
123
+ thor (1.1.0)
124
+ tzinfo (2.0.4)
125
+ concurrent-ruby (~> 1.0)
126
+ unicode-display_width (2.1.0)
127
+ zeitwerk (2.5.1)
128
+
129
+ PLATFORMS
130
+ ruby
131
+
132
+ DEPENDENCIES
133
+ combustion
134
+ implicit_rendering!
135
+ pry-byebug
136
+ rake
137
+ rspec
138
+ rspec-rails
139
+ rubocop
140
+ simplecov
141
+ simplecov-lcov
142
+
143
+ BUNDLED WITH
144
+ 2.2.3
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Alexander Pauly
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,56 @@
1
+ # ImplicitRendering
2
+
3
+ This gems allows you to specify a custom mapping action names to default template names.
4
+
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'implicit_rendering'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle install
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install implicit_rendering
21
+
22
+ ## Usage
23
+
24
+ ```ruby
25
+ class MyAbstractController < ActionController::Base
26
+
27
+ prepend ::ImplicitRendering
28
+ implicit_rendering(
29
+ new: '_form',
30
+ edit: '_form'
31
+ )
32
+
33
+ end
34
+ ```
35
+
36
+ This will make `new` and `edit` actions in `MyAbstractController` (and its subclasses) render the `_form` partial by default.
37
+
38
+
39
+ ## Development
40
+
41
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
42
+
43
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
44
+
45
+ ## Contributing
46
+
47
+ Bug reports and pull requests are welcome on GitHub at https://github.com/apauly/implicit_rendering. 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/apauly/implicit_rendering/blob/main/CODE_OF_CONDUCT.md).
48
+
49
+
50
+ ## License
51
+
52
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
53
+
54
+ ## Code of Conduct
55
+
56
+ Everyone interacting in the ImplicitRendering project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/apauly/implicit_rendering/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+
5
+ require 'rspec/core/rake_task'
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+ RuboCop::RakeTask.new
10
+
11
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'implicit_rendering'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require 'irb'
14
+ 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
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
4
+
5
+ # Maintain your gem's version:
6
+ require 'implicit_rendering/version'
7
+
8
+ Gem::Specification.new do |spec|
9
+ spec.name = 'implicit_rendering'
10
+ spec.version = ImplicitRendering::VERSION
11
+ spec.authors = ['Alexander Pauly']
12
+ spec.email = ['alex.pauly@posteo.de']
13
+
14
+ spec.summary = 'Adjust default template names for Rails'
15
+ spec.description = 'Adjust default template names used for implicit rendering in Rails controllers'
16
+ spec.homepage = 'https://github.com/apauly/implicit_rendering'
17
+ spec.license = 'MIT'
18
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.6')
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
24
+ end
25
+ spec.require_paths = ['lib']
26
+
27
+ spec.add_dependency 'actionpack'
28
+ spec.add_dependency 'activesupport'
29
+ spec.add_dependency 'zeitwerk'
30
+ spec.add_development_dependency 'combustion'
31
+ spec.add_development_dependency 'pry-byebug'
32
+ spec.add_development_dependency 'rake'
33
+ spec.add_development_dependency 'rspec'
34
+ spec.add_development_dependency 'rubocop'
35
+
36
+ spec.add_development_dependency 'simplecov'
37
+ spec.add_development_dependency 'simplecov-lcov'
38
+
39
+ end
@@ -0,0 +1,3 @@
1
+ module ImplicitRendering
2
+ VERSION = '0.1.1'.freeze
3
+ end
@@ -0,0 +1,38 @@
1
+ require 'active_support'
2
+
3
+ module ImplicitRendering
4
+
5
+ module ClassMethods
6
+ mattr_accessor :implicit_render_mapping, :implicit_render_formats
7
+
8
+ def implicit_rendering(mapping_options)
9
+ self.implicit_render_mapping = mapping_options.except(:formats).stringify_keys
10
+ self.implicit_render_formats = mapping_options[:formats] || [:html]
11
+ end
12
+ end
13
+
14
+ def self.prepended(base)
15
+ base.extend ClassMethods
16
+ end
17
+
18
+ def default_render
19
+ template_name = self.class.implicit_render_mapping&.dig(action_name)
20
+
21
+ return super unless perform_implicit_rendering?(template_name)
22
+
23
+ render template_name
24
+ end
25
+
26
+ def render(options={})
27
+ if options.is_a?(Hash) && (template_name = self.class.implicit_render_mapping&.dig(options[:action].to_s))
28
+ options[:action] = template_name
29
+ end
30
+ super
31
+ end
32
+
33
+ def perform_implicit_rendering?(template_name)
34
+ template_name.present? &&
35
+ self.class.implicit_render_formats.any? {|format| request.format == format }
36
+ end
37
+
38
+ end
metadata ADDED
@@ -0,0 +1,197 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: implicit_rendering
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Alexander Pauly
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-01-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: actionpack
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: activesupport
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: zeitwerk
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: combustion
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: pry-byebug
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: rspec
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
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
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
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: simplecov-lcov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ description: Adjust default template names used for implicit rendering in Rails controllers
154
+ email:
155
+ - alex.pauly@posteo.de
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".rspec"
162
+ - ".rubocop.yml"
163
+ - CODE_OF_CONDUCT.md
164
+ - Gemfile
165
+ - Gemfile.lock
166
+ - LICENSE.txt
167
+ - README.md
168
+ - Rakefile
169
+ - bin/console
170
+ - bin/setup
171
+ - implicit_rendering.gemspec
172
+ - lib/implicit_rendering.rb
173
+ - lib/implicit_rendering/version.rb
174
+ homepage: https://github.com/apauly/implicit_rendering
175
+ licenses:
176
+ - MIT
177
+ metadata: {}
178
+ post_install_message:
179
+ rdoc_options: []
180
+ require_paths:
181
+ - lib
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '2.6'
187
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ requirements: []
193
+ rubygems_version: 3.2.3
194
+ signing_key:
195
+ specification_version: 4
196
+ summary: Adjust default template names for Rails
197
+ test_files: []