clone_kit 0.5.0 → 0.5.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: 54f38bf7fecf535b3dbdd87575a9879e9ac3a4bf20c9819a96cf8a2d2580aae9
4
- data.tar.gz: c0b05a28c7324fb8093b6be72701a22c718a77241500e44629577387d43b605c
3
+ metadata.gz: c402806efb4fcfb36d62c7b3cf4388e254d30f7d1fcf05dae327ce8c5de5b5da
4
+ data.tar.gz: 18c48471b921149cd91655f51955aab1323b088223cacafee32deb5fb9ff2cbb
5
5
  SHA512:
6
- metadata.gz: 61da8f03519e95a2cf1b8803461685a3f27d424b36b798c0ed6e803b8cc3d49dc8a848845ece7295a3469cdf39f4fc9af9c838cbc3c3ee4fcbd813e58fb6837f
7
- data.tar.gz: f6e0be7ac84f4ca82719843965381a16958927176d671769951c6f46d220779d2a140db1f3a66796728c23caa22607cdea78fefffcf1fd7e4d20d9e4caced808
6
+ metadata.gz: 5a0112d7eaa4e4cf3619b978fbf47c7ab5f1c95849afe3fdbbbc6eb915ec55835890a02cad24c244652ce240d2301c4a339761c76d7e1471e246c37199316253
7
+ data.tar.gz: 0d69d79c8e3ebd885cff17a9db8d83ccdddd618c8db5a7cb34a594cff6e31f1db9cea8f5a68aaa51d1b30060c4a747157544950d5eb7c73038a7da67107961ae
@@ -2,6 +2,9 @@
2
2
  All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
3
3
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
+ ## [0.5.1](https://github.com/kapost/clone_kit/compare/v0.5.0...v0.5.1) - 2018-12-20
6
+ - Added `SharedIdMap#delete` method for removing keys
7
+
5
8
  ## [0.5.0](https://github.com/kapost/clone_kit/compare/v0.4.2...v0.5.0) - 2018-11-20
6
9
  - Allow Specification dependencies to be assigned a proc
7
10
 
@@ -39,6 +39,10 @@ module CloneKit
39
39
  end
40
40
  end
41
41
 
42
+ def delete(klass)
43
+ redis.del(hash_key(klass))
44
+ end
45
+
42
46
  def mapping(klass)
43
47
  Hash[redis.hgetall(hash_key(klass)).map { |k, v| [k, v] }]
44
48
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloneKit
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clone_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Croft
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-21 00:00:00.000000000 Z
11
+ date: 2018-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport