hanami-utils 1.0.0.rc1 → 1.0.0

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
  SHA1:
3
- metadata.gz: 451f3a95a054ee9c8b43e77ff9b508606c587cd4
4
- data.tar.gz: 6290517874803863fbbb295739a7d25e4d3e6b61
3
+ metadata.gz: 222ce74ee6d0046eb15654d43137779443680672
4
+ data.tar.gz: 399ca64be5aa28e052f97342e53f80a9fe853901
5
5
  SHA512:
6
- metadata.gz: 677588b9ad278e4496e0a08025e6f73efbcf4eaebfcb2e3a47f722fa39017217cfe1cbf9602c3593b6c691e3bda7e7bfb3f60b7b3463402c592b5840265a0585
7
- data.tar.gz: e4c52ea6103c19e69b18802a31719da59c6ff14fc48e509e26dffd5750432300467b857bf6c60a8db91a5de0a4134e7b61b02c219c7281e872003459b9d6348a
6
+ metadata.gz: f312d57686b39917b644c9e096e865a3e1f1a2a4b5c8a915f1a452216f123e6dc3170e587947e3311e13a01972a2c2f0fce047b7b6b2495a7c6584a05f8e77ec
7
+ data.tar.gz: fdc41332f6d86936626eb23795271780e70036c6fae8d4458a15ddb832187a047cba81c727a1877c26938fe2900ec1c08d733d72670fc950873bb1b48da322ed
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.0.0 - 2017-04-06
5
+
4
6
  ## v1.0.0.rc1 - 2017-03-31
5
7
  ### Added
6
8
  - [Luca Guidi] Allow `Hanami::Logger#initialize` to accept arguments to be compliant with Ruby's `Logger`
@@ -26,7 +28,7 @@ Ruby core extentions and class utilities for Hanami
26
28
 
27
29
  ### Fixed
28
30
  - [alexd16 & Alfonso Uceda & Luca Guidi] Don't deeply symbolize `Hanami::Interactor::Result` payload
29
- [Alfonso Uceda] `Hanami::Interactor::Result`: Don't transform objects that respond to `#to_hash` (like entities)
31
+ - [Alfonso Uceda] `Hanami::Interactor::Result`: Don't transform objects that respond to `#to_hash` (like entities)
30
32
  - [Bhanu Prakash] Use `Utils::Json.generate` instead of the deprecated `.dump` for `Hanami::Logger` JSON formatter
31
33
  - [Luca Guidi] `Hanami::Logger`: when a `Hash` message is passed, don't nest it under `:message` key, but unwrap at the top level
32
34
 
data/lib/hanami/logger.rb CHANGED
@@ -108,7 +108,7 @@ module Hanami
108
108
  # @api private
109
109
  NEW_LINE = $/
110
110
 
111
- # @since 1.0.0.beta1
111
+ # @since 1.0.0
112
112
  # @api private
113
113
  RESERVED_KEYS = %i(app severity time).freeze
114
114
 
@@ -143,7 +143,7 @@ module Hanami
143
143
  # @api private
144
144
  attr_writer :application_name
145
145
 
146
- # @since 1.0.0.beta1
146
+ # @since 1.0.0
147
147
  # @api private
148
148
  attr_reader :application_name
149
149
 
data/lib/hanami/utils.rb CHANGED
@@ -62,7 +62,7 @@ module Hanami
62
62
  #
63
63
  # @param directory [String, Pathname] the directory
64
64
  #
65
- # @since 1.0.0.beta1
65
+ # @since 1.0.0
66
66
  # @api private
67
67
  def self.reload!(directory)
68
68
  for_each_file_in(directory) { |file| load(file) }
@@ -80,7 +80,7 @@ module Hanami
80
80
  # @param directory [String, Pathname] the directory
81
81
  # @param blk [Proc] the block to yield
82
82
  #
83
- # @since 1.0.0.beta1
83
+ # @since 1.0.0
84
84
  # @api private
85
85
  def self.for_each_file_in(directory, &blk)
86
86
  directory = directory.to_s.gsub(%r{(\/|\\)}, File::SEPARATOR)
@@ -60,7 +60,7 @@ module Hanami
60
60
  #
61
61
  # @return [TrueClass,FalseClass]
62
62
  #
63
- # @since 1.0.0.beta2
63
+ # @since 1.0.0
64
64
  # @api private
65
65
  def self.filled?(object)
66
66
  !blank?(object)
@@ -75,7 +75,7 @@ module Hanami
75
75
  #
76
76
  # @return [Hash] self
77
77
  #
78
- # @since 1.0.0.beta1
78
+ # @since 1.0.0
79
79
  #
80
80
  # @example
81
81
  # require 'hanami/utils/hash'
@@ -3,6 +3,6 @@ module Hanami
3
3
  # Defines the version
4
4
  #
5
5
  # @since 0.1.0
6
- VERSION = '1.0.0.rc1'.freeze
6
+ VERSION = '1.0.0'.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.0.0.rc1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-31 00:00:00.000000000 Z
11
+ date: 2017-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,9 +86,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
86
  version: 2.3.0
87
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - ">"
89
+ - - ">="
90
90
  - !ruby/object:Gem::Version
91
- version: 1.3.1
91
+ version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
94
  rubygems_version: 2.6.11