minitest-spec-expect 1.0.0 → 2.0.0

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
2
  SHA1:
3
- metadata.gz: e507e3c0ddd656f732eee9925c3fe75cfce15bb3
4
- data.tar.gz: 21dd1295a526d328ba43878f0afbab89252b4b31
3
+ metadata.gz: 1808e046d9c010eb7b26d3e21ba81e62d87c3c13
4
+ data.tar.gz: e3f4c7904f9da4cfc30c56ec4b05920dd2b08f9e
5
5
  SHA512:
6
- metadata.gz: d1ae50e570ffb411f6233c08e8bfab8fbce17d8de3adb29e6c3abf06cc92b73ba18cee48bf75eb984484714c3471e5816b632ab4e7e71031d6a589074e698dd4
7
- data.tar.gz: 2c041cb1f29119438aba2d4f3535b021e505d91cd559eb4def7e4ade37d9dcff942f82f4f04726fb08212819248384a9240bad4254f2eec418830b2ad226e387
6
+ metadata.gz: 6bdfcf1a8e79a5ced36c0b37a33fe450c6a5d287b2aa7a9358083ae385e2ce320ef4a8cbbaa75244f9ce35bca7f27d4c1be0fab83b0ede09083bc4b6c15bcad2
7
+ data.tar.gz: 8601b8b6571724a3505e01598297314260685fd3962b8ec237690184840af17b9a2a6febbab0935d77bf46bef5491054159e4d24a461caa029484ce8c16bb77e
@@ -1,3 +1,6 @@
1
+ #### version 2.0.0 - *July 10, 2014*
2
+ * Enforce that users require a runner. Via [@blowmage](https://github.com/blowmage).
3
+
1
4
  #### version 1.0.0 - *December 28, 2013*
2
5
  * Simplified initializer for expect object. Make stable.
3
6
 
data/README.md CHANGED
@@ -13,10 +13,12 @@ or from the command line:
13
13
  ```
14
14
  $ gem install minitest-spec-expect
15
15
  ```
16
- Then require it in the file that you require `minitest/autorun`:
16
+ Then require it after your runner:
17
17
  ```ruby
18
+ require 'minitest/autorun'
18
19
  require 'minitest/spec/expect'
19
20
  ```
21
+
20
22
  minitest-spec-expect works in the following ruby versions and implementations:
21
23
  * 1.9.2
22
24
  * 1.9.3
@@ -17,7 +17,7 @@ module Kernel
17
17
  end
18
18
  end
19
19
 
20
- require 'minitest/autorun'
20
+ require 'minitest/spec'
21
21
 
22
22
  class Minitest::Spec::Expect
23
23
  OBJECT_UNDER_TEST = :object_under_test
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.authors = ['Dave Jachimiak']
10
10
  s.email = 'dave.jachimiak@gmail.com'
11
11
  s.homepage = 'http://github.com/davejachimiak/minitest-spec-expect'
12
- s.version = '1.0.0'
12
+ s.version = '2.0.0'
13
13
  s.files = `git ls-files`.split("\n").reject do |file_name|
14
14
  /\.gem$/.match file_name
15
15
  end
@@ -1,7 +1,7 @@
1
1
  $:.unshift File.expand_path("../../lib", __FILE__)
2
2
 
3
- require 'minitest/spec/expect'
4
3
  require 'minitest/autorun'
4
+ require 'minitest/spec/expect'
5
5
 
6
6
  describe 'expect syntax' do
7
7
  it 'supports must_be as to_be' do
@@ -1,7 +1,7 @@
1
1
  $:.unshift File.expand_path("../../lib", __FILE__)
2
2
 
3
- require 'minitest/spec/expect'
4
3
  require 'minitest/autorun'
4
+ require 'minitest/spec/expect'
5
5
 
6
6
  describe Kernel do
7
7
  describe '#expect' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-spec-expect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Jachimiak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-28 00:00:00.000000000 Z
11
+ date: 2014-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest