typ 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/typ.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fd8dec5f85b936ddd6ac783c195ef36a64e9b9772e4e0ad88f83b9f378bed98
4
- data.tar.gz: 7eebc316790fbd446cbe1c8cc4336f1009e2c8a3dbb2cb8d5c99f174028b387a
3
+ metadata.gz: 14188b8d650c32fecbae6ed1ae3c8f03eac9f31effad6a0695c8ec1e77f8bdbe
4
+ data.tar.gz: 89524fac30d45f13f8a21f904c22e9890fb3a8d2f59bb61ad53ef5ca6abfb7d4
5
5
  SHA512:
6
- metadata.gz: f2ff2a040ed1d280905ee65f991a2919709733a9d030236285535be6d4a75a53ebfa93d0cea6b3fda5b2a521de490eb09570b622e4a6bd6b79b93787f8729c29
7
- data.tar.gz: 31cb152e6959b1ec8ed078ca118f50e667bc4a1519fb2b0068504cbd48666dbfadb63971f37c6c99396e870228b3c07c4e44b8b3144a25c9722ede6fc6e693ac
6
+ metadata.gz: a08274c0bed76f596da8d0b30b45bfea0679c2ba8ba29b05e478f6ce2fc3366d3110e612a8f0c2b72ac9a0262aeb7391da8a30c4915c62464eeb25b8373b4bd1
7
+ data.tar.gz: defa65890558d113926b445b3e5a6161d80f645bd98d0ba5e3d2ff2f602ca62d64ac885378d140dc1d12d3deaec55897a497b28c567226afd506684ef0d2b585
data/lib/typ.rb CHANGED
@@ -96,7 +96,7 @@ module Typ
96
96
 
97
97
  gate = Class.new
98
98
  gate.include self
99
- gate.check = check
99
+ gate.type, gate.check = type, check
100
100
  gate
101
101
  end
102
102
  end
@@ -106,7 +106,7 @@ module Typ
106
106
  end
107
107
 
108
108
  module Singleton
109
- attr_accessor :check
109
+ attr_accessor :type, :check
110
110
  end
111
111
 
112
112
  def ok?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typ
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoly Chernow