brick 1.0.219 → 1.0.220
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/brick/frameworks/rails/engine.rb +4 -4
- data/lib/brick/version_number.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bc21a2ffe1c7434812f1167f26303a4eeda701766489b5616348a3b4a890a93
|
4
|
+
data.tar.gz: 1c8e6226c3653732f2ac3e481a8348d30aa78ec7520fa2923d2a11f33719e686
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 391e5b7b6cf05618bf7cc74c55d0df46a5eb0d843cdc4ebfea501e5a7e5904181b4ad8f2440b7c8635da4dfe6225401ad1379cd8a52cfe2b26d9d9f38517afe6
|
7
|
+
data.tar.gz: 3c4335b074b040def278f5ba48b154cb122e575805c2cd7abda0157a610137f7899db7aed1c11f71923e5af6e84955f261c56d8dfbc0c4ab29c5600d4fb25152
|
@@ -582,7 +582,7 @@ window.addEventListener(\"popstate\", linkSchemas);
|
|
582
582
|
alias :_brick_lookup_context :lookup_context
|
583
583
|
def lookup_context(*args)
|
584
584
|
ret = _brick_lookup_context(*args)
|
585
|
-
@_lookup_context.instance_variable_set(:@_brick_req_params, params) if self.class < AbstractController::Base && request && params.present?
|
585
|
+
@_lookup_context.instance_variable_set(:@_brick_req_params, params) if self.class < AbstractController::Base && respond_to?(:request) && request && params.present?
|
586
586
|
ret
|
587
587
|
end
|
588
588
|
end
|
@@ -1167,7 +1167,7 @@ end
|
|
1167
1167
|
%></td>
|
1168
1168
|
<td<%= ' class=\"dimmed\"'.html_safe unless r[6] %>><%= # Views
|
1169
1169
|
%></td>
|
1170
|
-
|
1170
|
+
</tr>
|
1171
1171
|
<% end %>
|
1172
1172
|
</tbody></table>
|
1173
1173
|
#{script}"
|
@@ -1237,7 +1237,7 @@ end
|
|
1237
1237
|
end %>#{"
|
1238
1238
|
#{schema_options}" if schema_options}
|
1239
1239
|
<select id=\"tbl\">#{table_options}</select>
|
1240
|
-
<table id=\"resourceName\"><td><h1><%= page_title %></h1></td>
|
1240
|
+
<table id=\"resourceName\"><tr><td><h1><%= page_title %></h1></td>
|
1241
1241
|
<% rel = Brick.relations[#{model_name}.table_name]
|
1242
1242
|
if (in_app = rel.fetch(:existing, nil)&.fetch(:show, nil))
|
1243
1243
|
begin
|
@@ -1270,7 +1270,7 @@ end %>#{"
|
|
1270
1270
|
) %></td>
|
1271
1271
|
<% end
|
1272
1272
|
end %>
|
1273
|
-
</table>
|
1273
|
+
</tr></table>
|
1274
1274
|
<%
|
1275
1275
|
if (description = rel&.fetch(:description, nil)) %>
|
1276
1276
|
<span class=\"__brick\"><%= description %></span><br><%
|
data/lib/brick/version_number.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.220
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lorin Thwaits
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|