rubysl-digest 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +0 -1
  3. data/.travis.yml +7 -0
  4. data/README.md +2 -2
  5. data/Rakefile +0 -1
  6. data/ext/rubysl/digest/bubblebabble/.gitignore +2 -0
  7. data/ext/rubysl/digest/bubblebabble/bubblebabble.c +147 -0
  8. data/ext/rubysl/digest/bubblebabble/bubblebabble.h +2 -0
  9. data/ext/rubysl/digest/bubblebabble/depend +3 -0
  10. data/ext/rubysl/digest/bubblebabble/extconf.h +4 -0
  11. data/ext/rubysl/digest/bubblebabble/extconf.rb +6 -0
  12. data/ext/rubysl/digest/defs.h +19 -0
  13. data/ext/rubysl/digest/digest.c +660 -0
  14. data/ext/rubysl/digest/digest.h +32 -0
  15. data/ext/rubysl/digest/extconf.rb +10 -0
  16. data/ext/rubysl/digest/md5/.gitignore +2 -0
  17. data/ext/rubysl/digest/md5/extconf.rb +29 -0
  18. data/ext/rubysl/digest/md5/md5.c +422 -0
  19. data/ext/rubysl/digest/md5/md5.h +80 -0
  20. data/ext/rubysl/digest/md5/md5init.c +40 -0
  21. data/ext/rubysl/digest/md5/md5ossl.c +9 -0
  22. data/ext/rubysl/digest/md5/md5ossl.h +13 -0
  23. data/ext/rubysl/digest/rmd160/.gitignore +2 -0
  24. data/ext/rubysl/digest/rmd160/extconf.rb +28 -0
  25. data/ext/rubysl/digest/rmd160/rmd160.c +457 -0
  26. data/ext/rubysl/digest/rmd160/rmd160.h +56 -0
  27. data/ext/rubysl/digest/rmd160/rmd160init.c +40 -0
  28. data/ext/rubysl/digest/rmd160/rmd160ossl.c +8 -0
  29. data/ext/rubysl/digest/rmd160/rmd160ossl.h +19 -0
  30. data/ext/rubysl/digest/sha1/.gitignore +2 -0
  31. data/ext/rubysl/digest/sha1/extconf.rb +28 -0
  32. data/ext/rubysl/digest/sha1/sha1.c +269 -0
  33. data/ext/rubysl/digest/sha1/sha1.h +39 -0
  34. data/ext/rubysl/digest/sha1/sha1init.c +40 -0
  35. data/ext/rubysl/digest/sha1/sha1ossl.c +10 -0
  36. data/ext/rubysl/digest/sha1/sha1ossl.h +20 -0
  37. data/ext/rubysl/digest/sha2/.gitignore +2 -0
  38. data/ext/rubysl/digest/sha2/extconf.rb +24 -0
  39. data/ext/rubysl/digest/sha2/sha2.c +919 -0
  40. data/ext/rubysl/digest/sha2/sha2.h +109 -0
  41. data/ext/rubysl/digest/sha2/sha2init.c +52 -0
  42. data/lib/digest/bubblebabble.rb +1 -0
  43. data/lib/digest/hmac.rb +302 -0
  44. data/lib/digest/md5.rb +23 -0
  45. data/lib/digest/rmd160.rb +1 -0
  46. data/lib/digest/sha1.rb +23 -0
  47. data/lib/digest/sha2.rb +74 -0
  48. data/lib/digest.rb +1 -0
  49. data/lib/rubysl/digest/digest.rb +88 -0
  50. data/lib/{rubysl-digest → rubysl/digest}/version.rb +1 -1
  51. data/lib/rubysl/digest.rb +2 -0
  52. data/rubysl-digest.gemspec +25 -17
  53. data/spec/hexencode_spec.rb +30 -0
  54. data/spec/md5/append_spec.rb +6 -0
  55. data/spec/md5/block_length_spec.rb +11 -0
  56. data/spec/md5/digest_bang_spec.rb +12 -0
  57. data/spec/md5/digest_length_spec.rb +11 -0
  58. data/spec/md5/digest_spec.rb +31 -0
  59. data/spec/md5/equal_spec.rb +37 -0
  60. data/spec/md5/file_spec.rb +42 -0
  61. data/spec/md5/hexdigest_bang_spec.rb +13 -0
  62. data/spec/md5/hexdigest_spec.rb +31 -0
  63. data/spec/md5/inspect_spec.rb +11 -0
  64. data/spec/md5/length_spec.rb +7 -0
  65. data/spec/md5/reset_spec.rb +14 -0
  66. data/spec/md5/shared/constants.rb +16 -0
  67. data/spec/md5/shared/length.rb +8 -0
  68. data/spec/md5/shared/sample.rb +15 -0
  69. data/spec/md5/shared/update.rb +7 -0
  70. data/spec/md5/size_spec.rb +7 -0
  71. data/spec/md5/to_s_spec.rb +21 -0
  72. data/spec/md5/update_spec.rb +6 -0
  73. data/spec/sha1/digest_spec.rb +19 -0
  74. data/spec/sha1/file_spec.rb +42 -0
  75. data/spec/sha1/shared/constants.rb +16 -0
  76. data/spec/sha256/append_spec.rb +6 -0
  77. data/spec/sha256/block_length_spec.rb +11 -0
  78. data/spec/sha256/digest_bang_spec.rb +12 -0
  79. data/spec/sha256/digest_length_spec.rb +11 -0
  80. data/spec/sha256/digest_spec.rb +31 -0
  81. data/spec/sha256/equal_spec.rb +36 -0
  82. data/spec/sha256/file_spec.rb +42 -0
  83. data/spec/sha256/hexdigest_bang_spec.rb +13 -0
  84. data/spec/sha256/hexdigest_spec.rb +31 -0
  85. data/spec/sha256/inspect_spec.rb +11 -0
  86. data/spec/sha256/length_spec.rb +7 -0
  87. data/spec/sha256/reset_spec.rb +14 -0
  88. data/spec/sha256/shared/constants.rb +16 -0
  89. data/spec/sha256/shared/length.rb +8 -0
  90. data/spec/sha256/shared/update.rb +7 -0
  91. data/spec/sha256/size_spec.rb +7 -0
  92. data/spec/sha256/to_s_spec.rb +20 -0
  93. data/spec/sha256/update_spec.rb +6 -0
  94. data/spec/sha384/append_spec.rb +6 -0
  95. data/spec/sha384/block_length_spec.rb +11 -0
  96. data/spec/sha384/digest_bang_spec.rb +12 -0
  97. data/spec/sha384/digest_length_spec.rb +11 -0
  98. data/spec/sha384/digest_spec.rb +31 -0
  99. data/spec/sha384/equal_spec.rb +36 -0
  100. data/spec/sha384/file_spec.rb +42 -0
  101. data/spec/sha384/hexdigest_bang_spec.rb +13 -0
  102. data/spec/sha384/hexdigest_spec.rb +31 -0
  103. data/spec/sha384/inspect_spec.rb +11 -0
  104. data/spec/sha384/length_spec.rb +7 -0
  105. data/spec/sha384/reset_spec.rb +14 -0
  106. data/spec/sha384/shared/constants.rb +17 -0
  107. data/spec/sha384/shared/length.rb +8 -0
  108. data/spec/sha384/shared/update.rb +7 -0
  109. data/spec/sha384/size_spec.rb +7 -0
  110. data/spec/sha384/to_s_spec.rb +20 -0
  111. data/spec/sha384/update_spec.rb +6 -0
  112. data/spec/sha512/append_spec.rb +6 -0
  113. data/spec/sha512/block_length_spec.rb +11 -0
  114. data/spec/sha512/digest_bang_spec.rb +12 -0
  115. data/spec/sha512/digest_length_spec.rb +11 -0
  116. data/spec/sha512/digest_spec.rb +31 -0
  117. data/spec/sha512/equal_spec.rb +36 -0
  118. data/spec/sha512/file_spec.rb +42 -0
  119. data/spec/sha512/hexdigest_bang_spec.rb +13 -0
  120. data/spec/sha512/hexdigest_spec.rb +31 -0
  121. data/spec/sha512/inspect_spec.rb +11 -0
  122. data/spec/sha512/length_spec.rb +7 -0
  123. data/spec/sha512/reset_spec.rb +14 -0
  124. data/spec/sha512/shared/constants.rb +16 -0
  125. data/spec/sha512/shared/length.rb +8 -0
  126. data/spec/sha512/shared/update.rb +7 -0
  127. data/spec/sha512/size_spec.rb +7 -0
  128. data/spec/sha512/to_s_spec.rb +20 -0
  129. data/spec/sha512/update_spec.rb +6 -0
  130. metadata +283 -88
  131. data/lib/rubysl-digest.rb +0 -7
@@ -0,0 +1,31 @@
1
+ require File.expand_path('../shared/constants', __FILE__)
2
+
3
+ describe "Digest::SHA512#hexdigest" do
4
+
5
+ it "returns a hexdigest" do
6
+ cur_digest = Digest::SHA512.new
7
+ cur_digest.hexdigest.should == SHA512Constants::BlankHexdigest
8
+
9
+ # add something to check that the state is reset later
10
+ cur_digest << "test"
11
+
12
+ cur_digest.hexdigest(SHA512Constants::Contents).should == SHA512Constants::Hexdigest
13
+ # second invocation is intentional, to make sure there are no side-effects
14
+ cur_digest.hexdigest(SHA512Constants::Contents).should == SHA512Constants::Hexdigest
15
+
16
+ # after all is done, verify that the digest is in the original, blank state
17
+ cur_digest.hexdigest.should == SHA512Constants::BlankHexdigest
18
+ end
19
+
20
+ end
21
+
22
+ describe "Digest::SHA512.hexdigest" do
23
+
24
+ it "returns a hexdigest" do
25
+ Digest::SHA512.hexdigest(SHA512Constants::Contents).should == SHA512Constants::Hexdigest
26
+ # second invocation is intentional, to make sure there are no side-effects
27
+ Digest::SHA512.hexdigest(SHA512Constants::Contents).should == SHA512Constants::Hexdigest
28
+ Digest::SHA512.hexdigest("").should == SHA512Constants::BlankHexdigest
29
+ end
30
+
31
+ end
@@ -0,0 +1,11 @@
1
+ require File.expand_path('../shared/constants', __FILE__)
2
+
3
+ describe "Digest::SHA512#inspect" do
4
+
5
+ it "returns a Ruby object representation" do
6
+ cur_digest = Digest::SHA512.new
7
+ cur_digest.inspect.should == "#<#{SHA512Constants::Klass}: #{cur_digest.hexdigest()}>"
8
+ end
9
+
10
+ end
11
+
@@ -0,0 +1,7 @@
1
+ require File.expand_path('../shared/constants', __FILE__)
2
+ require File.expand_path('../shared/length', __FILE__)
3
+
4
+ describe "Digest::SHA512#length" do
5
+ it_behaves_like :sha512_length, :length
6
+ end
7
+
@@ -0,0 +1,14 @@
1
+ require File.expand_path('../shared/constants', __FILE__)
2
+
3
+ describe "Digest::SHA512#reset" do
4
+
5
+ it "returns digest state to initial conditions" do
6
+ cur_digest = Digest::SHA512.new
7
+ cur_digest.update SHA512Constants::Contents
8
+ cur_digest.digest().should_not == SHA512Constants::BlankDigest
9
+ cur_digest.reset
10
+ cur_digest.digest().should == SHA512Constants::BlankDigest
11
+ end
12
+
13
+ end
14
+
@@ -0,0 +1,16 @@
1
+ # -*- encoding: US-ASCII -*-
2
+ require 'digest/sha2'
3
+
4
+ module SHA512Constants
5
+
6
+ Contents = "Ipsum is simply dummy text of the printing and typesetting industry. \nLorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. \nIt has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. \nIt was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
7
+
8
+ Klass = ::Digest::SHA512
9
+ BlockLength = 128
10
+ DigestLength = 64
11
+ BlankDigest = "\317\203\3415~\357\270\275\361T(P\326m\200\a\326 \344\005\vW\025\334\203\364\251!\323l\351\316G\320\321<]\205\362\260\377\203\030\322\207~\354/c\2711\275GAz\201\24582z\371'\332>"
12
+ Digest = "\241\231\232\365\002z\241\331\242\310=\367F\272\004\326\331g\315n\251Q\222\250\374E\257\254=\325\225\003SM\350\244\234\220\233=\031\230A;\000\203\233\340\323t\333\271\222w\266\307\2678\344\255j\003\216\300"
13
+ BlankHexdigest = "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"
14
+ Hexdigest = "a1999af5027aa1d9a2c83df746ba04d6d967cd6ea95192a8fc45afac3dd59503534de8a49c909b3d1998413b00839be0d374dbb99277b6c7b738e4ad6a038ec0"
15
+
16
+ end
@@ -0,0 +1,8 @@
1
+ describe :sha512_length, :shared => true do
2
+ it "returns the length of the digest" do
3
+ cur_digest = Digest::SHA512.new
4
+ cur_digest.send(@method).should == SHA512Constants::BlankDigest.size
5
+ cur_digest << SHA512Constants::Contents
6
+ cur_digest.send(@method).should == SHA512Constants::Digest.size
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ describe :sha512_update, :shared => true do
2
+ it "can update" do
3
+ cur_digest = Digest::SHA512.new
4
+ cur_digest.send @method, SHA512Constants::Contents
5
+ cur_digest.digest.should == SHA512Constants::Digest
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ require File.expand_path('../shared/constants', __FILE__)
2
+ require File.expand_path('../shared/length', __FILE__)
3
+
4
+ describe "Digest::SHA512#size" do
5
+ it_behaves_like :sha512_length, :size
6
+ end
7
+
@@ -0,0 +1,20 @@
1
+ require File.expand_path('../shared/constants', __FILE__)
2
+
3
+ describe "Digest::SHA512#to_s" do
4
+
5
+ it "returns a hexdigest" do
6
+ cur_digest = Digest::SHA512.new
7
+ cur_digest.to_s.should == SHA512Constants::BlankHexdigest
8
+ end
9
+
10
+ it "does not change the internal state" do
11
+ cur_digest = Digest::SHA512.new
12
+ cur_digest.to_s.should == SHA512Constants::BlankHexdigest
13
+ cur_digest.to_s.should == SHA512Constants::BlankHexdigest
14
+
15
+ cur_digest << SHA512Constants::Contents
16
+ cur_digest.to_s.should == SHA512Constants::Hexdigest
17
+ cur_digest.to_s.should == SHA512Constants::Hexdigest
18
+ end
19
+
20
+ end
@@ -0,0 +1,6 @@
1
+ require File.expand_path('../shared/constants', __FILE__)
2
+ require File.expand_path('../shared/update', __FILE__)
3
+
4
+ describe "Digest::SHA512#update" do
5
+ it_behaves_like :sha512_update, :update
6
+ end
metadata CHANGED
@@ -1,118 +1,313 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rubysl-digest
3
- version: !ruby/object:Gem::Version
4
- hash: 856480538658449761
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Brian Shirai
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-04-15 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2013-08-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: redcard
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
26
17
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 4428665182548103036
29
- segments:
30
- - 1
31
- - 0
32
- version: "1.0"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
33
20
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: rake
37
21
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
41
24
  - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 1510892033553700768
44
- segments:
45
- - 10
46
- - 0
47
- version: "10.0"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
48
34
  type: :development
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: mspec
52
35
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
56
38
  - - ~>
57
- - !ruby/object:Gem::Version
58
- hash: 1660815245844205030
59
- segments:
60
- - 1
61
- - 5
62
- version: "1.5"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
63
48
  type: :development
64
- version_requirements: *id003
65
- description: Ruby Standard Library - digest
66
- email:
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: mspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.5'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.5'
69
+ description: Ruby standard library digest.
70
+ email:
67
71
  - brixen@gmail.com
68
72
  executables: []
69
-
70
- extensions: []
71
-
73
+ extensions:
74
+ - ext/rubysl/digest/extconf.rb
75
+ - ext/rubysl/digest/bubblebabble/extconf.rb
76
+ - ext/rubysl/digest/md5/extconf.rb
77
+ - ext/rubysl/digest/rmd160/extconf.rb
78
+ - ext/rubysl/digest/sha1/extconf.rb
79
+ - ext/rubysl/digest/sha2/extconf.rb
72
80
  extra_rdoc_files: []
73
-
74
- files:
81
+ files:
75
82
  - .gitignore
83
+ - .travis.yml
76
84
  - Gemfile
77
85
  - LICENSE
78
86
  - README.md
79
87
  - Rakefile
80
- - lib/rubysl-digest.rb
81
- - lib/rubysl-digest/version.rb
88
+ - ext/rubysl/digest/bubblebabble/.gitignore
89
+ - ext/rubysl/digest/bubblebabble/bubblebabble.c
90
+ - ext/rubysl/digest/bubblebabble/bubblebabble.h
91
+ - ext/rubysl/digest/bubblebabble/depend
92
+ - ext/rubysl/digest/bubblebabble/extconf.h
93
+ - ext/rubysl/digest/bubblebabble/extconf.rb
94
+ - ext/rubysl/digest/defs.h
95
+ - ext/rubysl/digest/digest.c
96
+ - ext/rubysl/digest/digest.h
97
+ - ext/rubysl/digest/extconf.rb
98
+ - ext/rubysl/digest/md5/.gitignore
99
+ - ext/rubysl/digest/md5/extconf.rb
100
+ - ext/rubysl/digest/md5/md5.c
101
+ - ext/rubysl/digest/md5/md5.h
102
+ - ext/rubysl/digest/md5/md5init.c
103
+ - ext/rubysl/digest/md5/md5ossl.c
104
+ - ext/rubysl/digest/md5/md5ossl.h
105
+ - ext/rubysl/digest/rmd160/.gitignore
106
+ - ext/rubysl/digest/rmd160/extconf.rb
107
+ - ext/rubysl/digest/rmd160/rmd160.c
108
+ - ext/rubysl/digest/rmd160/rmd160.h
109
+ - ext/rubysl/digest/rmd160/rmd160init.c
110
+ - ext/rubysl/digest/rmd160/rmd160ossl.c
111
+ - ext/rubysl/digest/rmd160/rmd160ossl.h
112
+ - ext/rubysl/digest/sha1/.gitignore
113
+ - ext/rubysl/digest/sha1/extconf.rb
114
+ - ext/rubysl/digest/sha1/sha1.c
115
+ - ext/rubysl/digest/sha1/sha1.h
116
+ - ext/rubysl/digest/sha1/sha1init.c
117
+ - ext/rubysl/digest/sha1/sha1ossl.c
118
+ - ext/rubysl/digest/sha1/sha1ossl.h
119
+ - ext/rubysl/digest/sha2/.gitignore
120
+ - ext/rubysl/digest/sha2/extconf.rb
121
+ - ext/rubysl/digest/sha2/sha2.c
122
+ - ext/rubysl/digest/sha2/sha2.h
123
+ - ext/rubysl/digest/sha2/sha2init.c
124
+ - lib/digest.rb
125
+ - lib/digest/bubblebabble.rb
126
+ - lib/digest/hmac.rb
127
+ - lib/digest/md5.rb
128
+ - lib/digest/rmd160.rb
129
+ - lib/digest/sha1.rb
130
+ - lib/digest/sha2.rb
131
+ - lib/rubysl/digest.rb
132
+ - lib/rubysl/digest/digest.rb
133
+ - lib/rubysl/digest/version.rb
82
134
  - rubysl-digest.gemspec
83
- homepage: ""
84
- licenses: []
85
-
135
+ - spec/hexencode_spec.rb
136
+ - spec/md5/append_spec.rb
137
+ - spec/md5/block_length_spec.rb
138
+ - spec/md5/digest_bang_spec.rb
139
+ - spec/md5/digest_length_spec.rb
140
+ - spec/md5/digest_spec.rb
141
+ - spec/md5/equal_spec.rb
142
+ - spec/md5/file_spec.rb
143
+ - spec/md5/hexdigest_bang_spec.rb
144
+ - spec/md5/hexdigest_spec.rb
145
+ - spec/md5/inspect_spec.rb
146
+ - spec/md5/length_spec.rb
147
+ - spec/md5/reset_spec.rb
148
+ - spec/md5/shared/constants.rb
149
+ - spec/md5/shared/length.rb
150
+ - spec/md5/shared/sample.rb
151
+ - spec/md5/shared/update.rb
152
+ - spec/md5/size_spec.rb
153
+ - spec/md5/to_s_spec.rb
154
+ - spec/md5/update_spec.rb
155
+ - spec/sha1/digest_spec.rb
156
+ - spec/sha1/file_spec.rb
157
+ - spec/sha1/shared/constants.rb
158
+ - spec/sha256/append_spec.rb
159
+ - spec/sha256/block_length_spec.rb
160
+ - spec/sha256/digest_bang_spec.rb
161
+ - spec/sha256/digest_length_spec.rb
162
+ - spec/sha256/digest_spec.rb
163
+ - spec/sha256/equal_spec.rb
164
+ - spec/sha256/file_spec.rb
165
+ - spec/sha256/hexdigest_bang_spec.rb
166
+ - spec/sha256/hexdigest_spec.rb
167
+ - spec/sha256/inspect_spec.rb
168
+ - spec/sha256/length_spec.rb
169
+ - spec/sha256/reset_spec.rb
170
+ - spec/sha256/shared/constants.rb
171
+ - spec/sha256/shared/length.rb
172
+ - spec/sha256/shared/update.rb
173
+ - spec/sha256/size_spec.rb
174
+ - spec/sha256/to_s_spec.rb
175
+ - spec/sha256/update_spec.rb
176
+ - spec/sha384/append_spec.rb
177
+ - spec/sha384/block_length_spec.rb
178
+ - spec/sha384/digest_bang_spec.rb
179
+ - spec/sha384/digest_length_spec.rb
180
+ - spec/sha384/digest_spec.rb
181
+ - spec/sha384/equal_spec.rb
182
+ - spec/sha384/file_spec.rb
183
+ - spec/sha384/hexdigest_bang_spec.rb
184
+ - spec/sha384/hexdigest_spec.rb
185
+ - spec/sha384/inspect_spec.rb
186
+ - spec/sha384/length_spec.rb
187
+ - spec/sha384/reset_spec.rb
188
+ - spec/sha384/shared/constants.rb
189
+ - spec/sha384/shared/length.rb
190
+ - spec/sha384/shared/update.rb
191
+ - spec/sha384/size_spec.rb
192
+ - spec/sha384/to_s_spec.rb
193
+ - spec/sha384/update_spec.rb
194
+ - spec/sha512/append_spec.rb
195
+ - spec/sha512/block_length_spec.rb
196
+ - spec/sha512/digest_bang_spec.rb
197
+ - spec/sha512/digest_length_spec.rb
198
+ - spec/sha512/digest_spec.rb
199
+ - spec/sha512/equal_spec.rb
200
+ - spec/sha512/file_spec.rb
201
+ - spec/sha512/hexdigest_bang_spec.rb
202
+ - spec/sha512/hexdigest_spec.rb
203
+ - spec/sha512/inspect_spec.rb
204
+ - spec/sha512/length_spec.rb
205
+ - spec/sha512/reset_spec.rb
206
+ - spec/sha512/shared/constants.rb
207
+ - spec/sha512/shared/length.rb
208
+ - spec/sha512/shared/update.rb
209
+ - spec/sha512/size_spec.rb
210
+ - spec/sha512/to_s_spec.rb
211
+ - spec/sha512/update_spec.rb
212
+ homepage: https://github.com/rubysl/rubysl-digest
213
+ licenses:
214
+ - BSD
215
+ metadata: {}
86
216
  post_install_message:
87
217
  rdoc_options: []
88
-
89
- require_paths:
218
+ require_paths:
90
219
  - lib
91
- required_ruby_version: !ruby/object:Gem::Requirement
92
- none: false
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- hash: 2002549777813010636
97
- segments:
98
- - 0
99
- version: "0"
100
- required_rubygems_version: !ruby/object:Gem::Requirement
101
- none: false
102
- requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- hash: 2002549777813010636
106
- segments:
107
- - 0
108
- version: "0"
220
+ required_ruby_version: !ruby/object:Gem::Requirement
221
+ requirements:
222
+ - - '>='
223
+ - !ruby/object:Gem::Version
224
+ version: '0'
225
+ required_rubygems_version: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - '>='
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
109
230
  requirements: []
110
-
111
231
  rubyforge_project:
112
- rubygems_version: 1.8.25
232
+ rubygems_version: 2.0.7
113
233
  signing_key:
114
- specification_version: 3
115
- summary: Ruby Standard Library - digest
116
- test_files: []
117
-
118
- has_rdoc:
234
+ specification_version: 4
235
+ summary: Ruby standard library digest.
236
+ test_files:
237
+ - spec/hexencode_spec.rb
238
+ - spec/md5/append_spec.rb
239
+ - spec/md5/block_length_spec.rb
240
+ - spec/md5/digest_bang_spec.rb
241
+ - spec/md5/digest_length_spec.rb
242
+ - spec/md5/digest_spec.rb
243
+ - spec/md5/equal_spec.rb
244
+ - spec/md5/file_spec.rb
245
+ - spec/md5/hexdigest_bang_spec.rb
246
+ - spec/md5/hexdigest_spec.rb
247
+ - spec/md5/inspect_spec.rb
248
+ - spec/md5/length_spec.rb
249
+ - spec/md5/reset_spec.rb
250
+ - spec/md5/shared/constants.rb
251
+ - spec/md5/shared/length.rb
252
+ - spec/md5/shared/sample.rb
253
+ - spec/md5/shared/update.rb
254
+ - spec/md5/size_spec.rb
255
+ - spec/md5/to_s_spec.rb
256
+ - spec/md5/update_spec.rb
257
+ - spec/sha1/digest_spec.rb
258
+ - spec/sha1/file_spec.rb
259
+ - spec/sha1/shared/constants.rb
260
+ - spec/sha256/append_spec.rb
261
+ - spec/sha256/block_length_spec.rb
262
+ - spec/sha256/digest_bang_spec.rb
263
+ - spec/sha256/digest_length_spec.rb
264
+ - spec/sha256/digest_spec.rb
265
+ - spec/sha256/equal_spec.rb
266
+ - spec/sha256/file_spec.rb
267
+ - spec/sha256/hexdigest_bang_spec.rb
268
+ - spec/sha256/hexdigest_spec.rb
269
+ - spec/sha256/inspect_spec.rb
270
+ - spec/sha256/length_spec.rb
271
+ - spec/sha256/reset_spec.rb
272
+ - spec/sha256/shared/constants.rb
273
+ - spec/sha256/shared/length.rb
274
+ - spec/sha256/shared/update.rb
275
+ - spec/sha256/size_spec.rb
276
+ - spec/sha256/to_s_spec.rb
277
+ - spec/sha256/update_spec.rb
278
+ - spec/sha384/append_spec.rb
279
+ - spec/sha384/block_length_spec.rb
280
+ - spec/sha384/digest_bang_spec.rb
281
+ - spec/sha384/digest_length_spec.rb
282
+ - spec/sha384/digest_spec.rb
283
+ - spec/sha384/equal_spec.rb
284
+ - spec/sha384/file_spec.rb
285
+ - spec/sha384/hexdigest_bang_spec.rb
286
+ - spec/sha384/hexdigest_spec.rb
287
+ - spec/sha384/inspect_spec.rb
288
+ - spec/sha384/length_spec.rb
289
+ - spec/sha384/reset_spec.rb
290
+ - spec/sha384/shared/constants.rb
291
+ - spec/sha384/shared/length.rb
292
+ - spec/sha384/shared/update.rb
293
+ - spec/sha384/size_spec.rb
294
+ - spec/sha384/to_s_spec.rb
295
+ - spec/sha384/update_spec.rb
296
+ - spec/sha512/append_spec.rb
297
+ - spec/sha512/block_length_spec.rb
298
+ - spec/sha512/digest_bang_spec.rb
299
+ - spec/sha512/digest_length_spec.rb
300
+ - spec/sha512/digest_spec.rb
301
+ - spec/sha512/equal_spec.rb
302
+ - spec/sha512/file_spec.rb
303
+ - spec/sha512/hexdigest_bang_spec.rb
304
+ - spec/sha512/hexdigest_spec.rb
305
+ - spec/sha512/inspect_spec.rb
306
+ - spec/sha512/length_spec.rb
307
+ - spec/sha512/reset_spec.rb
308
+ - spec/sha512/shared/constants.rb
309
+ - spec/sha512/shared/length.rb
310
+ - spec/sha512/shared/update.rb
311
+ - spec/sha512/size_spec.rb
312
+ - spec/sha512/to_s_spec.rb
313
+ - spec/sha512/update_spec.rb
data/lib/rubysl-digest.rb DELETED
@@ -1,7 +0,0 @@
1
- require "rubysl-digest/version"
2
-
3
- module RubySL
4
- module Digest
5
- # Your code goes here...
6
- end
7
- end