clean-annotations 0.1.2 → 0.2.0
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/.version +1 -1
- data/lib/clean-annotations/method_attr.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f74077b036028e5f0f718c84721e72834896bf88562fca24d3ffcfca93c4d75
|
|
4
|
+
data.tar.gz: a14f988df6892020cc6428ac7442ffb5dc278948b6fcee9f9c5a851b3811c692
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0925f798a35fb7cfd37c0f4ac25df6ba912f92e0fe311b6719d0a92220ceef0825ec703cd61d3ba82f304182f1c1267e8006fbb93a48553e2a24217ee115559
|
|
7
|
+
data.tar.gz: 07c63cc13717a79805789d04956020f07481b3e9f0ab619cb183e6a3743507e5c0133da38add93a86ea8f41f1cc2bab18a15d67c8ab63506db42415bffc3a7a1
|
data/.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.2.0
|
|
@@ -7,7 +7,7 @@ module MethodAttributes
|
|
|
7
7
|
def define klass, param_name, &block
|
|
8
8
|
klass.define_singleton_method(param_name) do |*args|
|
|
9
9
|
@@METHOD_OPTS[param_name] ||= []
|
|
10
|
-
@@METHOD_OPTS[param_name].push block ? block.call(*args) : args
|
|
10
|
+
@@METHOD_OPTS[param_name].push block ? block.call(*args) : args
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
klass.define_singleton_method(:method_added) do |name|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clean-annotations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dino Reic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-12-
|
|
11
|
+
date: 2019-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Define annotatable attribute names and assign them to methods or classes,
|
|
14
14
|
add callbacks to non-Rails classes. Void of dependencies.
|