mecha 0.2.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2bb22e257e60aedab8864b3826353fd0640dc535
4
+ data.tar.gz: b9b52ac3fc8fe598eaaea5971b8a27b0dc37c9a2
5
+ SHA512:
6
+ metadata.gz: 30dc8165aca6b164e1880348c2b9df20df6c2d4f8a00e50bb8ec23f475c47f8f3f21787b632653d810ac6e0b67da548e067f3e7c0a7cd8c61313dac139306b5b
7
+ data.tar.gz: 67ae29ee268f975f9f56153113c9e9e52baf9830290ab848b1883f73c1dd33be7e2f416f9485d8bb72d70c17508736d8263ce6cd3a0489e3e196c1b5d2d10975
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /tmp/
9
+ *.gem
10
+ *.swp
@@ -0,0 +1,16 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'tmp/**/*'
4
+ - 'Guardfile'
5
+
6
+ Documentation:
7
+ Enabled: false
8
+
9
+ Metrics/LineLength:
10
+ Max: 120
11
+
12
+ Style/AccessorMethodName:
13
+ Enabled: false
14
+
15
+ Style/FrozenStringLiteralComment:
16
+ Enabled: false
@@ -0,0 +1 @@
1
+ 2.4.0
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.0
5
+ before_install: gem install bundler -v 1.14.4
@@ -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 alfakini@gmail.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 [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in mecha.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Magrathea Labs
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.
@@ -0,0 +1,52 @@
1
+ # Mecha
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/mecha.svg)](https://badge.fury.io/rb/mecha)
4
+ [![Build Status](https://travis-ci.org/magrathealabs/mecha.svg?branch=master)](https://travis-ci.org/magrathealabs/mecha)
5
+ [![Dependency Status](https://gemnasium.com/badges/github.com/magrathealabs/mecha.svg)](https://gemnasium.com/github.com/magrathealabs/mecha)
6
+ [![Code Climate](https://codeclimate.com/github/magrathealabs/mecha/badges/gpa.svg)](https://codeclimate.com/github/magrathealabs/mecha)
7
+ [![Test Coverage](https://codeclimate.com/github/magrathealabs/mecha/badges/coverage.svg)](https://codeclimate.com/github/magrathealabs/mecha/coverage)
8
+
9
+ Mecha generates Rails apps with the defaults used in Magrathea Labs projects.
10
+
11
+ ## Installation
12
+
13
+ Install the mecha gem:
14
+
15
+ ```bash
16
+ gem install mecha
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ mecha <projectname>
23
+ ```
24
+
25
+ This will create a Rails app with name `<projectname>` and add all our defaults.
26
+
27
+ ## Development
28
+
29
+ TODO:
30
+
31
+ ## Contributing
32
+
33
+ Bug reports and pull requests are welcome on [GitHub](https://github.com/magrathealabs/mecha/issues). This project is
34
+ intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the
35
+ [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
42
+ ## Thanks
43
+
44
+ This project is based on [suspenders](https://github.com/thoughtbot/suspenders) from thoughtbot.
45
+
46
+ ## About Magrathea Labs
47
+
48
+ Mecha is maintained by Magrathea Labs. The names and logos for Magrathea Labs are trademarks of Magrathea Labs.
49
+
50
+ Magrathea Labs is a team of specialists in Software Engineering, Distributed Systems, Artificial Intelligence and
51
+ Data Science. We love to solve challenging problems and build amazing things. Want to do something amazing with us?
52
+ We are available for [hire](mailto:contact@magrathealabs.com).
@@ -0,0 +1,10 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << 'test'
6
+ t.libs << 'lib'
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task default: :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'mecha'
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__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
4
+
5
+ require 'mecha'
6
+
7
+ Mecha.config_templates_path
8
+ Mecha::AppGenerator.start
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'rake' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require 'pathname'
11
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('rake', 'rake')
@@ -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,12 @@
1
+ require 'mecha/version'
2
+ require 'mecha/generators/app_generator'
3
+ require 'mecha/app_builder'
4
+
5
+ module Mecha
6
+ def self.config_templates_path
7
+ templates_path = File.expand_path(File.join('mecha', 'templates'), File.dirname(__FILE__))
8
+ Mecha::AppGenerator.source_root(templates_path)
9
+ Mecha::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root
10
+ Mecha::AppGenerator.source_paths << templates_path
11
+ end
12
+ end
@@ -0,0 +1,72 @@
1
+ module Mecha
2
+ class AppBuilder < Rails::AppBuilder
3
+ def config_application
4
+ inject_into_class('config/application.rb', 'Application') do
5
+ <<-DOC
6
+ config.assets.initialize_on_precompile = false
7
+ config.autoload_paths += %W(\#{config.root}/lib \#{config.root}/app/uploaders \#{config.root}/services)
8
+ config.i18n.default_locale = :'pt-BR'
9
+ config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
10
+ config.generators do |g|
11
+ g.view_specs false
12
+ g.routing_specs false
13
+ g.stylesheets false
14
+ g.javascripts false
15
+ g.helper false
16
+ end
17
+ DOC
18
+ end
19
+ end
20
+
21
+ def config_test
22
+ copy_file('test_helper.rb', 'test/test_helper.rb', force: true)
23
+ empty_directory_with_keep_file('test/factories')
24
+ empty_directory_with_keep_file('test/support/pages')
25
+ end
26
+
27
+ def database_yml
28
+ template "config/databases/#{options[:database]}.yml", 'config/database.example.yml'
29
+ template "config/databases/#{options[:database]}.yml", 'config/database.yml'
30
+ end
31
+
32
+ def gemfile
33
+ template('Gemfile.erb', 'Gemfile')
34
+ end
35
+
36
+ def gitignore
37
+ super
38
+ @generator.append_file('.gitignore', append_to_gitignore)
39
+ end
40
+
41
+ def guardfile
42
+ copy_file('Guardfile', 'Guardfile')
43
+ end
44
+
45
+ def readme
46
+ template('README.md.erb', 'README.md')
47
+ end
48
+
49
+ def rubocop
50
+ copy_file('rubocop.yml', '.rubocop.yml')
51
+ end
52
+
53
+ def leftovers
54
+ guardfile
55
+ rubocop
56
+ config_application
57
+ config_test
58
+ end
59
+
60
+ private
61
+
62
+ def append_to_gitignore
63
+ <<-DOC.strip_heredoc
64
+ .DS_Store
65
+ /.byebug_history
66
+ /.env
67
+ /config/database.yml
68
+ /coverage
69
+ DOC
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,14 @@
1
+ require 'rails/generators'
2
+ require 'rails/generators/rails/app/app_generator'
3
+
4
+ module Mecha
5
+ class AppGenerator < Rails::Generators::AppGenerator
6
+ class_option :database, default: 'postgresql'
7
+
8
+ protected
9
+
10
+ def get_builder_class
11
+ Mecha::AppBuilder
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,47 @@
1
+ source 'https://rubygems.org'
2
+ ruby '<%= Mecha::RUBY_VERSION %>'
3
+
4
+ git_source(:github) do |repo_name|
5
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/')
6
+ "https://github.com/#{repo_name}.git"
7
+ end
8
+
9
+ gem 'rails', '<%= Mecha::RAILS_VERSION %>'
10
+
11
+ gem 'pg'
12
+ gem 'puma'
13
+
14
+ gem 'devise', '~> 4.2'
15
+
16
+ gem 'jquery-rails'
17
+ gem 'turbolinks'
18
+ gem 'uglifier', '>= 1.3.0'
19
+
20
+ group :development, :test do
21
+ gem 'byebug', platform: :mri
22
+ gem 'dotenv-rails'
23
+ gem 'factory_girl_rails'
24
+ gem 'faker'
25
+ gem 'pry'
26
+ gem 'pry-byebug'
27
+ end
28
+
29
+ group :development do
30
+ gem 'guard'
31
+ gem 'guard-minitest'
32
+ gem 'guard-rails', require: false
33
+ gem 'guard-rubocop'
34
+ gem 'listen', '~> 3.0.5'
35
+ gem 'rubocop', require: false
36
+ gem 'spring'
37
+ gem 'spring-watcher-listen'
38
+ gem 'web-console', '>= 3.3.0'
39
+ end
40
+
41
+ group :test do
42
+ gem 'capybara'
43
+ gem 'database_rewinder'
44
+ gem 'poltergeist'
45
+ gem 'ruby-prof'
46
+ gem 'simplecov', require: false
47
+ end
@@ -0,0 +1,19 @@
1
+ guard :minitest, spring: 'bin/rails test' do
2
+ # with Minitest::Unit
3
+ watch(%r{^test/(.*)\/?test_(.*)\.rb$})
4
+ watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
5
+ watch(%r{^test/test_helper\.rb$}) { 'test' }
6
+
7
+ watch(%r{^app/(.+)\.rb$}) { |m| "test/#{m[1]}_test.rb" }
8
+ watch(%r{^app/controllers/application_controller\.rb$}) { 'test/controllers' }
9
+ watch(%r{^app/controllers/(.+)_controller\.rb$}) { |m| "test/integration/#{m[1]}_test.rb" }
10
+ watch(%r{^app/views/(.+)_mailer/.+}) { |m| "test/mailers/#{m[1]}_mailer_test.rb" }
11
+ watch(%r{^lib/(.+)\.rb$}) { |m| "test/lib/#{m[1]}_test.rb" }
12
+ watch(%r{^test/.+_test\.rb$})
13
+ watch(%r{^test/test_helper\.rb$}) { 'test' }
14
+ end
15
+
16
+ guard :rubocop do
17
+ watch(/.+\.rb$/)
18
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
19
+ end
@@ -0,0 +1,69 @@
1
+ # <%= app_name.humanize %>
2
+
3
+ - [Dependencies](#dependencies)
4
+ - [Setup](#setup)
5
+ - [Development](#development)
6
+ - [Staging](#staging)
7
+ - [Style](#style)
8
+
9
+ ## Dependencies
10
+
11
+ - Ruby 2.3.3
12
+ - PostgreSQL 9.6.1
13
+ - PhantomJS 1.8.1
14
+
15
+ ```sh
16
+ brew update
17
+ brew install postgres phantomjs
18
+ ```
19
+
20
+ ## Setup
21
+
22
+ ```sh
23
+ bundle install
24
+ cp config/database.yml.example config/database.yml
25
+ bin/rails db:setup
26
+ ```
27
+
28
+ ## Development
29
+
30
+ Run the local server at http://localhost:3000 with:
31
+
32
+ ```sh
33
+ bin/rails s
34
+ ```
35
+
36
+ Check code style with:
37
+
38
+ ```sh
39
+ rubocop
40
+ ```
41
+
42
+ Run tests with:
43
+
44
+ ```sh
45
+ bin/rails t
46
+ ```
47
+
48
+ Use guard to run tests and check code style as you code:
49
+
50
+ ```sh
51
+ guard
52
+ ```
53
+
54
+ You can check test coverage information by running the test suite and looking into `coverage/` folder:
55
+
56
+ ```sh
57
+ bin/rails test
58
+ open coverage/index.html
59
+ ```
60
+
61
+ ## Staging
62
+
63
+ TODO:
64
+
65
+ ## Style
66
+
67
+ - [Ruby style guide](https://github.com/bbatsov/ruby-style-guide)
68
+ - [Rails style guide](https://github.com/bbatsov/rails-style-guide)
69
+ - [JavaScript style guide](https://github.com/airbnb/javascript)
@@ -0,0 +1,38 @@
1
+ Rails:
2
+ Enabled: true
3
+
4
+ AllCops:
5
+ Exclude:
6
+ - 'db/schema.rb'
7
+ - 'vendor/**/*'
8
+ - 'tmp/**/*'
9
+
10
+ Documentation:
11
+ Enabled: false
12
+
13
+ Metrics/AbcSize:
14
+ Exclude:
15
+ - 'db/migrate/*'
16
+
17
+ Metrics/BlockLength:
18
+ Exclude:
19
+ - 'Rakefile'
20
+ - '**/*.rake'
21
+ - 'test/**/*'
22
+
23
+ Metrics/ClassLength:
24
+ Exclude:
25
+ - 'test/**/*'
26
+
27
+ Metrics/LineLength:
28
+ Max: 120
29
+
30
+ Metrics/MethodLength:
31
+ Exclude:
32
+ - 'db/migrate/**'
33
+ - 'test/**/*'
34
+
35
+ Style/ClassAndModuleChildren:
36
+ EnforcedStyle: nested
37
+ Exclude:
38
+ - 'test/test_helper.rb'
@@ -0,0 +1,41 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+
6
+ require File.expand_path('../../config/environment', __FILE__)
7
+ require 'rails/test_help'
8
+ require 'capybara/rails'
9
+ require 'capybara/poltergeist'
10
+
11
+ Dir[Rails.root.join('test', 'support', '**', '*.rb')].each { |f| require f }
12
+
13
+ Capybara.javascript_driver = :poltergeist
14
+
15
+ module ActiveSupport
16
+ class TestCase
17
+ include FactoryGirl::Syntax::Methods
18
+
19
+ self.use_transactional_tests = false
20
+
21
+ setup do
22
+ DatabaseRewinder.clean_all
23
+ end
24
+
25
+ teardown do
26
+ DatabaseRewinder.clean
27
+ end
28
+ end
29
+ end
30
+
31
+ module ActionDispatch
32
+ class IntegrationTest
33
+ include Devise::Test::IntegrationHelpers
34
+ include Capybara::DSL
35
+
36
+ teardown do
37
+ Capybara.reset_sessions!
38
+ Capybara.use_default_driver
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,5 @@
1
+ module Mecha
2
+ VERSION = '0.2.0'.freeze
3
+ RUBY_VERSION = '>= 2.4'.freeze
4
+ RAILS_VERSION = '~> 5.0.0'.freeze
5
+ end
@@ -0,0 +1,34 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'mecha/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'mecha'
8
+ spec.version = Mecha::VERSION
9
+ spec.authors = ['Magrathea Labs']
10
+ spec.email = ['contact@magrathealabs.com']
11
+
12
+ spec.summary = 'Generate a Rails app using MLabs defaults.'
13
+ spec.description = 'Mecha is used by MLabs to bootstrap working apps with our defaults.'
14
+ spec.homepage = 'https://github.com/magrathealabs/mecha'
15
+ spec.license = 'MIT'
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
21
+
22
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ spec.bindir = 'exe'
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ['lib']
26
+
27
+ spec.required_ruby_version = Mecha::RUBY_VERSION
28
+
29
+ spec.add_dependency 'rails', Mecha::RAILS_VERSION
30
+
31
+ spec.add_development_dependency 'bundler', '~> 1.14'
32
+ spec.add_development_dependency 'rake', '~> 12.0'
33
+ spec.add_development_dependency 'minitest', '~> 5.0'
34
+ end
metadata ADDED
@@ -0,0 +1,124 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mecha
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Magrathea Labs
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-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: 5.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 5.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.14'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.14'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '12.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '5.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '5.0'
69
+ description: Mecha is used by MLabs to bootstrap working apps with our defaults.
70
+ email:
71
+ - contact@magrathealabs.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".rubocop.yml"
78
+ - ".ruby-version"
79
+ - ".travis.yml"
80
+ - CODE_OF_CONDUCT.md
81
+ - Gemfile
82
+ - LICENSE.txt
83
+ - README.md
84
+ - Rakefile
85
+ - bin/console
86
+ - bin/mecha
87
+ - bin/rake
88
+ - bin/setup
89
+ - lib/mecha.rb
90
+ - lib/mecha/app_builder.rb
91
+ - lib/mecha/generators/app_generator.rb
92
+ - lib/mecha/templates/Gemfile.erb
93
+ - lib/mecha/templates/Guardfile
94
+ - lib/mecha/templates/README.md.erb
95
+ - lib/mecha/templates/rubocop.yml
96
+ - lib/mecha/templates/test_helper.rb
97
+ - lib/mecha/version.rb
98
+ - mecha.gemspec
99
+ homepage: https://github.com/magrathealabs/mecha
100
+ licenses:
101
+ - MIT
102
+ metadata:
103
+ allowed_push_host: https://rubygems.org
104
+ post_install_message:
105
+ rdoc_options: []
106
+ require_paths:
107
+ - lib
108
+ required_ruby_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '2.4'
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ requirements: []
119
+ rubyforge_project:
120
+ rubygems_version: 2.6.10
121
+ signing_key:
122
+ specification_version: 4
123
+ summary: Generate a Rails app using MLabs defaults.
124
+ test_files: []