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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92ef2a90478790ca2250c0965528e052da569218f0bef5af620a1304f4b7b23f
4
- data.tar.gz: 7d2b1d6b870c15963f5d73229797cf20e5617e13d33315ccd9ce91029dc6b3a1
3
+ metadata.gz: 9bf3acc1d5df6aa9f944b6591d40c4384f9244bb3e393521b163f4bd26666030
4
+ data.tar.gz: ce03d3d3e0298be41bfb0439fab6c7f36b2d448f6aa81be77428a81848380b52
5
5
  SHA512:
6
- metadata.gz: 96f6c755a85aede5a6958b1d6a77beef3dc371374950b84fdbbf98d64767d3e0fa939c28f1d87969d7099817e70052006e7491dcc0d2953f7e1e1fd10c0f28db
7
- data.tar.gz: 0cee9713b91d59124089ba08d505fb63f623f7a6731d00fc44fd3e96a67347861b45702c9f1c07930f8914cae2af21f6966a3f4f9dd4cd3308d45e5a715a2470
6
+ metadata.gz: 9319a743f507ad8aaa8b47ac9ddb34ac0942bf67958da8d59b6d44b32357292a026d1ba04c82d1f96f8538319ca9f3d529cbb9e378c27cd0e289cb7f5ce009af
7
+ data.tar.gz: 12c52b2d9ede3bb1e30683ab796f42d87e92e8d7a61b800964301de3f1cb8a528b16ae85dc1103205a90b756a2b705505e5ae35df380f3c746c05b8601f01fe3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- data_crate (0.1.6)
4
+ data_crate (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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 name.nil? || method_defined?(name)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Crate
4
- VERSION = '0.1.6'
4
+ VERSION = '0.1.7'
5
5
  end
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.6
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-01 00:00:00.000000000 Z
11
+ date: 2017-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler