simple_form-tailwind 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 12a54274132919e7a3fa0c0a74f1f14b7520d9e0fc0989f7c4066169f4df2a16
4
+ data.tar.gz: 92b9f94e5b1577516f37073d65a1bff020f6affdf062663362635abc0cd6fd3f
5
+ SHA512:
6
+ metadata.gz: fa10b92533e95fb4bf5af42464d32a3a98bff4285fe738af71779f30b269c1ec14817cfa50f95aaa02dfc62e7a7cbc93b2323900a1f1fb97543dfb502015ddef
7
+ data.tar.gz: 12d096422b27b50390a416d5c5e6bcd13ca52c685d57c2546304e4c0da63f3242131ed43db92792641957af6cb9a5adeabc27123e423c9b2e43d112adec7a36f
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.gem
@@ -0,0 +1,11 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+
9
+ ## [0.0.1] - 2020-11-29
10
+
11
+ * Initia Commit
@@ -0,0 +1,22 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
6
+
7
+ Examples of unacceptable behavior by participants include:
8
+
9
+ * The use of sexualized language or imagery
10
+ * Personal attacks
11
+ * Trolling or insulting/derogatory comments
12
+ * Public or private harassment
13
+ * Publishing other's private information, such as physical or electronic addresses, without explicit permission
14
+ * Other unethical or unprofessional conduct.
15
+
16
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.
17
+
18
+ This code of conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
19
+
20
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
21
+
22
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0, available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in simple_form-tailwind.gemspec
4
+ gemspec
5
+
6
+ gem 'rake', '~> 12.0'
7
+ gem 'minitest', '~> 5.0'
@@ -0,0 +1,80 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ simple_form-tailwind (0.1.0)
5
+ railties (>= 4.0, <= 7)
6
+ simple_form (>= 5.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (6.0.3.4)
12
+ actionview (= 6.0.3.4)
13
+ activesupport (= 6.0.3.4)
14
+ rack (~> 2.0, >= 2.0.8)
15
+ rack-test (>= 0.6.3)
16
+ rails-dom-testing (~> 2.0)
17
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
+ actionview (6.0.3.4)
19
+ activesupport (= 6.0.3.4)
20
+ builder (~> 3.1)
21
+ erubi (~> 1.4)
22
+ rails-dom-testing (~> 2.0)
23
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
+ activemodel (6.0.3.4)
25
+ activesupport (= 6.0.3.4)
26
+ activesupport (6.0.3.4)
27
+ concurrent-ruby (~> 1.0, >= 1.0.2)
28
+ i18n (>= 0.7, < 2)
29
+ minitest (~> 5.1)
30
+ tzinfo (~> 1.1)
31
+ zeitwerk (~> 2.2, >= 2.2.2)
32
+ builder (3.2.4)
33
+ concurrent-ruby (1.1.7)
34
+ crass (1.0.6)
35
+ erubi (1.10.0)
36
+ i18n (1.8.5)
37
+ concurrent-ruby (~> 1.0)
38
+ loofah (2.8.0)
39
+ crass (~> 1.0.2)
40
+ nokogiri (>= 1.5.9)
41
+ method_source (1.0.0)
42
+ mini_portile2 (2.4.0)
43
+ minitest (5.14.2)
44
+ nokogiri (1.10.10)
45
+ mini_portile2 (~> 2.4.0)
46
+ rack (2.2.3)
47
+ rack-test (1.1.0)
48
+ rack (>= 1.0, < 3)
49
+ rails-dom-testing (2.0.3)
50
+ activesupport (>= 4.2.0)
51
+ nokogiri (>= 1.6)
52
+ rails-html-sanitizer (1.3.0)
53
+ loofah (~> 2.3)
54
+ railties (6.0.3.4)
55
+ actionpack (= 6.0.3.4)
56
+ activesupport (= 6.0.3.4)
57
+ method_source
58
+ rake (>= 0.8.7)
59
+ thor (>= 0.20.3, < 2.0)
60
+ rake (12.3.3)
61
+ simple_form (5.0.3)
62
+ actionpack (>= 5.0)
63
+ activemodel (>= 5.0)
64
+ thor (1.0.1)
65
+ thread_safe (0.3.6)
66
+ tzinfo (1.2.8)
67
+ thread_safe (~> 0.1)
68
+ zeitwerk (2.4.2)
69
+
70
+ PLATFORMS
71
+ ruby
72
+
73
+ DEPENDENCIES
74
+ bundler (>= 1.17, <= 3)
75
+ minitest (~> 5.0)
76
+ rake (~> 12.0)
77
+ simple_form-tailwind!
78
+
79
+ BUNDLED WITH
80
+ 2.1.4
data/LICENSE ADDED
@@ -0,0 +1,7 @@
1
+ Copyright (c) 2020 Brandon Hicks
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Brandon Hicks
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,37 @@
1
+ # SimpleForm::Tailwind
2
+
3
+ Used to add a base [simple_form](https://github.com/heartcombo/simple_form) config with basic tailwind classes added to the form attributes.
4
+
5
+ **NOTE:** This simple_form config is best used with tailwindCSS `v2.0`
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'simple_form-tailwind'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install simple_form-tailwind
22
+
23
+ ## Usage
24
+
25
+ To use this simple_form config you need to ensure your application is using simple_form to generate it's forms.
26
+ Run the generator to add the following file to your application `config/initializers/simple_form_tailwind.rb`
27
+
28
+ $ rails g simple_form:tailwind:install
29
+
30
+ ## Contributing
31
+
32
+ Bug reports and pull requests are welcome on GitHub at https://github.com/tarellel/simple_form-tailwind.
33
+
34
+
35
+ ## License
36
+
37
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -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 "simple_form/tailwind"
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 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,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rails/generators'
4
+
5
+ module SimpleForm
6
+ module Tailwind
7
+ class InstallGenerator < ::Rails::Generators::Base
8
+ desc 'Generate a SimpleForm config for tailwind based forms'
9
+ source_root File.expand_path('templates', __dir__)
10
+
11
+ def copy_initialzier
12
+ copy_file('simple_form.rb', 'config/initializers/simple_form_tailwind.rb', force: true)
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,139 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Use this setup block to configure all options available in SimpleForm.
4
+ SimpleForm.setup do |config|
5
+ # Default class for buttons
6
+ config.button_class = 'my-2 bg-blue-500 hover:bg-blue-700 text-white font-bold text-sm py-2 px-4 rounded'
7
+
8
+ # Define the default class of the input wrapper of the boolean input.
9
+ config.boolean_label_class = ''
10
+
11
+ # How the label text should be generated altogether with the required text.
12
+ config.label_text = lambda { |label, required, explicit_label| "#{label} #{required}" }
13
+
14
+ # Define the way to render check boxes / radio buttons with labels.
15
+ config.boolean_style = :inline
16
+
17
+ # You can wrap each item in a collection of radio/check boxes with a tag
18
+ config.item_wrapper_tag = :div
19
+
20
+ # Defines if the default input wrapper class should be included in radio
21
+ # collection wrappers.
22
+ config.include_default_input_wrapper_class = false
23
+
24
+ # CSS class to add for error notification helper.
25
+ config.error_notification_class = 'text-white px-6 py-4 border-0 rounded relative mb-4 bg-red-400'
26
+
27
+ # Method used to tidy up errors. Specify any Rails Array method.
28
+ # :first lists the first message for each field.
29
+ # :to_sentence to list all errors for each field.
30
+ config.error_method = :to_sentence
31
+
32
+ # add validation classes to `input_field`
33
+ config.input_field_error_class = 'border-red-500'
34
+ config.input_field_valid_class = 'border-green-400'
35
+ config.label_class = 'text-sm font-medium text-gray-600'
36
+
37
+
38
+ # vertical forms
39
+ #
40
+ # vertical default_wrapper
41
+ config.wrappers :vertical_form, tag: 'div', class: 'mb-4' do |b|
42
+ b.use :html5
43
+ b.use :placeholder
44
+ b.optional :maxlength
45
+ b.optional :minlength
46
+ b.optional :pattern
47
+ b.optional :min_max
48
+ b.optional :readonly
49
+ b.use :label, class: 'block', error_class: 'text-red-500'
50
+ b.use :input, class: 'shadow appearance-none border border-gray-300 rounded w-full py-2 px-3 bg-white focus:outline-none focus:ring-0 focus:border-blue-500 text-gray-400 leading-6 transition-colors duration-200 ease-in-out', error_class: 'border-red-500', valid_class: 'border-green-400'
51
+ b.use :full_error, wrap_with: { tag: 'p', class: 'mt-2 text-red-500 text-xs italic' }
52
+ b.use :hint, wrap_with: { tag: 'p', class: 'mt-2 text-grey-700 text-xs italic' }
53
+ end
54
+
55
+ # vertical input for boolean (aka checkboxes)
56
+ config.wrappers :vertical_boolean, tag: 'div', class: 'mb-4 flex items-start', error_class: '' do |b|
57
+ b.use :html5
58
+ b.optional :readonly
59
+ b.wrapper tag: 'div', class: 'flex items-center h-5' do |ba|
60
+ ba.use :input, class: 'focus:ring-2 focus:ring-indigo-500:focus ring-offset-2 h-4 w-4 text-indigo-600 border-gray-300 rounded'
61
+ end
62
+ b.wrapper tag: 'div', class: 'ml-3 text-sm' do |bb|
63
+ bb.use :label, class: 'block', error_class: 'text-red-500'
64
+ bb.use :hint, wrap_with: { tag: 'p', class: 'block text-grey-700 text-xs italic' }
65
+ bb.use :full_error, wrap_with: { tag: 'p', class: 'block text-red-500 text-xs italic' }
66
+ end
67
+
68
+ end
69
+
70
+ # vertical input for radio buttons and check boxes
71
+ config.wrappers :vertical_collection, item_wrapper_class: 'flex items-center', item_label_class: 'my-1 ml-3 block text-sm font-medium text-gray-400', tag: 'div', class: 'my-4' do |b|
72
+ b.use :html5
73
+ b.optional :readonly
74
+ b.wrapper :legend_tag, tag: 'legend', class: 'text-sm font-medium text-gray-600', error_class: 'text-red-500' do |ba|
75
+ ba.use :label_text
76
+ end
77
+ b.use :input, class: 'focus:ring-2 focus:ring-indigo-500 ring-offset-2 h-4 w-4 text-indigo-600 border-gray-300 rounded', error_class: 'text-red-500', valid_class: 'text-green-400'
78
+ b.use :full_error, wrap_with: { tag: 'p', class: 'block mt-2 text-red-500 text-xs italic' }
79
+ b.use :hint, wrap_with: { tag: 'p', class: 'mt-2 text-grey-700 text-xs italic' }
80
+ end
81
+
82
+ # vertical file input
83
+ config.wrappers :vertical_file, tag: 'div', class: '' do |b|
84
+ b.use :html5
85
+ b.use :placeholder
86
+ b.optional :maxlength
87
+ b.optional :minlength
88
+ b.optional :readonly
89
+ b.use :label, class: 'text-sm font-medium text-gray-600 block', error_class: 'text-red-500'
90
+ b.use :input, class: 'w-full text-gray-500 px-3 py-2 border rounded', error_class: 'text-red-500 border-red-500', valid_class: 'text-green-400'
91
+ b.use :full_error, wrap_with: { tag: 'p', class: 'mt-2 text-red-500 text-xs italic' }
92
+ b.use :hint, wrap_with: { tag: 'p', class: 'mt-2 text-grey-700 text-xs italic' }
93
+ end
94
+
95
+ # vertical multi select
96
+ config.wrappers :vertical_multi_select, tag: 'div', class: 'my-4', error_class: 'f', valid_class: '' do |b|
97
+ b.use :html5
98
+ b.optional :readonly
99
+ b.wrapper :legend_tag, tag: 'legend', class: 'text-sm font-medium text-gray-600', error_class: 'text-red-500' do |ba|
100
+ ba.use :label_text
101
+ end
102
+ b.wrapper tag: 'div', class: 'inline-flex space-x-1' do |ba|
103
+ # ba.use :input, class: 'flex w-auto w-auto text-gray-500 text-sm border-gray-300 rounded p-2', error_class: 'text-red-500', valid_class: 'text-green-400'
104
+ ba.use :input, class: 'flex w-auto w-auto shadow appearance-none border border-gray-300 rounded w-full p-2 bg-white focus:outline-none focus:border-blue-500 text-gray-400 leading-4 transition-colors duration-200 ease-in-out'
105
+ end
106
+ b.use :full_error, wrap_with: { tag: 'p', class: 'mt-2 text-red-500 text-xs italic' }
107
+ b.use :hint, wrap_with: { tag: 'p', class: 'mt-2 text-grey-700 text-xs italic' }
108
+ end
109
+
110
+ # vertical range input
111
+ config.wrappers :vertical_range, tag: 'div', class: 'my-4', error_class: 'text-red-500', valid_class: 'text-green-400' do |b|
112
+ b.use :html5
113
+ b.use :placeholder
114
+ b.optional :readonly
115
+ b.optional :step
116
+ b.use :label, class: 'text-sm font-medium text-gray-600 block', error_class: 'text-red-500'
117
+ b.wrapper tag: 'div', class: 'flex items-center h-5' do |ba|
118
+ ba.use :input, class: 'rounded-lg overflow-hidden appearance-none bg-gray-400 h-3 w-full text-gray-300', error_class: 'text-red-500', valid_class: 'text-green-400'
119
+ end
120
+ b.use :full_error, wrap_with: { tag: 'p', class: 'mt-2 text-red-500 text-xs italic' }
121
+ b.use :hint, wrap_with: { tag: 'p', class: 'mt-2 text-grey-700 text-xs italic' }
122
+ end
123
+
124
+ # The default wrapper to be used by the FormBuilder.
125
+ config.default_wrapper = :vertical_form
126
+
127
+ # Custom wrappers for input types. This should be a hash containing an input
128
+ # type as key and the wrapper that will be used for all inputs with specified type.
129
+ config.wrapper_mappings = {
130
+ boolean: :vertical_boolean,
131
+ check_boxes: :vertical_collection,
132
+ date: :vertical_multi_select,
133
+ datetime: :vertical_multi_select,
134
+ file: :vertical_file,
135
+ radio_buttons: :vertical_collection,
136
+ range: :vertical_range,
137
+ time: :vertical_multi_select
138
+ }
139
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'simple_form/tailwind/version'
4
+
5
+ module SimpleForm
6
+ module Tailwind
7
+ class Error < StandardError; end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SimpleForm
4
+ module Tailwind
5
+ MIN_RAILS_VERSION = '4.0'
6
+ MIN_SIMPLEFORM_VERSION = '5.0'
7
+ VERSION = '0.1.0'
8
+ end
9
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/simple_form/tailwind/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'simple_form-tailwind'
7
+ spec.version = SimpleForm::Tailwind::VERSION
8
+ spec.authors = ['Brandon Hicks']
9
+ spec.email = ['tarellel@gmail.com']
10
+
11
+ spec.summary = 'A basic rails generator for adding a simpleform config setup for tailwindCSS based forms'
12
+ spec.description = 'A generator to add a simple_form config setup for tailwindCSS based forms'
13
+ spec.homepage = 'https://github.com/tarellel/simple_form-tailwind'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
16
+
17
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
18
+
19
+ spec.metadata['homepage_uri'] = spec.homepage
20
+ spec.metadata = {
21
+ 'bug_tracker_uri' => 'https://github.com/tarellel/simple_form-tailwind/issues',
22
+ 'changelog_uri' => 'https://github.com/tarellel/simple_form-tailwind/blob/master/CHANGELOG.md',
23
+ 'source_code_uri' => 'https://github.com/tarellel/simple_form-tailwind'
24
+ }
25
+
26
+ # Specify which files should be added to the gem when it is released.
27
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
28
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
29
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
30
+ end
31
+ spec.bindir = 'exe'
32
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
+ spec.require_paths = ['lib']
34
+
35
+ spec.add_runtime_dependency 'railties', ">= #{SimpleForm::Tailwind::MIN_RAILS_VERSION}", '<= 7'
36
+ spec.add_dependency 'simple_form', ">= #{SimpleForm::Tailwind::MIN_SIMPLEFORM_VERSION}"
37
+ spec.add_development_dependency 'bundler', '>= 1.17', '<= 3'
38
+ spec.add_development_dependency 'rake', '>= 7.0', '<= 20.0'
39
+ end
metadata ADDED
@@ -0,0 +1,137 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simple_form-tailwind
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Brandon Hicks
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-11-30 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.0'
20
+ - - "<="
21
+ - !ruby/object:Gem::Version
22
+ version: '7'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4.0'
30
+ - - "<="
31
+ - !ruby/object:Gem::Version
32
+ version: '7'
33
+ - !ruby/object:Gem::Dependency
34
+ name: simple_form
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '5.0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '5.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '1.17'
54
+ - - "<="
55
+ - !ruby/object:Gem::Version
56
+ version: '3'
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '1.17'
64
+ - - "<="
65
+ - !ruby/object:Gem::Version
66
+ version: '3'
67
+ - !ruby/object:Gem::Dependency
68
+ name: rake
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '7.0'
74
+ - - "<="
75
+ - !ruby/object:Gem::Version
76
+ version: '20.0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '7.0'
84
+ - - "<="
85
+ - !ruby/object:Gem::Version
86
+ version: '20.0'
87
+ description: A generator to add a simple_form config setup for tailwindCSS based forms
88
+ email:
89
+ - tarellel@gmail.com
90
+ executables: []
91
+ extensions: []
92
+ extra_rdoc_files: []
93
+ files:
94
+ - ".gitignore"
95
+ - CHANGELOG.md
96
+ - CODE_OF_CONDUCT.md
97
+ - Gemfile
98
+ - Gemfile.lock
99
+ - LICENSE
100
+ - LICENSE.txt
101
+ - README.md
102
+ - Rakefile
103
+ - bin/console
104
+ - bin/setup
105
+ - lib/generators/simple_form/tailwind/install_generator.rb
106
+ - lib/generators/simple_form/tailwind/templates/simple_form.rb
107
+ - lib/simple_form/tailwind.rb
108
+ - lib/simple_form/tailwind/version.rb
109
+ - simple_form-tailwind.gemspec
110
+ homepage: https://github.com/tarellel/simple_form-tailwind
111
+ licenses:
112
+ - MIT
113
+ metadata:
114
+ bug_tracker_uri: https://github.com/tarellel/simple_form-tailwind/issues
115
+ changelog_uri: https://github.com/tarellel/simple_form-tailwind/blob/master/CHANGELOG.md
116
+ source_code_uri: https://github.com/tarellel/simple_form-tailwind
117
+ post_install_message:
118
+ rdoc_options: []
119
+ require_paths:
120
+ - lib
121
+ required_ruby_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: 2.3.0
126
+ required_rubygems_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ requirements: []
132
+ rubygems_version: 3.1.4
133
+ signing_key:
134
+ specification_version: 4
135
+ summary: A basic rails generator for adding a simpleform config setup for tailwindCSS
136
+ based forms
137
+ test_files: []