uptyped 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6906c885ee2e26235df03dde9268f4ade6c5b3fe
4
- data.tar.gz: dfa5cfaf2e63f4294d72f75ae608f0fec76775d4
3
+ metadata.gz: c3fe77a2586f71800c9a39bc29e37ad4b8723949
4
+ data.tar.gz: 81c977e13879188405f6c74c55e95abd81de7039
5
5
  SHA512:
6
- metadata.gz: 89a96513c78ea64e7ffedd62e89d829cfde22c99ffc91467734637430a2f0fbe34e22273536800b7651c2966457393a5cda0a766cc334f4c80f2de475e330cd6
7
- data.tar.gz: 3c793b29622bf66f91d37bf72d507255b2e4eea953b7ede6f15334339abc0ff4b95b59c81de387641c61862961ab82abfe31cc05b1aa1b161be824f9b185afd3
6
+ metadata.gz: d4a736eac3e4a998b81c6d9d547624bad8603d528f90bc62dcd452291f36df5696d311e5dc2284de563887ae044d03a5de5020c21a68b033ddb91c37fe03ca85
7
+ data.tar.gz: f88a46d6e2999493ec8a3dc63627fd5fe2f7a912667caf79041c0b8d9e7a48c78b9b807009f674b6d3aa49d29c5e4ab9f00ff1cc0d937cbc15ca6fe6fa92a3c4
@@ -13,12 +13,12 @@ module Uptyped
13
13
  it "should contain only public instance methods that are inherited" do
14
14
  validator = Uptyped::InterfaceValidator.new(described_class)
15
15
 
16
- expect(validator.public_instance_method_errors).to be_empty, validator.public_instance_method_errors
16
+ expect(validator.public_instance_method_errors).to be_empty, validator.public_instance_method_errors.first
17
17
  end
18
18
 
19
19
  it "should contain only public class methods that are inherited" do
20
20
  validator = Uptyped::InterfaceValidator.new(described_class)
21
- expect(validator.public_class_method_errors).to be_empty, validator.public_class_method_errors
21
+ expect(validator.public_class_method_errors).to be_empty, validator.public_class_method_errors.first
22
22
  end
23
23
  end
24
24
 
@@ -27,7 +27,7 @@ module Uptyped
27
27
  it "should have the same public instance method arity as its superclass" do
28
28
  validator = Uptyped::InterfaceValidator.new(described_class)
29
29
 
30
- expect(validator.instance_method_arity_errors).to be_empty, validator.instance_method_arity_errors
30
+ expect(validator.instance_method_arity_errors).to be_empty, validator.instance_method_arity_errors.first
31
31
  end
32
32
  end
33
33
 
@@ -35,7 +35,7 @@ module Uptyped
35
35
  it "should have the same public instance method arity as its superclass" do
36
36
  validator = Uptyped::InterfaceValidator.new(described_class)
37
37
 
38
- expect(validator.class_method_arity_errors).to be_empty, validator.class_method_arity_errors
38
+ expect(validator.class_method_arity_errors).to be_empty, validator.class_method_arity_errors.first
39
39
  end
40
40
  end
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module Uptyped
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uptyped
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey Matthias
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-23 00:00:00.000000000 Z
11
+ date: 2014-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,7 +66,8 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.0'
69
- description: Currently adds tests to anything that doesn't inherit from Object.
69
+ description: Adds tests to enforce that interface is only inherited from superclass
70
+ unless superclass is Object.
70
71
  email:
71
72
  - jeffrey@sendgrid.com
72
73
  executables: []
@@ -101,5 +102,6 @@ rubyforge_project:
101
102
  rubygems_version: 2.2.2
102
103
  signing_key:
103
104
  specification_version: 4
104
- summary: Adds tests to enforce that interface is only inherited from superclass.
105
+ summary: Adds tests to enforce that interface is only inherited from superclass unless
106
+ superclass is Object.
105
107
  test_files: []