carrot_rpc 1.2.0 → 1.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 +4 -4
- data/CHANGELOG.md +33 -23
- data/carrot_rpc.gemspec +2 -2
- data/lib/carrot_rpc/hash_extensions.rb +1 -1
- data/lib/carrot_rpc/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d02e68507ffe6059c81d1c0db5052d2b63b99861
|
|
4
|
+
data.tar.gz: 34fcd7bc9effe7d83ec7d1e1b650d157f7ab48b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d54e66534b77c2d86a92780a945c05072ce57d9e1adee1ef83f5bf5ce28007a59cbe3d3de04f8860b6872aa2730a2afb1bf49eeb70cca93b23be050320e9a269
|
|
7
|
+
data.tar.gz: b04da12d25de726c30f474cf9effc706c3054d684850407ff5cf6f6d35ed06d27132e82d5e8b53e2bee28791ba270a5fce138c307fbc814080757a83faf79275
|
data/CHANGELOG.md
CHANGED
|
@@ -3,52 +3,57 @@
|
|
|
3
3
|
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
|
|
4
4
|
|
|
5
5
|
- [Changelog](#changelog)
|
|
6
|
-
- [v1.1
|
|
7
|
-
- [Enhancements](#enhancements)
|
|
6
|
+
- [v1.2.1](#v121)
|
|
8
7
|
- [Bug Fixes](#bug-fixes)
|
|
8
|
+
- [v1.2.0](#v120)
|
|
9
|
+
- [Enhancements](#enhancements)
|
|
10
|
+
- [Bug Fixes](#bug-fixes-1)
|
|
11
|
+
- [v1.1.0](#v110)
|
|
12
|
+
- [Enhancements](#enhancements-1)
|
|
13
|
+
- [Bug Fixes](#bug-fixes-2)
|
|
9
14
|
- [v1.0.0](#v100)
|
|
10
15
|
- [Incompatible Changes](#incompatible-changes)
|
|
11
16
|
- [v0.8.1](#v081)
|
|
12
|
-
- [Enhancements](#enhancements-1)
|
|
13
|
-
- [v0.8.0](#v080)
|
|
14
17
|
- [Enhancements](#enhancements-2)
|
|
18
|
+
- [v0.8.0](#v080)
|
|
19
|
+
- [Enhancements](#enhancements-3)
|
|
15
20
|
- [v0.7.1](#v071)
|
|
16
|
-
- [Bug Fixes](#bug-fixes-
|
|
21
|
+
- [Bug Fixes](#bug-fixes-3)
|
|
17
22
|
- [v0.7.0](#v070)
|
|
18
|
-
- [Bug Fixes](#bug-fixes-
|
|
23
|
+
- [Bug Fixes](#bug-fixes-4)
|
|
19
24
|
- [Incompatible Changes](#incompatible-changes-1)
|
|
20
25
|
- [v0.6.0](#v060)
|
|
21
|
-
- [Enhancements](#enhancements-
|
|
26
|
+
- [Enhancements](#enhancements-4)
|
|
22
27
|
- [v0.5.1](#v051)
|
|
23
|
-
- [Bug Fixes](#bug-fixes-
|
|
28
|
+
- [Bug Fixes](#bug-fixes-5)
|
|
24
29
|
- [v0.5.0](#v050)
|
|
25
|
-
- [Enhancements](#enhancements-
|
|
30
|
+
- [Enhancements](#enhancements-5)
|
|
26
31
|
- [Incompatible Changes](#incompatible-changes-2)
|
|
27
32
|
- [v0.4.1](#v041)
|
|
28
|
-
- [Bug Fixes](#bug-fixes-
|
|
33
|
+
- [Bug Fixes](#bug-fixes-6)
|
|
29
34
|
- [v0.4.0](#v040)
|
|
30
|
-
- [Enhancements](#enhancements-
|
|
31
|
-
- [Bug Fixes](#bug-fixes-
|
|
35
|
+
- [Enhancements](#enhancements-6)
|
|
36
|
+
- [Bug Fixes](#bug-fixes-7)
|
|
32
37
|
- [Incompatible Changes](#incompatible-changes-3)
|
|
33
38
|
- [v0.3.0](#v030)
|
|
34
|
-
- [Enhancements](#enhancements-6)
|
|
35
|
-
- [Bug Fixes](#bug-fixes-6)
|
|
36
|
-
- [v0.2.3](#v023)
|
|
37
39
|
- [Enhancements](#enhancements-7)
|
|
38
|
-
- [Bug Fixes](#bug-fixes-7)
|
|
39
|
-
- [Upgrading](#upgrading)
|
|
40
|
-
- [v0.2.1](#v021)
|
|
41
40
|
- [Bug Fixes](#bug-fixes-8)
|
|
42
|
-
- [v0.2.
|
|
41
|
+
- [v0.2.3](#v023)
|
|
43
42
|
- [Enhancements](#enhancements-8)
|
|
44
43
|
- [Bug Fixes](#bug-fixes-9)
|
|
44
|
+
- [Upgrading](#upgrading)
|
|
45
|
+
- [v0.2.1](#v021)
|
|
46
|
+
- [Bug Fixes](#bug-fixes-10)
|
|
47
|
+
- [v0.2.0](#v020)
|
|
48
|
+
- [Enhancements](#enhancements-9)
|
|
49
|
+
- [Bug Fixes](#bug-fixes-11)
|
|
45
50
|
- [Incompatible Changes](#incompatible-changes-4)
|
|
46
51
|
- [v0.1.2](#v012)
|
|
47
|
-
- [Enhancements](#enhancements-9)
|
|
48
|
-
- [Bug Fixes](#bug-fixes-10)
|
|
49
|
-
- [v0.1.1](#v011)
|
|
50
52
|
- [Enhancements](#enhancements-10)
|
|
51
|
-
- [Bug Fixes](#bug-fixes-
|
|
53
|
+
- [Bug Fixes](#bug-fixes-12)
|
|
54
|
+
- [v0.1.1](#v011)
|
|
55
|
+
- [Enhancements](#enhancements-11)
|
|
56
|
+
- [Bug Fixes](#bug-fixes-13)
|
|
52
57
|
- [Incompatible Changes](#incompatible-changes-5)
|
|
53
58
|
|
|
54
59
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
@@ -56,6 +61,11 @@
|
|
|
56
61
|
# Changelog
|
|
57
62
|
All significant changes in the project are documented here.
|
|
58
63
|
|
|
64
|
+
## v1.2.1
|
|
65
|
+
|
|
66
|
+
### Bug Fixes
|
|
67
|
+
* [#58](https://github.com/C-S-D/carrot_rpc/pull/58) - Don't convert all hash-like things to hashes: preserve `HashWithIndifferentAccess` after renaming keys with `rename_keys` refinement. - [@jeffutter](https://github.com/jeffutter)
|
|
68
|
+
|
|
59
69
|
## v1.2.0
|
|
60
70
|
|
|
61
71
|
### Enhancements
|
data/carrot_rpc.gemspec
CHANGED
|
@@ -6,8 +6,8 @@ require "carrot_rpc/version"
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "carrot_rpc"
|
|
8
8
|
spec.version = CarrotRpc::VERSION
|
|
9
|
-
spec.authors = ["Scott Hamilton", "Luke Imhoff"]
|
|
10
|
-
spec.email = ["shamil614@gmail.com", "Kronic.Deth@gmail.com"]
|
|
9
|
+
spec.authors = ["Scott Hamilton", "Luke Imhoff", "Jeff Utter"]
|
|
10
|
+
spec.email = ["shamil614@gmail.com", "Kronic.Deth@gmail.com", "jeff@jeffutter.com"]
|
|
11
11
|
|
|
12
12
|
spec.summary = "Remote Procedure Call (RPC) using the Bunny Gem over RabbitMQ"
|
|
13
13
|
spec.description = "Streamlined approach to setting up RPC over RabbitMQ."
|
|
@@ -23,7 +23,7 @@ module CarrotRpc::HashExtensions
|
|
|
23
23
|
# @param [String] find the text to look for in a keys
|
|
24
24
|
# @param [String] replace the text to replace the found text
|
|
25
25
|
# @return [Hash] a new hash
|
|
26
|
-
def rename_keys(find, replace, new_hash =
|
|
26
|
+
def rename_keys(find, replace, new_hash = self.class.new)
|
|
27
27
|
each do |k, v|
|
|
28
28
|
new_key = k.to_s.gsub(find, replace)
|
|
29
29
|
|
data/lib/carrot_rpc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: carrot_rpc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Hamilton
|
|
8
8
|
- Luke Imhoff
|
|
9
|
+
- Jeff Utter
|
|
9
10
|
autorequire:
|
|
10
11
|
bindir: bin
|
|
11
12
|
cert_chain: []
|
|
12
|
-
date: 2017-08-
|
|
13
|
+
date: 2017-08-14 00:00:00.000000000 Z
|
|
13
14
|
dependencies:
|
|
14
15
|
- !ruby/object:Gem::Dependency
|
|
15
16
|
name: activesupport
|
|
@@ -133,6 +134,7 @@ description: Streamlined approach to setting up RPC over RabbitMQ.
|
|
|
133
134
|
email:
|
|
134
135
|
- shamil614@gmail.com
|
|
135
136
|
- Kronic.Deth@gmail.com
|
|
137
|
+
- jeff@jeffutter.com
|
|
136
138
|
executables:
|
|
137
139
|
- carrot_rpc
|
|
138
140
|
- console
|
|
@@ -201,9 +203,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
201
203
|
version: '0'
|
|
202
204
|
requirements: []
|
|
203
205
|
rubyforge_project:
|
|
204
|
-
rubygems_version: 2.
|
|
206
|
+
rubygems_version: 2.5.1
|
|
205
207
|
signing_key:
|
|
206
208
|
specification_version: 4
|
|
207
209
|
summary: Remote Procedure Call (RPC) using the Bunny Gem over RabbitMQ
|
|
208
210
|
test_files: []
|
|
209
|
-
has_rdoc:
|