modis 4.1.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +6 -3
- data/lib/modis/persistence.rb +1 -0
- data/lib/modis/version.rb +1 -1
- data/modis.gemspec +1 -1
- metadata +2 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f75b1f2591f788a511391d33f34ee1700d4c5aac164d46b7c41c0022afe1c6c8
|
4
|
+
data.tar.gz: 36ae08b35f2cc34166322ff2933d42717fd826779501eb135e815fccfaddecd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff27792407942c2b3618ae6751e0397ba7c510d7852a758eb9e21219c8d111ebf3b0f28c2be3db40ec846de20bda4a9dc53d65051e1ad15d5ccfe6b6f3588118
|
7
|
+
data.tar.gz: 9ec6aaf991906929d9101ebf502bfd0f4d669af5c70df4b04b835ea714cc6602497a291aeb03f84ca436785aa0b0601a0404f1c44e79e147fe457f372f8527a7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v4.1.0](https://github.com/rpush/modis/tree/v4.1.0) (2023-08-01)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/rpush/modis/compare/v4.1.0...v4.1.0)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Support redis gem v5.x [\#45](https://github.com/rpush/modis/pull/45) ([benlangfeld](https://github.com/benlangfeld))
|
10
|
+
|
3
11
|
## [v4.1.0](https://github.com/rpush/modis/tree/v4.1.0) (2023-02-01)
|
4
12
|
|
5
13
|
[Full Changelog](https://github.com/rpush/modis/compare/v4.0.1...v4.1.0)
|
@@ -10,6 +18,7 @@
|
|
10
18
|
|
11
19
|
**Merged pull requests:**
|
12
20
|
|
21
|
+
- Prep v4.1.0 release [\#46](https://github.com/rpush/modis/pull/46) ([benlangfeld](https://github.com/benlangfeld))
|
13
22
|
- Upgrades to latest activesupport [\#44](https://github.com/rpush/modis/pull/44) ([benlangfeld](https://github.com/benlangfeld))
|
14
23
|
- Switch from Travis CI to GH actions [\#42](https://github.com/rpush/modis/pull/42) ([benlangfeld](https://github.com/benlangfeld))
|
15
24
|
- Flexible encoding [\#41](https://github.com/rpush/modis/pull/41) ([benlangfeld](https://github.com/benlangfeld))
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
modis (4.
|
4
|
+
modis (4.2.0)
|
5
5
|
activemodel (>= 5.2)
|
6
6
|
activesupport (>= 5.2)
|
7
7
|
connection_pool (>= 2)
|
8
8
|
msgpack (>= 0.5)
|
9
|
-
redis (>= 3.0
|
9
|
+
redis (>= 3.0)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
@@ -94,7 +94,10 @@ GEM
|
|
94
94
|
public_suffix (5.0.1)
|
95
95
|
rainbow (3.0.0)
|
96
96
|
rake (13.0.1)
|
97
|
-
redis (
|
97
|
+
redis (5.0.6)
|
98
|
+
redis-client (>= 0.9.0)
|
99
|
+
redis-client (0.12.1)
|
100
|
+
connection_pool
|
98
101
|
rexml (3.2.5)
|
99
102
|
rspec (3.9.0)
|
100
103
|
rspec-core (~> 3.9.0)
|
data/lib/modis/persistence.rb
CHANGED
@@ -83,6 +83,7 @@ module Modis
|
|
83
83
|
|
84
84
|
def deserialize(record)
|
85
85
|
values = record.values
|
86
|
+
values.map! { |value| value.force_encoding(values.first.encoding) }
|
86
87
|
header = msgpack_array_header(values.size, values.first.encoding)
|
87
88
|
values = MessagePack.unpack(header + values.join)
|
88
89
|
keys = record.keys
|
data/lib/modis/version.rb
CHANGED
data/modis.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
|
|
22
22
|
|
23
23
|
gem.add_runtime_dependency 'activemodel', '>= 5.2'
|
24
24
|
gem.add_runtime_dependency 'activesupport', '>= 5.2'
|
25
|
-
gem.add_runtime_dependency 'redis', '>= 3.0'
|
25
|
+
gem.add_runtime_dependency 'redis', '>= 3.0'
|
26
26
|
gem.add_runtime_dependency 'connection_pool', '>= 2'
|
27
27
|
|
28
28
|
if defined? JRUBY_VERSION
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: modis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Leitch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -45,9 +45,6 @@ dependencies:
|
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '3.0'
|
48
|
-
- - "<"
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: '5.0'
|
51
48
|
type: :runtime
|
52
49
|
prerelease: false
|
53
50
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -55,9 +52,6 @@ dependencies:
|
|
55
52
|
- - ">="
|
56
53
|
- !ruby/object:Gem::Version
|
57
54
|
version: '3.0'
|
58
|
-
- - "<"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '5.0'
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
56
|
name: connection_pool
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|