minitest-bacon 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a63221a2dd44b2aa991dd8bf3aced146b7a43a36
4
+ data.tar.gz: 32e7124d0469ca5ab1ffc80d7d740dcc5aa7ad5c
5
+ SHA512:
6
+ metadata.gz: dd1c0fe58aa79f2a02cd67ffe9448d7685fcfe2a4e3934f03528a4cefac4ec014263cbae9fde87324c18e5f19c29110cc745e3ce8132d95ac8c4738a68e2d9a2
7
+ data.tar.gz: 615badd2e34fb1c854325b16a5589521f5f2509d2efdeaec4c1a4d3ab976fe5902cca614b9d6137100125b870b793d8f962eb0560f74de273acb4b4bf47fc122
@@ -0,0 +1,3 @@
1
+ �>6�U�q)�ʧ,����C�M�J��T�P} ��$0˱ux-���p�]��av¯<�3kO�
2
+ ��s��s��s�`"�P i���V�C1+C��)5�Y�ЕV�=�����J Z��XxDc�|ǝ �0T<幔%����U��nO�c���5���n�t.|'e�^#��/�r�?GK6l��0X��/�{��f9�1��DZ(u~f�
3
+ �}��{� �:��T��
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 1.0.2 / 2014-01-15
2
+
3
+ * 1 bug fix:
4
+
5
+ * Fixed backtraces on failed expectations. (rf-)
6
+
1
7
  === 1.0.1 / 2013-05-29
2
8
 
3
9
  * 1 bug fix:
@@ -13,8 +13,23 @@ module Minitest
13
13
  end
14
14
  end
15
15
 
16
+ class Minitest::Assertion
17
+ alias :oldloc :location
18
+
19
+ # override to add method_missing
20
+
21
+ def location # :nodoc:
22
+ last_before_assertion = ""
23
+ self.backtrace.reverse_each do |s|
24
+ break if s =~ /in .(method_missing|assert|refute|flunk|pass|fail|raise|must|wont)/
25
+ last_before_assertion = s
26
+ end
27
+ last_before_assertion.sub(/:in .*$/, "")
28
+ end
29
+ end
30
+
16
31
  class Minitest::ValueMonad
17
- VERSION = "1.0.1"
32
+ VERSION = "1.0.2"
18
33
 
19
34
  instance_methods.each { |name| undef_method name if name =~ /\?|^\W+$/ }
20
35
 
@@ -30,6 +30,17 @@ end
30
30
  describe "Bacon" do
31
31
  include MetaTests
32
32
 
33
+ it "should have a good backtrace" do
34
+
35
+ e = begin
36
+ should.not.raise { raise "Error" }
37
+ rescue Exception => e
38
+ e
39
+ end
40
+
41
+ e.location.should.include? __FILE__
42
+ end
43
+
33
44
  it "should have should.satisfy" do
34
45
  lambda { should.satisfy { 1 == 1 } }.should succeed
35
46
  lambda { should.satisfy { 1 } }.should succeed
metadata CHANGED
@@ -1,24 +1,18 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: minitest-bacon
3
- version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 1
10
- version: 1.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.2
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Ryan Davis
14
8
  autorequire:
15
9
  bindir: bin
16
- cert_chain:
10
+ cert_chain:
17
11
  - |
18
12
  -----BEGIN CERTIFICATE-----
19
- MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
20
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
21
- GRYDY29tMB4XDTA5MDMwNjE4NTMxNVoXDTEwMDMwNjE4NTMxNVowRTETMBEGA1UE
15
+ GRYDY29tMB4XDTEzMDkxNjIzMDQxMloXDTE0MDkxNjIzMDQxMlowRTETMBEGA1UE
22
16
  AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
23
17
  JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQAD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----END CERTIFICATE-----
38
-
39
- date: 2013-05-30 00:00:00 Z
40
- dependencies:
41
- - !ruby/object:Gem::Dependency
32
+ date: 2014-01-16 00:00:00.000000000 Z
33
+ dependencies:
34
+ - !ruby/object:Gem::Dependency
42
35
  name: minitest
43
- prerelease: false
44
- requirement: &id001 !ruby/object:Gem::Requirement
45
- none: false
46
- requirements:
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
47
38
  - - ~>
48
- - !ruby/object:Gem::Version
49
- hash: 31
50
- segments:
51
- - 5
52
- - 0
53
- version: "5.0"
39
+ - !ruby/object:Gem::Version
40
+ version: '5.0'
54
41
  type: :runtime
55
- version_requirements: *id001
56
- - !ruby/object:Gem::Dependency
57
- name: rdoc
58
42
  prerelease: false
59
- requirement: &id002 !ruby/object:Gem::Requirement
60
- none: false
61
- requirements:
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ - !ruby/object:Gem::Dependency
49
+ name: rdoc
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
62
52
  - - ~>
63
- - !ruby/object:Gem::Version
64
- hash: 27
65
- segments:
66
- - 4
67
- - 0
68
- version: "4.0"
53
+ - !ruby/object:Gem::Version
54
+ version: '4.0'
69
55
  type: :development
70
- version_requirements: *id002
71
- - !ruby/object:Gem::Dependency
72
- name: hoe
73
56
  prerelease: false
74
- requirement: &id003 !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
77
59
  - - ~>
78
- - !ruby/object:Gem::Version
79
- hash: 11
80
- segments:
81
- - 3
82
- - 6
83
- version: "3.6"
60
+ - !ruby/object:Gem::Version
61
+ version: '4.0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: hoe
64
+ requirement: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '3.8'
84
69
  type: :development
85
- version_requirements: *id003
70
+ prerelease: false
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '3.8'
86
76
  description: |-
87
77
  minitest-bacon extends minitest with bacon-like functionality. It
88
78
  should allow you to bridge 90+% of your bacon specs over to minitest.
89
- email:
79
+ email:
90
80
  - ryand-ruby@zenspider.com
91
81
  executables: []
92
-
93
82
  extensions: []
94
-
95
- extra_rdoc_files:
83
+ extra_rdoc_files:
96
84
  - History.txt
97
85
  - Manifest.txt
98
86
  - README.txt
99
- files:
87
+ files:
100
88
  - .autotest
89
+ - .gemtest
101
90
  - History.txt
102
91
  - Manifest.txt
103
92
  - README.txt
@@ -106,42 +95,33 @@ files:
106
95
  - test/minitest/test_bacon.rb
107
96
  - test/minitest/test_nontrue.rb
108
97
  - test/minitest/test_should.rb
109
- - .gemtest
110
98
  homepage: https://github.com/seattlerb/minitest-bacon
111
- licenses:
99
+ licenses:
112
100
  - MIT
101
+ metadata: {}
113
102
  post_install_message:
114
- rdoc_options:
103
+ rdoc_options:
115
104
  - --main
116
105
  - README.txt
117
- require_paths:
106
+ require_paths:
118
107
  - lib
119
- required_ruby_version: !ruby/object:Gem::Requirement
120
- none: false
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- hash: 3
125
- segments:
126
- - 0
127
- version: "0"
128
- required_rubygems_version: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ">="
132
- - !ruby/object:Gem::Version
133
- hash: 3
134
- segments:
135
- - 0
136
- version: "0"
108
+ required_ruby_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - '>='
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
137
118
  requirements: []
138
-
139
119
  rubyforge_project: minitest-bacon
140
- rubygems_version: 1.8.25
120
+ rubygems_version: 2.2.1
141
121
  signing_key:
142
- specification_version: 3
122
+ specification_version: 4
143
123
  summary: minitest-bacon extends minitest with bacon-like functionality
144
- test_files:
124
+ test_files:
145
125
  - test/minitest/test_bacon.rb
146
126
  - test/minitest/test_nontrue.rb
147
127
  - test/minitest/test_should.rb
metadata.gz.sig CHANGED
Binary file