covenant 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/covenant.rb +2 -6
  2. data/lib/covenant/version.rb +1 -1
  3. metadata +23 -14
data/lib/covenant.rb CHANGED
@@ -49,7 +49,7 @@ module Covenant
49
49
  end
50
50
 
51
51
  def to_s
52
- "block did not return true:\n\n#{source_block}\n\n#{variable_block}"
52
+ "block did not return true:\n\n#{variable_block}"
53
53
  end
54
54
 
55
55
  private
@@ -61,11 +61,7 @@ module Covenant
61
61
  end
62
62
 
63
63
  def source
64
- block.to_source
65
- end
66
-
67
- def source_block
68
- "Source:\n\n#{indent(source)}"
64
+ block.to_source(strip_enclosure: true)
69
65
  end
70
66
 
71
67
  def variable_block
@@ -1,3 +1,3 @@
1
1
  module Covenant
2
- VERSION = "0.7.0"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,38 +1,48 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: covenant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
5
4
  prerelease:
5
+ version: 0.8.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - David Leal
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-17 00:00:00.000000000 Z
12
+ date: 2013-06-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: sourcify
16
- requirement: &84448700 !ruby/object:Gem::Requirement
17
- none: false
15
+ version_requirements: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.6.0.pre
20
+ none: false
21
+ name: sourcify
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *84448700
25
- - !ruby/object:Gem::Dependency
26
- name: rspec
27
- requirement: &84448470 !ruby/object:Gem::Requirement
24
+ requirement: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ version: 0.6.0.pre
28
29
  none: false
30
+ - !ruby/object:Gem::Dependency
31
+ version_requirements: !ruby/object:Gem::Requirement
29
32
  requirements:
30
33
  - - ! '>='
31
34
  - !ruby/object:Gem::Version
32
35
  version: '2.11'
36
+ none: false
37
+ name: rspec
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *84448470
40
+ requirement: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '2.11'
45
+ none: false
36
46
  description:
37
47
  email:
38
48
  - gems@mojotech.com
@@ -49,22 +59,21 @@ rdoc_options: []
49
59
  require_paths:
50
60
  - lib
51
61
  required_ruby_version: !ruby/object:Gem::Requirement
52
- none: false
53
62
  requirements:
54
63
  - - ! '>='
55
64
  - !ruby/object:Gem::Version
56
65
  version: '0'
57
- required_rubygems_version: !ruby/object:Gem::Requirement
58
66
  none: false
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
68
  requirements:
60
69
  - - ! '>='
61
70
  - !ruby/object:Gem::Version
62
71
  version: '0'
72
+ none: false
63
73
  requirements: []
64
74
  rubyforge_project: ! '[none]'
65
- rubygems_version: 1.8.11
75
+ rubygems_version: 1.8.23
66
76
  signing_key:
67
77
  specification_version: 3
68
78
  summary: Assertion library for Ruby
69
79
  test_files: []
70
- has_rdoc: