trailblazer-context 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 +4 -4
- data/CHANGES.md +4 -0
- data/lib/trailblazer/context/container.rb +1 -1
- data/lib/trailblazer/context/version.rb +1 -1
- data/test/context_test.rb +4 -2
- data/trailblazer-context.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c491d5456a100bdb4853e02af240d56039864b7589e576db32f82f1683375e6
|
4
|
+
data.tar.gz: 0f4b8b205289cb71b2cb7bca8e562312bb184e681e501af6741e37a82b7ff298
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 022fccd76fa9936a7fd0b80070d703cd2f64f5cf7c96c03831d06e7160cf8d2b2581cfa3debaab6bcb106208f91cb9ff5db2a7e7957aab388cdbdc5ccc1c9f9e
|
7
|
+
data.tar.gz: 1ff63b11983902dbd79630be7535095f62812d7522378fff42944bd291ad5e2b7dce55d4b7e985b9ae575f488d65109dcbac2886c51e548f3061095bb54e9a34
|
data/CHANGES.md
CHANGED
data/test/context_test.rb
CHANGED
@@ -123,8 +123,9 @@ class ContextWithIndifferentAccessTest < Minitest::Spec
|
|
123
123
|
|
124
124
|
# delete
|
125
125
|
ctx[:model] = Object
|
126
|
-
ctx.delete 'model'
|
126
|
+
value = ctx.delete 'model'
|
127
127
|
|
128
|
+
_(value).must_equal Object
|
128
129
|
_(ctx.key?(:model)).must_equal false
|
129
130
|
_(ctx.key?("model")).must_equal false
|
130
131
|
|
@@ -202,8 +203,9 @@ class ContextWithIndifferentAccessTest < Minitest::Spec
|
|
202
203
|
|
203
204
|
# delete
|
204
205
|
ctx[:result] = Object
|
205
|
-
ctx.delete :result
|
206
|
+
value = ctx.delete :result
|
206
207
|
|
208
|
+
_(value).must_equal Object
|
207
209
|
_(ctx.key?(:result)).must_equal false
|
208
210
|
_(ctx.key?("result")).must_equal false
|
209
211
|
|
data/trailblazer-context.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.email = ["apotonick@gmail.com"]
|
10
10
|
|
11
11
|
spec.summary = "Argument-specific data structures for Trailblazer."
|
12
|
-
spec.description = "Argument-specific data structures for Trailblazer such as Context
|
12
|
+
spec.description = "Argument-specific data structures for Trailblazer such as Context and ContainerChain."
|
13
13
|
spec.homepage = "https://trailblazer.to/"
|
14
14
|
spec.licenses = ["MIT"]
|
15
15
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailblazer-context
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|
@@ -66,8 +66,8 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description: Argument-specific data structures for Trailblazer such as Context
|
70
|
-
|
69
|
+
description: Argument-specific data structures for Trailblazer such as Context and
|
70
|
+
ContainerChain.
|
71
71
|
email:
|
72
72
|
- apotonick@gmail.com
|
73
73
|
executables: []
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
|
-
rubygems_version: 3.
|
116
|
+
rubygems_version: 3.3.18
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: Argument-specific data structures for Trailblazer.
|