core-copy 0.1.0 → 0.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 +6 -0
- data/lib/core/copy/version.rb +1 -1
- data/lib/is/copyable.rb +24 -0
- metadata +32 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fd0522f5ca5dd7b638d95a94f3c15aec87c2e2e7d71462618ec916215922095
|
4
|
+
data.tar.gz: 2d5705d2df7e9788838d0ceaff3eed94af7d9d429712f43d5c192cd97a1ad077
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7437b885d3c45f48a4163af697bbb12731ffeb594b965a93d997efeb5fa0a058352ec14eccaa0ab076ba73805037c65cd94f184aee0b1f3c1185fe0c05ae0ed3
|
7
|
+
data.tar.gz: 7f0a9a1b3e58b34e07e6c589c4c16f6402932f9d6dfc87f9f2550fcdefa94ff31984c890f782d671a79354aee8cff39114010fbf4710668b85217ae6f89e7ab7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## [v0.2.0](https://github.com/metabahn/corerb/releases/tag/2021-10-24)
|
2
|
+
|
3
|
+
*released on 2021-10-24*
|
4
|
+
|
5
|
+
* `add` [#74](https://github.com/metabahn/corerb/pull/74) Introduce a core.copy event ([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*
|
data/lib/core/copy/version.rb
CHANGED
data/lib/is/copyable.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "is/eventable"
|
4
|
+
require "is/extension"
|
5
|
+
|
6
|
+
module Is
|
7
|
+
module Copyable
|
8
|
+
extend Is::Extension
|
9
|
+
|
10
|
+
applies do
|
11
|
+
event "core.copy"
|
12
|
+
end
|
13
|
+
|
14
|
+
extends dependencies: [Is::Eventable]
|
15
|
+
|
16
|
+
extends :implementation, prepend: true do
|
17
|
+
def initialize_copy(...)
|
18
|
+
performing "core.copy" do
|
19
|
+
super
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
metadata
CHANGED
@@ -1,15 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: core-copy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
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-
|
11
|
+
date: 2021-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: core-event
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: core-extension
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.3'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.3'
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: core-local
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,6 +62,7 @@ files:
|
|
34
62
|
- LICENSE
|
35
63
|
- lib/core/copy.rb
|
36
64
|
- lib/core/copy/version.rb
|
65
|
+
- lib/is/copyable.rb
|
37
66
|
- lib/refine/object/copy.rb
|
38
67
|
homepage: https://github.com/metabahn/corerb/
|
39
68
|
licenses:
|
@@ -54,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
83
|
- !ruby/object:Gem::Version
|
55
84
|
version: '0'
|
56
85
|
requirements: []
|
57
|
-
rubygems_version: 3.2.
|
86
|
+
rubygems_version: 3.2.22
|
58
87
|
signing_key:
|
59
88
|
specification_version: 4
|
60
89
|
summary: Manage how internal object state is copied.
|