pg_rails 7.0.8.pre.alpha.39 → 7.0.8.pre.alpha.40
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0c75ae98afcfa4e17e28f00db9876e5fe0aa2073a2ed596fb69f4f34511409e
|
4
|
+
data.tar.gz: 5015d88ae570ea79dd08316aa2abdc9039b00ad34f2d4d19288a76cef25e8273
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fe2178fed0e0d8938718d2cd75fed98b86c116bd682362528e70fd138e31fba9f6372fc1a03f26a5afd42f08278d846076bfcfdf55340720890aba02cefabf4
|
7
|
+
data.tar.gz: e22997837342010977b73599a1082e141a22e63367911e5a7aeb884b7ae28109b04adcd70e45b395d6ea0f4e156b13adff7df2eb6c522269b143435ccc19a4ab
|
@@ -20,10 +20,6 @@ module PgEngine
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
before_action do
|
24
|
-
Current.user = current_user
|
25
|
-
end
|
26
|
-
|
27
23
|
protect_from_forgery with: :exception
|
28
24
|
|
29
25
|
rescue_from PrintHelper::FechaInvalidaError, with: :fecha_invalida
|
@@ -32,6 +28,10 @@ module PgEngine
|
|
32
28
|
redirect_to e.url
|
33
29
|
end
|
34
30
|
|
31
|
+
before_action do
|
32
|
+
Current.user = current_user
|
33
|
+
end
|
34
|
+
|
35
35
|
helper_method :dev_user_or_env?
|
36
36
|
def dev_user_or_env?
|
37
37
|
Rails.env.development? || dev_user?
|
data/pg_layout/app/lib/navbar.rb
CHANGED
data/pg_rails/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.8.pre.alpha.
|
4
|
+
version: 7.0.8.pre.alpha.40
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martín Rosso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -1007,6 +1007,7 @@ files:
|
|
1007
1007
|
- pg_rails/js/index.js
|
1008
1008
|
- pg_rails/lib/pg_rails.rb
|
1009
1009
|
- pg_rails/lib/pg_rails/capybara_support.rb
|
1010
|
+
- pg_rails/lib/pg_rails/current_attributes_support.rb
|
1010
1011
|
- pg_rails/lib/pg_rails/dotenv_support.rb
|
1011
1012
|
- pg_rails/lib/pg_rails/vcr_support.rb
|
1012
1013
|
- pg_rails/lib/version.rb
|