marcandre-backports 1.8.0 → 1.8.1

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: 0
4
+ :patch: 1
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 = "1.8.0"
8
+ s.version = "1.8.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{2009-08-31}
12
+ s.date = %q{2009-09-01}
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}
@@ -23,6 +23,8 @@ class String
23
23
  alias_method :chars, :each_char unless method_defined? :chars
24
24
  end
25
25
 
26
+ alias_method :lines, :each_line unless method_defined? :lines
27
+
26
28
  # Standard in Ruby 1.8.7+. See official documentation[http://ruby-doc.org/core-1.9/classes/String.html]
27
29
  def end_with?(*suffixes)
28
30
  suffixes.each do |suffix|
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.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Marc-Andr\xC3\xA9 Lafortune"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-31 00:00:00 -07:00
12
+ date: 2009-09-01 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -90,6 +90,7 @@ files:
90
90
  - test/test_helper.rb
91
91
  has_rdoc: false
92
92
  homepage: http://github.com/marcandre/backports
93
+ licenses:
93
94
  post_install_message:
94
95
  rdoc_options:
95
96
  - --charset=UTF-8
@@ -116,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
117
  requirements: []
117
118
 
118
119
  rubyforge_project: backports
119
- rubygems_version: 1.2.0
120
+ rubygems_version: 1.3.5
120
121
  signing_key:
121
122
  specification_version: 3
122
123
  summary: Backports or ruby 1.8.7+ & rails for older ruby.