assert 2.6.0 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -5,3 +5,7 @@ gemspec
5
5
 
6
6
  gem 'rake'
7
7
  gem 'pry'
8
+
9
+ platform :rbx do
10
+ gem 'rubysl'
11
+ end
@@ -29,8 +29,6 @@ class Assert::Context
29
29
  end
30
30
  alias_method :after, :teardown
31
31
 
32
- protected
33
-
34
32
  def arounds
35
33
  @arounds ||= []
36
34
  end
@@ -1,3 +1,3 @@
1
1
  module Assert
2
- VERSION = "2.6.0"
2
+ VERSION = "2.7.0"
3
3
  end
@@ -47,7 +47,7 @@ module Assert::Utils
47
47
  desc "`show_for_diff`"
48
48
  setup do
49
49
  @w_newlines = { :string => "herp derp, derp herp\nherpderpedia" }
50
- @w_obj_id = Struct.new(:a, :b).new('aye', 'bee')
50
+ @w_obj_id = Class.new.new
51
51
  end
52
52
 
53
53
  should "call show, escaping newlines" do
@@ -56,7 +56,7 @@ module Assert::Utils
56
56
  end
57
57
 
58
58
  should "make any obj ids generic" do
59
- exp_out = "#<struct #<Class:0xXXXXXX> a=\"aye\", b=\"bee\">"
59
+ exp_out = "#<#<Class:0xXXXXXX>:0xXXXXXX>"
60
60
  assert_equal exp_out, subject.show_for_diff(@w_obj_id, Factory.modes_off_config)
61
61
  end
62
62
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assert
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
- - 6
8
+ - 7
9
9
  - 0
10
- version: 2.6.0
10
+ version: 2.7.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kelly Redding
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2014-01-08 00:00:00 Z
19
+ date: 2014-01-13 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  prerelease: false