lite-ruby 1.0.28 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd3026256b8018c856fb0c727be35ddd1821a958e4d15f3473e84537797394c8
4
- data.tar.gz: 2fde9576e70ea0b7b7a9d6482e05c10e23f1fe8866ccc28d8b82d155332babcd
3
+ metadata.gz: ab408998ca8693b60da98a82162403e2c18a30d22974a17ec17e3e7c38c9ad04
4
+ data.tar.gz: 1a34293ee4ea051a3308d67eb77011902b6f7389284d695d510c54b48e449476
5
5
  SHA512:
6
- metadata.gz: fb4afea421f458e8c807fca853e7ba889f64ebfab5481735760ae5c12be94a3f812b6004ee06ab87b6227c66a8c5a805ee570e170a9c52216907ec6247ec1f44
7
- data.tar.gz: 288cb3064bba3feab275aafdd809cdef98e92bfbff0a6d686a87c61552a42f984453c78347b20aebb596b6661fe94b45a1622aec3b057de1fb9368e0d9071f39
6
+ metadata.gz: 0d1a2fd4da82dfb787b672e13b2be1289544f7a969b29a84b69f2a1bc01a59727c9a530d9fbfe51d3ef186cc27782582f841e748acaaa3e769c6de1d34086dc5
7
+ data.tar.gz: 1a1926a5a3ab3f49865ccf81ba70212806cc02b766e811da0715fc11d5ffbfce823d5a7820efe6a2f428140cd168fd164961aec4b72482cf1976ee8e425908c4
@@ -2,7 +2,8 @@ require:
2
2
  - rubocop-performance
3
3
  - rubocop-rspec
4
4
  AllCops:
5
- TargetRubyVersion: 2.6
5
+ TargetRubyVersion: 2.7
6
+ NewCops: enable
6
7
  DisplayCopNames: true
7
8
  DisplayStyleGuide: true
8
9
  Layout/EmptyLinesAroundBlockBody:
@@ -4,6 +4,7 @@ cache: bundler
4
4
  rvm:
5
5
  - 2.5
6
6
  - 2.6
7
+ - 2.7
7
8
  - ruby-head
8
9
  matrix:
9
10
  fast_finish: true
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.29] - 2020-07-03
10
+ ### Added
11
+ - Added Ruby 2.7 support
12
+
9
13
  ## [1.0.28] - 2020-06-25
10
14
  # Changed
11
15
  - Rename String => `encode_only` to `safe_encode`
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-ruby (1.0.28)
4
+ lite-ruby (1.0.29)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -30,7 +30,7 @@ GEM
30
30
  colorize (0.8.1)
31
31
  concurrent-ruby (1.1.6)
32
32
  crass (1.0.6)
33
- diff-lcs (1.4.2)
33
+ diff-lcs (1.4.4)
34
34
  erubi (1.9.0)
35
35
  fasterer (0.8.3)
36
36
  colorize (~> 0.7)
@@ -91,11 +91,11 @@ GEM
91
91
  rubocop-ast (>= 0.0.3, < 1.0)
92
92
  ruby-progressbar (~> 1.7)
93
93
  unicode-display_width (>= 1.4.0, < 2.0)
94
- rubocop-ast (0.0.3)
94
+ rubocop-ast (0.1.0)
95
95
  parser (>= 2.7.0.1)
96
96
  rubocop-performance (1.6.1)
97
97
  rubocop (>= 0.71.0)
98
- rubocop-rspec (1.40.0)
98
+ rubocop-rspec (1.41.0)
99
99
  rubocop (>= 0.68.1)
100
100
  ruby-progressbar (1.10.1)
101
101
  ruby_parser (3.14.2)
@@ -106,7 +106,7 @@ GEM
106
106
  tzinfo (1.2.7)
107
107
  thread_safe (~> 0.1)
108
108
  unicode-display_width (1.7.0)
109
- zeitwerk (2.3.0)
109
+ zeitwerk (2.3.1)
110
110
 
111
111
  PLATFORMS
112
112
  ruby
@@ -14,7 +14,7 @@ if Lite::Ruby.configuration.monkey_patches.include?('open_struct')
14
14
 
15
15
  hash&.each do |key, val|
16
16
  @table[key.to_sym] = val
17
- new_ostruct_member(key)
17
+ new_ostruct_member!(key)
18
18
  end
19
19
 
20
20
  yield self if block && block.arity == 1
@@ -202,8 +202,8 @@ if Lite::Ruby.configuration.monkey_patches.include?('string')
202
202
  arr_indexes.reverse
203
203
  end
204
204
 
205
- def labelize(options = {})
206
- dup.labelize!(options)
205
+ def labelize(capitalize: true)
206
+ dup.labelize!(capitalize: capitalize)
207
207
  end
208
208
 
209
209
  alias labelcase labelize
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Ruby
5
5
 
6
- VERSION ||= '1.0.28'
6
+ VERSION ||= '1.0.29'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.28
4
+ version: 1.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-25 00:00:00.000000000 Z
11
+ date: 2020-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler