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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0a22471f524190c15c4669f35dcede577bbbc83216fd5646c9d904bd87038fe
4
- data.tar.gz: e8b2a902b6a4d8f78467ce3608a33c3c1ab297e72b425cffecac3012f11566a2
3
+ metadata.gz: dfe46489e52522984c6f0b53941f9217612bf1ff9c8f7eb9f55f1a1a4d6c0868
4
+ data.tar.gz: 4f9b476ccefe2c13eada396e718c8705ba7869e2011f1dbd31f74e459c8ba72b
5
5
  SHA512:
6
- metadata.gz: 1da17b43c1ae804f6b771a6cc6901dfd9a8e64f01dc82eae83813e72e203f9c837277a0d70b93e1d590e61079fb101a0ca9eaefb017f6a922554d4570fbc5cb3
7
- data.tar.gz: 63cfd9328ff78e3f0077a702175d987d0268b20b2f61c16e4c842cd6cd1bc83aeef296bafcf431697fb3f1e678e8269e39f6f3d09078d5efe329f0882c4a173f
6
+ metadata.gz: 8aefb04e3c822bd57951d11b9220cdb3c41b215cd84321a4f1335369181528a43677e824f240564f48c162978da6b4182161374684f4bd2e271bf0d4d501724a
7
+ data.tar.gz: f9b9043e5d075ee1739cd67a56fb98ccdfc5889a3589adfa550ee9f66660cedb0a23a5f8490f08f239559a9af8eaf7be573631fd5820a58bf03e0a3de2c35567
data/CHANGELOG.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Hanami::Utils
2
2
  Ruby core extentions and class utilities for Hanami
3
3
 
4
+ ## v1.2.0.beta1 - 2018-02-28
5
+
4
6
  ## v1.1.2 - 2018-02-02
5
7
  ### Added
6
8
  - [Luca Guidi] Official support for Ruby: MRI 2.5
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}>" # rubocop:disable Style/FormatString
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
  #
@@ -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
@@ -3,6 +3,6 @@ module Hanami
3
3
  # Defines the version
4
4
  #
5
5
  # @since 0.1.0
6
- VERSION = '1.1.2'.freeze
6
+ VERSION = '1.2.0.beta1'.freeze
7
7
  end
8
8
  end
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.1.2
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-02 00:00:00.000000000 Z
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: '0'
134
+ version: 1.3.1
135
135
  requirements: []
136
136
  rubyforge_project:
137
- rubygems_version: 2.7.4
137
+ rubygems_version: 2.7.5
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Ruby core extentions and Hanami utilities