simple_form-tailwind 0.1.0 → 0.1.2

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: 12a54274132919e7a3fa0c0a74f1f14b7520d9e0fc0989f7c4066169f4df2a16
4
- data.tar.gz: 92b9f94e5b1577516f37073d65a1bff020f6affdf062663362635abc0cd6fd3f
3
+ metadata.gz: 2399719b0970ee061cc46ab22c6a53dda1e54906d865f36f39ede5c2573d1c96
4
+ data.tar.gz: 2590b3c970d827319de99f6e9b27343ca3517902e22249d99c8e36ef02a89907
5
5
  SHA512:
6
- metadata.gz: fa10b92533e95fb4bf5af42464d32a3a98bff4285fe738af71779f30b269c1ec14817cfa50f95aaa02dfc62e7a7cbc93b2323900a1f1fb97543dfb502015ddef
7
- data.tar.gz: 12d096422b27b50390a416d5c5e6bcd13ca52c685d57c2546304e4c0da63f3242131ed43db92792641957af6cb9a5adeabc27123e423c9b2e43d112adec7a36f
6
+ metadata.gz: 61101424ceea3305056a6c54f30ed5801a7b850e25fd2b2fb11e19435ef4a67203e787b92896283546bde6255d2321fa3aac2656fd42e2d4e641fdf083e0b7be
7
+ data.tar.gz: 17f267933c59f1d8540a5d3943ffedb1103c269d0007cf9891868f5489bc7896c3b5d5005655f45078ddae0ffb97b1166b8c69402e9be685fa25da79572aa79b
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
 
9
+ ## [0.1.1] - 2020-12-30
10
+
11
+ * Adjusted required rails version (so it can be used with Rails v7)
12
+
9
13
  ## [0.0.1] - 2020-11-29
10
14
 
11
15
  * Initia Commit
data/Gemfile CHANGED
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in simple_form-tailwind.gemspec
4
6
  gemspec
5
7
 
6
- gem 'rake', '~> 12.0'
7
- gem 'minitest', '~> 5.0'
8
+ gem 'minitest', '>= 5.25'
9
+ gem 'rake'
data/Gemfile.lock CHANGED
@@ -1,80 +1,136 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form-tailwind (0.1.0)
5
- railties (>= 4.0, <= 7)
4
+ simple_form-tailwind (0.1.2)
5
+ railties (>= 4.0)
6
6
  simple_form (>= 5.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
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)
11
+ actionpack (8.0.1)
12
+ actionview (= 8.0.1)
13
+ activesupport (= 8.0.1)
14
+ nokogiri (>= 1.8.5)
15
+ rack (>= 2.2.4)
16
+ rack-session (>= 1.0.1)
15
17
  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)
18
+ rails-dom-testing (~> 2.2)
19
+ rails-html-sanitizer (~> 1.6)
20
+ useragent (~> 0.16)
21
+ actionview (8.0.1)
22
+ activesupport (= 8.0.1)
20
23
  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)
24
+ erubi (~> 1.11)
25
+ rails-dom-testing (~> 2.2)
26
+ rails-html-sanitizer (~> 1.6)
27
+ activemodel (8.0.1)
28
+ activesupport (= 8.0.1)
29
+ activesupport (8.0.1)
30
+ base64
31
+ benchmark (>= 0.3)
32
+ bigdecimal
33
+ concurrent-ruby (~> 1.0, >= 1.3.1)
34
+ connection_pool (>= 2.2.5)
35
+ drb
36
+ i18n (>= 1.6, < 2)
37
+ logger (>= 1.4.2)
38
+ minitest (>= 5.1)
39
+ securerandom (>= 0.3)
40
+ tzinfo (~> 2.0, >= 2.0.5)
41
+ uri (>= 0.13.1)
42
+ base64 (0.2.0)
43
+ benchmark (0.4.0)
44
+ bigdecimal (3.1.9)
45
+ builder (3.3.0)
46
+ concurrent-ruby (1.3.4)
47
+ connection_pool (2.4.1)
34
48
  crass (1.0.6)
35
- erubi (1.10.0)
36
- i18n (1.8.5)
49
+ date (3.4.1)
50
+ drb (2.2.1)
51
+ erubi (1.13.1)
52
+ i18n (1.14.6)
37
53
  concurrent-ruby (~> 1.0)
38
- loofah (2.8.0)
54
+ io-console (0.8.0)
55
+ irb (1.14.3)
56
+ rdoc (>= 4.0.0)
57
+ reline (>= 0.4.2)
58
+ logger (1.6.4)
59
+ loofah (2.23.1)
39
60
  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)
61
+ nokogiri (>= 1.12.0)
62
+ mini_portile2 (2.8.8)
63
+ minitest (5.25.4)
64
+ nokogiri (1.18.1)
65
+ mini_portile2 (~> 2.8.2)
66
+ racc (~> 1.4)
67
+ nokogiri (1.18.1-aarch64-linux-gnu)
68
+ racc (~> 1.4)
69
+ nokogiri (1.18.1-arm-linux-gnu)
70
+ racc (~> 1.4)
71
+ nokogiri (1.18.1-arm64-darwin)
72
+ racc (~> 1.4)
73
+ nokogiri (1.18.1-x86_64-darwin)
74
+ racc (~> 1.4)
75
+ nokogiri (1.18.1-x86_64-linux-gnu)
76
+ racc (~> 1.4)
77
+ psych (5.2.2)
78
+ date
79
+ stringio
80
+ racc (1.8.1)
81
+ rack (3.1.8)
82
+ rack-session (2.0.0)
83
+ rack (>= 3.0.0)
84
+ rack-test (2.2.0)
85
+ rack (>= 1.3)
86
+ rackup (2.2.1)
87
+ rack (>= 3)
88
+ rails-dom-testing (2.2.0)
89
+ activesupport (>= 5.0.0)
90
+ minitest
51
91
  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)
92
+ rails-html-sanitizer (1.6.2)
93
+ loofah (~> 2.21)
94
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
95
+ railties (8.0.1)
96
+ actionpack (= 8.0.1)
97
+ activesupport (= 8.0.1)
98
+ irb (~> 1.13)
99
+ rackup (>= 1.0.0)
100
+ rake (>= 12.2)
101
+ thor (~> 1.0, >= 1.2.2)
102
+ zeitwerk (~> 2.6)
103
+ rake (13.2.1)
104
+ rdoc (6.10.0)
105
+ psych (>= 4.0.0)
106
+ reline (0.6.0)
107
+ io-console (~> 0.5)
108
+ securerandom (0.4.1)
109
+ simple_form (5.3.1)
110
+ actionpack (>= 5.2)
111
+ activemodel (>= 5.2)
112
+ stringio (3.1.2)
113
+ thor (1.3.2)
114
+ tzinfo (2.0.6)
115
+ concurrent-ruby (~> 1.0)
116
+ uri (1.0.2)
117
+ useragent (0.16.11)
118
+ zeitwerk (2.7.1)
69
119
 
70
120
  PLATFORMS
71
121
  ruby
122
+ aarch64-linux
123
+ arm-linux
124
+ arm64-darwin
125
+ x86-linux
126
+ x86_64-darwin
127
+ x86_64-linux
72
128
 
73
129
  DEPENDENCIES
74
130
  bundler (>= 1.17, <= 3)
75
- minitest (~> 5.0)
76
- rake (~> 12.0)
131
+ minitest (>= 5.25)
132
+ rake
77
133
  simple_form-tailwind!
78
134
 
79
135
  BUNDLED WITH
80
- 2.1.4
136
+ 2.6.2
data/Rakefile CHANGED
@@ -1,10 +1,12 @@
1
- require "bundler/gem_tasks"
2
- require "rake/testtask"
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rake/testtask'
3
5
 
4
6
  Rake::TestTask.new(:test) do |t|
5
- t.libs << "test"
6
- t.libs << "lib"
7
- t.test_files = FileList["test/**/*_test.rb"]
7
+ t.libs << 'test'
8
+ t.libs << 'lib'
9
+ t.test_files = FileList['test/**/*_test.rb']
8
10
  end
9
11
 
10
- task :default => :test
12
+ task default: :test
data/bin/console CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
- require "bundler/setup"
4
- require "simple_form/tailwind"
4
+ require 'bundler/setup'
5
+ require 'simple_form/tailwind'
5
6
 
6
7
  # You can add fixtures and/or initialization code here to make experimenting
7
8
  # with your gem easier. You can also use a different console, if you like.
@@ -10,5 +11,5 @@ require "simple_form/tailwind"
10
11
  # require "pry"
11
12
  # Pry.start
12
13
 
13
- require "irb"
14
+ require 'irb'
14
15
  IRB.start(__FILE__)
@@ -8,9 +8,31 @@ module SimpleForm
8
8
  desc 'Generate a SimpleForm config for tailwind based forms'
9
9
  source_root File.expand_path('templates', __dir__)
10
10
 
11
+ def update_tailwind_config
12
+ # Open the tailwind.config.js file
13
+ config_path = Rails.root.join('config/tailwind.config.js')
14
+ if File.exist?(config_path)
15
+ # Read the existing file
16
+ config = File.read(config_path)
17
+ # Add the line in the content section if it's not already there
18
+ if config.include?('./config/initializers')
19
+ say 'tailwind.config.js already includes the necessary configuration.', :green
20
+ else
21
+ config.sub!('content: [', "content: [\n \"./config/initializers/*.rb\",")
22
+ # save modifications
23
+ File.write(config_path, config)
24
+ say 'tailwind.config.js has been updated with the necessary configuration.', :green
25
+ end
26
+ else
27
+ say 'tailwind.config.js not found.', :red
28
+ say 'Please ensure Tailwind is properly installed and try again.', :yellow
29
+ exit # Cancel installation
30
+ end
31
+ end
32
+
11
33
  def copy_initialzier
12
34
  copy_file('simple_form.rb', 'config/initializers/simple_form_tailwind.rb', force: true)
13
35
  end
14
36
  end
15
37
  end
16
- end
38
+ end
@@ -9,7 +9,7 @@ SimpleForm.setup do |config|
9
9
  config.boolean_label_class = ''
10
10
 
11
11
  # How the label text should be generated altogether with the required text.
12
- config.label_text = lambda { |label, required, explicit_label| "#{label} #{required}" }
12
+ config.label_text = ->(label, required, _explicit_label) { "#{label} #{required}" }
13
13
 
14
14
  # Define the way to render check boxes / radio buttons with labels.
15
15
  config.boolean_style = :inline
@@ -34,7 +34,6 @@ SimpleForm.setup do |config|
34
34
  config.input_field_valid_class = 'border-green-400'
35
35
  config.label_class = 'text-sm font-medium text-gray-600'
36
36
 
37
-
38
37
  # vertical forms
39
38
  #
40
39
  # vertical default_wrapper
@@ -47,7 +46,8 @@ SimpleForm.setup do |config|
47
46
  b.optional :min_max
48
47
  b.optional :readonly
49
48
  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'
49
+ b.use :input,
50
+ 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
51
  b.use :full_error, wrap_with: { tag: 'p', class: 'mt-2 text-red-500 text-xs italic' }
52
52
  b.use :hint, wrap_with: { tag: 'p', class: 'mt-2 text-grey-700 text-xs italic' }
53
53
  end
@@ -57,24 +57,27 @@ SimpleForm.setup do |config|
57
57
  b.use :html5
58
58
  b.optional :readonly
59
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'
60
+ ba.use :input,
61
+ class: 'focus:ring-2 focus:ring-indigo-500 ring-offset-2 h-4 w-4 text-indigo-600 border-gray-300 rounded'
61
62
  end
62
63
  b.wrapper tag: 'div', class: 'ml-3 text-sm' do |bb|
63
64
  bb.use :label, class: 'block', error_class: 'text-red-500'
64
65
  bb.use :hint, wrap_with: { tag: 'p', class: 'block text-grey-700 text-xs italic' }
65
66
  bb.use :full_error, wrap_with: { tag: 'p', class: 'block text-red-500 text-xs italic' }
66
67
  end
67
-
68
68
  end
69
69
 
70
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|
71
+ config.wrappers :vertical_collection, item_wrapper_class: 'flex items-center',
72
+ item_label_class: 'my-1 ml-3 block text-sm font-medium text-gray-400', tag: 'div', class: 'my-4' do |b|
72
73
  b.use :html5
73
74
  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
+ b.wrapper :legend_tag, tag: 'legend', class: 'text-sm font-medium text-gray-600',
76
+ error_class: 'text-red-500' do |ba|
75
77
  ba.use :label_text
76
78
  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'
79
+ b.use :input,
80
+ 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
81
  b.use :full_error, wrap_with: { tag: 'p', class: 'block mt-2 text-red-500 text-xs italic' }
79
82
  b.use :hint, wrap_with: { tag: 'p', class: 'mt-2 text-grey-700 text-xs italic' }
80
83
  end
@@ -87,7 +90,8 @@ SimpleForm.setup do |config|
87
90
  b.optional :minlength
88
91
  b.optional :readonly
89
92
  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'
93
+ b.use :input, class: 'w-full text-gray-500 px-3 py-2 border rounded', error_class: 'text-red-500 border-red-500',
94
+ valid_class: 'text-green-400'
91
95
  b.use :full_error, wrap_with: { tag: 'p', class: 'mt-2 text-red-500 text-xs italic' }
92
96
  b.use :hint, wrap_with: { tag: 'p', class: 'mt-2 text-grey-700 text-xs italic' }
93
97
  end
@@ -96,26 +100,30 @@ SimpleForm.setup do |config|
96
100
  config.wrappers :vertical_multi_select, tag: 'div', class: 'my-4', error_class: 'f', valid_class: '' do |b|
97
101
  b.use :html5
98
102
  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|
103
+ b.wrapper :legend_tag, tag: 'legend', class: 'text-sm font-medium text-gray-600',
104
+ error_class: 'text-red-500' do |ba|
100
105
  ba.use :label_text
101
106
  end
102
107
  b.wrapper tag: 'div', class: 'inline-flex space-x-1' do |ba|
103
108
  # 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'
109
+ ba.use :input,
110
+ 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
111
  end
106
112
  b.use :full_error, wrap_with: { tag: 'p', class: 'mt-2 text-red-500 text-xs italic' }
107
113
  b.use :hint, wrap_with: { tag: 'p', class: 'mt-2 text-grey-700 text-xs italic' }
108
114
  end
109
115
 
110
116
  # 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|
117
+ config.wrappers :vertical_range, tag: 'div', class: 'my-4', error_class: 'text-red-500',
118
+ valid_class: 'text-green-400' do |b|
112
119
  b.use :html5
113
120
  b.use :placeholder
114
121
  b.optional :readonly
115
122
  b.optional :step
116
123
  b.use :label, class: 'text-sm font-medium text-gray-600 block', error_class: 'text-red-500'
117
124
  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'
125
+ ba.use :input, class: 'rounded-lg overflow-hidden appearance-none bg-gray-400 h-3 w-full text-gray-300',
126
+ error_class: 'text-red-500', valid_class: 'text-green-400'
119
127
  end
120
128
  b.use :full_error, wrap_with: { tag: 'p', class: 'mt-2 text-red-500 text-xs italic' }
121
129
  b.use :hint, wrap_with: { tag: 'p', class: 'mt-2 text-grey-700 text-xs italic' }
@@ -127,13 +135,13 @@ SimpleForm.setup do |config|
127
135
  # Custom wrappers for input types. This should be a hash containing an input
128
136
  # type as key and the wrapper that will be used for all inputs with specified type.
129
137
  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,
138
+ boolean: :vertical_boolean,
139
+ check_boxes: :vertical_collection,
140
+ date: :vertical_multi_select,
141
+ datetime: :vertical_multi_select,
142
+ file: :vertical_file,
135
143
  radio_buttons: :vertical_collection,
136
- range: :vertical_range,
137
- time: :vertical_multi_select
144
+ range: :vertical_range,
145
+ time: :vertical_multi_select
138
146
  }
139
147
  end
@@ -4,6 +4,6 @@ module SimpleForm
4
4
  module Tailwind
5
5
  MIN_RAILS_VERSION = '4.0'
6
6
  MIN_SIMPLEFORM_VERSION = '5.0'
7
- VERSION = '0.1.0'
7
+ VERSION = '0.1.2'
8
8
  end
9
9
  end
@@ -13,9 +13,6 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = 'https://github.com/tarellel/simple_form-tailwind'
14
14
  spec.license = 'MIT'
15
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
16
  spec.metadata['homepage_uri'] = spec.homepage
20
17
  spec.metadata = {
21
18
  'bug_tracker_uri' => 'https://github.com/tarellel/simple_form-tailwind/issues',
@@ -25,15 +22,15 @@ Gem::Specification.new do |spec|
25
22
 
26
23
  # Specify which files should be added to the gem when it is released.
27
24
  # 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
25
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
29
26
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
30
27
  end
31
28
  spec.bindir = 'exe'
32
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
30
  spec.require_paths = ['lib']
34
31
 
35
- spec.add_runtime_dependency 'railties', ">= #{SimpleForm::Tailwind::MIN_RAILS_VERSION}", '<= 7'
32
+ spec.add_runtime_dependency 'railties', ">= #{SimpleForm::Tailwind::MIN_RAILS_VERSION}"
36
33
  spec.add_dependency 'simple_form', ">= #{SimpleForm::Tailwind::MIN_SIMPLEFORM_VERSION}"
37
34
  spec.add_development_dependency 'bundler', '>= 1.17', '<= 3'
38
- spec.add_development_dependency 'rake', '>= 7.0', '<= 20.0'
35
+ spec.add_development_dependency 'rake', '>= 0'
39
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form-tailwind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Hicks
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-30 00:00:00.000000000 Z
11
+ date: 2024-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.0'
20
- - - "<="
21
- - !ruby/object:Gem::Version
22
- version: '7'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '4.0'
30
- - - "<="
31
- - !ruby/object:Gem::Version
32
- version: '7'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: simple_form
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -70,20 +64,14 @@ dependencies:
70
64
  requirements:
71
65
  - - ">="
72
66
  - !ruby/object:Gem::Version
73
- version: '7.0'
74
- - - "<="
75
- - !ruby/object:Gem::Version
76
- version: '20.0'
67
+ version: '0'
77
68
  type: :development
78
69
  prerelease: false
79
70
  version_requirements: !ruby/object:Gem::Requirement
80
71
  requirements:
81
72
  - - ">="
82
73
  - !ruby/object:Gem::Version
83
- version: '7.0'
84
- - - "<="
85
- - !ruby/object:Gem::Version
86
- version: '20.0'
74
+ version: '0'
87
75
  description: A generator to add a simple_form config setup for tailwindCSS based forms
88
76
  email:
89
77
  - tarellel@gmail.com
@@ -129,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
117
  - !ruby/object:Gem::Version
130
118
  version: '0'
131
119
  requirements: []
132
- rubygems_version: 3.1.4
120
+ rubygems_version: 3.5.17
133
121
  signing_key:
134
122
  specification_version: 4
135
123
  summary: A basic rails generator for adding a simpleform config setup for tailwindCSS