g 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/md5.rb +6 -0
  3. metadata +3 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
data/lib/md5.rb ADDED
@@ -0,0 +1,6 @@
1
+ require 'digest/md5'
2
+ module MD5
3
+ def self.new(packet)
4
+ Digest::MD5.new.update packet
5
+ end
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jugyo
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-15 00:00:00 +09:00
12
+ date: 2010-01-24 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -47,6 +47,7 @@ files:
47
47
  - VERSION
48
48
  - g.gemspec
49
49
  - lib/g.rb
50
+ - lib/md5.rb
50
51
  - spec/g_spec.rb
51
52
  has_rdoc: true
52
53
  homepage: http://github.com/jugyo/g