tailwindcss-rails 2.5.0-x64-mingw32 → 2.6.1-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02cdc1fa59f7251aaed9801aec6ccb78c182ca865ddaef107cb48ee64c5c23b4
4
- data.tar.gz: 05425a5d19dedc930e8bdc4e3c41f5f515d5267cfd4d2bf4cd92e5b5656152d3
3
+ metadata.gz: 46f218b7a6acf429da3456d970d6cebdac0ddfc6afb982c285eef7007919d328
4
+ data.tar.gz: 315ed6a27548f4ec75b462fc2f30586e2c6d3dce24b529d61a0bd6cd8ac3f9e6
5
5
  SHA512:
6
- metadata.gz: f0fc060a0c974429c71e20822eaea398a31cc519e98007f36b4628dc350a16260bd49cec3ff03e4ff845334005692af684b16e09793c09c533240ce6c44d09e3
7
- data.tar.gz: 94de63ccfcada1768d6c2742389354eb7d2c6e98cb56ac1a365502b7c853a6a423d77b486ccfb9968aa86aa763474be9141bf3740eaa3ea3a34b994bd14ea721
6
+ metadata.gz: 429cb7457c0ad675de6286079b386caaa592598016a50f1ccd741be5330d31fc865e131b6456c6024e57badd681b8e15393a6317cbec7598c9e8a8687952d873
7
+ data.tar.gz: '0439fb60a44a45aa277efc41e5c91ca25a9d1f58596b6ed45add961169c28b4630b16fe32a95a310ce587c4f699ca2e4cd4ef9d3bdf1f4ad3abbb49ebb33210a'
Binary file
@@ -15,23 +15,23 @@
15
15
  <div class="my-5">
16
16
  <% if attribute.password_digest? -%>
17
17
  <%%= form.label :password %>
18
- <%%= form.password_field :password, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
18
+ <%%= form.password_field :password, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
19
19
  </div>
20
20
 
21
21
  <div class="my-5">
22
22
  <%%= form.label :password_confirmation %>
23
- <%%= form.password_field :password_confirmation, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
23
+ <%%= form.password_field :password_confirmation, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
24
24
  <% elsif attribute.attachments? -%>
25
25
  <%%= form.label :<%= attribute.column_name %> %>
26
- <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, multiple: true, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
26
+ <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, multiple: true, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
27
27
  <% else -%>
28
28
  <%%= form.label :<%= attribute.column_name %> %>
29
29
  <% if attribute.field_type == :text_area -%>
30
- <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, rows: 4, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
30
+ <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, rows: 4, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
31
31
  <% elsif attribute.field_type == :check_box -%>
32
32
  <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, class: "block mt-2 h-5 w-5" %>
33
33
  <% else -%>
34
- <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
34
+ <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
35
35
  <% end -%>
36
36
  <% end -%>
37
37
  </div>
@@ -3,6 +3,6 @@
3
3
 
4
4
  <%%= render "form", <%= singular_table_name %>: @<%= singular_table_name %> %>
5
5
 
6
- <%%= link_to "Show this <%= human_name.downcase %>", @<%= singular_table_name %>, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
7
- <%%= link_to "Back to <%= human_name.pluralize.downcase %>", <%= index_helper %>_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
6
+ <%%= link_to "Show this <%= human_name.downcase %>", <%= model_resource_name(prefix: "@") %>, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
7
+ <%%= link_to "Back to <%= human_name.pluralize.downcase %>", <%= index_helper(type: :path) %>, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
8
8
  </div>
@@ -3,12 +3,19 @@
3
3
  <p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%%= notice %></p>
4
4
  <%% end %>
5
5
 
6
+ <%% content_for :title, "<%= human_name.pluralize %>" %>
7
+
6
8
  <div class="flex justify-between items-center">
7
9
  <h1 class="font-bold text-4xl"><%= human_name.pluralize %></h1>
8
10
  <%%= link_to "New <%= human_name.downcase %>", new_<%= singular_route_name %>_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
9
11
  </div>
10
12
 
11
13
  <div id="<%= plural_table_name %>" class="min-w-full">
12
- <%%= render @<%= plural_table_name %> %>
14
+ <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
15
+ <%%= render <%= singular_table_name %> %>
16
+ <p>
17
+ <%%= link_to "Show this <%= human_name.downcase %>", <%= model_resource_name(singular_table_name) %>, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
18
+ </p>
19
+ <%% end %>
13
20
  </div>
14
21
  </div>
@@ -3,5 +3,5 @@
3
3
 
4
4
  <%%= render "form", <%= singular_table_name %>: @<%= singular_table_name %> %>
5
5
 
6
- <%%= link_to "Back to <%= human_name.pluralize.downcase %>", <%= index_helper %>_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
6
+ <%%= link_to "Back to <%= human_name.pluralize.downcase %>", <%= index_helper(type: :path) %>, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
7
7
  </div>
@@ -14,9 +14,4 @@
14
14
  </p>
15
15
 
16
16
  <% end -%>
17
- <%% if action_name != "show" %>
18
- <%%= link_to "Show this <%= human_name.downcase %>", <%= singular_name %>, class: "rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
19
- <%%= link_to "Edit this <%= human_name.downcase %>", edit_<%= singular_name %>_path(<%= singular_name %>), class: "rounded-lg py-3 ml-2 px-5 bg-gray-100 inline-block font-medium" %>
20
- <hr class="mt-6">
21
- <%% end %>
22
17
  </div>
@@ -6,10 +6,10 @@
6
6
 
7
7
  <%%= render @<%= singular_table_name %> %>
8
8
 
9
- <%%= link_to "Edit this <%= singular_table_name %>", edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
9
+ <%%= link_to "Edit this <%= human_name.downcase %>", <%= edit_helper(type: :path) %>, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
10
+ <%%= link_to "Back to <%= human_name.pluralize.downcase %>", <%= index_helper %>_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
10
11
  <div class="inline-block ml-2">
11
- <%%= button_to "Destroy this <%= singular_table_name %>", <%= singular_table_name %>_path(@<%= singular_table_name %>), method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %>
12
+ <%%= button_to "Destroy this <%= human_name.downcase %>", <%= model_resource_name(prefix: "@") %>, method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %>
12
13
  </div>
13
- <%%= link_to "Back to <%= plural_table_name %>", <%= index_helper %>_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
14
14
  </div>
15
15
  </div>
@@ -1,7 +1,7 @@
1
1
  module Tailwindcss
2
2
  # constants describing the upstream tailwindcss project
3
3
  module Upstream
4
- VERSION = "v3.4.3"
4
+ VERSION = "v3.4.4"
5
5
 
6
6
  # rubygems platform name => upstream release filename
7
7
  NATIVE_PLATFORMS = {
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "2.5.0"
2
+ VERSION = "2.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailwindcss-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.1
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-27 00:00:00.000000000 Z
11
+ date: 2024-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 6.0.0
19
+ version: 7.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 6.0.0
26
+ version: 7.0.0
27
27
  force_ruby_platform: false
28
28
  description:
29
29
  email: david@loudthinking.com
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: 3.2.0
106
106
  requirements: []
107
- rubygems_version: 3.5.9
107
+ rubygems_version: 3.5.10
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Integrate Tailwind CSS with the asset pipeline in Rails.