tybo 0.0.16 → 0.0.18

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: b169af454db8bbab7d10fc089d07ffed7c583758a604b5c477be16443b27634c
4
- data.tar.gz: 32b3dcea7ecdd03445221e2db79c18515c7356d0c937afb562821634ceeeae2c
3
+ metadata.gz: 8d888d138464cf0c639e857da0495904853645594f177038071308e110bd4388
4
+ data.tar.gz: de00f97a1a505c54e64805731c0a8c03dad828d0e54be0a8661ff3ac7509fcb3
5
5
  SHA512:
6
- metadata.gz: 30786f597f50c4c8a84f668d100332555104b8fbb05db4dc32107d430db529596f543ba00a43000a10d110f1411ec0bfbd5652c3fa00ad1ce38ee5f5e41b8bef
7
- data.tar.gz: 1f659fa755ca430ec34f26ec6372d0424afe3ce36437917e7958589a904278116d5d3b047de59d6e71e6f9ec97304f9848e8d9be53e21c1e8da8ead3aa27c6fb
6
+ metadata.gz: 2932a1fd3c6780669c9dc5a36c078b432b196ba6b2eea9eb1120765809c88717f295ed6b759f43a5f6f6e2a77a25f62991dcd7a77ecf7ef86d34942908a9705e
7
+ data.tar.gz: 2a951e7114450aba18224b12232e0221669d1cf35530dbd9790bf9d6f2404b80fc9eaa859166a3149688dd331344acec229d5903a0f609ae0bc93657dab1f94b
@@ -13,7 +13,7 @@
13
13
  </div>
14
14
 
15
15
  <div class="form-actions">
16
- <%= f.button :submit, "Resend confirmation instructions" %>
16
+ <%= f.button :submit, "Resend confirmation instructions", data: { turbo: false } %>
17
17
  </div>
18
18
  <% end %>
19
19
 
@@ -23,7 +23,7 @@
23
23
  class: 'block text-sm font-medium text-gray-700' %>
24
24
  </div>
25
25
  <div class="mt-5">
26
- <%= f.button :submit, "Sauvegarder", class: "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" %>
26
+ <%= f.button :submit, "Sauvegarder", class: "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", data: { turbo: false } %>
27
27
  </div>
28
28
  <% end %>
29
29
  </div>
@@ -20,7 +20,7 @@
20
20
 
21
21
  </div>
22
22
  <div class="mt-5">
23
- <%= f.button :submit, I18n.t("devise.passwords.new.send_me_reset_password_instructions"), class: "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" %>
23
+ <%= f.button :submit, I18n.t("devise.passwords.new.send_me_reset_password_instructions"), class: "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", data: { turbo: false } %>
24
24
  </div>
25
25
  <% end %>
26
26
  </div>
@@ -24,7 +24,7 @@
24
24
  </div>
25
25
 
26
26
  <div class="form-actions">
27
- <%= f.button :submit, "Update" %>
27
+ <%= f.button :submit, "Update", data: { turbo: false } %>
28
28
  </div>
29
29
  <% end %>
30
30
 
@@ -18,7 +18,7 @@
18
18
  </div>
19
19
 
20
20
  <div class="form-actions">
21
- <%= f.button :submit, "Sign up" %>
21
+ <%= f.button :submit, "Sign up", data: { turbo: false } %>
22
22
  </div>
23
23
  <% end %>
24
24
 
@@ -38,7 +38,7 @@
38
38
  </div>
39
39
 
40
40
  <div class="mt-5">
41
- <%= f.button :submit, I18n.t("devise.sessions.new.sign_in"), class: "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" %>
41
+ <%= f.button :submit, I18n.t("devise.sessions.new.sign_in"), class: "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", data: { turbo: false } %>
42
42
  </div>
43
43
  <% end %>
44
44
  </div>
@@ -12,7 +12,7 @@
12
12
  </div>
13
13
 
14
14
  <div class="form-actions">
15
- <%= f.button :submit, "Resend unlock instructions" %>
15
+ <%= f.button :submit, "Resend unlock instructions", data: { turbo: false } %>
16
16
  </div>
17
17
  <% end %>
18
18
 
@@ -70,7 +70,7 @@ class BoGenerator < Rails::Generators::NamedBase
70
70
  def permited_params
71
71
  params = {}
72
72
  action_text_columns = has_one_assoc&.select { |a| a.options[:class_name] == 'ActionText::RichText' }
73
- permited_columns&.map do |col|
73
+ permitted_columns&.map do |col|
74
74
  params["#{col}".to_sym] = nil
75
75
  end
76
76
  action_text_columns&.map do |col|
@@ -100,7 +100,7 @@ class BoGenerator < Rails::Generators::NamedBase
100
100
  bo_model.reflect_on_all_associations(:has_one)
101
101
  end
102
102
 
103
- def permited_columns
103
+ def permitted_columns
104
104
  model_columns - excluded_columns
105
105
  end
106
106
 
data/lib/tybo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tybo
2
- VERSION = '0.0.16'
2
+ VERSION = '0.0.18'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tybo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Delpierre
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-02-15 00:00:00.000000000 Z
12
+ date: 2023-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails