data_crate 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/crate/crate.rb +2 -1
- data/lib/crate/version.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: 9bf3acc1d5df6aa9f944b6591d40c4384f9244bb3e393521b163f4bd26666030
|
4
|
+
data.tar.gz: ce03d3d3e0298be41bfb0439fab6c7f36b2d448f6aa81be77428a81848380b52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9319a743f507ad8aaa8b47ac9ddb34ac0942bf67958da8d59b6d44b32357292a026d1ba04c82d1f96f8538319ca9f3d529cbb9e378c27cd0e289cb7f5ce009af
|
7
|
+
data.tar.gz: 12c52b2d9ede3bb1e30683ab796f42d87e92e8d7a61b800964301de3f1cb8a528b16ae85dc1103205a90b756a2b705505e5ae35df380f3c746c05b8601f01fe3
|
data/Gemfile.lock
CHANGED
data/lib/crate/crate.rb
CHANGED
@@ -64,7 +64,8 @@ module Crate
|
|
64
64
|
|
65
65
|
def declare(name, **options)
|
66
66
|
raise if _invalid_filter?(**options)
|
67
|
-
return if
|
67
|
+
return if self == ::Crate::Crate || \
|
68
|
+
name.nil? || method_defined?(name)
|
68
69
|
|
69
70
|
_declare_impl(name)
|
70
71
|
_make_hooks(name, **options)
|
data/lib/crate/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: data_crate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Minwoo Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|