type_hinting 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/type_hinting/version.rb +1 -1
- data/spec/type_hinting_spec.rb +2 -2
- metadata +2 -2
data/lib/type_hinting/version.rb
CHANGED
data/spec/type_hinting_spec.rb
CHANGED
@@ -25,11 +25,11 @@ describe TypeHinting do
|
|
25
25
|
describe '.return_type' do
|
26
26
|
|
27
27
|
it 'raises when method returns other than specified return type' do
|
28
|
-
expect{h.
|
28
|
+
expect{h.return_should_raise}.to raise_error
|
29
29
|
end
|
30
30
|
|
31
31
|
it 'doesnt raise when method returns the specified return type' do
|
32
|
-
expect{h.
|
32
|
+
expect{h.return_should_work}.to_not raise_error
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: type_hinting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-11-
|
12
|
+
date: 2014-11-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|