contracts-rb 0.1.2 → 0.4.0

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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contracts-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Magnexis
@@ -10,7 +10,7 @@ cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: Expressive runtime contracts for parameters, results, state, invariants,
13
- and exceptions.
13
+ exceptions, tuples, and structured hash shapes.
14
14
  executables:
15
15
  - contracts
16
16
  extensions: []
@@ -26,6 +26,7 @@ files:
26
26
  - docs/assets/contracts-rb-logo.png
27
27
  - docs/contracts/contracts.md
28
28
  - docs/index.html
29
+ - docs/structured-constraints.md
29
30
  - examples/banking/README.md
30
31
  - examples/banking/bank_account.rb
31
32
  - examples/banking/demo.rb
@@ -35,16 +36,18 @@ files:
35
36
  - lib/contracts/rails.rb
36
37
  - lib/contracts/rspec.rb
37
38
  - lib/contracts/rspec/verifier.rb
39
+ - lib/contracts/structured.rb
38
40
  - lib/contracts/version.rb
39
41
  - sig/contracts.rbs
40
- homepage: https://github.com/magnexis/contracts-rb
42
+ homepage: https://github.com/theworker02/contracts-rb
41
43
  licenses:
42
44
  - MIT
43
45
  metadata:
44
46
  rubygems_mfa_required: 'true'
45
- source_code_uri: https://github.com/magnexis/contracts-rb
46
- changelog_uri: https://github.com/magnexis/contracts-rb/blob/master/CHANGELOG.md
47
- bug_tracker_uri: https://github.com/magnexis/contracts-rb/issues
47
+ source_code_uri: https://github.com/theworker02/contracts-rb
48
+ changelog_uri: https://github.com/theworker02/contracts-rb/blob/master/CHANGELOG.md
49
+ bug_tracker_uri: https://github.com/theworker02/contracts-rb/issues
50
+ documentation_uri: https://github.com/theworker02/contracts-rb/tree/master/docs
48
51
  rdoc_options: []
49
52
  require_paths:
50
53
  - lib
@@ -59,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
62
  - !ruby/object:Gem::Version
60
63
  version: '0'
61
64
  requirements: []
62
- rubygems_version: 4.0.17
65
+ rubygems_version: 3.6.9
63
66
  specification_version: 4
64
67
  summary: Behavioral contracts for Ruby methods and objects
65
68
  test_files: []