tailwind_views_generator 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.fasterer.yml +23 -0
- data/.gitignore +11 -0
- data/.rubocop.yml +34 -0
- data/.simplecov +9 -0
- data/.tool-versions +1 -0
- data/.yardopts +12 -0
- data/CHANGELOG.md +10 -0
- data/CODE_OF_CONDUCT.md +22 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +98 -0
- data/LICENSE.txt +21 -0
- data/README.md +121 -0
- data/Rakefile +16 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/generators/tailwind_views/devise_generator.rb +52 -0
- data/lib/generators/tailwind_views/install_generator.rb +134 -0
- data/lib/tailwind_views_generator.rb +10 -0
- data/lib/tailwind_views_generator/helpers.rb +15 -0
- data/lib/tailwind_views_generator/version.rb +6 -0
- data/lib/templates/.DS_Store +0 -0
- data/lib/templates/devise/.DS_Store +0 -0
- data/lib/templates/devise/erb/confirmations/new.html.erb.tt +25 -0
- data/lib/templates/devise/erb/mailer/confirmation_instructions.html.erb +5 -0
- data/lib/templates/devise/erb/mailer/email_changed.html.erb +7 -0
- data/lib/templates/devise/erb/mailer/password_change.html.erb +3 -0
- data/lib/templates/devise/erb/mailer/reset_password_instructions.html.erb +8 -0
- data/lib/templates/devise/erb/mailer/unlock_instructions.html.erb +7 -0
- data/lib/templates/devise/erb/passwords/edit.html.erb.tt +33 -0
- data/lib/templates/devise/erb/passwords/new.html.erb.tt +23 -0
- data/lib/templates/devise/erb/registrations/edit.html.erb.tt +53 -0
- data/lib/templates/devise/erb/registrations/new.html.erb.tt +37 -0
- data/lib/templates/devise/erb/sessions/new.html.erb.tt +36 -0
- data/lib/templates/devise/erb/shared/_error_messages.html.erb +15 -0
- data/lib/templates/devise/erb/shared/_links.html.erb +28 -0
- data/lib/templates/devise/erb/unlocks/new.html.erb.tt +24 -0
- data/lib/templates/devise/haml/confirmations/new.html.haml.tt +15 -0
- data/lib/templates/devise/haml/mailer/confirmation_instructions.html.haml +3 -0
- data/lib/templates/devise/haml/mailer/email_changed.html.haml +7 -0
- data/lib/templates/devise/haml/mailer/password_change.html.haml +2 -0
- data/lib/templates/devise/haml/mailer/reset_password_instructions.html.haml +5 -0
- data/lib/templates/devise/haml/mailer/unlock_instructions.html.haml +4 -0
- data/lib/templates/devise/haml/passwords/edit.html.haml.tt +23 -0
- data/lib/templates/devise/haml/passwords/new.html.haml.tt +15 -0
- data/lib/templates/devise/haml/registrations/edit.html.haml.tt +42 -0
- data/lib/templates/devise/haml/registrations/new.html.haml.tt +27 -0
- data/lib/templates/devise/haml/sessions/new.html.haml.tt +25 -0
- data/lib/templates/devise/haml/shared/_error_messages.html.haml +6 -0
- data/lib/templates/devise/haml/shared/_links.html.haml +20 -0
- data/lib/templates/devise/haml/unlocks/new.html.haml.tt +16 -0
- data/lib/templates/devise/simple_form/erb/confirmations/new.html.erb.tt +18 -0
- data/lib/templates/devise/simple_form/erb/passwords/edit.html.erb.tt +20 -0
- data/lib/templates/devise/simple_form/erb/passwords/new.html.erb.tt +17 -0
- data/lib/templates/devise/simple_form/erb/registrations/edit.html.erb.tt +27 -0
- data/lib/templates/devise/simple_form/erb/registrations/new.html.erb.tt +19 -0
- data/lib/templates/devise/simple_form/erb/sessions/new.html.erb.tt +18 -0
- data/lib/templates/devise/simple_form/erb/unlocks/new.html.erb.tt +17 -0
- data/lib/templates/devise/simple_form/haml/confirmations/new.html.haml.tt +13 -0
- data/lib/templates/devise/simple_form/haml/passwords/edit.html.haml.tt +15 -0
- data/lib/templates/devise/simple_form/haml/passwords/new.html.haml.tt +12 -0
- data/lib/templates/devise/simple_form/haml/registrations/edit.html.haml.tt +21 -0
- data/lib/templates/devise/simple_form/haml/registrations/new.html.haml.tt +14 -0
- data/lib/templates/devise/simple_form/haml/sessions/new.html.haml.tt +13 -0
- data/lib/templates/devise/simple_form/haml/unlocks/new.html.haml.tt +12 -0
- data/lib/templates/devise/simple_form/slim/confirmations/new.html.slim.tt +13 -0
- data/lib/templates/devise/simple_form/slim/passwords/edit.html.slim.tt +15 -0
- data/lib/templates/devise/simple_form/slim/passwords/new.html.slim.tt +12 -0
- data/lib/templates/devise/simple_form/slim/registrations/edit.html.slim.tt +21 -0
- data/lib/templates/devise/simple_form/slim/registrations/new.html.slim.tt +14 -0
- data/lib/templates/devise/simple_form/slim/sessions/new.html.slim.tt +13 -0
- data/lib/templates/devise/simple_form/slim/unlocks/new.html.slim.tt +12 -0
- data/lib/templates/devise/slim/confirmations/new.html.slim.tt +16 -0
- data/lib/templates/devise/slim/mailer/confirmation_instructions.html.slim +3 -0
- data/lib/templates/devise/slim/mailer/email_changed.html.slim +5 -0
- data/lib/templates/devise/slim/mailer/password_change.html.slim +2 -0
- data/lib/templates/devise/slim/mailer/reset_password_instructions.html.slim +5 -0
- data/lib/templates/devise/slim/mailer/unlock_instructions.html.slim +4 -0
- data/lib/templates/devise/slim/passwords/edit.html.slim.tt +24 -0
- data/lib/templates/devise/slim/passwords/new.html.slim.tt +16 -0
- data/lib/templates/devise/slim/registrations/edit.html.slim.tt +43 -0
- data/lib/templates/devise/slim/registrations/new.html.slim.tt +28 -0
- data/lib/templates/devise/slim/sessions/new.html.slim.tt +26 -0
- data/lib/templates/devise/slim/shared/_error_messages.html.slim +6 -0
- data/lib/templates/devise/slim/shared/_links.html.slim +20 -0
- data/lib/templates/devise/slim/unlocks/new.html.slim.tt +17 -0
- data/lib/templates/layouts/application.html.erb.tt +36 -0
- data/lib/templates/layouts/application.html.haml.tt +32 -0
- data/lib/templates/layouts/application.html.slim.tt +31 -0
- data/lib/templates/scaffolds/erb/_form.html.erb +22 -0
- data/lib/templates/scaffolds/erb/edit.html.erb.tt +13 -0
- data/lib/templates/scaffolds/erb/index.html.erb.tt +38 -0
- data/lib/templates/scaffolds/erb/new.html.erb.tt +14 -0
- data/lib/templates/scaffolds/erb/show.html.erb.tt +20 -0
- data/lib/templates/scaffolds/haml/_form.html.haml +17 -0
- data/lib/templates/scaffolds/haml/edit.html.haml.tt +13 -0
- data/lib/templates/scaffolds/haml/index.html.haml.tt +29 -0
- data/lib/templates/scaffolds/haml/new.html.haml.tt +10 -0
- data/lib/templates/scaffolds/haml/show.html.haml.tt +18 -0
- data/lib/templates/scaffolds/simple_form/_form.html.erb +9 -0
- data/lib/templates/scaffolds/simple_form/_form.html.haml +9 -0
- data/lib/templates/scaffolds/simple_form/_form.html.slim +9 -0
- data/lib/templates/scaffolds/slim/_form.html.slim +17 -0
- data/lib/templates/scaffolds/slim/edit.html.slim.tt +13 -0
- data/lib/templates/scaffolds/slim/index.html.slim.tt +29 -0
- data/lib/templates/scaffolds/slim/new.html.slim.tt +11 -0
- data/lib/templates/scaffolds/slim/show.html.slim.tt +18 -0
- data/lib/templates/shared/footer/_footer.html.erb.tt +5 -0
- data/lib/templates/shared/footer/_footer.html.haml.tt +3 -0
- data/lib/templates/shared/footer/_footer.html.slim.tt +3 -0
- data/lib/templates/shared/navigation/_navigation.html.erb.tt +32 -0
- data/lib/templates/shared/navigation/_navigation.html.haml.tt +23 -0
- data/lib/templates/shared/navigation/_navigation.html.slim.tt +23 -0
- data/lib/templates/shared/pagination/_pagination.html.erb +5 -0
- data/lib/templates/shared/pagination/_pagination.html.haml +3 -0
- data/lib/templates/shared/pagination/_pagination.html.slim +3 -0
- data/tailwind_views_generator.gemspec +38 -0
- metadata +223 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
.md:mx-auto.w-full.lg:w-1/2.overflow-hidden.mx-0
|
2
|
+
.shadow-md.rounded.px-8.pt-6.pb-8.mb-4.flex.flex-col.justify-center.bg-gray-50
|
3
|
+
h2.text-center.text-xl.text-black.mb-3
|
4
|
+
<%- if options[:metatags] %>
|
5
|
+
= title('New <%%= singular_table_name.titleize %>')
|
6
|
+
<%- else -%>
|
7
|
+
| New <%%= plural_table_name.titleize %>
|
8
|
+
<%- end -%>
|
9
|
+
|
10
|
+
= render 'form', <%%= singular_table_name %>: @<%%= singular_table_name %>
|
11
|
+
= link_to 'Back', <%%= index_helper %>_path
|
@@ -0,0 +1,18 @@
|
|
1
|
+
h1.text-xl.text-gray-600.mr-10
|
2
|
+
<%- if options[:metatags] %>
|
3
|
+
= title('<%%= singular_table_name.titleize %>')
|
4
|
+
<%- else -%>
|
5
|
+
| <%%= plural_table_name.titleize %>
|
6
|
+
<%- end -%>
|
7
|
+
|
8
|
+
div class="border border-gray-200 my-7 shadow overflow-hidden rounded-sm"
|
9
|
+
dl
|
10
|
+
<%%- attributes.reject(&:password_digest?).each do |attribute| -%>
|
11
|
+
div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-4 sm:gap-4 sm:px-6"
|
12
|
+
dt.text-sm.font-medium.text-gray-500 <%%= attribute.human_name %>
|
13
|
+
dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-3" = @<%%= singular_table_name %>.<%%= attribute.name %>
|
14
|
+
<%%- end -%>
|
15
|
+
|
16
|
+
= link_to 'Edit', edit_<%%= singular_table_name %>_path(@<%%= singular_table_name %>), class: 'hover:underline'
|
17
|
+
' |
|
18
|
+
= link_to 'Back', <%%= index_helper %>_path, class: 'hover:underline'
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<header class="w-full shadow bg-gray-50 text-base">
|
2
|
+
<nav aria-label="Main" class="flex items-center justify-between flex-wrap px-6 py-4" role="navigation">
|
3
|
+
<div class="flex items-center flex-no-shrink text-gray-700 mr-6">
|
4
|
+
<%%= link_to '<%= app_name %>', '/', class: 'font-semibold text-xl cursor-pointer hover:underline' %>
|
5
|
+
</div>
|
6
|
+
<div class="w-full block flex-grow lg:flex lg:items-center lg:w-auto">
|
7
|
+
<div class="lg:flex-grow">
|
8
|
+
<%%= link_to 'Home', '/', class: 'block mt-0 lg:inline-block text-gray-400 hover:text-gray-500 cursor-pointer mr-4' %>
|
9
|
+
<%%= link_to 'Features', '#', class: 'block mt-0 lg:inline-block text-gray-400 hover:text-gray-500 cursor-pointer mr-4' %>
|
10
|
+
<%%= link_to 'Pricing', '#', class: 'block mt-0 lg:inline-block text-gray-400 hover:text-gray-500 cursor-pointer mr-4' %>
|
11
|
+
<%%= link_to 'Disabled', '#', class: 'block mt-0 lg:inline-block text-gray-300 cursor-default mr-4' %>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
<div class="block lg:inline-block leading-none lg:pl-20 mt-3 lg:mt-0">
|
15
|
+
<%- if options[:devise] -%>
|
16
|
+
<%%- if user_signed_in? %>
|
17
|
+
<div class="flex items-center justify-between flex-wrap flex-grow flex-col lg:flex-row w-100">
|
18
|
+
<%%= link_to destroy_user_session_path, method: :delete, class: 'block lg:inline-block w-full lg:w-auto text-gray-400 hover:text-gray-500 py-2 lg:py-0' do %>
|
19
|
+
Logout <i class="fas fa-sign-out-alt mr-1 ml-2"></i>
|
20
|
+
<%% end %>
|
21
|
+
</div>
|
22
|
+
<%% else %>
|
23
|
+
<%%= link_to 'Login', new_user_session_path %>
|
24
|
+
<%% end %>
|
25
|
+
<%- else -%>
|
26
|
+
<div class="flex items-center justify-between flex-wrap flex-grow flex-col lg:flex-row w-100">
|
27
|
+
<%%= link_to 'Help', '#', class: 'block lg:inline-block lg:mr-10 w-full lg:w-auto text-gray-400 hover:text-gray-500 py-2 lg:py-0' %>
|
28
|
+
</div>
|
29
|
+
<%- end -%>
|
30
|
+
</div>
|
31
|
+
</nav>
|
32
|
+
</header>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
%header.w-full.shadow.bg-gray-50.text-base
|
2
|
+
%nav.flex.items-center.justify-between.flex-wrap.px-6.py-4{"aria-label" => "Main", role: "navigation"}
|
3
|
+
.flex.items-center.flex-no-shrink.text-gray-700.mr-6
|
4
|
+
= link_to '<%= app_name %>', '/', class: 'font-semibold text-xl cursor-pointer hover:underline'
|
5
|
+
.w-full.block.flex-grow.lg:flex.lg:items-center.lg:w-auto
|
6
|
+
.lg:flex-grow
|
7
|
+
= link_to 'Home', '/', class: 'block mt-0 lg:inline-block text-gray-400 hover:text-gray-500 cursor-pointer mr-4'
|
8
|
+
= link_to 'Features', '#', class: 'block mt-0 lg:inline-block text-gray-400 hover:text-gray-500 cursor-pointer mr-4'
|
9
|
+
= link_to 'Pricing', '#', class: 'block mt-0 lg:inline-block text-gray-400 hover:text-gray-500 cursor-pointer mr-4'
|
10
|
+
= link_to 'Disabled', '#', class: 'block mt-0 lg:inline-block text-gray-300 cursor-default mr-4'
|
11
|
+
.block.lg:inline-block.leading-none.lg:pl-20.mt-3.lg:mt-0
|
12
|
+
<%- if options[:devise] -%>
|
13
|
+
- if user_signed_in?
|
14
|
+
.flex.items-center.justify-between.flex-wrap.flex-grow.flex-col.lg:flex-row.w-100
|
15
|
+
= link_to destroy_user_session_path, method: :delete, class: 'block lg:inline-block w-full lg:w-auto text-gray-400 hover:text-gray-500 py-2 lg:py-0' do
|
16
|
+
Logout
|
17
|
+
%i.fas.fa-sign-out-alt.mr-1.ml-2
|
18
|
+
- else
|
19
|
+
= link_to 'Login', new_user_session_path
|
20
|
+
<%- else -%>
|
21
|
+
.flex.items-center.justify-between.flex-wrap.flex-grow.flex-col.lg:flex-row.w-100
|
22
|
+
= link_to 'Help', '#', class: 'block lg:inline-block lg:mr-10 w-full lg:w-auto text-gray-400 hover:text-gray-500 py-2 lg:py-0'
|
23
|
+
<%- end -%>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
header.w-full.shadow.bg-gray-50.text-base
|
2
|
+
nav.flex.items-center.justify-between.flex-wrap.px-6.py-4 role="navigation" aria-label="Main"
|
3
|
+
.flex.items-center.flex-no-shrink.text-gray-700.mr-6
|
4
|
+
= link_to '<%= app_name %>', '/', class: 'font-semibold text-xl cursor-pointer hover:underline'
|
5
|
+
.w-full.block.flex-grow.lg:flex.lg:items-center.lg:w-auto
|
6
|
+
.lg:flex-grow
|
7
|
+
= link_to 'Home', '/', class: 'block mt-0 lg:inline-block text-gray-400 hover:text-gray-500 cursor-pointer mr-4'
|
8
|
+
= link_to 'Features', '#', class: 'block mt-0 lg:inline-block text-gray-400 hover:text-gray-500 cursor-pointer mr-4'
|
9
|
+
= link_to 'Pricing', '#', class: 'block mt-0 lg:inline-block text-gray-400 hover:text-gray-500 cursor-pointer mr-4'
|
10
|
+
= link_to 'Disabled', '#', class: 'block mt-0 lg:inline-block text-gray-300 cursor-default mr-4'
|
11
|
+
.block.lg:inline-block.leading-none.lg:pl-20.mt-3.lg:mt-0
|
12
|
+
<%- if options[:devise] -%>
|
13
|
+
- if user_signed_in?
|
14
|
+
.flex.items-center.justify-between.flex-wrap.flex-grow.flex-col.lg:flex-row.w-100
|
15
|
+
= link_to destroy_user_session_path, method: :delete, class: 'block lg:inline-block w-full lg:w-auto text-gray-400 hover:text-gray-500 py-2 lg:py-0' do
|
16
|
+
| Logout
|
17
|
+
i.fas.fa-sign-out-alt.mr-1.ml-2
|
18
|
+
- else
|
19
|
+
= link_to 'Login', new_user_session_path
|
20
|
+
<%- else -%>
|
21
|
+
.flex.items-center.justify-between.flex-wrap.flex-grow.flex-col.lg:flex-row.w-100
|
22
|
+
= link_to 'Help', '#', class: 'block lg:inline-block lg:mr-10 w-full lg:w-auto text-gray-400 hover:text-gray-500 py-2 lg:py-0'
|
23
|
+
<%- end -%>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/tailwind_views_generator/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'tailwind_views_generator'
|
7
|
+
spec.version = TailwindViewsGenerator::VERSION
|
8
|
+
spec.authors = ['Brandon Hicks']
|
9
|
+
spec.email = ['tarellel@gmail.com']
|
10
|
+
|
11
|
+
spec.summary = 'TailwindCSS generators for overwriting the default Rails view generators'
|
12
|
+
spec.description = 'A Rails based generator for creating TailwindCSS based Views/layouts for for your application'
|
13
|
+
spec.homepage = 'https://github.com/tarellel/tailwind_views_generator'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
spec.required_ruby_version = ">= #{TailwindViewsGenerator::MIN_RUBY_VERSION}"
|
16
|
+
|
17
|
+
|
18
|
+
if spec.respond_to?(:metadata)
|
19
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
20
|
+
spec.metadata['source_code_uri'] = spec.homepage
|
21
|
+
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
|
22
|
+
else
|
23
|
+
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
24
|
+
end
|
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', '>= 4.0', '<= 7'
|
36
|
+
spec.add_development_dependency 'bundler', '>= 1.17', '<= 3'
|
37
|
+
spec.add_development_dependency 'rake', '>= 7.0', '<= 20.0'
|
38
|
+
end
|
metadata
ADDED
@@ -0,0 +1,223 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tailwind_views_generator
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Brandon Hicks
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-04-17 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: bundler
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.17'
|
40
|
+
- - "<="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '3'
|
43
|
+
type: :development
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.17'
|
50
|
+
- - "<="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '3'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: rake
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '7.0'
|
60
|
+
- - "<="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '20.0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '7.0'
|
70
|
+
- - "<="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '20.0'
|
73
|
+
description: A Rails based generator for creating TailwindCSS based Views/layouts
|
74
|
+
for for your application
|
75
|
+
email:
|
76
|
+
- tarellel@gmail.com
|
77
|
+
executables: []
|
78
|
+
extensions: []
|
79
|
+
extra_rdoc_files: []
|
80
|
+
files:
|
81
|
+
- ".fasterer.yml"
|
82
|
+
- ".gitignore"
|
83
|
+
- ".rubocop.yml"
|
84
|
+
- ".simplecov"
|
85
|
+
- ".tool-versions"
|
86
|
+
- ".yardopts"
|
87
|
+
- CHANGELOG.md
|
88
|
+
- CODE_OF_CONDUCT.md
|
89
|
+
- Gemfile
|
90
|
+
- Gemfile.lock
|
91
|
+
- LICENSE.txt
|
92
|
+
- README.md
|
93
|
+
- Rakefile
|
94
|
+
- bin/console
|
95
|
+
- bin/setup
|
96
|
+
- lib/generators/tailwind_views/devise_generator.rb
|
97
|
+
- lib/generators/tailwind_views/install_generator.rb
|
98
|
+
- lib/tailwind_views_generator.rb
|
99
|
+
- lib/tailwind_views_generator/helpers.rb
|
100
|
+
- lib/tailwind_views_generator/version.rb
|
101
|
+
- lib/templates/.DS_Store
|
102
|
+
- lib/templates/devise/.DS_Store
|
103
|
+
- lib/templates/devise/erb/confirmations/new.html.erb.tt
|
104
|
+
- lib/templates/devise/erb/mailer/confirmation_instructions.html.erb
|
105
|
+
- lib/templates/devise/erb/mailer/email_changed.html.erb
|
106
|
+
- lib/templates/devise/erb/mailer/password_change.html.erb
|
107
|
+
- lib/templates/devise/erb/mailer/reset_password_instructions.html.erb
|
108
|
+
- lib/templates/devise/erb/mailer/unlock_instructions.html.erb
|
109
|
+
- lib/templates/devise/erb/passwords/edit.html.erb.tt
|
110
|
+
- lib/templates/devise/erb/passwords/new.html.erb.tt
|
111
|
+
- lib/templates/devise/erb/registrations/edit.html.erb.tt
|
112
|
+
- lib/templates/devise/erb/registrations/new.html.erb.tt
|
113
|
+
- lib/templates/devise/erb/sessions/new.html.erb.tt
|
114
|
+
- lib/templates/devise/erb/shared/_error_messages.html.erb
|
115
|
+
- lib/templates/devise/erb/shared/_links.html.erb
|
116
|
+
- lib/templates/devise/erb/unlocks/new.html.erb.tt
|
117
|
+
- lib/templates/devise/haml/confirmations/new.html.haml.tt
|
118
|
+
- lib/templates/devise/haml/mailer/confirmation_instructions.html.haml
|
119
|
+
- lib/templates/devise/haml/mailer/email_changed.html.haml
|
120
|
+
- lib/templates/devise/haml/mailer/password_change.html.haml
|
121
|
+
- lib/templates/devise/haml/mailer/reset_password_instructions.html.haml
|
122
|
+
- lib/templates/devise/haml/mailer/unlock_instructions.html.haml
|
123
|
+
- lib/templates/devise/haml/passwords/edit.html.haml.tt
|
124
|
+
- lib/templates/devise/haml/passwords/new.html.haml.tt
|
125
|
+
- lib/templates/devise/haml/registrations/edit.html.haml.tt
|
126
|
+
- lib/templates/devise/haml/registrations/new.html.haml.tt
|
127
|
+
- lib/templates/devise/haml/sessions/new.html.haml.tt
|
128
|
+
- lib/templates/devise/haml/shared/_error_messages.html.haml
|
129
|
+
- lib/templates/devise/haml/shared/_links.html.haml
|
130
|
+
- lib/templates/devise/haml/unlocks/new.html.haml.tt
|
131
|
+
- lib/templates/devise/simple_form/erb/confirmations/new.html.erb.tt
|
132
|
+
- lib/templates/devise/simple_form/erb/passwords/edit.html.erb.tt
|
133
|
+
- lib/templates/devise/simple_form/erb/passwords/new.html.erb.tt
|
134
|
+
- lib/templates/devise/simple_form/erb/registrations/edit.html.erb.tt
|
135
|
+
- lib/templates/devise/simple_form/erb/registrations/new.html.erb.tt
|
136
|
+
- lib/templates/devise/simple_form/erb/sessions/new.html.erb.tt
|
137
|
+
- lib/templates/devise/simple_form/erb/unlocks/new.html.erb.tt
|
138
|
+
- lib/templates/devise/simple_form/haml/confirmations/new.html.haml.tt
|
139
|
+
- lib/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
|
140
|
+
- lib/templates/devise/simple_form/haml/passwords/new.html.haml.tt
|
141
|
+
- lib/templates/devise/simple_form/haml/registrations/edit.html.haml.tt
|
142
|
+
- lib/templates/devise/simple_form/haml/registrations/new.html.haml.tt
|
143
|
+
- lib/templates/devise/simple_form/haml/sessions/new.html.haml.tt
|
144
|
+
- lib/templates/devise/simple_form/haml/unlocks/new.html.haml.tt
|
145
|
+
- lib/templates/devise/simple_form/slim/confirmations/new.html.slim.tt
|
146
|
+
- lib/templates/devise/simple_form/slim/passwords/edit.html.slim.tt
|
147
|
+
- lib/templates/devise/simple_form/slim/passwords/new.html.slim.tt
|
148
|
+
- lib/templates/devise/simple_form/slim/registrations/edit.html.slim.tt
|
149
|
+
- lib/templates/devise/simple_form/slim/registrations/new.html.slim.tt
|
150
|
+
- lib/templates/devise/simple_form/slim/sessions/new.html.slim.tt
|
151
|
+
- lib/templates/devise/simple_form/slim/unlocks/new.html.slim.tt
|
152
|
+
- lib/templates/devise/slim/confirmations/new.html.slim.tt
|
153
|
+
- lib/templates/devise/slim/mailer/confirmation_instructions.html.slim
|
154
|
+
- lib/templates/devise/slim/mailer/email_changed.html.slim
|
155
|
+
- lib/templates/devise/slim/mailer/password_change.html.slim
|
156
|
+
- lib/templates/devise/slim/mailer/reset_password_instructions.html.slim
|
157
|
+
- lib/templates/devise/slim/mailer/unlock_instructions.html.slim
|
158
|
+
- lib/templates/devise/slim/passwords/edit.html.slim.tt
|
159
|
+
- lib/templates/devise/slim/passwords/new.html.slim.tt
|
160
|
+
- lib/templates/devise/slim/registrations/edit.html.slim.tt
|
161
|
+
- lib/templates/devise/slim/registrations/new.html.slim.tt
|
162
|
+
- lib/templates/devise/slim/sessions/new.html.slim.tt
|
163
|
+
- lib/templates/devise/slim/shared/_error_messages.html.slim
|
164
|
+
- lib/templates/devise/slim/shared/_links.html.slim
|
165
|
+
- lib/templates/devise/slim/unlocks/new.html.slim.tt
|
166
|
+
- lib/templates/layouts/application.html.erb.tt
|
167
|
+
- lib/templates/layouts/application.html.haml.tt
|
168
|
+
- lib/templates/layouts/application.html.slim.tt
|
169
|
+
- lib/templates/scaffolds/erb/_form.html.erb
|
170
|
+
- lib/templates/scaffolds/erb/edit.html.erb.tt
|
171
|
+
- lib/templates/scaffolds/erb/index.html.erb.tt
|
172
|
+
- lib/templates/scaffolds/erb/new.html.erb.tt
|
173
|
+
- lib/templates/scaffolds/erb/show.html.erb.tt
|
174
|
+
- lib/templates/scaffolds/haml/_form.html.haml
|
175
|
+
- lib/templates/scaffolds/haml/edit.html.haml.tt
|
176
|
+
- lib/templates/scaffolds/haml/index.html.haml.tt
|
177
|
+
- lib/templates/scaffolds/haml/new.html.haml.tt
|
178
|
+
- lib/templates/scaffolds/haml/show.html.haml.tt
|
179
|
+
- lib/templates/scaffolds/simple_form/_form.html.erb
|
180
|
+
- lib/templates/scaffolds/simple_form/_form.html.haml
|
181
|
+
- lib/templates/scaffolds/simple_form/_form.html.slim
|
182
|
+
- lib/templates/scaffolds/slim/_form.html.slim
|
183
|
+
- lib/templates/scaffolds/slim/edit.html.slim.tt
|
184
|
+
- lib/templates/scaffolds/slim/index.html.slim.tt
|
185
|
+
- lib/templates/scaffolds/slim/new.html.slim.tt
|
186
|
+
- lib/templates/scaffolds/slim/show.html.slim.tt
|
187
|
+
- lib/templates/shared/footer/_footer.html.erb.tt
|
188
|
+
- lib/templates/shared/footer/_footer.html.haml.tt
|
189
|
+
- lib/templates/shared/footer/_footer.html.slim.tt
|
190
|
+
- lib/templates/shared/navigation/_navigation.html.erb.tt
|
191
|
+
- lib/templates/shared/navigation/_navigation.html.haml.tt
|
192
|
+
- lib/templates/shared/navigation/_navigation.html.slim.tt
|
193
|
+
- lib/templates/shared/pagination/_pagination.html.erb
|
194
|
+
- lib/templates/shared/pagination/_pagination.html.haml
|
195
|
+
- lib/templates/shared/pagination/_pagination.html.slim
|
196
|
+
- tailwind_views_generator.gemspec
|
197
|
+
homepage: https://github.com/tarellel/tailwind_views_generator
|
198
|
+
licenses:
|
199
|
+
- MIT
|
200
|
+
metadata:
|
201
|
+
homepage_uri: https://github.com/tarellel/tailwind_views_generator
|
202
|
+
source_code_uri: https://github.com/tarellel/tailwind_views_generator
|
203
|
+
changelog_uri: https://github.com/tarellel/tailwind_views_generator/blob/main/CHANGELOG.md
|
204
|
+
post_install_message:
|
205
|
+
rdoc_options: []
|
206
|
+
require_paths:
|
207
|
+
- lib
|
208
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
209
|
+
requirements:
|
210
|
+
- - ">="
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: 2.4.0
|
213
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
|
+
requirements:
|
215
|
+
- - ">="
|
216
|
+
- !ruby/object:Gem::Version
|
217
|
+
version: '0'
|
218
|
+
requirements: []
|
219
|
+
rubygems_version: 3.2.11
|
220
|
+
signing_key:
|
221
|
+
specification_version: 4
|
222
|
+
summary: TailwindCSS generators for overwriting the default Rails view generators
|
223
|
+
test_files: []
|