hanami-utils 1.0.2 → 1.0.3

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: 3cece6414d9033761d5420da6c1187b75eb160a4
4
- data.tar.gz: 821f957570233d80256801521272501f2951aff4
3
+ metadata.gz: 5992348b81897a8cd06f2c3271d70033c6af4cb8
4
+ data.tar.gz: 7347bb800840f44f0e10949f82375a065cee71ca
5
5
  SHA512:
6
- metadata.gz: 436be23fc7c763d2b3fe507408263244488ae439c43ab8aee083f646f10d8acfc1873c3c042c017d91bd0fd96b4f7d19d18c0423bf666fd3a1d623066ba98452
7
- data.tar.gz: 1ec880477d2645f655f76baecfb7129dd021afa8b4a45e840e4c9d119a016b05bdeff1089d1e8998b3d34c30d86ee72c809c2b00cf24a9183ee2e207f9115fc3
6
+ metadata.gz: bfa0af25082940741d014b0beff57ceffb5fb876bc436c27e8c8a51fe2af8ad8b0a9e8a0a493d5018a8a3c316bbb73f56a313d5020dae78cc31a642c5f960f0b
7
+ data.tar.gz: d6e8474cce3580333ba1e5a164e8b10d93ea8bf94658bc65f8dc1db343550508d7a7903d22de05db146c329e743e6261cc6c824e1d2ff96f1362ba8371a0359e
@@ -1,6 +1,11 @@
1
1
  # Hanami::Utils
2
2
  Ruby core extentions and class utilities for Hanami
3
3
 
4
+ ## v1.0.3 - 2017-09-06
5
+ ### Fixed
6
+ - [Malina Sulca] Fix pluralization/singularization for `"exercise" => "exercises"`
7
+ - [Xavier Barbosa] Fix pluralization/singularization for `"area" => "areas"`
8
+
4
9
  ## v1.0.2 - 2017-07-10
5
10
  ### Fixed
6
11
  - [Anton Davydov] Fix pluralization/singularization for `"phrase" => "phrases"`
data/README.md CHANGED
@@ -88,6 +88,10 @@ Safe `#dup` logic for Ruby objects. [[API doc](http://www.rubydoc.info/gems/hana
88
88
 
89
89
  Safe and fast escape for URLs, HTML content and attributes. Based on OWASP/ESAPI code. [[API doc](http://www.rubydoc.info/gems/hanami-utils/Hanami/Utils/Escape)]
90
90
 
91
+ ### Hanami::Utils::FileList
92
+
93
+ Recursive, cross-platform ordered list of files. [[API doc](http://www.rubydoc.info/gems/hanami-utils/Hanami/Utils/FileList)]
94
+
91
95
  ### Hanami::Utils::Hash
92
96
 
93
97
  Enhanced version of Ruby's `Hash`. [[API doc](http://www.rubydoc.info/gems/hanami-utils/Hanami/Utils/Hash)]
@@ -100,6 +104,10 @@ Silence Ruby warnings. [[API doc](http://www.rubydoc.info/gems/hanami-utils/Hana
100
104
 
101
105
  Complete and customizable english inflections (pluralization and singularization). [[API doc](http://www.rubydoc.info/gems/hanami-utils/Hanami/Utils/Inflector)]
102
106
 
107
+ ### Hanami::Utils::Json
108
+
109
+ JSON engine with swappable backends (via optional `multi_json` gem) or powered by Ruby's `json` (default). [[API doc](http://www.rubydoc.info/gems/hanami-utils/Hanami/Utils/Json)]
110
+
103
111
  ### Hanami::Utils::Kernel
104
112
 
105
113
  Type coercions for most common Ruby types. [[API doc](http://www.rubydoc.info/gems/hanami-utils/Hanami/Utils/Kernel)]
@@ -226,7 +226,8 @@ module Hanami
226
226
  'police' => 'police',
227
227
  # regressions
228
228
  # https://github.com/hanami/utils/issues/106
229
- 'album' => 'albums'
229
+ 'album' => 'albums',
230
+ 'area' => 'areas'
230
231
  )
231
232
 
232
233
  # Irregular rules for singulars
@@ -267,8 +268,10 @@ module Hanami
267
268
  'species' => 'species',
268
269
  'police' => 'police',
269
270
  # fallback
271
+ 'areas' => 'area',
270
272
  'hives' => 'hive',
271
- 'phases' => 'phase'
273
+ 'phases' => 'phase',
274
+ 'exercises' => 'exercise'
272
275
  )
273
276
 
274
277
  # Block for custom inflection rules.
@@ -3,6 +3,6 @@ module Hanami
3
3
  # Defines the version
4
4
  #
5
5
  # @since 0.1.0
6
- VERSION = '1.0.2'.freeze
6
+ VERSION = '1.0.3'.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.2
4
+ version: 1.0.3
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-07-10 00:00:00.000000000 Z
11
+ date: 2017-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: transproc
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.6.11
122
+ rubygems_version: 2.6.13
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Ruby core extentions and Hanami utilities