rows_controller 3.1.1 → 3.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: 608e308317430650c974be5dcc19c0d63bf4dce16c4a85844d568caf2c4fcc63
4
- data.tar.gz: 0dbbd3d8229975a7b0c3e37dec220bd983c7c0476d15de3687f708907930df30
3
+ metadata.gz: 4adf6d699b2df7808dec8306a38c81c9c6bbb90f4df1339250548e3d6a0a3514
4
+ data.tar.gz: 3f069cb0ee5b4f22f03d9da209535a4ecb51a3c0a1f544394603aa457508ce7f
5
5
  SHA512:
6
- metadata.gz: 13d43c53f9b359eaf673b4048ff4f8ce3790533402bf897dae3ae1dbb4a36d34b9abebf49e2ada94674d4cfdebc65619a7a6abe301abb041c6bced77a4e547b2
7
- data.tar.gz: 153b05355ee37847f683f576f96566534dd07c2a358d1f35ccf9c4d2e90c1fbfdf3979d806992bb2e6471aec6bedc257060b12b99479729e6d9a3b8e6d014c64
6
+ metadata.gz: 35db61b5b72d0097207b0357a9af62a6d2c4f2e734eb8b23abc62390632afbe876aac58aa77ec03030f42eab1f93b8c5442a2b0c65dae870da1c701f99006510
7
+ data.tar.gz: 694bcdd9ce6698ee8a04efcd9b0ee95c127105aced5bd13432c37b62c79f78f973ead2d07708955e6b7c27b8dd9df842d232ec47a56abe5bc39079ef4c6d96c1
@@ -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,6 @@
1
1
  module Rows
2
- VERSION = "3.1.1" # 2023-04-20
2
+ VERSION = "3.1.2" # 2023-07-20
3
+ # VERSION = "3.1.1" # 2023-04-20
3
4
  # VERSION = "3.1.0" # 2022-09-18
4
5
  # VERSION = '3.0.5' # 2021-06-24
5
6
  # VERSION = '3.0.3' # 2020-07-14
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.2
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-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -126,7 +126,6 @@ files:
126
126
  - lib/rows/resources.rb
127
127
  - lib/rows/utils.rb
128
128
  - lib/rows/version.rb
129
- - lib/rows/version.rb.bak
130
129
  - lib/rows_controller.rb
131
130
  homepage: http://matiq.com
132
131
  licenses:
@@ -148,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
147
  - !ruby/object:Gem::Version
149
148
  version: '0'
150
149
  requirements: []
151
- rubygems_version: 3.4.10
150
+ rubygems_version: 3.4.17
152
151
  signing_key:
153
152
  specification_version: 4
154
153
  summary: RowsController DRYs your controllers.
@@ -1,12 +0,0 @@
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
11
- # VERSION = '2.2.0'
12
- end