backports 2.0.2 → 2.0.3
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/tools.rb +1 -6
- metadata +4 -4
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 = %q{backports}
|
|
8
|
-
s.version = "2.0.
|
|
8
|
+
s.version = "2.0.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"]
|
|
12
|
-
s.date = %q{2011-03-
|
|
12
|
+
s.date = %q{2011-03-28}
|
|
13
13
|
s.description = %q{ 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.
|
|
14
14
|
}
|
|
15
15
|
s.email = %q{github@marc-andre.ca}
|
data/lib/backports/tools.rb
CHANGED
|
@@ -100,12 +100,7 @@ module Backports
|
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
def self.convert_to_path(file_or_path)
|
|
103
|
-
|
|
104
|
-
file_or_path = file_or_path.to_path
|
|
105
|
-
rescue NameError
|
|
106
|
-
# ignore
|
|
107
|
-
end
|
|
108
|
-
coerce_to(file_or_path, String, :to_str)
|
|
103
|
+
file_or_path.respond_to?(:to_path) ? file_or_path.to_path : file_or_path
|
|
109
104
|
end
|
|
110
105
|
|
|
111
106
|
# Modified to avoid polluting Module if so desired
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: backports
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 9
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 2.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 2.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- "Marc-Andr\xC3\xA9 Lafortune"
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-03-
|
|
18
|
+
date: 2011-03-28 00:00:00 -04:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies: []
|
|
21
21
|
|