minitest-ok 0.3.0 → 0.3.1

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: 4aa9f8f89625dcaab1a15d2875489ce3aa9bc5c4
4
- data.tar.gz: c5d799128def76bdafb54e3e0e7d3509dcbd4e8e
3
+ metadata.gz: 67c3d366a946d973e09f4c7b444009531c174f3c
4
+ data.tar.gz: 926cb6753f06a72825e1d8d9144dcafcedf1bfc1
5
5
  SHA512:
6
- metadata.gz: 8d5cae13adc0e3119d3b9c8f24c210922f99e63c28851768cd655190a45ca0e4ecfecfb702d6983a807bcf5879bca10a60333661f262d140c7a54b41682a95a0
7
- data.tar.gz: 230d68777e669036f620757e47d9f25f04783afcdc51e0b69b0736d0cd0b7c50815914c4ae59fbd19f4a52f022cf5d1e3d8652332495527946f768817b039a47
6
+ metadata.gz: f4295a3a39519adb857ae9e19a68b2ddf61e744561a1894253b4383782027e1a8417e999559a39dea301bc9bf016fb93d280f6802aa9ef8b522f3f1c595927e2
7
+ data.tar.gz: df827fb533a5a239f25c13991e76d805a807bf3b01606acc2a0aeae7d765393c3b1be87a7c225d5699951f70a66114db4da2f64346b83c7b1c0001e924bcf801
data/README.md CHANGED
@@ -138,6 +138,18 @@ $License: MIT License $
138
138
 
139
139
  ## History
140
140
 
141
+ ### 2018-11-13: Release 0.3.1
142
+
143
+ * [bugfix] add change history to README.
144
+ * [bugfix] update copyright year.
145
+
146
+
147
+ ### 2018-11-12: Release 0.3.0
148
+
149
+ * [bugfix] `ok {}` shows filename and lineno correctly error happened.
150
+ * [change] `ok {} == nil` calls `assert_nil()` instead of `assert_equal()`.
151
+ * [bugfix] update test script to run successfully on recent ruby.
152
+
141
153
 
142
154
  ### 2016-09-07: Release 0.2.0
143
155
 
data/Rakefile CHANGED
@@ -39,18 +39,21 @@ desc "edit files (for release preparation)"
39
39
  task :edit do
40
40
  rel = ENV['rel'] or
41
41
  raise "ERROR: 'rel' environment variable expected."
42
+ copyright = "copyright(c) 2015-2018 kuwata-lab.com all rights reserved"
42
43
  filenames = Dir[*%w[lib/**/*.rb test/**/*_test.rb test/test_helper.rb *.gemspec]]
43
44
  filenames.each do |fname|
44
45
  File.open(fname, 'r+', encoding: 'utf-8') do |f|
45
46
  content = f.read()
46
- x = content.gsub!(/\$Release:.*?\$/, "$Release: #{rel} $")
47
- if x.nil?
47
+ x = content
48
+ x = x.gsub(/\$Release:.*?\$/, "$Release: #{rel} $")
49
+ x = x.gsub(/\$Copyright:.*?\$/, "$Copyright: #{copyright} $")
50
+ if x == content
48
51
  puts "[_] #{fname}"
49
52
  else
50
53
  puts "[C] #{fname}"
51
54
  f.rewind()
52
55
  f.truncate(0)
53
- f.write(content)
56
+ f.write(x)
54
57
  end
55
58
  end
56
59
  end
@@ -1,8 +1,8 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ###
4
- ### $Release: 0.3.0 $
5
- ### $Copyright: copyright(c) 2015 kuwata-lab.com all rights reserved $
4
+ ### $Release: 0.3.1 $
5
+ ### $Copyright: copyright(c) 2015-2018 kuwata-lab.com all rights reserved $
6
6
  ### $License: MIT License $
7
7
  ###
8
8
 
@@ -59,7 +59,7 @@ module Minitest
59
59
 
60
60
  module Ok
61
61
 
62
- VERSION = '$Release: 0.3.0 $'.split()[1]
62
+ VERSION = '$Release: 0.3.1 $'.split()[1]
63
63
 
64
64
 
65
65
  class Msg < Proc # :nodoc:
@@ -1,8 +1,8 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ###
4
- ### $Release: 0.3.0 $
5
- ### $Copyright: copyright(c) 2015 kuwata-lab.com all rights reserved $
4
+ ### $Release: 0.3.1 $
5
+ ### $Copyright: copyright(c) 2015-2018 kuwata-lab.com all rights reserved $
6
6
  ### $License: MIT License $
7
7
  ###
8
8
 
@@ -1,8 +1,8 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ###
4
- ### $Release: 0.3.0 $
5
- ### $Copyright: copyright(c) 2015 kuwata-lab.com all rights reserved $
4
+ ### $Release: 0.3.1 $
5
+ ### $Copyright: copyright(c) 2015-2018 kuwata-lab.com all rights reserved $
6
6
  ### $License: MIT License $
7
7
  ###
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-ok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - makoto kuwata