backports 2.6.1 → 2.6.2
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.yml +1 -1
- data/backports.gemspec +2 -2
- data/lib/backports/1.9.3/file.rb +6 -4
- metadata +2 -2
data/VERSION.yml
CHANGED
data/backports.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "backports"
|
|
8
|
-
s.version = "2.6.
|
|
8
|
+
s.version = "2.6.2"
|
|
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\u{e9} Lafortune"]
|
|
12
|
-
s.date = "2012-
|
|
12
|
+
s.date = "2012-07-20"
|
|
13
13
|
s.description = " Essential backports that enable some of the really nice features of ruby 1.8.7, ruby 1.9 and rails from ruby 1.8.6 and earlier.\n"
|
|
14
14
|
s.email = "github@marc-andre.ca"
|
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/backports/1.9.3/file.rb
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
module File::Constants
|
|
2
|
+
platform = RUBY_PLATFORM
|
|
3
|
+
platform = RbConfig::CONFIG['host_os'] if platform == 'java'
|
|
4
|
+
NULL = case platform
|
|
5
|
+
when /mswin|mingw/i
|
|
4
6
|
'NUL'
|
|
5
7
|
when /amiga/i
|
|
6
8
|
'NIL:'
|
|
@@ -9,4 +11,4 @@ class File
|
|
|
9
11
|
else
|
|
10
12
|
'/dev/null'
|
|
11
13
|
end unless const_defined?(:NULL)
|
|
12
|
-
end
|
|
14
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: backports
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.6.
|
|
4
|
+
version: 2.6.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-07-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: ! ' Essential backports that enable some of the really nice features
|
|
15
15
|
of ruby 1.8.7, ruby 1.9 and rails from ruby 1.8.6 and earlier.
|