tybo 0.0.20 → 0.0.21

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 950bff95f819ea40f2bf1f9629fe9f6c1ff61db72d81126077078fa677ec31aa
4
- data.tar.gz: b9e82e19f855c88b860743ee742a1765efa33604a089701e2bc69a8465da3324
3
+ metadata.gz: 74bb5b582010bb0181564c54726c59d809207be9be11d21d401a75e6dfec1d49
4
+ data.tar.gz: 5baf8341ca26741ce38cecfa8eeac0cdacf8e9ac38de2ab225b9a8a5a7136d02
5
5
  SHA512:
6
- metadata.gz: 3d7dd1d21bec139da2f5bdd0c4d7356b7781f2592e68cf1b240421fce9e813c618370c18d934c046c885af34c7f38748d205d87f6b72c8a011b9bd32a1cdb44f
7
- data.tar.gz: bd04698dd5bdbd8621782d52cc359181cdb6e81b8b12ba032dfe35bc71651105f8c842611242782adde2c404b75df927be70dcb66344e383f21f8787066e43cf
6
+ metadata.gz: cb918064435897debc472a373f9731eac14b2ba3f6adf6ed384a0df2b242276162c2d5e455d3a4afc2ed2340f5245b284822e474f60b01af309745bf5a4a80c5
7
+ data.tar.gz: 7fc148dc7209afdb269270835c978c8c725ab0fcf9150f76cba3a4ff1750f65474a518f04b55018fadb6d3db77d1328c00bf77e48739595947b02093b8b17ca9
@@ -6,9 +6,10 @@
6
6
  </div>
7
7
  <div class="mt-4">
8
8
  <% @resources.each do |resource| %>
9
- <a href="<%=send("new_#{resource.to_s}_session_path")%>" class="mt-2 flex w-full justify-center rounded-md border border-transparent bg-tybo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-tybo-700 focus:outline-none focus:ring-2 focus:ring-tybo-500 focus:ring-offset-2">
10
- <%=I18n.t("bo.devise.sign_in_as.#{resource.to_s}")%>
11
- </a>
9
+ <%= link_to I18n.t("bo.devise.sign_in_as.#{resource.to_s}"),
10
+ send("new_#{resource.to_s}_session_path"),
11
+ class:'mt-2 flex w-full justify-center rounded-md border border-transparent bg-tybo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-tybo-700 focus:outline-none focus:ring-2 focus:ring-tybo-500 focus:ring-offset-2',
12
+ data: { turbo: false } %>
12
13
  <% end %>
13
14
  </div>
14
15
  </div>
data/lib/tybo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tybo
2
- VERSION = '0.0.20'
2
+ VERSION = '0.0.21'
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tybo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Delpierre
8
8
  - Julien Camblan
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-02-23 00:00:00.000000000 Z
12
+ date: 2023-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -269,7 +269,7 @@ licenses:
269
269
  - MIT
270
270
  metadata:
271
271
  homepage_uri: https://rubygems.org/gems/tybo
272
- post_install_message:
272
+ post_install_message:
273
273
  rdoc_options: []
274
274
  require_paths:
275
275
  - lib
@@ -285,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
285
  version: '0'
286
286
  requirements: []
287
287
  rubygems_version: 3.0.3.1
288
- signing_key:
288
+ signing_key:
289
289
  specification_version: 4
290
290
  summary: A tailwind custom admin engine for Ruby on Rails
291
291
  test_files: []