rows_controller 3.1.1 → 3.1.3

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: 608e308317430650c974be5dcc19c0d63bf4dce16c4a85844d568caf2c4fcc63
4
- data.tar.gz: 0dbbd3d8229975a7b0c3e37dec220bd983c7c0476d15de3687f708907930df30
3
+ metadata.gz: 8fe3e9d5693717cb226abdef281a8ef7d3b713d57c36ea3ba1d582a8d017ca0c
4
+ data.tar.gz: d15cfaf41de8b77e2a5c1d16a2dd2310090c4a3a5487d77e3f1459dbf04d859b
5
5
  SHA512:
6
- metadata.gz: 13d43c53f9b359eaf673b4048ff4f8ce3790533402bf897dae3ae1dbb4a36d34b9abebf49e2ada94674d4cfdebc65619a7a6abe301abb041c6bced77a4e547b2
7
- data.tar.gz: 153b05355ee37847f683f576f96566534dd07c2a358d1f35ccf9c4d2e90c1fbfdf3979d806992bb2e6471aec6bedc257060b12b99479729e6d9a3b8e6d014c64
6
+ metadata.gz: e1ba04ec0b47fddfc0a66fda678f52ad94c7decd6f21613316f3c24a6dd9a0aef856d59ea70b4ae5d7518389471c91b9003ab3ae082570ce1d18465cb9928c15
7
+ data.tar.gz: cb475c25fbb86015d57b34aaceb3c0baaac9ba2c350f421b3608171c64f40704d712f98f0b27569553a3a04591c7445b3d8f7545d95a945a9d2e1afb835cd54b
@@ -63,7 +63,7 @@ class RowsController < ApplicationController
63
63
  respond_to do |format|
64
64
  format.html { redirect_to action: :index }
65
65
  format.json { head :no_content }
66
- format.turbo_stream {}
66
+ # format.turbo_stream {} # outcomment for backward compatibility
67
67
  end
68
68
  end
69
69
 
@@ -10,7 +10,7 @@ ruby:
10
10
  left ||= nil
11
11
  right ||= nil
12
12
 
13
- .rows-submit style="width:100%" data= { turbo: 'false' }
13
+ .rows-submit style="width:100%" data={ turbo: 'false' }
14
14
  input style="display:none" type="submit" name="commit" value="OK"
15
15
  p style="float:left"
16
16
  = render '/rows/submit_part', content: :submit_left, names: left
data/lib/rows/model.rb CHANGED
@@ -2,8 +2,10 @@
2
2
 
3
3
  module Rows::Model
4
4
  def model_class
5
+ # rubocop: disable
5
6
  @_model_class ||= self.class.model_class ||
6
7
  Kernel.const_get(params[:controller].classify)
8
+ # rubocop: enable
7
9
  end
8
10
 
9
11
  if Rails::VERSION::MAJOR > 3
data/lib/rows/version.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  module Rows
2
- VERSION = "3.1.1" # 2023-04-20
2
+ VERSION = "3.1.3" # 2023-12-09
3
+ # VERSION = "3.1.2" # 2023-07-20
4
+ # VERSION = "3.1.1" # 2023-04-20
3
5
  # VERSION = "3.1.0" # 2022-09-18
4
6
  # VERSION = '3.0.5' # 2021-06-24
5
7
  # VERSION = '3.0.3' # 2020-07-14
@@ -1,12 +1,14 @@
1
1
  module Rows
2
- VERSION = "3.1.0" # 2022-09-18
3
- # VERSION = '3.0.5' # 2021-06-24
4
- # VERSION = '3.0.3' # 2020-07-14
5
- # VERSION = '3.0.2' # 2020-04-27
6
- # VERSION = '3.0.1' # 2020-03-01
7
- # VERSION = '3.0.0' # 2019-10-03
8
- # VERSION = '2.2.3' # 2019-10-03
9
- # VERSION = '2.2.2' # 2019-05-06
10
- # VERSION = '2.2.1' # 2019-02-18
2
+ VERSION = "3.1.2" # 2023-07-20
3
+ # VERSION = "3.1.1" # 2023-04-20
4
+ # VERSION = "3.1.0" # 2022-09-18
5
+ # VERSION = '3.0.5' # 2021-06-24
6
+ # VERSION = '3.0.3' # 2020-07-14
7
+ # VERSION = '3.0.2' # 2020-04-27
8
+ # VERSION = '3.0.1' # 2020-03-01
9
+ # VERSION = '3.0.0' # 2019-10-03
10
+ # VERSION = '2.2.3' # 2019-10-03
11
+ # VERSION = '2.2.2' # 2019-05-06
12
+ # VERSION = '2.2.1' # 2019-02-18
11
13
  # VERSION = '2.2.0'
12
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rows_controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-20 00:00:00.000000000 Z
11
+ date: 2023-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,7 +128,7 @@ files:
128
128
  - lib/rows/version.rb
129
129
  - lib/rows/version.rb.bak
130
130
  - lib/rows_controller.rb
131
- homepage: http://matiq.com
131
+ homepage: https://github.com/matique/rows_controller
132
132
  licenses:
133
133
  - MIT
134
134
  metadata:
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  requirements: []
151
- rubygems_version: 3.4.10
151
+ rubygems_version: 3.4.20
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: RowsController DRYs your controllers.