digest-simple 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c776bdfb959fb77e21a5a173425b6e0c8f6bfda5
4
- data.tar.gz: 258b469ec8a39bba6856e7bf0f719e321fadbca2
3
+ metadata.gz: dd2ba04eb249a851ab49b50c358339a04511cc2f
4
+ data.tar.gz: 352dd168af5fa2827455c48a3b38059464848c40
5
5
  SHA512:
6
- metadata.gz: 4c3fbbc7e439772ef78c095364f137a0575005d2697c1f3518db43f04f4a8f95a2f41fa1500e186fd238e4b8e5a18a4785364b192c806379ba204a187cdd2a2d
7
- data.tar.gz: 120b016886271f9816ef5314ad0bafc073c2991b4e2995df589b1fc0293f3202317b34a858232cf97ae390e8c99e9476a765148f451481693ac7b1e665f8de1e
6
+ metadata.gz: b65f2b954d900f34514f1c48774df66f72ad3a1a4b73ee1f2de43d8299103257a4d4bed2fb56a46234b95ae59cf5f50815d23ec62867e3e89cc23713ecd859e1
7
+ data.tar.gz: 30f07d49380d4ec71d7ff5d5c6036eafd9f6733cae45c215424b53ef15e2f32ca394e8959f9497751b5b84b16f592a42c5dc41310c9cbda9054c774d968f080e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- digest-simple (1.0.0)
4
+ digest-simple (1.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -12,14 +12,14 @@ GEM
12
12
  rspec-core (~> 3.1.0)
13
13
  rspec-expectations (~> 3.1.0)
14
14
  rspec-mocks (~> 3.1.0)
15
- rspec-core (3.1.5)
15
+ rspec-core (3.1.6)
16
16
  rspec-support (~> 3.1.0)
17
17
  rspec-expectations (3.1.2)
18
18
  diff-lcs (>= 1.2.0, < 2.0)
19
19
  rspec-support (~> 3.1.0)
20
- rspec-mocks (3.1.2)
20
+ rspec-mocks (3.1.3)
21
21
  rspec-support (~> 3.1.0)
22
- rspec-support (3.1.1)
22
+ rspec-support (3.1.2)
23
23
 
24
24
  PLATFORMS
25
25
  ruby
@@ -2,11 +2,9 @@
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
- require 'digest/simple'
6
-
7
5
  Gem::Specification.new do |spec|
8
6
  spec.name = "digest-simple"
9
- spec.version = Digest::Simple::VERSION
7
+ spec.version = "1.1.0"
10
8
  spec.authors = ["ksss"]
11
9
  spec.email = ["co000ri@gmail.com"]
12
10
  spec.summary = %q{Digest::Simple is a class that minimun implementation for non block message digest.}
@@ -2,8 +2,6 @@ require 'digest'
2
2
 
3
3
  module Digest
4
4
  class Simple < Class
5
- VERSION = "1.0.0"
6
-
7
5
  def initialize
8
6
  @buffer = ""
9
7
  end
@@ -19,18 +17,6 @@ module Digest
19
17
  end
20
18
  alias << update
21
19
 
22
- def digest(str=nil)
23
- if str
24
- reset
25
- update(str)
26
- v = finish
27
- reset
28
- v
29
- else
30
- dup.send :finish
31
- end
32
- end
33
-
34
20
  def block_length
35
21
  0
36
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: digest-simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ksss
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-08 00:00:00.000000000 Z
11
+ date: 2014-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler