hanami-utils 1.1.2 → 1.2.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/hanami/logger.rb +2 -0
- data/lib/hanami/utils/basic_object.rb +6 -1
- data/lib/hanami/utils/hash.rb +3 -2
- data/lib/hanami/utils/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfe46489e52522984c6f0b53941f9217612bf1ff9c8f7eb9f55f1a1a4d6c0868
|
4
|
+
data.tar.gz: 4f9b476ccefe2c13eada396e718c8705ba7869e2011f1dbd31f74e459c8ba72b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aefb04e3c822bd57951d11b9220cdb3c41b215cd84321a4f1335369181528a43677e824f240564f48c162978da6b4182161374684f4bd2e271bf0d4d501724a
|
7
|
+
data.tar.gz: f9b9043e5d075ee1739cd67a56fb98ccdfc5889a3589adfa550ee9f66660cedb0a23a5f8490f08f239559a9af8eaf7be573631fd5820a58bf03e0a3de2c35567
|
data/CHANGELOG.md
CHANGED
data/lib/hanami/logger.rb
CHANGED
@@ -469,6 +469,8 @@ module Hanami
|
|
469
469
|
@application_name = application_name
|
470
470
|
@formatter = Formatter.fabricate(formatter, self.application_name, filter)
|
471
471
|
end
|
472
|
+
# rubocop:enable Metrics/ParameterLists
|
473
|
+
# rubocop:enable Lint/HandleExceptions
|
472
474
|
|
473
475
|
# Returns the current application name, this is used for tagging purposes
|
474
476
|
#
|
@@ -20,9 +20,14 @@ module Hanami
|
|
20
20
|
# @since 0.3.5
|
21
21
|
#
|
22
22
|
# @see http://ruby-doc.org/core/Object.html#method-i-inspect
|
23
|
+
#
|
24
|
+
# rubocop:disable Style/FormatString
|
25
|
+
# rubocop:disable Style/FormatStringToken
|
23
26
|
def inspect
|
24
|
-
"#<#{self.class}:#{'0x0000%x' % (__id__ << 1)}#{__inspect}>"
|
27
|
+
"#<#{self.class}:#{'0x0000%x' % (__id__ << 1)}#{__inspect}>"
|
25
28
|
end
|
29
|
+
# rubocop:enable Style/FormatStringToken
|
30
|
+
# rubocop:enable Style/FormatString
|
26
31
|
|
27
32
|
# Alias for __id__
|
28
33
|
#
|
data/lib/hanami/utils/hash.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# rubocop:disable ClassLength
|
2
|
-
|
3
1
|
require 'hanami/utils/duplicable'
|
4
2
|
require 'transproc'
|
5
3
|
|
@@ -7,6 +5,8 @@ module Hanami
|
|
7
5
|
module Utils
|
8
6
|
# Hash on steroids
|
9
7
|
# @since 0.1.0
|
8
|
+
#
|
9
|
+
# rubocop:disable ClassLength
|
10
10
|
class Hash
|
11
11
|
# @since 0.6.0
|
12
12
|
# @api private
|
@@ -506,5 +506,6 @@ module Hanami
|
|
506
506
|
@hash.respond_to?(m, include_private)
|
507
507
|
end
|
508
508
|
end
|
509
|
+
# rubocop:enable ClassLength
|
509
510
|
end
|
510
511
|
end
|
data/lib/hanami/utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: transproc
|
@@ -129,12 +129,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: 2.3.0
|
130
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
|
-
- - "
|
132
|
+
- - ">"
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
134
|
+
version: 1.3.1
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.7.
|
137
|
+
rubygems_version: 2.7.5
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Ruby core extentions and Hanami utilities
|