tinytyping 0.2.0 → 0.3.0

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
  SHA1:
3
- metadata.gz: c219fda2f7091c601dd8c91c5bfa98480a4102be
4
- data.tar.gz: 90e73b4a5348db7639246eab6bdc48af95c5ba85
3
+ metadata.gz: 98b8ac5e9350094a53bcf326f802cfe799bffe8e
4
+ data.tar.gz: d535dbad1253288a8d279a0f5055ef8dd56c92e6
5
5
  SHA512:
6
- metadata.gz: ac1093b555c1f3d420047d5fba233db96a8b9d642612b376833daaa98da8eaee0a59c8ec274f95b77e7d26aa62fda66e308f92caa85429601cdeb31053654720
7
- data.tar.gz: 63eb63c60d8f310c82a66ca0c2e3b20364a6873a6046f2bdc816f25bc427eaa983976918567b0d52c91032c8695915e4c36ecfb85e73298bdef2c3eea4c60198
6
+ metadata.gz: 3a2124dba1f5236766b439a17cd30105117862fcca4f88e4b20d44e56ee3d73fc3a590d1330c72e3325078402fc801910baaa92c32ea6f989bbb0392b56461d5
7
+ data.tar.gz: e9cb78daf8a369f539584ffd387fe68811a14bfe191558bf62637663250cfcc93a0921aeb205db91eed8c4ab848ddde00b48fbd60b666f52d8d6e4748296d9ee
@@ -1,3 +1,3 @@
1
1
  module TinyTyping
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.3.0'.freeze
3
3
  end
data/lib/tinytyping.rb CHANGED
@@ -53,7 +53,14 @@ module TinyTyping
53
53
  end
54
54
  end
55
55
 
56
+ def test!(*args)
57
+ TinyTyping.test!(*args)
58
+ end
59
+
56
60
  class Base
61
+ include TinyTyping
62
+ private :test!
63
+
57
64
  class << self
58
65
  private
59
66
 
@@ -79,12 +86,6 @@ module TinyTyping
79
86
  typed_attr_writer(pairs)
80
87
  end
81
88
  end
82
-
83
- private
84
-
85
- def test!(*args)
86
- TinyTyping.test!(*args)
87
- end
88
89
  end
89
90
  end
90
91
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinytyping
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ofk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-28 00:00:00.000000000 Z
11
+ date: 2017-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler