simple_form_materialize 1.0.0.rc1
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 +7 -0
- data/.codeclimate.yml +18 -0
- data/.gitignore +55 -0
- data/.rubocop.yml +862 -0
- data/.ruby-version +1 -0
- data/.yardopts +1 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +147 -0
- data/LICENSE.txt +21 -0
- data/README.md +33 -0
- data/Rakefile +31 -0
- data/bin/console +7 -0
- data/bin/setup +6 -0
- data/circle.yml +21 -0
- data/lib/generators/simple_form_materialize/install_generator.rb +17 -0
- data/lib/generators/templates/assets/javascripts/init_form_materialize.coffee +16 -0
- data/lib/generators/templates/config/initializers/simple_form_components.rb +18 -0
- data/lib/generators/templates/config/initializers/simple_form_materialize.rb +244 -0
- data/lib/simple_form_materialize/version.rb +4 -0
- data/lib/simple_form_materialize.rb +5 -0
- data/simple_form_materialize.gemspec +28 -0
- data/test/lib/install_generator_test.rb +19 -0
- data/test/rails_app/Rakefile +8 -0
- data/test/rails_app/app/controllers/application_controller.rb +7 -0
- data/test/rails_app/app/controllers/home_controller.rb +5 -0
- data/test/rails_app/app/helpers/application_helper.rb +4 -0
- data/test/rails_app/app/views/home/index.html.erb +1 -0
- data/test/rails_app/app/views/layouts/application.html.erb +13 -0
- data/test/rails_app/bin/bundle +4 -0
- data/test/rails_app/bin/rails +5 -0
- data/test/rails_app/bin/rake +5 -0
- data/test/rails_app/config/application.rb +13 -0
- data/test/rails_app/config/boot.rb +15 -0
- data/test/rails_app/config/database.yml +18 -0
- data/test/rails_app/config/environment.rb +6 -0
- data/test/rails_app/config/environments/development.rb +31 -0
- data/test/rails_app/config/environments/production.rb +87 -0
- data/test/rails_app/config/environments/test.rb +46 -0
- data/test/rails_app/config/initializers/backtrace_silencers.rb +8 -0
- data/test/rails_app/config/initializers/inflections.rb +3 -0
- data/test/rails_app/config/initializers/secret_token.rb +4 -0
- data/test/rails_app/config/initializers/session_store.rb +2 -0
- data/test/rails_app/config/routes.rb +4 -0
- data/test/rails_app/config.ru +5 -0
- data/test/rails_app/public/404.html +26 -0
- data/test/rails_app/public/422.html +26 -0
- data/test/rails_app/public/500.html +26 -0
- data/test/rails_app/public/favicon.ico +0 -0
- data/test/simple_form_materialize_test.rb +5 -0
- data/test/test_helper.rb +31 -0
- metadata +143 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'simple_form_materialize/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "simple_form_materialize"
|
9
|
+
spec.version = SimpleFormMaterialize::VERSION
|
10
|
+
spec.platform = Gem::Platform::RUBY
|
11
|
+
spec.authors = ["Christopher Pezza"]
|
12
|
+
spec.email = ["pezza.chris@gmail.com"]
|
13
|
+
|
14
|
+
spec.summary = "Generator for Simple form config Materialized"
|
15
|
+
spec.description = "This Gem provides a generator for a Materialized " \
|
16
|
+
"simple_form config file"
|
17
|
+
spec.homepage = "https://github.com/techgurupezza/simple_form_materialize"
|
18
|
+
spec.license = "MIT"
|
19
|
+
|
20
|
+
spec.files = `git ls-files`.split("\n")
|
21
|
+
spec.test_files = `git ls-files -- test/*`.split("\n")
|
22
|
+
spec.require_paths = ["lib"]
|
23
|
+
|
24
|
+
spec.required_ruby_version = ">= 2.2.0"
|
25
|
+
spec.required_rubygems_version = "> 1.3.1"
|
26
|
+
|
27
|
+
spec.add_dependency "railties", ">= 4.1.0", "< 5.1"
|
28
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require "test_helper"
|
3
|
+
|
4
|
+
class InstallGeneratorTest < Rails::Generators::TestCase
|
5
|
+
tests SimpleFormMaterialize::InstallGenerator
|
6
|
+
destination File.expand_path("../../tmp", __FILE__)
|
7
|
+
setup :prepare_destination
|
8
|
+
|
9
|
+
test "assert files created" do
|
10
|
+
run_generator
|
11
|
+
assert_files
|
12
|
+
end
|
13
|
+
|
14
|
+
def assert_files
|
15
|
+
assert_file "app/assets/javascripts/init_form_materialize.coffee"
|
16
|
+
assert_file "config/initializers/simple_form_components.rb"
|
17
|
+
assert_file "config/initializers/simple_form_materialize.rb"
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
3
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be
|
4
|
+
# available to Rake.
|
5
|
+
|
6
|
+
require File.expand_path("../config/application", __FILE__)
|
7
|
+
|
8
|
+
Rails.application.load_tasks
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Filters added to this controller apply to all controllers in the application.
|
3
|
+
# Likewise, all the methods added will be available for all controllers.
|
4
|
+
|
5
|
+
class ApplicationController < ActionController::Base
|
6
|
+
protect_from_forgery
|
7
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
Home!
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<title>Devise Materialize Test App</title>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<div id="container">
|
9
|
+
|
10
|
+
<%= yield %>
|
11
|
+
</div>
|
12
|
+
</body>
|
13
|
+
</html>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require File.expand_path("../boot", __FILE__)
|
3
|
+
|
4
|
+
require "action_controller/railtie"
|
5
|
+
require "action_mailer/railtie"
|
6
|
+
require "rails/test_unit/railtie"
|
7
|
+
|
8
|
+
module RailsApp
|
9
|
+
class Application < Rails::Application
|
10
|
+
# Add additional load paths for your own custom dirs
|
11
|
+
config.autoload_paths.reject!{ |p| p =~ /\/app\/(\w+)$/ && !%w(controllers helpers mailers views).include?($1) }
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
unless defined?(DEVISE_ORM)
|
3
|
+
DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym
|
4
|
+
end
|
5
|
+
|
6
|
+
module Devise
|
7
|
+
# Detection for minor differences between Rails 4 and 5 in tests.
|
8
|
+
def self.rails5?
|
9
|
+
Rails.version.start_with? "5"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
# Set up gems listed in the Gemfile.
|
14
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../../../Gemfile", __FILE__)
|
15
|
+
require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3-ruby (not necessary on OS X Leopard)
|
3
|
+
development:
|
4
|
+
adapter: sqlite3
|
5
|
+
database: db/development.sqlite3
|
6
|
+
pool: 5
|
7
|
+
timeout: 5000
|
8
|
+
|
9
|
+
# Warning: The database defined as "test" will be erased and
|
10
|
+
# re-generated from your development database when you run "rake".
|
11
|
+
# Do not set this db to the same as development or production.
|
12
|
+
test:
|
13
|
+
adapter: sqlite3
|
14
|
+
database: ":memory:"
|
15
|
+
|
16
|
+
production:
|
17
|
+
adapter: sqlite3
|
18
|
+
database: ":memory:"
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
RailsApp::Application.configure do
|
3
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
4
|
+
|
5
|
+
# In the development environment your application's code is reloaded on
|
6
|
+
# every request. This slows down response time but is perfect for development
|
7
|
+
# since you don't have to restart the web server when you make code changes.
|
8
|
+
config.cache_classes = false
|
9
|
+
|
10
|
+
# Do not eager load code on boot.
|
11
|
+
config.eager_load = false
|
12
|
+
|
13
|
+
# Show full error reports and disable caching.
|
14
|
+
config.consider_all_requests_local = true
|
15
|
+
config.action_controller.perform_caching = false
|
16
|
+
|
17
|
+
# Don't care if the mailer can't send.
|
18
|
+
config.action_mailer.raise_delivery_errors = false
|
19
|
+
|
20
|
+
# Print deprecation notices to the Rails logger.
|
21
|
+
config.active_support.deprecation = :log
|
22
|
+
|
23
|
+
# Only use best-standards-support built into browsers.
|
24
|
+
config.action_dispatch.best_standards_support = :builtin
|
25
|
+
|
26
|
+
# Raise an error on page load if there are pending migrations
|
27
|
+
config.active_record.migration_error = :page_load
|
28
|
+
|
29
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
30
|
+
config.assets.debug = true
|
31
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
RailsApp::Application.configure do
|
3
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
4
|
+
|
5
|
+
# Code is not reloaded between requests.
|
6
|
+
config.cache_classes = true
|
7
|
+
|
8
|
+
# Eager load code on boot. This eager loads most of Rails and
|
9
|
+
# your application in memory, allowing both thread web servers
|
10
|
+
# and those relying on copy on write to perform better.
|
11
|
+
# Rake tasks automatically ignore this option for performance.
|
12
|
+
config.eager_load = true
|
13
|
+
|
14
|
+
# Full error reports are disabled and caching is turned on.
|
15
|
+
config.consider_all_requests_local = false
|
16
|
+
config.action_controller.perform_caching = true
|
17
|
+
|
18
|
+
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
19
|
+
# Add `rack-cache` to your Gemfile before enabling this.
|
20
|
+
# For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
|
21
|
+
# config.action_dispatch.rack_cache = true
|
22
|
+
|
23
|
+
# Disable Rails's static asset server (Apache or nginx will already do this).
|
24
|
+
if Rails.version >= "5.0.0"
|
25
|
+
config.public_file_server.enabled = false
|
26
|
+
elsif Rails.version >= "4.2.0"
|
27
|
+
config.serve_static_files = false
|
28
|
+
else
|
29
|
+
config.serve_static_assets = false
|
30
|
+
end
|
31
|
+
|
32
|
+
# Compress JavaScripts and CSS.
|
33
|
+
config.assets.js_compressor = :uglifier
|
34
|
+
# config.assets.css_compressor = :sass
|
35
|
+
|
36
|
+
# Whether to fallback to assets pipeline if a precompiled asset is missed.
|
37
|
+
config.assets.compile = false
|
38
|
+
|
39
|
+
# Generate digests for assets URLs.
|
40
|
+
config.assets.digest = true
|
41
|
+
|
42
|
+
# Version of your assets, change this if you want to expire all your assets.
|
43
|
+
config.assets.version = "1.0"
|
44
|
+
|
45
|
+
# Specifies the header that your server uses for sending files.
|
46
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
47
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
48
|
+
|
49
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
50
|
+
# config.force_ssl = true
|
51
|
+
|
52
|
+
# Set to :debug to see everything in the log.
|
53
|
+
config.log_level = :info
|
54
|
+
|
55
|
+
# Prepend all log lines with the following tags.
|
56
|
+
# config.log_tags = [:subdomain, :uuid]
|
57
|
+
|
58
|
+
# Use a different logger for distributed setups.
|
59
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
60
|
+
|
61
|
+
# Use a different cache store in production.
|
62
|
+
# config.cache_store = :mem_cache_store
|
63
|
+
|
64
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
65
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
66
|
+
|
67
|
+
# Precompile additional assets.
|
68
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
69
|
+
# config.assets.precompile += %w( search.js )
|
70
|
+
|
71
|
+
# Ignore bad email addresses and do not raise email delivery errors.
|
72
|
+
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
73
|
+
# config.action_mailer.raise_delivery_errors = false
|
74
|
+
|
75
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
76
|
+
# the I18n.default_locale when a translation can not be found).
|
77
|
+
config.i18n.fallbacks = true
|
78
|
+
|
79
|
+
# Send deprecation notices to registered listeners.
|
80
|
+
config.active_support.deprecation = :notify
|
81
|
+
|
82
|
+
# Disable automatic flushing of the log to improve performance.
|
83
|
+
# config.autoflush_log = false
|
84
|
+
|
85
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
86
|
+
config.log_formatter = ::Logger::Formatter.new
|
87
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
RailsApp::Application.configure do
|
3
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
4
|
+
|
5
|
+
# The test environment is used exclusively to run your application's
|
6
|
+
# test suite. You never need to work with it otherwise. Remember that
|
7
|
+
# your test database is "scratch space" for the test suite and is wiped
|
8
|
+
# and recreated between test runs. Don't rely on the data there!
|
9
|
+
config.cache_classes = true
|
10
|
+
|
11
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
12
|
+
# just for the purpose of running a single test. If you are using a tool that
|
13
|
+
# preloads Rails for running tests, you may have to set it to true.
|
14
|
+
config.eager_load = false
|
15
|
+
|
16
|
+
# Disable serving static files from the `/public` folder by default since
|
17
|
+
# Apache or NGINX already handles this.
|
18
|
+
if Rails.version >= "5.0.0"
|
19
|
+
config.public_file_server.enabled = true
|
20
|
+
config.public_file_server.headers = {"Cache-Control" => "public, max-age=3600"}
|
21
|
+
elsif Rails.version >= "4.2.0"
|
22
|
+
config.serve_static_files = true
|
23
|
+
config.static_cache_control = "public, max-age=3600"
|
24
|
+
else
|
25
|
+
config.serve_static_assets = true
|
26
|
+
config.static_cache_control = "public, max-age=3600"
|
27
|
+
end
|
28
|
+
|
29
|
+
# Show full error reports and disable caching.
|
30
|
+
config.consider_all_requests_local = true
|
31
|
+
config.action_controller.perform_caching = false
|
32
|
+
|
33
|
+
# Raise exceptions instead of rendering exception templates.
|
34
|
+
config.action_dispatch.show_exceptions = false
|
35
|
+
|
36
|
+
# Disable request forgery protection in test environment.
|
37
|
+
config.action_controller.allow_forgery_protection = false
|
38
|
+
|
39
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
40
|
+
# The :test delivery method accumulates sent emails in the
|
41
|
+
# ActionMailer::Base.deliveries array.
|
42
|
+
config.action_mailer.delivery_method = :test
|
43
|
+
|
44
|
+
# Print deprecation notices to the stderr.
|
45
|
+
config.active_support.deprecation = :stderr
|
46
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Be sure to restart your server when you modify this file.
|
3
|
+
|
4
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
5
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
6
|
+
|
7
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
8
|
+
Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
|
4
|
+
|
5
|
+
require "simplecov"
|
6
|
+
require "simple_form_materialize"
|
7
|
+
require "rails_app/config/environment"
|
8
|
+
require "rails/test_help"
|
9
|
+
require "minitest"
|
10
|
+
require "minitest/spec"
|
11
|
+
require "minitest/pride"
|
12
|
+
require "minitest/autorun"
|
13
|
+
require "minitest/ci"
|
14
|
+
|
15
|
+
if ENV["CIRCLE_TEST_REPORTS"].present?
|
16
|
+
Minitest::Ci.report_dir = "#{ENV['CIRCLE_TEST_REPORTS']}/reports"
|
17
|
+
end
|
18
|
+
|
19
|
+
SimpleCov.formatters = [
|
20
|
+
SimpleCov::Formatter::HTMLFormatter
|
21
|
+
]
|
22
|
+
|
23
|
+
SimpleCov.start do
|
24
|
+
add_filter "/test/"
|
25
|
+
|
26
|
+
add_group "Library", "lib"
|
27
|
+
end
|
28
|
+
|
29
|
+
# For generators
|
30
|
+
require "rails/generators/test_case"
|
31
|
+
require "generators/simple_form_materialize/install_generator"
|
metadata
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: simple_form_materialize
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.rc1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Christopher Pezza
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-02-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: railties
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.1.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.1'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 4.1.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5.1'
|
33
|
+
description: This Gem provides a generator for a Materialized simple_form config file
|
34
|
+
email:
|
35
|
+
- pezza.chris@gmail.com
|
36
|
+
executables: []
|
37
|
+
extensions: []
|
38
|
+
extra_rdoc_files: []
|
39
|
+
files:
|
40
|
+
- ".codeclimate.yml"
|
41
|
+
- ".gitignore"
|
42
|
+
- ".rubocop.yml"
|
43
|
+
- ".ruby-version"
|
44
|
+
- ".yardopts"
|
45
|
+
- CODE_OF_CONDUCT.md
|
46
|
+
- Gemfile
|
47
|
+
- Gemfile.lock
|
48
|
+
- LICENSE.txt
|
49
|
+
- README.md
|
50
|
+
- Rakefile
|
51
|
+
- bin/console
|
52
|
+
- bin/setup
|
53
|
+
- circle.yml
|
54
|
+
- lib/generators/simple_form_materialize/install_generator.rb
|
55
|
+
- lib/generators/templates/assets/javascripts/init_form_materialize.coffee
|
56
|
+
- lib/generators/templates/config/initializers/simple_form_components.rb
|
57
|
+
- lib/generators/templates/config/initializers/simple_form_materialize.rb
|
58
|
+
- lib/simple_form_materialize.rb
|
59
|
+
- lib/simple_form_materialize/version.rb
|
60
|
+
- simple_form_materialize.gemspec
|
61
|
+
- test/lib/install_generator_test.rb
|
62
|
+
- test/rails_app/Rakefile
|
63
|
+
- test/rails_app/app/controllers/application_controller.rb
|
64
|
+
- test/rails_app/app/controllers/home_controller.rb
|
65
|
+
- test/rails_app/app/helpers/application_helper.rb
|
66
|
+
- test/rails_app/app/views/home/index.html.erb
|
67
|
+
- test/rails_app/app/views/layouts/application.html.erb
|
68
|
+
- test/rails_app/bin/bundle
|
69
|
+
- test/rails_app/bin/rails
|
70
|
+
- test/rails_app/bin/rake
|
71
|
+
- test/rails_app/config.ru
|
72
|
+
- test/rails_app/config/application.rb
|
73
|
+
- test/rails_app/config/boot.rb
|
74
|
+
- test/rails_app/config/database.yml
|
75
|
+
- test/rails_app/config/environment.rb
|
76
|
+
- test/rails_app/config/environments/development.rb
|
77
|
+
- test/rails_app/config/environments/production.rb
|
78
|
+
- test/rails_app/config/environments/test.rb
|
79
|
+
- test/rails_app/config/initializers/backtrace_silencers.rb
|
80
|
+
- test/rails_app/config/initializers/inflections.rb
|
81
|
+
- test/rails_app/config/initializers/secret_token.rb
|
82
|
+
- test/rails_app/config/initializers/session_store.rb
|
83
|
+
- test/rails_app/config/routes.rb
|
84
|
+
- test/rails_app/public/404.html
|
85
|
+
- test/rails_app/public/422.html
|
86
|
+
- test/rails_app/public/500.html
|
87
|
+
- test/rails_app/public/favicon.ico
|
88
|
+
- test/simple_form_materialize_test.rb
|
89
|
+
- test/test_helper.rb
|
90
|
+
homepage: https://github.com/techgurupezza/simple_form_materialize
|
91
|
+
licenses:
|
92
|
+
- MIT
|
93
|
+
metadata: {}
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 2.2.0
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 1.3.1
|
108
|
+
requirements: []
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 2.6.8
|
111
|
+
signing_key:
|
112
|
+
specification_version: 4
|
113
|
+
summary: Generator for Simple form config Materialized
|
114
|
+
test_files:
|
115
|
+
- test/lib/install_generator_test.rb
|
116
|
+
- test/rails_app/Rakefile
|
117
|
+
- test/rails_app/app/controllers/application_controller.rb
|
118
|
+
- test/rails_app/app/controllers/home_controller.rb
|
119
|
+
- test/rails_app/app/helpers/application_helper.rb
|
120
|
+
- test/rails_app/app/views/home/index.html.erb
|
121
|
+
- test/rails_app/app/views/layouts/application.html.erb
|
122
|
+
- test/rails_app/bin/bundle
|
123
|
+
- test/rails_app/bin/rails
|
124
|
+
- test/rails_app/bin/rake
|
125
|
+
- test/rails_app/config.ru
|
126
|
+
- test/rails_app/config/application.rb
|
127
|
+
- test/rails_app/config/boot.rb
|
128
|
+
- test/rails_app/config/database.yml
|
129
|
+
- test/rails_app/config/environment.rb
|
130
|
+
- test/rails_app/config/environments/development.rb
|
131
|
+
- test/rails_app/config/environments/production.rb
|
132
|
+
- test/rails_app/config/environments/test.rb
|
133
|
+
- test/rails_app/config/initializers/backtrace_silencers.rb
|
134
|
+
- test/rails_app/config/initializers/inflections.rb
|
135
|
+
- test/rails_app/config/initializers/secret_token.rb
|
136
|
+
- test/rails_app/config/initializers/session_store.rb
|
137
|
+
- test/rails_app/config/routes.rb
|
138
|
+
- test/rails_app/public/404.html
|
139
|
+
- test/rails_app/public/422.html
|
140
|
+
- test/rails_app/public/500.html
|
141
|
+
- test/rails_app/public/favicon.ico
|
142
|
+
- test/simple_form_materialize_test.rb
|
143
|
+
- test/test_helper.rb
|