marcandre-backports 1.8.2 → 1.8.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 8
4
- :patch: 2
4
+ :patch: 3
data/backports.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{backports}
8
- s.version = "1.8.2"
8
+ s.version = "1.8.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marc-Andr\303\251 Lafortune"]
@@ -4,7 +4,7 @@ class Dir
4
4
  Backports.make_block_optional self, :foreach, :test_on => Dir, :arg => "."
5
5
 
6
6
  def mktmpdir(prefix_suffix=nil, tmpdir=nil)
7
- raise NoMethodError, "undefined method `mktmpdir' for Dir:Class; you must require 'tmpdir'" unless Dir.method_defined? :tmpdir
7
+ raise NoMethodError, "undefined method `mktmpdir' for Dir:Class; you must require 'tmpdir'" unless method_defined? :tmpdir
8
8
 
9
9
  case prefix_suffix
10
10
  when nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marcandre-backports
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Marc-Andr\xC3\xA9 Lafortune"