contraction 0.2.5 → 0.2.6

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.
data/lib/contract.rb CHANGED
@@ -78,4 +78,3 @@ module Contraction
78
78
  end
79
79
  end
80
80
  end
81
-
data/lib/contraction.rb CHANGED
@@ -1,6 +1,9 @@
1
1
  require 'string'
2
+ require 'contract'
2
3
  require 'parser'
3
4
 
5
+ # TODO: Is there room here to use Delegator instead of re-writing things to get
6
+ # a speed boost?
4
7
  module Contraction
5
8
  # Call this method to update contracts for any methods that may have been
6
9
  # added after the class/module file was loaded by some third-party code. It's
data/lib/parser/type.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # FIXME: Actually use the type parser in the actual parser... Duh.
1
2
  module Contraction
2
3
  module Parser
3
4
  class Type
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contraction
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Thomas Luce
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-07-18 00:00:00.000000000 Z
12
+ date: 2014-07-19 00:00:00.000000000 Z
12
13
  dependencies: []
13
14
  description: Using RDoc documentation as your contract definition, you get solid code,
14
15
  and good docs. Win-win!
@@ -28,25 +29,29 @@ files:
28
29
  - lib/string.rb
29
30
  homepage: https://github.com/thomasluce/contraction
30
31
  licenses: []
31
- metadata: {}
32
32
  post_install_message:
33
33
  rdoc_options: []
34
34
  require_paths:
35
35
  - lib
36
36
  required_ruby_version: !ruby/object:Gem::Requirement
37
+ none: false
37
38
  requirements:
38
- - - '>='
39
+ - - ! '>='
39
40
  - !ruby/object:Gem::Version
40
41
  version: '0'
42
+ segments:
43
+ - 0
44
+ hash: -2650941166078552798
41
45
  required_rubygems_version: !ruby/object:Gem::Requirement
46
+ none: false
42
47
  requirements:
43
- - - '>='
48
+ - - ! '>='
44
49
  - !ruby/object:Gem::Version
45
50
  version: '0'
46
51
  requirements: []
47
52
  rubyforge_project:
48
- rubygems_version: 2.2.2
53
+ rubygems_version: 1.8.24
49
54
  signing_key:
50
- specification_version: 4
55
+ specification_version: 3
51
56
  summary: A simple desgin-by-contract library
52
57
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: d949e8e0f90ac9a867b0bc500c174af356f714e2
4
- data.tar.gz: 7946c533f8690b04dfb4a6f41f0e50e12b8b6f89
5
- SHA512:
6
- metadata.gz: 178ca20aa78e13a2bcb22906f40e93667fcffd29ddf0e13e362a894f38c0d2769269f5e8e203aceda27567148f08abe1c8f8d53efbbe687df2fa96e4b5dcba4f
7
- data.tar.gz: c2fb6d2cba4457341109c9b6d96c244ceee9316f19137398a8ca645ef3f2fac218a35ef6214389dae97c4957a9beb8628e8a66ceda451a902605e17115b78d3b