backports 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ *.sw?
2
+ *.rbc
3
+ .DS_Store
4
+ coverage
5
+ rdoc
6
+ pkg
7
+ assets
8
+ rs
@@ -1,5 +1,5 @@
1
- ---
2
- :build:
1
+ ---
3
2
  :major: 2
4
3
  :minor: 5
5
- :patch: 0
4
+ :patch: 1
5
+ :build:
@@ -1,130 +1,129 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{backports}
8
- s.version = "2.5.0"
7
+ s.name = "backports"
8
+ s.version = "2.5.1"
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{2012-03-25}
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
- }
15
- s.email = %q{github@marc-andre.ca}
12
+ s.date = "2012-03-30"
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
+ s.email = "github@marc-andre.ca"
16
15
  s.extra_rdoc_files = [
17
16
  "LICENSE",
18
- "README.rdoc"
17
+ "README.rdoc"
19
18
  ]
20
19
  s.files = [
21
20
  ".document",
22
- ".irbrc",
23
- "CHANGELOG.rdoc",
24
- "LICENSE",
25
- "README.rdoc",
26
- "Rakefile",
27
- "VERSION.yml",
28
- "backports.gemspec",
29
- "lib/backports.rb",
30
- "lib/backports/1.8.7.rb",
31
- "lib/backports/1.8.7/argf.rb",
32
- "lib/backports/1.8.7/array.rb",
33
- "lib/backports/1.8.7/binding.rb",
34
- "lib/backports/1.8.7/dir.rb",
35
- "lib/backports/1.8.7/enumerable.rb",
36
- "lib/backports/1.8.7/enumerator.rb",
37
- "lib/backports/1.8.7/env.rb",
38
- "lib/backports/1.8.7/fixnum.rb",
39
- "lib/backports/1.8.7/float.rb",
40
- "lib/backports/1.8.7/gc.rb",
41
- "lib/backports/1.8.7/hash.rb",
42
- "lib/backports/1.8.7/integer.rb",
43
- "lib/backports/1.8.7/io.rb",
44
- "lib/backports/1.8.7/kernel.rb",
45
- "lib/backports/1.8.7/method.rb",
46
- "lib/backports/1.8.7/module.rb",
47
- "lib/backports/1.8.7/numeric.rb",
48
- "lib/backports/1.8.7/object_space.rb",
49
- "lib/backports/1.8.7/proc.rb",
50
- "lib/backports/1.8.7/process.rb",
51
- "lib/backports/1.8.7/range.rb",
52
- "lib/backports/1.8.7/regexp.rb",
53
- "lib/backports/1.8.7/string.rb",
54
- "lib/backports/1.8.7/struct.rb",
55
- "lib/backports/1.8.7/symbol.rb",
56
- "lib/backports/1.8.8.rb",
57
- "lib/backports/1.8.rb",
58
- "lib/backports/1.9.1.rb",
59
- "lib/backports/1.9.1/array.rb",
60
- "lib/backports/1.9.1/dir.rb",
61
- "lib/backports/1.9.1/enumerable.rb",
62
- "lib/backports/1.9.1/enumerator.rb",
63
- "lib/backports/1.9.1/env.rb",
64
- "lib/backports/1.9.1/file.rb",
65
- "lib/backports/1.9.1/float.rb",
66
- "lib/backports/1.9.1/hash.rb",
67
- "lib/backports/1.9.1/integer.rb",
68
- "lib/backports/1.9.1/io.rb",
69
- "lib/backports/1.9.1/kernel.rb",
70
- "lib/backports/1.9.1/math.rb",
71
- "lib/backports/1.9.1/numeric.rb",
72
- "lib/backports/1.9.1/proc.rb",
73
- "lib/backports/1.9.1/range.rb",
74
- "lib/backports/1.9.1/regexp.rb",
75
- "lib/backports/1.9.1/stdlib.rb",
76
- "lib/backports/1.9.1/stdlib/prime.rb",
77
- "lib/backports/1.9.1/string.rb",
78
- "lib/backports/1.9.1/symbol.rb",
79
- "lib/backports/1.9.2.rb",
80
- "lib/backports/1.9.2/array.rb",
81
- "lib/backports/1.9.2/complex.rb",
82
- "lib/backports/1.9.2/dir.rb",
83
- "lib/backports/1.9.2/enumerable.rb",
84
- "lib/backports/1.9.2/float.rb",
85
- "lib/backports/1.9.2/hash.rb",
86
- "lib/backports/1.9.2/kernel.rb",
87
- "lib/backports/1.9.2/match_data.rb",
88
- "lib/backports/1.9.2/random.rb",
89
- "lib/backports/1.9.2/random/MT19937.rb",
90
- "lib/backports/1.9.2/random/bits_and_bytes.rb",
91
- "lib/backports/1.9.2/random/implementation.rb",
92
- "lib/backports/1.9.2/random/load.rb",
93
- "lib/backports/1.9.2/stdlib.rb",
94
- "lib/backports/1.9.2/stdlib/matrix.rb",
95
- "lib/backports/1.9.2/stdlib/matrix/eigenvalue_decomposition.rb",
96
- "lib/backports/1.9.2/stdlib/matrix/lup_decomposition.rb",
97
- "lib/backports/1.9.2/stdlib/set.rb",
98
- "lib/backports/1.9.3.rb",
99
- "lib/backports/1.9.3/file.rb",
100
- "lib/backports/1.9.3/io.rb",
101
- "lib/backports/1.9.3/string.rb",
102
- "lib/backports/1.9.rb",
103
- "lib/backports/basic_object.rb",
104
- "lib/backports/force/array_map.rb",
105
- "lib/backports/force/enumerable_map.rb",
106
- "lib/backports/force/hash_select.rb",
107
- "lib/backports/force/string_length.rb",
108
- "lib/backports/force/string_size.rb",
109
- "lib/backports/rails.rb",
110
- "lib/backports/rails/array.rb",
111
- "lib/backports/rails/enumerable.rb",
112
- "lib/backports/rails/hash.rb",
113
- "lib/backports/rails/kernel.rb",
114
- "lib/backports/rails/module.rb",
115
- "lib/backports/rails/string.rb",
116
- "lib/backports/tools.rb",
117
- "test/README"
21
+ ".gitignore",
22
+ ".irbrc",
23
+ "CHANGELOG.rdoc",
24
+ "LICENSE",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION.yml",
28
+ "backports.gemspec",
29
+ "lib/backports.rb",
30
+ "lib/backports/1.8.7.rb",
31
+ "lib/backports/1.8.7/argf.rb",
32
+ "lib/backports/1.8.7/array.rb",
33
+ "lib/backports/1.8.7/binding.rb",
34
+ "lib/backports/1.8.7/dir.rb",
35
+ "lib/backports/1.8.7/enumerable.rb",
36
+ "lib/backports/1.8.7/enumerator.rb",
37
+ "lib/backports/1.8.7/env.rb",
38
+ "lib/backports/1.8.7/fixnum.rb",
39
+ "lib/backports/1.8.7/float.rb",
40
+ "lib/backports/1.8.7/gc.rb",
41
+ "lib/backports/1.8.7/hash.rb",
42
+ "lib/backports/1.8.7/integer.rb",
43
+ "lib/backports/1.8.7/io.rb",
44
+ "lib/backports/1.8.7/kernel.rb",
45
+ "lib/backports/1.8.7/method.rb",
46
+ "lib/backports/1.8.7/module.rb",
47
+ "lib/backports/1.8.7/numeric.rb",
48
+ "lib/backports/1.8.7/object_space.rb",
49
+ "lib/backports/1.8.7/proc.rb",
50
+ "lib/backports/1.8.7/process.rb",
51
+ "lib/backports/1.8.7/range.rb",
52
+ "lib/backports/1.8.7/regexp.rb",
53
+ "lib/backports/1.8.7/string.rb",
54
+ "lib/backports/1.8.7/struct.rb",
55
+ "lib/backports/1.8.7/symbol.rb",
56
+ "lib/backports/1.8.8.rb",
57
+ "lib/backports/1.8.rb",
58
+ "lib/backports/1.9.1.rb",
59
+ "lib/backports/1.9.1/array.rb",
60
+ "lib/backports/1.9.1/dir.rb",
61
+ "lib/backports/1.9.1/enumerable.rb",
62
+ "lib/backports/1.9.1/enumerator.rb",
63
+ "lib/backports/1.9.1/env.rb",
64
+ "lib/backports/1.9.1/file.rb",
65
+ "lib/backports/1.9.1/float.rb",
66
+ "lib/backports/1.9.1/hash.rb",
67
+ "lib/backports/1.9.1/integer.rb",
68
+ "lib/backports/1.9.1/io.rb",
69
+ "lib/backports/1.9.1/kernel.rb",
70
+ "lib/backports/1.9.1/math.rb",
71
+ "lib/backports/1.9.1/numeric.rb",
72
+ "lib/backports/1.9.1/proc.rb",
73
+ "lib/backports/1.9.1/range.rb",
74
+ "lib/backports/1.9.1/regexp.rb",
75
+ "lib/backports/1.9.1/stdlib.rb",
76
+ "lib/backports/1.9.1/stdlib/prime.rb",
77
+ "lib/backports/1.9.1/string.rb",
78
+ "lib/backports/1.9.1/symbol.rb",
79
+ "lib/backports/1.9.2.rb",
80
+ "lib/backports/1.9.2/array.rb",
81
+ "lib/backports/1.9.2/complex.rb",
82
+ "lib/backports/1.9.2/dir.rb",
83
+ "lib/backports/1.9.2/enumerable.rb",
84
+ "lib/backports/1.9.2/float.rb",
85
+ "lib/backports/1.9.2/hash.rb",
86
+ "lib/backports/1.9.2/kernel.rb",
87
+ "lib/backports/1.9.2/match_data.rb",
88
+ "lib/backports/1.9.2/random.rb",
89
+ "lib/backports/1.9.2/random/MT19937.rb",
90
+ "lib/backports/1.9.2/random/bits_and_bytes.rb",
91
+ "lib/backports/1.9.2/random/implementation.rb",
92
+ "lib/backports/1.9.2/random/load.rb",
93
+ "lib/backports/1.9.2/stdlib.rb",
94
+ "lib/backports/1.9.2/stdlib/matrix.rb",
95
+ "lib/backports/1.9.2/stdlib/matrix/eigenvalue_decomposition.rb",
96
+ "lib/backports/1.9.2/stdlib/matrix/lup_decomposition.rb",
97
+ "lib/backports/1.9.2/stdlib/set.rb",
98
+ "lib/backports/1.9.3.rb",
99
+ "lib/backports/1.9.3/file.rb",
100
+ "lib/backports/1.9.3/io.rb",
101
+ "lib/backports/1.9.3/string.rb",
102
+ "lib/backports/1.9.rb",
103
+ "lib/backports/basic_object.rb",
104
+ "lib/backports/force/array_map.rb",
105
+ "lib/backports/force/enumerable_map.rb",
106
+ "lib/backports/force/hash_select.rb",
107
+ "lib/backports/force/string_length.rb",
108
+ "lib/backports/force/string_size.rb",
109
+ "lib/backports/rails.rb",
110
+ "lib/backports/rails/array.rb",
111
+ "lib/backports/rails/enumerable.rb",
112
+ "lib/backports/rails/hash.rb",
113
+ "lib/backports/rails/kernel.rb",
114
+ "lib/backports/rails/module.rb",
115
+ "lib/backports/rails/string.rb",
116
+ "lib/backports/tools.rb",
117
+ "test/README"
118
118
  ]
119
- s.homepage = %q{http://github.com/marcandre/backports}
120
- s.rdoc_options = ["--title", "Backports library", "--main", "README.rdoc", "--line-numbers", "--inline-source"]
119
+ s.homepage = "http://github.com/marcandre/backports"
120
+ s.rdoc_options = ["--charset=UTF-8", "--title", "Backports library", "--main", "README.rdoc", "--line-numbers", "--inline-source"]
121
121
  s.require_paths = ["lib"]
122
- s.rubyforge_project = %q{backports}
123
- s.rubygems_version = %q{1.3.7}
124
- s.summary = %q{Backports of Ruby 1.8.7+ for older ruby.}
122
+ s.rubyforge_project = "backports"
123
+ s.rubygems_version = "1.8.11"
124
+ s.summary = "Backports of Ruby 1.8.7+ for older ruby."
125
125
 
126
126
  if s.respond_to? :specification_version then
127
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
128
127
  s.specification_version = 3
129
128
 
130
129
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -25,6 +25,7 @@ class File
25
25
  rescue StandardError
26
26
  def open_with_options_hash(file, mode = nil, perm = Backports::Undefined, options = Backports::Undefined)
27
27
  mode, perm = Backports.combine_mode_perm_and_option(mode, perm, options)
28
+ perm ||= 0666 # Avoid error on Rubinius, see issue #52
28
29
  if block_given?
29
30
  open_without_options_hash(file, mode, perm){|f| yield f}
30
31
  else
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: 27
5
- prerelease: false
4
+ hash: 25
5
+ prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 5
9
- - 0
10
- version: 2.5.0
9
+ - 1
10
+ version: 2.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Marc-Andr\xC3\xA9 Lafortune"
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-25 00:00:00 -04:00
19
- default_executable:
18
+ date: 2012-03-30 00:00:00 Z
20
19
  dependencies: []
21
20
 
22
21
  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"
@@ -30,6 +29,7 @@ extra_rdoc_files:
30
29
  - README.rdoc
31
30
  files:
32
31
  - .document
32
+ - .gitignore
33
33
  - .irbrc
34
34
  - CHANGELOG.rdoc
35
35
  - LICENSE
@@ -126,12 +126,12 @@ files:
126
126
  - lib/backports/rails/string.rb
127
127
  - lib/backports/tools.rb
128
128
  - test/README
129
- has_rdoc: true
130
129
  homepage: http://github.com/marcandre/backports
131
130
  licenses: []
132
131
 
133
132
  post_install_message:
134
133
  rdoc_options:
134
+ - --charset=UTF-8
135
135
  - --title
136
136
  - Backports library
137
137
  - --main
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  requirements: []
162
162
 
163
163
  rubyforge_project: backports
164
- rubygems_version: 1.3.7
164
+ rubygems_version: 1.8.11
165
165
  signing_key:
166
166
  specification_version: 3
167
167
  summary: Backports of Ruby 1.8.7+ for older ruby.