visionmedia-rext 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ === 0.3.1 / 2009-08-17
3
+
4
+ * Added #try
5
+ * Fixed some requires
6
+
2
7
  === 0.3.0 / 2009-08-11
3
8
 
4
9
  * Moved some string encoding related methods to string/encode.rb
@@ -1,5 +1,7 @@
1
1
 
2
2
  require 'rack'
3
+ require 'digest/sha2'
4
+ require 'digest/md5'
3
5
 
4
6
  class String
5
7
 
@@ -12,7 +14,7 @@ class String
12
14
  #
13
15
 
14
16
  def to_md5
15
- Digest::MD5.hexdigest self
17
+ ::Digest::MD5.hexdigest self
16
18
  end
17
19
 
18
20
  ##
@@ -24,7 +26,7 @@ class String
24
26
  #
25
27
 
26
28
  def to_sha512
27
- Digest::SHA512.hexdigest self
29
+ ::Digest::SHA512.hexdigest self
28
30
  end
29
31
 
30
32
  ##
@@ -1,7 +1,5 @@
1
1
 
2
2
  require 'extlib'
3
- require 'digest/sha2'
4
- require 'digest/md5'
5
3
 
6
4
  class String
7
5
 
data/lib/rext/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Rext
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
  end
data/rext.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rext}
5
- s.version = "0.3.0"
5
+ s.version = "0.3.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["TJ Holowaychuk"]
9
- s.date = %q{2009-08-11}
9
+ s.date = %q{2009-08-17}
10
10
  s.description = %q{Ruby extensions}
11
11
  s.email = %q{tj@vision-media.ca}
12
12
  s.extra_rdoc_files = ["lib/rext/all.rb", "lib/rext/array/helpers.rb", "lib/rext/array.rb", "lib/rext/date/helpers.rb", "lib/rext/date.rb", "lib/rext/enumerable/helpers.rb", "lib/rext/enumerable.rb", "lib/rext/hash/helpers.rb", "lib/rext/hash.rb", "lib/rext/integer/helpers.rb", "lib/rext/integer.rb", "lib/rext/module/helpers.rb", "lib/rext/module.rb", "lib/rext/numeric/bytes.rb", "lib/rext/numeric/time.rb", "lib/rext/numeric.rb", "lib/rext/object/helpers.rb", "lib/rext/object/metaclass.rb", "lib/rext/object.rb", "lib/rext/proc/helpers.rb", "lib/rext/proc.rb", "lib/rext/string/encode.rb", "lib/rext/string/helpers.rb", "lib/rext/string.rb", "lib/rext/time/helpers.rb", "lib/rext/time.rb", "lib/rext/version.rb", "lib/rext.rb", "README.rdoc", "tasks/benchmark.rake", "tasks/docs.rake", "tasks/gemspec.rake", "tasks/spec.rake"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visionmedia-rext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Holowaychuk
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-11 00:00:00 -07:00
12
+ date: 2009-08-17 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15