core-event 0.2.2 → 0.2.3

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: e13d20e07e469eaa28b8fda8cfdb55a81e13142959f448679d51c1477f3f44f5
4
- data.tar.gz: 43a00e18aba884d4f9bd00468856aeaf8f0c96a92dc9b50bd60be36f2ec25c83
3
+ metadata.gz: 3754436900e66b1a10a69f8a86e3c0f920744e092ec1f08536874a0d7459fb78
4
+ data.tar.gz: d723676a75192087654cc56685f845b557d0050af9a186856e762fd08d76bd76
5
5
  SHA512:
6
- metadata.gz: 1899688796c6f87462b76390d9227aa2c528805b421123abe81db8c4c01ebbd824ae2b9f3006c68f366e70b39a52b950055040ccec1c591bdf20f9093ac82c09
7
- data.tar.gz: 1ccd996291cc2cce213ad759edc0986e2b5659e65c0c5d23aff7c2883b2b466db84cd66c904a33351d256f6d748314dc6829b876659cdd013b666e3c9fdf3753
6
+ metadata.gz: ea48b88c33906389c201aeebc5fa3253eae5e7186b93c12a38759a9b141fc727ca2fe36376b9427a4fce6f1a071c0d62785b12cf8391d266ae238a918f720549
7
+ data.tar.gz: 13ab41f92182813883e98fcae97023c7aadeabf80a5898972f89e0d44cee7d94682ff1b1cfc9d8874b82d18ccb5066f5598ca1514b0d0f923cb88c285cd2c34c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [v0.2.3](https://github.com/metabahn/corerb/releases/tag/2023-05-06)
2
+
3
+ *released on 2023-05-06*
4
+
5
+ * `fix` [#131](https://github.com/bryanp/corerb/pull/131) Fix an issue with event state isolation ([bryanp](https://github.com/bryanp))
6
+
1
7
  ## [v0.2.2](https://github.com/metabahn/corerb/releases/tag/2022-06-02)
2
8
 
3
9
  *released on 2022-06-02*
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Core
4
4
  module Event
5
- VERSION = "0.2.2"
5
+ VERSION = "0.2.3"
6
6
 
7
7
  def self.version
8
8
  VERSION
data/lib/is/eventable.rb CHANGED
@@ -36,19 +36,19 @@ module Is
36
36
  # [public] Calls callbacks for the given event with the given arguments.
37
37
  #
38
38
  def performing(event, ...)
39
- @events.performing(self, event, ...)
39
+ events.performing(self, event, ...)
40
40
  end
41
41
 
42
42
  # [public] Calls before callbacks for the given event with the given arguments.
43
43
  #
44
44
  def starting(event, ...)
45
- @events.starting(self, event, ...)
45
+ events.starting(self, event, ...)
46
46
  end
47
47
 
48
48
  # [public] Calls after callbacks for the given event with the given arguments.
49
49
  #
50
50
  def finished(event, ...)
51
- @events.finished(self, event, ...)
51
+ events.finished(self, event, ...)
52
52
  end
53
53
 
54
54
  # [public] Defines a callback to be called during, before, and/or after the given events, isolated to the instance.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: core-event
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Powell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-03 00:00:00.000000000 Z
11
+ date: 2023-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: core-extension
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.3.13
101
+ rubygems_version: 3.4.12
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Adds events to Ruby objects.