tspec 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +2 -4
- data/lib/tspec/core.rb +1 -1
- data/lib/tspec/version.rb +1 -1
- data/tspec.gemspec +3 -3
- metadata +31 -7
- metadata.gz.sig +2 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 64e024fe79c4e1cf76a0647cb1c42b33a6f9eefcee58d4a1ddd8651571075d9f
|
4
|
+
data.tar.gz: 524fd57534f9f33bf92dfd46484066a9a44fec3e4d46e49b4bf2cf0d45ce962a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2971b1ce3343d2e95c157f986cf012aa2ccd43eea0d37c7b67ed9932cbc7da6fbf059735d14605de95fdb0d9c041e201b1755385bd1bf74e18f4173da87c2f2f
|
7
|
+
data.tar.gz: 69d59975a69b4d855ceb740692eeb1bd49a0808d072bee5302d2cdd7f773af8d13bc871bd79c27064d179bd7b1e8dec6f6016cc903a69192d4cf997f6fb382c0
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
ADDED
Binary file
|
data/.travis.yml
CHANGED
data/lib/tspec/core.rb
CHANGED
@@ -101,7 +101,7 @@ module TSpec
|
|
101
101
|
key = "#{tp.defined_class}::#{tp.method_id}"
|
102
102
|
|
103
103
|
if types = @method_arguments_type_table[key]
|
104
|
-
arguments = tp.binding.
|
104
|
+
arguments = tp.binding.local_variables
|
105
105
|
|
106
106
|
types.each do |name, type|
|
107
107
|
name = arguments.first if name == type.__id__
|
data/lib/tspec/version.rb
CHANGED
data/tspec.gemspec
CHANGED
@@ -10,11 +10,11 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.authors = ["siman-man"]
|
11
11
|
spec.email = ["k128585@ie.u-ryukyu.ac.jp"]
|
12
12
|
|
13
|
-
spec.summary = %q{
|
14
|
-
spec.description = %q{
|
13
|
+
spec.summary = %q{tspec can check type of methods arguments and return value.}
|
14
|
+
spec.description = %q{tspec can check type of methods arguments and return value.}
|
15
15
|
spec.homepage = "https://github.com/siman-man/tspec"
|
16
16
|
spec.license = "MIT"
|
17
|
-
spec.required_ruby_version = '>= 2.
|
17
|
+
spec.required_ruby_version = '>= 2.5.0'
|
18
18
|
|
19
19
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
20
20
|
f.match(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,14 +1,38 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- siman-man
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIID0jCCArqgAwIBAgIBATANBgkqhkiG9w0BAQUFADBoMRAwDgYDVQQDDAdrMTI4
|
14
|
+
NTg1MRIwEAYKCZImiZPyLGQBGRYCaWUxGDAWBgoJkiaJk/IsZAEZFgh1LXJ5dWt5
|
15
|
+
dTESMBAGCgmSJomT8ixkARkWAmFjMRIwEAYKCZImiZPyLGQBGRYCanAwHhcNMTcw
|
16
|
+
NTEyMDg0MzI4WhcNMTgwNTEyMDg0MzI4WjBoMRAwDgYDVQQDDAdrMTI4NTg1MRIw
|
17
|
+
EAYKCZImiZPyLGQBGRYCaWUxGDAWBgoJkiaJk/IsZAEZFgh1LXJ5dWt5dTESMBAG
|
18
|
+
CgmSJomT8ixkARkWAmFjMRIwEAYKCZImiZPyLGQBGRYCanAwggEiMA0GCSqGSIb3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-----
|
35
|
+
date: 2018-02-27 00:00:00.000000000 Z
|
12
36
|
dependencies:
|
13
37
|
- !ruby/object:Gem::Dependency
|
14
38
|
name: bundler
|
@@ -66,7 +90,7 @@ dependencies:
|
|
66
90
|
- - "~>"
|
67
91
|
- !ruby/object:Gem::Version
|
68
92
|
version: '1.1'
|
69
|
-
description:
|
93
|
+
description: tspec can check type of methods arguments and return value.
|
70
94
|
email:
|
71
95
|
- k128585@ie.u-ryukyu.ac.jp
|
72
96
|
executables: []
|
@@ -104,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
104
128
|
requirements:
|
105
129
|
- - ">="
|
106
130
|
- !ruby/object:Gem::Version
|
107
|
-
version: 2.
|
131
|
+
version: 2.5.0
|
108
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
133
|
requirements:
|
110
134
|
- - ">="
|
@@ -112,8 +136,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
136
|
version: '0'
|
113
137
|
requirements: []
|
114
138
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.6
|
139
|
+
rubygems_version: 2.7.6
|
116
140
|
signing_key:
|
117
141
|
specification_version: 4
|
118
|
-
summary:
|
142
|
+
summary: tspec can check type of methods arguments and return value.
|
119
143
|
test_files: []
|
metadata.gz.sig
ADDED