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 +5 -0
- data/lib/rext/string/encode.rb +4 -2
- data/lib/rext/string/helpers.rb +0 -2
- data/lib/rext/version.rb +1 -1
- data/rext.gemspec +2 -2
- metadata +2 -2
data/History.rdoc
CHANGED
data/lib/rext/string/encode.rb
CHANGED
@@ -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
|
##
|
data/lib/rext/string/helpers.rb
CHANGED
data/lib/rext/version.rb
CHANGED
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.
|
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-
|
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.
|
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-
|
12
|
+
date: 2009-08-17 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|