sig 1.0.2 → 1.0.3

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
  SHA256:
3
- metadata.gz: 0275d2e23d0acbd4ee5ee320205b7f139d7827b5fac16d1897fd1cf3e52cadde
4
- data.tar.gz: 33059bc6cb2c04122905353f7cef5582be23926c93d6b19df32aceb52aa7cabd
3
+ metadata.gz: b91df7e1a3de980996271fa0579e00d84b7af75838801fc58a5a9076d26bbbac
4
+ data.tar.gz: 4c635b05cb379c7850e5d3d71b29caf0ecc9c8a7c0fb67c10d5803b6df00e156
5
5
  SHA512:
6
- metadata.gz: 59337fd40a457f2d887424b7915b62f3743b3316b2b621ac5ea7a6c17179ab74243c80fc36d4105a983ad737d7471dbc0ae00a9427d64045bf97f23591324489
7
- data.tar.gz: 0d77e6f24e7b2c2c8483c93d726b572aab8128fe5a65581f99d65684bd064a1904c66f10e27061bb975c313b086f6aff515cbe62daa991dd137b3500d44cae92
6
+ metadata.gz: 056ef5b1e6a9c67d5c40cdaf5ac7bfe24938c2c886340195af4ef3992b9f801baa894b68efb913b2f1b1741610657ddc47d5a2b0bb899b1fab266b15825d6ae3
7
+ data.tar.gz: 38072579c25487001a4318fce3642b4989db019894c9012383b55e213891b639ce251d21b96784f63f186c3353fed10a95dc1c5d6cbb5befc88ab259c824926b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.0.3
4
+
5
+ * Relax Ruby version requirement to allow Ruby 4.0
6
+
3
7
  ### 1.0.2
4
8
 
5
9
  * Relax Ruby version requirement to allow Ruby 3.0
@@ -10,5 +14,5 @@
10
14
 
11
15
  ### 1.0.0
12
16
 
13
- * Inital release
17
+ * Initial release
14
18
 
data/Gemfile.lock CHANGED
@@ -1,32 +1,65 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sig (1.0.1)
4
+ sig (1.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ansi (1.5.0)
10
- builder (3.2.2)
11
- minitest (5.6.0)
12
- minitest-line (0.6.2)
10
+ builder (3.3.0)
11
+ date (3.5.1)
12
+ date (3.5.1-java)
13
+ erb (6.0.1)
14
+ erb (6.0.1-java)
15
+ io-console (0.8.2)
16
+ io-console (0.8.2-java)
17
+ irb (1.16.0)
18
+ pp (>= 0.6.0)
19
+ rdoc (>= 4.0.0)
20
+ reline (>= 0.4.2)
21
+ jar-dependencies (0.5.5)
22
+ minitest (5.27.0)
23
+ minitest-line (0.6.5)
13
24
  minitest (~> 5.0)
14
- minitest-reporters (1.0.11)
25
+ minitest-reporters (1.7.1)
15
26
  ansi
16
27
  builder
17
28
  minitest (>= 5.0)
18
29
  ruby-progressbar
19
- ruby-progressbar (1.7.5)
30
+ ostruct (0.6.3)
31
+ pp (0.6.3)
32
+ prettyprint
33
+ prettyprint (0.2.0)
34
+ psych (5.3.1)
35
+ date
36
+ stringio
37
+ psych (5.3.1-java)
38
+ date
39
+ jar-dependencies (>= 0.1.7)
40
+ rake (13.3.1)
41
+ rdoc (7.0.3)
42
+ erb
43
+ psych (>= 4.0.0)
44
+ tsort
45
+ reline (0.6.3)
46
+ io-console (~> 0.5)
47
+ ruby-progressbar (1.13.0)
48
+ stringio (3.2.0)
49
+ tsort (0.2.0)
20
50
 
21
51
  PLATFORMS
22
52
  java
23
53
  ruby
24
54
 
25
55
  DEPENDENCIES
56
+ irb
26
57
  minitest
27
58
  minitest-line
28
59
  minitest-reporters
60
+ ostruct
61
+ rake
29
62
  sig!
30
63
 
31
64
  BUNDLED WITH
32
- 1.11.2
65
+ 4.0.3
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2015 Jan Lelis, https://janlelis.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # `sig`: Optional Type Assertions for Ruby methods. [![[version]](https://badge.fury.io/rb/sig.svg)](http://badge.fury.io/rb/sig) [![[ci]](https://github.com/janlelis/sig/workflows/Test/badge.svg)](https://github.com/janlelis/sig/actions?query=workflow%3ATest)
1
+ # `sig`: Optional Type Assertions for Ruby methods. [![[version]](https://badge.fury.io/rb/sig.svg)](https://badge.fury.io/rb/sig) [![[ci]](https://github.com/janlelis/sig/workflows/Test/badge.svg)](https://github.com/janlelis/sig/actions?query=workflow%3ATest)
2
2
 
3
3
  This gem adds the `sig` method that allows you to add signatures to Ruby methods. When you call the method, it will verify that the method's arguments/result fit to the previously defined behavior:
4
4
 
@@ -201,4 +201,4 @@ require 'sig/none' # instead of require 'sig'
201
201
 
202
202
  ## MIT License
203
203
 
204
- Copyright (C) 2015 Jan Lelis <http://janlelis.com>. Released under the MIT license.
204
+ Copyright (C) 2015 Jan Lelis <https://janlelis.com>. Released under the MIT license.
data/lib/sig/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sig
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
6
6
 
data/sig.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
8
8
  gem.summary = "Optional Type Assertions for Ruby."
9
9
  gem.description = "Optional Type Assertions for Ruby methods."
10
10
  gem.authors = ["Jan Lelis"]
11
- gem.email = "mail@janlelis.de"
11
+ gem.email = ["hi@ruby.consulting"]
12
12
  gem.homepage = "https://github.com/janlelis/sig"
13
13
  gem.license = "MIT"
14
14
 
@@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.required_ruby_version = ">= 2.1", "< 4.0"
20
+ gem.required_ruby_version = ">= 2.1", "< 5.0"
21
21
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2020-12-30 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Optional Type Assertions for Ruby methods.
14
- email: mail@janlelis.de
13
+ email:
14
+ - hi@ruby.consulting
15
15
  executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
@@ -34,7 +34,6 @@ homepage: https://github.com/janlelis/sig
34
34
  licenses:
35
35
  - MIT
36
36
  metadata: {}
37
- post_install_message:
38
37
  rdoc_options: []
39
38
  require_paths:
40
39
  - lib
@@ -45,15 +44,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
45
44
  version: '2.1'
46
45
  - - "<"
47
46
  - !ruby/object:Gem::Version
48
- version: '4.0'
47
+ version: '5.0'
49
48
  required_rubygems_version: !ruby/object:Gem::Requirement
50
49
  requirements:
51
50
  - - ">="
52
51
  - !ruby/object:Gem::Version
53
52
  version: '0'
54
53
  requirements: []
55
- rubygems_version: 3.1.2
56
- signing_key:
54
+ rubygems_version: 4.0.3
57
55
  specification_version: 4
58
56
  summary: Optional Type Assertions for Ruby.
59
57
  test_files: