egov_utils 0.4.14 → 0.4.15
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7113a82c08ac9b1557d68155cfbfc8e7e330d389c573c26929cf017e50a77e8c
|
|
4
|
+
data.tar.gz: 0171105c96722ee7f05e88572a5129811ffc8c9a817a8f8fe804e764b9a047fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51255a8ae5635e28cb07e3b7a469daf88dcfd04eb05bf0b7f4bab2f7171aaf6d02641e9a411d522239dcad233295634daeb3fbb035ec8f6d0f6d84f56e0190b9
|
|
7
|
+
data.tar.gz: 763bceddd07de03e6fa19117d341cf8f9d14d2df48a661b6f1d709438682c33656509a7da775d5dbe114a19bf9284b441183bcf93511533cd4adb6ab554e12b9
|
|
@@ -3,8 +3,8 @@ require 'money'
|
|
|
3
3
|
require 'azahara_schema_currency/currency_format'
|
|
4
4
|
require 'azahara_schema_currency/currency_attribute'
|
|
5
5
|
|
|
6
|
-
require 'azahara_schema_currency/
|
|
7
|
-
AzaharaSchema::
|
|
6
|
+
require 'azahara_schema_currency/presenter_patch'
|
|
7
|
+
AzaharaSchema::Presenter.__send__('prepend', AzaharaSchemaCurrency::PresenterPatch)
|
|
8
8
|
|
|
9
9
|
require 'azahara_schema_currency/association_attribute_patch'
|
|
10
10
|
AzaharaSchema::AssociationAttribute.__send__('prepend', AzaharaSchemaCurrency::AssociationAttributePatch)
|
|
@@ -79,7 +79,7 @@ module EgovUtils
|
|
|
79
79
|
def find_kerberos_user
|
|
80
80
|
return nil unless internal_network? && EgovUtils::AuthSource.kerberos_providers.any? && request.env['HTTP_REMOTE_USER'].present?
|
|
81
81
|
username = request.env['HTTP_REMOTE_USER'].split('@')[0]
|
|
82
|
-
logger.info(" Trying kerberos: #{username}") if logger
|
|
82
|
+
logger.info(" Trying kerberos: #{username} from (#{request.env['HTTP_REMOTE_USER']})") if logger
|
|
83
83
|
attrs = EgovUtils::AuthSource.find_kerberos_user(username)
|
|
84
84
|
if attrs
|
|
85
85
|
user = User.active.find_by(login: attrs[:login])
|
data/lib/egov_utils/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: egov_utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ondřej Ezr
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-09-
|
|
11
|
+
date: 2018-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -540,9 +540,9 @@ files:
|
|
|
540
540
|
- lib/azahara_schema_currency.rb
|
|
541
541
|
- lib/azahara_schema_currency/aggregation_attribute_patch.rb
|
|
542
542
|
- lib/azahara_schema_currency/association_attribute_patch.rb
|
|
543
|
-
- lib/azahara_schema_currency/attribute_formatter_patch.rb
|
|
544
543
|
- lib/azahara_schema_currency/currency_attribute.rb
|
|
545
544
|
- lib/azahara_schema_currency/currency_format.rb
|
|
545
|
+
- lib/azahara_schema_currency/presenter_patch.rb
|
|
546
546
|
- lib/bootstrap_form/check_box_patch.rb
|
|
547
547
|
- lib/bootstrap_form/custom_file_field.rb
|
|
548
548
|
- lib/bootstrap_form/datetimepicker.rb
|