coolkit 0.2.0 → 0.2.1

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: 9ad36bff0a52088342ecb08344d0de312ff5c3a0b9c9ef9c48284dc6c920152c
4
- data.tar.gz: b907315cb342b131b2b7dffaec5b8b1e757396999e0b8d500f9c327a9d252913
3
+ metadata.gz: ffab76587f5cd7823eef6831acdfadfe46d3f4b0deeec2385195d8e0fdb9c342
4
+ data.tar.gz: 2968df55f344aec6f2b3582b2871e28b91607f7586ad7f3261d24df15515af47
5
5
  SHA512:
6
- metadata.gz: 7f92f5384b3e470fea659e3718752c5e92c6758d0f45f2bb3331d3dcb8bd71818e38e4e232aa8e1833ff1c37069a438f62f3c06e6d6fd3cfa33e69a360ba5faa
7
- data.tar.gz: bd1a2364ac6a2132a91e4c08f737e99b4f147bab2438df1e722da9148f1944e520582bc8c6344b079a2a964df0bce4f42e3ef04117943edbea3b209cdf47a91a
6
+ metadata.gz: 9029a90cd969a3509e3021234989f7412b5cff73cb87026fa8c2ebf4daf209026994c85581549c573d0bea8a90b6381737d7d57a4859c736ad3b04d820e08132
7
+ data.tar.gz: 38c0d01c0c30cd48dda0bfb0d3ba62ab2f3df0444de7cc98ac5a8028003d2abcdd3c31bb12c746250330b7f18f5fd408144ae29b19498fdcfb736eecf188180e
data/.rubocop.yml CHANGED
@@ -25,10 +25,10 @@ Metrics/LineLength:
25
25
  Layout/EmptyLineAfterGuardClause:
26
26
  Enabled: false
27
27
 
28
- Layout/EmptyLinesAroundBlockBody:
28
+ Layout/EmptyLinesAroundModuleBody:
29
29
  Enabled: false
30
30
 
31
- Layout/EmptyLinesAroundBlockBody:
31
+ Layout/EmptyLinesAroundClassBody:
32
32
  Enabled: false
33
33
 
34
34
  Layout/EmptyLinesAroundBlockBody:
@@ -88,9 +88,13 @@ Style/SymbolArray:
88
88
  # Unsorted
89
89
  # ==============================================================================
90
90
 
91
+ # Default value (special_inside_parentheses) is ridiculous.
92
+ # Look for yourself: https://www.rubydoc.info/gems/rubocop/0.69.0/RuboCop/Cop/Layout/IndentFirstHashElement
91
93
  Layout/IndentFirstHashElement:
92
94
  EnforcedStyle: consistent
93
95
 
96
+ # Default value (special_inside_parentheses) is ridiculous.
97
+ # Look for yourself: https://www.rubydoc.info/gems/rubocop/0.69.0/RuboCop/Cop/Layout/IndentFirstArrayElement
94
98
  Layout/IndentFirstArrayElement:
95
99
  EnforcedStyle: consistent
96
100
 
@@ -146,4 +150,3 @@ Metrics/PerceivedComplexity:
146
150
 
147
151
  Style/CommentedKeyword:
148
152
  Enabled: False
149
-
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  <!-- ## [Unreleased] -->
9
9
 
10
+ ## 0.2.1 (2019-11-19)
11
+
12
+ ### Fixed
13
+
14
+ - Fixed incorrectly named variable in `Coolkit.symbolize_keys`.
15
+
10
16
  ## 0.2.0 (2019-11-17)
11
17
 
12
18
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- coolkit (0.2.0)
4
+ coolkit (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -25,7 +25,7 @@ module Coolkit
25
25
  elsif arg.is_a?(Array)
26
26
  arg.map { |e| symbolize_keys(e) }
27
27
  else
28
- x
28
+ arg
29
29
  end
30
30
  end
31
31
  end
data/lib/coolkit/time.rb CHANGED
@@ -3,8 +3,8 @@ require "time"
3
3
  module Coolkit
4
4
  # Convert a `UTC` {Time} object to `EST`.
5
5
  #
6
- # @raise [ArgumentError] Unless passed a `UTC` formatted time.
7
6
  # @param time [Time]
7
+ # @raise [ArgumentError] Unless passed a `UTC` formatted Time object.
8
8
  # @return [Time]
9
9
  def self.to_est(time)
10
10
  raise ArgumentError "argument is not in UTC format" unless time.utc?()
@@ -1,3 +1,3 @@
1
1
  module Coolkit
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clay Dunston
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-18 00:00:00.000000000 Z
11
+ date: 2019-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler