rtype-java 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/rtype/rtype_java.jar +0 -0
- data/spec/rtype_spec.rb +4 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5628afd30e9995538e73c1bbcb7e67e9778489e7
|
4
|
+
data.tar.gz: 6d570cae0d421503c76aca5c1bcbb8f0e1fbfaab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96da455dae94c79f5fc6584c50a6515de2350bbe5af0d71ea9c4abc2f60c7b1f3dfc920459a006ff772702f636cebb4fc69e6cb68951d2300ea01eb79f575139
|
7
|
+
data.tar.gz: 12f17b8e16dde147d73b8ccb5fc4342e055699480864a39b8b101799bd2ddfa4ab184418537e05d2c0dd2292e3b04af009d2377f3c83123cbf97f1ea6067d95d
|
data/ext/rtype/rtype_java.jar
CHANGED
Binary file
|
data/spec/rtype_spec.rb
CHANGED
@@ -609,7 +609,7 @@ describe Rtype do
|
|
609
609
|
it 'is hash-type argument, not keyword argument' do
|
610
610
|
klass.send :rtype, :return_arg, [{a: String}, {}] => Any
|
611
611
|
expect {
|
612
|
-
instance.return_arg({a: 123}
|
612
|
+
instance.return_arg({a: 123})
|
613
613
|
}.to raise_error Rtype::ArgumentTypeError
|
614
614
|
end
|
615
615
|
end
|
@@ -744,9 +744,11 @@ describe Rtype do
|
|
744
744
|
|
745
745
|
describe 'method visibility works' do
|
746
746
|
it 'protected' do
|
747
|
+
klass.send :rtype, :protected_func, [] => Any
|
747
748
|
expect {instance.protected_func}.to raise_error NoMethodError
|
748
749
|
end
|
749
750
|
it 'private' do
|
751
|
+
klass.send :rtype, :private_func, [] => Any
|
750
752
|
expect {instance.private_func}.to raise_error NoMethodError
|
751
753
|
end
|
752
754
|
end
|
@@ -776,7 +778,7 @@ describe Rtype do
|
|
776
778
|
it 'raises error' do
|
777
779
|
klass.send :rtype, :return_arg, [{a: String}, {}] => Any
|
778
780
|
expect {
|
779
|
-
instance.return_arg({a: "str", b: "str"}
|
781
|
+
instance.return_arg({a: "str", b: "str"})
|
780
782
|
}.to raise_error Rtype::ArgumentTypeError
|
781
783
|
end
|
782
784
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtype-java
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sputnik Gugja
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rtype
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.6.
|
19
|
+
version: 0.6.6
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.6.
|
26
|
+
version: 0.6.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|