egov_utils 0.4.14 → 0.4.15

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: 623d49b941cf0097538f303be8e559c71b487fe88617db75714fa23331eda159
4
- data.tar.gz: 25893c6be77510eb4c2c53d2924ab1e25a4b1facafdb9e0d85be16e5dd05fe84
3
+ metadata.gz: 7113a82c08ac9b1557d68155cfbfc8e7e330d389c573c26929cf017e50a77e8c
4
+ data.tar.gz: 0171105c96722ee7f05e88572a5129811ffc8c9a817a8f8fe804e764b9a047fd
5
5
  SHA512:
6
- metadata.gz: 8522c843305e9771989b5057c5b1603f7ef81113df2017db17f655eb70ffb35e9bbfa5baee7670732cbe2b42994c6434a33b1f3dbaf681666a0550bc97ec329e
7
- data.tar.gz: b40d3afbd9855d69c8d1c9f9627c90a7211c397d7f81854282d0c20c08fb4f5b55654791f64c98de57a4b936f94fb567afa864aa0c95f789285cfd6a5dfe3972
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/attribute_formatter_patch'
7
- AzaharaSchema::AttributeFormatter.__send__('prepend', AzaharaSchemaCurrency::AttributeFormatterPatch)
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)
@@ -1,5 +1,5 @@
1
1
  module AzaharaSchemaCurrency
2
- module AttributeFormatterPatch
2
+ module PresenterPatch
3
3
 
4
4
  def format_value_html(attribute, unformated_value, **options)
5
5
  case attribute.type
@@ -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])
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '0.4.14'
2
+ VERSION = '0.4.15'
3
3
  end
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.14
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-13 00:00:00.000000000 Z
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