async-job 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13125e0c65021d568d1ed83871e95a29cbe344e1f10d1f5029545beb1e8c6552
4
- data.tar.gz: 3797aa279800f12263a9fa9d9eb120b5e30efbe601a62ea4193ecd1f1c87eb80
3
+ metadata.gz: 2ffa0a39944dc1f82127f38c80719276cdfdd82ec88e646bc692eb1d911a6fec
4
+ data.tar.gz: ec1c86e09371653676a74c5c3a9d2da4e4d8043ebe0bfb76080dc514ea8ab00d
5
5
  SHA512:
6
- metadata.gz: aab8b5f3f3e7d0c02c270793ad841640e528a4a578ac4701ceedccd72f0af5a3d5434f7d7d8b451c0148c66da77e484e297f6d5ecdef52fb9daeb71d1c2fc474
7
- data.tar.gz: 192c52029bee55da95bf971ac2c7f6ef4a8447bef57f6601486b524a850b7d91d5713afb86bd5c88d6bd7ff18463724b33d4c3ecb021c0b95da91ff8e97f93c8
6
+ metadata.gz: 3b66c463d4fe746da427746b9fe22e32e47b6564884b7ab09887ef7af4c67966cd1320c06c8a5895031dc63b22e569f04c3a92a84fb10db759e9c2ae6bb06701
7
+ data.tar.gz: 07360d202ae1f6860e6d63fabc55d7fa35e80f13cb58214e0282a13410b975d5b0e206ba0346cdf4a984fc5ef2f8c10d356d8229263390b696427a483a1c787f
checksums.yaml.gz.sig CHANGED
Binary file
@@ -3,12 +3,12 @@
3
3
  # Released under the MIT License.
4
4
  # Copyright, 2024, by Samuel Williams.
5
5
 
6
- require_relative 'coder/json'
6
+ require 'json'
7
7
 
8
8
  module Async
9
9
  module Job
10
10
  module Coder
11
- DEFAULT = JSON::DEFAULT
11
+ DEFAULT = JSON
12
12
 
13
13
  # Type-cast for time values. See <https://bugs.ruby-lang.org/issues/20298> for background.
14
14
  # @parameter value [Time || Integer || String || nil]
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module Job
8
- VERSION = "0.4.1"
8
+ VERSION = "0.4.2"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -86,7 +86,6 @@ files:
86
86
  - lib/async/job/buffer.rb
87
87
  - lib/async/job/builder.rb
88
88
  - lib/async/job/coder.rb
89
- - lib/async/job/coder/json.rb
90
89
  - lib/async/job/coder/marshal.rb
91
90
  - lib/async/job/coder/message_pack.rb
92
91
  - lib/async/job/generic.rb
metadata.gz.sig CHANGED
Binary file
@@ -1,27 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Released under the MIT License.
4
- # Copyright, 2024, by Samuel Williams.
5
-
6
- require 'json'
7
-
8
- module Async
9
- module Job
10
- module Coder
11
- class JSON
12
- def initialize
13
- end
14
-
15
- def dump(job)
16
- ::JSON.dump(job)
17
- end
18
-
19
- def load(data)
20
- ::JSON.parse(data, symbolize_names: true)
21
- end
22
-
23
- DEFAULT = self.new
24
- end
25
- end
26
- end
27
- end