core-local 0.1.1 → 0.1.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: 7738c287512d5856b20261ebb71498a81370d3117e822239226111e461033aff
4
- data.tar.gz: c1e11995c1449d4a88734e4b275c11d4df11657b8864a431c1e971235c25fe0a
3
+ metadata.gz: 3833c0a7562ca1fa2a2a5d278cf5978003da75f418e2e95523a5c160156edfbb
4
+ data.tar.gz: bd2708472e0410a3e93ab4ced300afce6da45e716022bdde102ec1dda0f4ade8
5
5
  SHA512:
6
- metadata.gz: 293baad0b168eb9e3040e127ca139f06fa79a96c23e75d56cbbae36e55f7069a638e2f734fe0c547d37cdbbb2ee760c02fde47d59bc18e422491bb2ffa07f334
7
- data.tar.gz: af2f168bfb4c1e94ba09ed8d962ee25b38633cd86e2d4212726ce6d8225caf4c8f27ef2d8199fd7a3bb648d93aba130822b8771e6891ae822e0651188efa05c9
6
+ metadata.gz: 9418411bba915f4597a9f05bf4dfc24d8a5d66cf06ea9b8417ecea0f0ca760eed8e6642cd438457384e8dd9f68d61e3595274a9f453ecb04a21d63b7209b22cb
7
+ data.tar.gz: 37c59aa28256ffb3e34c193024194b18d2fc93a1c090b67a04a27b2ef27eb193235618eadc4d2a42d0a96887a3affd2a811f76824607504c03e45eefbe2646c8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [v0.1.2](https://github.com/metabahn/corerb/releases/tag/2021-11-02)
2
+
3
+ *released on 2021-11-02*
4
+
5
+ * `chg` [#97](https://github.com/metabahn/corerb/pull/97) Designate internal state with leading and trailing double underscores ([bryanp](https://github.com/bryanp))
6
+
1
7
  ## [v0.1.0](https://github.com/metabahn/corerb/releases/tag/2021-07-07)
2
8
 
3
9
  *released on 2021-07-07*
@@ -13,7 +13,7 @@ module Core
13
13
  def_delegators :state, :[], :[]=, :fetch, :delete, :clear, :count
14
14
 
15
15
  def initialize
16
- @key = :"__corerb_localized_state_#{object_id}"
16
+ @key = :"__corerb_localized_state_#{object_id}__"
17
17
  end
18
18
 
19
19
  # [public] Returns a proc that, when called, deletes the key from the global store.
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Core
4
4
  module Local
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
 
7
7
  def self.version
8
8
  VERSION
data/lib/is/localized.rb CHANGED
@@ -52,7 +52,7 @@ module Is
52
52
  end
53
53
 
54
54
  private def localized_key_prefix
55
- @__localized_key_prefix ||= "__corerb_localized_#{object_id}"
55
+ @__localized_key_prefix__ ||= "__corerb_localized_#{object_id}__"
56
56
  end
57
57
  end
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: core-local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Powell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-15 00:00:00.000000000 Z
11
+ date: 2021-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: core-extension
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.15
72
+ rubygems_version: 3.2.22
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Manage thread-local program state.