minitest-bacon 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a63221a2dd44b2aa991dd8bf3aced146b7a43a36
4
- data.tar.gz: 32e7124d0469ca5ab1ffc80d7d740dcc5aa7ad5c
2
+ SHA256:
3
+ metadata.gz: 772b038e8763d40b12acc9e104c8e76c55f1528c229411d051ad7651747b02d0
4
+ data.tar.gz: 244706d7ddaa50925362600c299b695d416210e9f1d69f1bf04e4b45e60a8a21
5
5
  SHA512:
6
- metadata.gz: dd1c0fe58aa79f2a02cd67ffe9448d7685fcfe2a4e3934f03528a4cefac4ec014263cbae9fde87324c18e5f19c29110cc745e3ce8132d95ac8c4738a68e2d9a2
7
- data.tar.gz: 615badd2e34fb1c854325b16a5589521f5f2509d2efdeaec4c1a4d3ab976fe5902cca614b9d6137100125b870b793d8f962eb0560f74de273acb4b4bf47fc122
6
+ metadata.gz: 1153ebfb2b28c67e406c1a06c42fad5fec300fb971d4d9ceaf1d738fced45a80fd4fa911b879617677933f4724b0d2578081cde247534cca78cfcc5c0e25641b
7
+ data.tar.gz: 9e7529661dbab20b9e43ec787316b8023a581c91e51b1b0c85dd587186d584cc960c2f66012e3bcfce4c897e2c18c82fba218ed498ca8770bcc88fe65cac7615
checksums.yaml.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,15 @@
1
+ === 1.0.4 / 2024-07-12
2
+
3
+ * 1 bug fix:
4
+
5
+ * Fixed usage of frozen string literals.
6
+
7
+ === 1.0.3 / 2016-05-16
8
+
9
+ * 1 bug fix:
10
+
11
+ * Fixed several references to MT4.
12
+
1
13
  === 1.0.2 / 2014-01-15
2
14
 
3
15
  * 1 bug fix:
@@ -15,4 +27,3 @@
15
27
  * 1 major enhancement
16
28
 
17
29
  * Birthday!
18
-
@@ -5,11 +5,11 @@ require "minitest/autorun"
5
5
 
6
6
  module Minitest
7
7
  def self.poke
8
- MiniTest::Spec.current.assertions += 1
8
+ Minitest::Spec.current.assertions += 1
9
9
  end
10
10
 
11
11
  def self.count
12
- MiniTest::Spec.current.assertions
12
+ Minitest::Spec.current.assertions
13
13
  end
14
14
  end
15
15
 
@@ -29,7 +29,7 @@ class Minitest::Assertion
29
29
  end
30
30
 
31
31
  class Minitest::ValueMonad
32
- VERSION = "1.0.2"
32
+ VERSION = "1.0.4"
33
33
 
34
34
  instance_methods.each { |name| undef_method name if name =~ /\?|^\W+$/ }
35
35
 
@@ -70,7 +70,7 @@ class Minitest::ValueMonad
70
70
 
71
71
  Minitest.poke
72
72
  msg ||= "boom"
73
- raise MiniTest::Assertion, msg if @pos ^ r
73
+ raise Minitest::Assertion, msg if @pos ^ r
74
74
 
75
75
  r
76
76
  end
@@ -79,11 +79,12 @@ class Minitest::ValueMonad
79
79
  name = name.to_s.sub(/^be_/, '')
80
80
  name = "#{name}?" if name =~ /\w[^?]\z/
81
81
 
82
- msg = @pos ? "" : "not"
82
+ msg = []
83
+ msg << "not" unless @pos
83
84
  msg << @val.inspect << ".#{name}"
84
85
  msg << "(#{args.map(&:inspect).join ", "}) failed"
85
86
 
86
- assert(msg) { @val.__send__(name, *args, &block) }
87
+ assert(msg.join) { @val.__send__(name, *args, &block) }
87
88
  end
88
89
 
89
90
  def equal(value) self == value end
@@ -8,14 +8,14 @@ end
8
8
  module MetaTests
9
9
  def succeed
10
10
  lambda { |block|
11
- block.should.not.raise MiniTest::Assertion
11
+ block.should.not.raise Minitest::Assertion
12
12
  true
13
13
  }
14
14
  end
15
15
 
16
16
  def fail
17
17
  lambda { |block|
18
- block.should.raise MiniTest::Assertion
18
+ block.should.raise Minitest::Assertion
19
19
  true
20
20
  }
21
21
  end
@@ -12,7 +12,7 @@ describe "#should shortcut for #it" do
12
12
  end
13
13
 
14
14
  should "save characters even on failure" do
15
- lambda { should.assert { 1 == 2 } }.should.raise MiniTest::Assertion
15
+ lambda { should.assert { 1 == 2 } }.should.raise Minitest::Assertion
16
16
  end
17
17
 
18
18
  should "work nested" do
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-bacon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDPjCCAiagAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBCDANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTEzMDkxNjIzMDQxMloXDTE0MDkxNjIzMDQxMlowRTETMBEGA1UE
15
+ GRYDY29tMB4XDTI0MDEwMjIxMjEyM1oXDTI1MDEwMTIxMjEyM1owRTETMBEGA1UE
16
16
  AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
17
17
  JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
18
18
  b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
@@ -21,58 +21,64 @@ cert_chain:
21
21
  GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
22
22
  qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
23
23
  gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
24
- HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
25
- AQCFZ7JTzoy1gcG4d8A6dmOJy7ygtO5MFpRIz8HuKCF5566nOvpy7aHhDDzFmQuu
26
- FX3zDU6ghx5cQIueDhf2SGOncyBmmJRRYawm3wI0o1MeN6LZJ/3cRaOTjSFy6+S6
27
- zqDmHBp8fVA2TGJtO0BLNkbGVrBJjh0UPmSoGzWlRhEVnYC33TpDAbNA+u39UrQI
28
- ynwhNN7YbnmSR7+JU2cUjBFv2iPBO+TGuWC+9L2zn3NHjuc6tnmSYipA9y8Hv+As
29
- Y4evBVezr3SjXz08vPqRO5YRdO3zfeMT8gBjRqZjWJGMZ2lD4XNfrs7eky74CyZw
30
- xx3n58i0lQkBE1EpKE0lFu/y
24
+ HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
25
+ AQCygvpmncmkiSs9r/Kceo4bBPDszhTv6iBi4LwMReqnFrpNLMOWJw7xi8x+3eL2
26
+ XS09ZPNOt2zm70KmFouBMgOysnDY4k2dE8uF6B8JbZOO8QfalW+CoNBliefOTcn2
27
+ bg5IOP7UoGM5lC174/cbDJrJnRG9bzig5FAP0mvsgA8zgTRXQzIUAZEo92D5K7p4
28
+ B4/O998ho6BSOgYBI9Yk1ttdCtti6Y+8N9+fZESsjtWMykA+WXWeGUScHqiU+gH8
29
+ S7043fq9EbQdBr2AXdj92+CDwuTfHI6/Hj5FVBDULufrJaan4xUgL70Hvc6pTTeW
30
+ deKfBjgVAq7EYHu1AczzlUly
31
31
  -----END CERTIFICATE-----
32
- date: 2014-01-16 00:00:00.000000000 Z
32
+ date: 2024-07-12 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: minitest
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '5.0'
41
41
  type: :runtime
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '5.0'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rdoc
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '4.0'
55
+ - - "<"
56
+ - !ruby/object:Gem::Version
57
+ version: '7'
55
58
  type: :development
56
59
  prerelease: false
57
60
  version_requirements: !ruby/object:Gem::Requirement
58
61
  requirements:
59
- - - ~>
62
+ - - ">="
60
63
  - !ruby/object:Gem::Version
61
64
  version: '4.0'
65
+ - - "<"
66
+ - !ruby/object:Gem::Version
67
+ version: '7'
62
68
  - !ruby/object:Gem::Dependency
63
69
  name: hoe
64
70
  requirement: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - ~>
72
+ - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '3.8'
74
+ version: '4.2'
69
75
  type: :development
70
76
  prerelease: false
71
77
  version_requirements: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - ~>
79
+ - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '3.8'
81
+ version: '4.2'
76
82
  description: |-
77
83
  minitest-bacon extends minitest with bacon-like functionality. It
78
84
  should allow you to bridge 90+% of your bacon specs over to minitest.
@@ -85,8 +91,7 @@ extra_rdoc_files:
85
91
  - Manifest.txt
86
92
  - README.txt
87
93
  files:
88
- - .autotest
89
- - .gemtest
94
+ - ".autotest"
90
95
  - History.txt
91
96
  - Manifest.txt
92
97
  - README.txt
@@ -98,30 +103,27 @@ files:
98
103
  homepage: https://github.com/seattlerb/minitest-bacon
99
104
  licenses:
100
105
  - MIT
101
- metadata: {}
102
- post_install_message:
106
+ metadata:
107
+ homepage_uri: https://github.com/seattlerb/minitest-bacon
108
+ post_install_message:
103
109
  rdoc_options:
104
- - --main
110
+ - "--main"
105
111
  - README.txt
106
112
  require_paths:
107
113
  - lib
108
114
  required_ruby_version: !ruby/object:Gem::Requirement
109
115
  requirements:
110
- - - '>='
116
+ - - ">="
111
117
  - !ruby/object:Gem::Version
112
118
  version: '0'
113
119
  required_rubygems_version: !ruby/object:Gem::Requirement
114
120
  requirements:
115
- - - '>='
121
+ - - ">="
116
122
  - !ruby/object:Gem::Version
117
123
  version: '0'
118
124
  requirements: []
119
- rubyforge_project: minitest-bacon
120
- rubygems_version: 2.2.1
121
- signing_key:
125
+ rubygems_version: 3.5.14
126
+ signing_key:
122
127
  specification_version: 4
123
128
  summary: minitest-bacon extends minitest with bacon-like functionality
124
- test_files:
125
- - test/minitest/test_bacon.rb
126
- - test/minitest/test_nontrue.rb
127
- - test/minitest/test_should.rb
129
+ test_files: []
metadata.gz.sig CHANGED
Binary file
data/.gemtest DELETED
File without changes