checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e3bd5b772c813ca055bb157f001f938e037c6751164289ffaad33a816094c984
4
+ data.tar.gz: e587870e976b82236d791cfb103f3e2e215b680296bac881ac573fc2f22e3f66
5
+ SHA512:
6
+ metadata.gz: e453df4ddad4bec91db240d267ecf10df8a49efe65b9ce9f7610fd1370f830b0b525b8f7d47060405b1c00a7db7946acc0f03ad90c97599ccd07bd641a6dd7c4
7
+ data.tar.gz: d46bd906c8c0759c9a66e5cd94aa943ff33297f27d5de1c017a305c021c6b79a9f5febe9ad620ac06e91abfed713dc7fd4229d4109469540e6586386651aedc4
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2019 Nigel Baillie
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,145 @@
1
+ # RailsDrivers
2
+
3
+ ## What are these "drivers"?
4
+
5
+ Each driver is like a mini Rails app that has full access to the main app. A driver has its own `app`, `config`, `spec`, and `db` folder.
6
+
7
+ Technically speaking, drivers are just a fancy name for putting code into a different folder. The advantage of doing this is that it provides clear-cut separation of concerns. If we follow a couple of simple rules, we can actually test that separation:
8
+
9
+ - Drivers should not touch other drivers
10
+ - The main app should not touch drivers directly
11
+
12
+ The "main app" refers to the files inside your `<project root>/app` directory.
13
+
14
+ If your test suite is good, you can test that these rules are adhered to by selectively adding and removing drivers before running your tests.
15
+
16
+ ## Aren't these just engines?
17
+
18
+ Very similar, yes. They use the same Rails facilities for adding new `app` paths, etc.
19
+
20
+ But Drivers have less friction. They can be freely added and removed from your project without breaking anything. There's no need to mess around with gems, vendoring, or dummy apps.
21
+
22
+ ## Usage
23
+
24
+ Every folder inside `drivers` has its own `app`, `config`, `db`, and `spec` folders. They are effectively a part of the overall Rails app.
25
+
26
+ ### Creating a new driver
27
+
28
+ Just run `rails g driver my_new_driver_name`.
29
+
30
+ ### Creating migrations for a driver
31
+
32
+ `bundle exec driver my_driver_name generate migration blah etc_etc:string`
33
+
34
+ The `driver` utility technically works with other generators and rake tasks, but is only guaranteed to work with migrations.
35
+ The reason is that some generators assume a particular path, rather than using the Rails path methods.
36
+
37
+ ### Testing for coupling
38
+
39
+ Since drivers are merged into your main application just like engines, there's nothing stopping them from accessing other drivers, and there's nothing stopping your main application from accessing drivers. In order to ensure those things don't happen, we have a handful of rake tasks:
40
+
41
+ 1. `rake driver:isolate[<name of driver>] # leaves you with only one driver`
42
+ 2. `rake driver:clear # removes all drivers`
43
+ 3. `rake driver:restore # restores all drivers`
44
+
45
+ Suppose you have a driver called `store` and a driver called `admin`. You don't want `store` and `admin` to talk to each other.
46
+
47
+ ```bash
48
+ # Run specs with store driver only
49
+ rake driver:isolate[store]
50
+ rspec --pattern '{spec,drivers/*/spec}/**{,/*/**}/*_spec.rb'
51
+ rake driver:restore
52
+
53
+ # Run specs with admin driver only
54
+ rake driver:isolate[admin]
55
+ rspec --pattern '{spec,drivers/*/spec}/**{,/*/**}/*_spec.rb'
56
+ rake driver:restore
57
+
58
+ # Short-hand with 'driver' utility!
59
+ bundle exec driver admin do rspec --pattern '{spec,drivers/*/spec}/**{,/*/**}/*_spec.rb'
60
+ # (can run with no drivers as well)
61
+ bundle exec nodriver do rspec --pattern '{spec,drivers/*/spec}/**{,/*/**}/*_spec.rb'
62
+ ```
63
+
64
+ This lets you to ensure that the store and admin function properly without each other. Note we're running all of the main app's specs twice. This is good because we also want to make sure the main app is not reaching into drivers.
65
+
66
+ Of course there's nothing stopping you from using if-statements to detect whether a driver is present. It's up to you to determine what's a "safe" level of crossover. Generally, if you find yourself using a lot of those if-statements, you should consider rethinking which functionality belongs in a driver and which functionality belongs in your main app.
67
+
68
+ ## Installation
69
+ Add this line to your application's Gemfile:
70
+
71
+ ```ruby
72
+ gem 'rails_drivers'
73
+ ```
74
+
75
+ And then execute:
76
+ ```bash
77
+ $ bundle install
78
+ ```
79
+
80
+ Add this line to your routes.rb:
81
+
82
+ ```ruby
83
+ require 'rails_drivers/routes'
84
+
85
+ # This can go before or after your application's route definitions
86
+ RailsDrivers::Routes.load_driver_routes
87
+ ```
88
+
89
+ ### RSpec
90
+
91
+ If you use RSpec with FactoryBot, add these lines to your `spec/rails_helper.rb` or `spec/spec_helper.rb`:
92
+
93
+ ```ruby
94
+ Dir[Rails.root.join("drivers/*/spec/support/*.rb")].each { |f| require f }
95
+
96
+ RSpec.configure do |config|
97
+ FactoryBot.definition_file_paths += Dir['drivers/*/spec/factories']
98
+ FactoryBot.reload
99
+
100
+ Dir[Rails.root.join('drivers/*/spec')].each { |x| config.project_source_dirs << x }
101
+ Dir[Rails.root.join('drivers/*/lib')].each { |x| config.project_source_dirs << x }
102
+ Dir[Rails.root.join('drivers/*/app')].each { |x| config.project_source_dirs << x }
103
+ end
104
+ ```
105
+
106
+ ### Webpacker
107
+
108
+ If you use Webpacker, take a look at this snippet. You'll want to add the code between the comments:
109
+
110
+ ```javascript
111
+ // config/webpack/environment.js
112
+ const { environment } = require('@rails/webpacker')
113
+
114
+ //// Begin driver code ////
115
+ const { config } = require('@rails/webpacker')
116
+ const { sync } = require('glob')
117
+ const { basename, dirname, join, relative, resolve } = require('path')
118
+ const extname = require('path-complete-extname')
119
+
120
+ const getExtensionsGlob = () => {
121
+ const { extensions } = config
122
+ return extensions.length === 1 ? `**/*${extensions[0]}` : `**/*{${extensions.join(',')}}`
123
+ }
124
+
125
+ const addToEntryObject = (sourcePath) => {
126
+ const glob = getExtensionsGlob()
127
+ const rootPath = join(sourcePath, config.source_entry_path)
128
+ const paths = sync(join(rootPath, glob))
129
+ paths.forEach((path) => {
130
+ const namespace = relative(join(rootPath), dirname(path))
131
+ const name = join(namespace, basename(path, extname(path)))
132
+ environment.entry.set(name, resolve(path))
133
+ })
134
+ }
135
+
136
+ sync('drivers/*').forEach((driverPath) => {
137
+ addToEntryObject(join(driverPath, config.source_path));
138
+ })
139
+ //// End driver code ////
140
+
141
+ module.exports = environment
142
+ ```
143
+
144
+ ## License
145
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ begin
4
+ require 'bundler/setup'
5
+ rescue LoadError
6
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7
+ end
8
+
9
+ require 'rdoc/task'
10
+
11
+ RDoc::Task.new(:rdoc) do |rdoc|
12
+ rdoc.rdoc_dir = 'rdoc'
13
+ rdoc.title = 'RailsDrivers'
14
+ rdoc.options << '--line-numbers'
15
+ rdoc.rdoc_files.include('README.md')
16
+ rdoc.rdoc_files.include('lib/**/*.rb')
17
+ end
18
+
19
+ require 'bundler/gem_tasks'
data/bin/driver ADDED
@@ -0,0 +1,39 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'rails_drivers/files'
5
+
6
+ selected_driver = ARGV.shift
7
+
8
+ if ARGV[0] == 'do'
9
+ #
10
+ # Run any command with only one driver present
11
+ #
12
+ ARGV.shift
13
+ at_exit { RailsDrivers::Files.restore }
14
+
15
+ if selected_driver == '_clear'
16
+ RailsDrivers::Files.clear
17
+ else
18
+ RailsDrivers::Files.isolate selected_driver
19
+ end
20
+
21
+ Process.wait Process.spawn(*ARGV)
22
+ exit Process.last_status.exitstatus
23
+ else
24
+ #
25
+ # Run 'rails' command as if the driver was the rails app.
26
+ #
27
+ APP_PATH = File.expand_path('config/application')
28
+ REPLACE_DEFAULT_PATH_WITH_DRIVER = selected_driver
29
+
30
+ require_relative "#{Dir.pwd}/config/boot"
31
+
32
+ possible_drivers = Dir['drivers/*'].map { |d| d.split('/').last }
33
+ unless possible_drivers.include?(REPLACE_DEFAULT_PATH_WITH_DRIVER)
34
+ puts "Unknown driver #{REPLACE_DEFAULT_PATH_WITH_DRIVER}. Must be one of [#{possible_drivers.join(', ')}]"
35
+ exit 1
36
+ end
37
+
38
+ require 'rails/commands'
39
+ end
data/bin/nodriver ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'rails_drivers/files'
5
+
6
+ ARGV.shift if ARGV[0] == 'do'
7
+
8
+ at_exit { RailsDrivers::Files.restore }
9
+ RailsDrivers::Files.clear
10
+ Process.wait Process.spawn(*ARGV)
11
+ exit Process.last_status.exitstatus
data/lib/generators/driver/USAGE ADDED
@@ -0,0 +1,15 @@
1
+ Description:
2
+ Generates the directory structure for a new driver.
3
+
4
+ Example:
5
+ rails generate driver new_feature
6
+
7
+ This will create:
8
+ drivers/new_feature
9
+ drivers/new_feature/app
10
+ drivers/new_feature/app/controllers/new_feature
11
+ drivers/new_feature/app/models/new_feature
12
+ drivers/new_feature/app/views/new_feature
13
+ drivers/new_feature/config
14
+ drivers/new_feature/spec
15
+ drivers/new_feature/lib
data/lib/generators/driver/driver_generator.rb ADDED
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ class DriverGenerator < Rails::Generators::NamedBase
4
+ source_root File.expand_path('templates', __dir__)
5
+
6
+ def create_driver_dir_structure
7
+ create_file "drivers/#{file_name}/app/models/#{file_name}/.keep", ''
8
+ create_file "drivers/#{file_name}/app/controllers/#{file_name}/.keep", ''
9
+ create_file "drivers/#{file_name}/app/views/#{file_name}/.keep", ''
10
+ create_file "drivers/#{file_name}/spec/.keep", ''
11
+ create_file "drivers/#{file_name}/db/migrate/.keep", ''
12
+ create_file "drivers/#{file_name}/lib/.keep", ''
13
+
14
+ template 'routes.rb.erb', "drivers/#{file_name}/config/routes.rb"
15
+ template 'initializer.rb.erb', "drivers/#{file_name}/config/initializers/#{file_name}_feature.rb"
16
+ template 'module.rb.erb', "drivers/#{file_name}/app/models/#{file_name}.rb"
17
+ end
18
+ end
data/lib/generators/driver/templates/initializer.rb.erb ADDED
@@ -0,0 +1,7 @@
1
+ # The core app (or other drivers) can check the presence of the
2
+ # <%= class_name %> driver with the following code snippit
3
+ #
4
+ # do_something if RailsDrivers.loaded.include(:<%= file_name %>)
5
+ #
6
+ # use with caution!
7
+ RailsDrivers.loaded << :<%= file_name %>
data/lib/generators/driver/templates/module.rb.erb ADDED
@@ -0,0 +1,5 @@
1
+ module <%= class_name %>
2
+ def self.table_name_prefix
3
+ '<%= plural_name.singularize %>_'
4
+ end
5
+ end
data/lib/generators/driver/templates/routes.rb.erb ADDED
@@ -0,0 +1,6 @@
1
+ <%= Rails.application.class.name %>.routes.draw do
2
+ scope :<%= plural_name.singularize %> do
3
+ # TODO
4
+ # get '/my_path', to: '<%= file_name %>/my_controller'
5
+ end
6
+ end
data/lib/rails_drivers.rb ADDED
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rails_drivers/version'
4
+ require 'rails_drivers/setup'
5
+ require 'rails_drivers/railtie'
6
+
7
+ module RailsDrivers
8
+ class << self
9
+ def loaded
10
+ @loaded ||= []
11
+ end
12
+
13
+ def freeze!
14
+ @loaded = @loaded&.freeze
15
+ end
16
+ end
17
+ end
data/lib/rails_drivers/files.rb ADDED
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsDrivers
4
+ module Files
5
+ class Error < StandardError
6
+ end
7
+
8
+ module_function
9
+
10
+ def isolate(driver)
11
+ raise Error, 'No driver specified' if driver.nil? || driver == ''
12
+ raise Error, "Driver #{driver.inspect} not found" unless File.exist?("drivers/#{driver}")
13
+
14
+ FileUtils.mkdir_p 'tmp/drivers'
15
+ Dir['drivers/*'].each do |driver_path|
16
+ next if driver_path.include?("/#{driver}")
17
+
18
+ FileUtils.mv driver_path, "tmp/#{driver_path}"
19
+ end
20
+ end
21
+
22
+ def clear
23
+ FileUtils.mkdir_p 'tmp/drivers'
24
+ Dir['drivers/*'].each do |driver_path|
25
+ FileUtils.mv driver_path, "tmp/#{driver_path}"
26
+ end
27
+ end
28
+
29
+ def restore
30
+ Dir['tmp/drivers/*'].each do |tmp_driver_path|
31
+ driver = tmp_driver_path.split('/').last
32
+ FileUtils.mv tmp_driver_path, "drivers/#{driver}"
33
+ end
34
+ end
35
+ end
36
+ end
data/lib/rails_drivers/railtie.rb ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsDrivers
4
+ class Railtie < ::Rails::Railtie
5
+ include ::RailsDrivers::Setup
6
+
7
+ rake_tasks do
8
+ load File.expand_path("#{__dir__}/../tasks/rails_drivers_tasks.rake")
9
+ end
10
+
11
+ config.before_configuration { setup_paths }
12
+ config.after_initialize { RailsDrivers.freeze! }
13
+ end
14
+ end
data/lib/rails_drivers/routes.rb ADDED
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsDrivers
4
+ class Routes
5
+ def self.load_driver_routes
6
+ return if defined?(REPLACE_DEFAULT_PATH_WITH_DRIVER)
7
+
8
+ Dir[Rails.root.join('drivers/*')].each do |path|
9
+ load "#{path}/config/routes.rb" if File.exist?("#{path}/config/routes.rb")
10
+ end
11
+ end
12
+ end
13
+ end
data/lib/rails_drivers/setup.rb ADDED
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsDrivers
4
+ module Setup
5
+ DRIVER_PATHS = %w[
6
+ app
7
+ app/assets
8
+ app/models
9
+ app/views
10
+ app/controllers
11
+ app/mailers
12
+ config/initializers
13
+ db db/migrate
14
+ lib
15
+ ].freeze
16
+
17
+ #
18
+ # This allows Rails to find models, views, controllers, etc inside of drivers.
19
+ #
20
+ def setup_paths
21
+ # This REPLACE_DEFAULT_PATH_WITH_DRIVER constant gets defined by bin/driver when we want
22
+ # to run a command in the context of a driver instead of the main rails app.
23
+ if defined?(REPLACE_DEFAULT_PATH_WITH_DRIVER)
24
+ replace_rails_paths_with_driver(REPLACE_DEFAULT_PATH_WITH_DRIVER)
25
+ else
26
+ add_every_driver_to_rails_paths
27
+ end
28
+ end
29
+
30
+ private
31
+
32
+ def rails_config
33
+ Rails.application.config
34
+ end
35
+
36
+ def replace_rails_paths_with_driver(driver_name)
37
+ DRIVER_PATHS.each do |path|
38
+ rails_config.paths[path] = "drivers/#{driver_name}/#{path}"
39
+ rails_config.autoload_paths = ["#{rails_config.root}/drivers/#{driver_name}/lib"]
40
+ end
41
+ end
42
+
43
+ def add_every_driver_to_rails_paths
44
+ Dir['drivers/*'].each do |driver|
45
+ DRIVER_PATHS.each do |path|
46
+ rails_config.paths[path] << "#{driver}/#{path}"
47
+ end
48
+
49
+ # We want to autoload driver/*/lib folders
50
+ rails_config.autoload_paths += ["#{rails_config.root}/#{driver}/lib"]
51
+ end
52
+ end
53
+ end
54
+ end
data/lib/rails_drivers/version.rb ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsDrivers
4
+ VERSION = '0.3.2'
5
+ end
data/lib/tasks/rails_drivers_tasks.rake ADDED
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :driver do
4
+ desc 'Removes every driver but the one specified. Can be undone with driver:restore.'
5
+ task :isolate, [:driver] do |_t, args|
6
+ require 'rails_drivers/files'
7
+ RailsDrivers::Files.isolate(args.driver)
8
+ rescue RailsDrivers::Files::Error => e
9
+ puts e.message
10
+ end
11
+
12
+ desc 'Removes all drivers. Can be undone with driver:restore.'
13
+ task :clear do
14
+ require 'rails_drivers/files'
15
+ RailsDrivers::Files.clear
16
+ end
17
+
18
+ desc 'Undoes the effects of driver:isolate and driver:clear.'
19
+ task :restore do
20
+ require 'rails_drivers/files'
21
+ RailsDrivers::Files.restore
22
+ end
23
+ end
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_drivers
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.2
5
+ platform: ruby
6
+ authors:
7
+ - Nigel Baillie
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-12-23 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: '5.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '5.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
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: rspec-rails
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: sqlite3
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: webpacker
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.5'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.5'
83
+ description: Like Rails Engines, but without the friction. Your Rails app can't access
84
+ them, and they can't access each other.
85
+ email:
86
+ - nbaillie@degica.com
87
+ executables:
88
+ - driver
89
+ - nodriver
90
+ extensions: []
91
+ extra_rdoc_files: []
92
+ files:
93
+ - MIT-LICENSE
94
+ - README.md
95
+ - Rakefile
96
+ - bin/driver
97
+ - bin/nodriver
98
+ - lib/generators/driver/USAGE
99
+ - lib/generators/driver/driver_generator.rb
100
+ - lib/generators/driver/templates/initializer.rb.erb
101
+ - lib/generators/driver/templates/module.rb.erb
102
+ - lib/generators/driver/templates/routes.rb.erb
103
+ - lib/rails_drivers.rb
104
+ - lib/rails_drivers/files.rb
105
+ - lib/rails_drivers/railtie.rb
106
+ - lib/rails_drivers/routes.rb
107
+ - lib/rails_drivers/setup.rb
108
+ - lib/rails_drivers/version.rb
109
+ - lib/tasks/rails_drivers_tasks.rake
110
+ homepage: https://github.com/degica/rails_drivers
111
+ licenses:
112
+ - MIT
113
+ metadata: {}
114
+ post_install_message:
115
+ rdoc_options: []
116
+ require_paths:
117
+ - lib
118
+ required_ruby_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ requirements: []
129
+ rubygems_version: 3.0.3
130
+ signing_key:
131
+ specification_version: 4
132
+ summary: De-coupled separation of concerns for Rails
133
+ test_files: []