must_be 1.0.0 → 1.0.1

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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -27,8 +27,8 @@ nil.must_be_boolean
27
27
 
28
28
  2.must_be_close(2.0)
29
29
  2.must_be_close(2.01)
30
- 2.must_be_close(2.1)
31
- #=> 2.must_be_close(2.1, 0.1), difference is 0.1
30
+ 2.must_be_close(2.25)
31
+ #=> 2.must_be_close(2.25, 0.1), difference is 0.25
32
32
 
33
33
  2.must_be_close(2.1, 6)
34
34
  2.must_be_close(9.0, 6)
@@ -136,7 +136,7 @@ t.o = 8
136
136
  {:symbol => :s, :fixnum => 5}.must_only_contain(Symbol => [Symbol, Fixnum])
137
137
  {5 => :s, 6 => 5, :t => 5, :s => :s}.must_only_contain([Symbol, Fixnum] => [Symbol, Fixnum])
138
138
  {6 => 5}.must_only_contain(Symbol => Fixnum, Fixnum => Symbol)
139
- #=> must_only_contain: pair {6=>5} does not match [{Symbol=>Fixnum, Fixnum=>Symbol}] in container {6=>5}
139
+ #~> must_only_contain: pair \{6=>5\} does not match .* in container \{6=>5\}
140
140
 
141
141
  {:welcome => nil}.must_not_contain(nil => Object)
142
142
  {nil => :welcome}.must_not_contain(nil => Object)
@@ -1,4 +1,4 @@
1
- require 'lib/must_be'
1
+ require './lib/must_be'
2
2
 
3
3
  $expecting_note = false
4
4
 
data/must_be.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{must_be}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["William Taysom"]
12
- s.date = %q{2010-09-12}
12
+ s.date = %q{2010-09-27}
13
13
  s.description = %q{must_be provides runtime assertions which can easily be disabled in production environments. Likewise, the notifier can be customized to raise errors, log failure, enter the debugger, or anything else.}
14
14
  s.email = %q{wtaysom@gmail.com}
15
15
  s.extra_rdoc_files = [
data/spec/spec_helper.rb CHANGED
@@ -8,7 +8,7 @@
8
8
  ENV['MUST_BE__NOTIFIER'] = nil # to make `rake spec` work.
9
9
  ENV['MUST_BE__DO_NOT_AUTOMATICALLY_INCLUDE_IN_OBJECT'] = "" # any string.
10
10
 
11
- require 'lib/must_be'
11
+ require './lib/must_be'
12
12
 
13
13
  if Object.include? MustBe
14
14
  raise "MustBe should not be automatically included in Object."
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: must_be
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - William Taysom
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-12 00:00:00 +08:00
18
+ date: 2010-09-27 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies: []
21
21