platform_helpers 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ === 0.1.3 / 2011-10-22
2
+ added Array#delete_all. Handy if you have a constant set to an array
3
+ and want to clear it without constant already defined error.
1
4
  === 0.1.2 / 2011-10-01
2
5
 
3
6
  * Added common interface for MD5, differences between ruby versions
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
  class PlatformHelpers
8
- VERSION = '0.1.2'
8
+ VERSION = '0.1.3'
9
9
  end
10
10
 
11
11
  base = File.expand_path(File.dirname(__FILE__))
@@ -5,6 +5,9 @@
5
5
 
6
6
 
7
7
  class Array
8
+ def delete_all
9
+ self.length.times {self.pop}
10
+ end
8
11
  =begin
9
12
  def delete(search)
10
13
  if search.kind_of?(Regexp)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: platform_helpers
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - ""
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-10-02 00:00:00 Z
13
+ date: 2011-10-24 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hoe
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements: []
86
86
 
87
87
  rubyforge_project: platform_helpers
88
- rubygems_version: 1.8.10
88
+ rubygems_version: 1.8.11
89
89
  signing_key:
90
90
  specification_version: 3
91
91
  summary: Override's some Ruby classes to add methods making for uniform calls