kryptonita 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -2
- data/.travis.yml +1 -1
- data/Gemfile +2 -0
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/lib/kryptonita.rb +9 -1
- data/lib/kryptonita/version.rb +1 -1
- data/spec/spec_helper.rb +3 -0
- metadata +1 -3
- data/lib/whirlpool/whirlpool.bundle +0 -0
- data/lib/whirlpool/whirlpool.o +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d445db8bccb99bcd8a46559f5302673957938366
|
|
4
|
+
data.tar.gz: 2215768c05d7d1beff2d346b6cf2b62510742a29
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad75217222774e2cc706c31455d691166dad892a56402e557b99ed0292a2da8e1f4e434eadf2af7108fb1eda11425133a4123b7cffc01cf36b57768fa9251aa6
|
|
7
|
+
data.tar.gz: 5f142ba409c1cecb05150bf254f6cdfd2010363ecc2f60344b02742800348d97c0280b8c260ba2110e3289f6519004ce26b79335885383f4b83012d4b3b65f98
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Kryptonita [](http://badge.fury.io/rb/kryptonita) [](https://codeclimate.com/github/AngoDev/kryptonita) [](https://travis-ci.org/AngoDev/kryptonita)
|
|
1
|
+
# Kryptonita [](http://badge.fury.io/rb/kryptonita) [](https://codeclimate.com/github/AngoDev/kryptonita) [](https://codeclimate.com/github/psantos10/Validation) [](https://travis-ci.org/AngoDev/kryptonita)
|
|
2
2
|
|
|
3
3
|
Kryptonita is a Ruby gem that provides a lot of functions for hashing, encrypt and decrypt
|
|
4
4
|
|
data/Rakefile
CHANGED
data/lib/kryptonita.rb
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
require "kryptonita/version"
|
|
2
|
-
require "whirlpool/whirlpool"
|
|
2
|
+
#require "./whirlpool/whirlpool"
|
|
3
3
|
require "digest/sha2"
|
|
4
4
|
|
|
5
|
+
# Support multiple ruby versions, fat binaries under Windows.
|
|
6
|
+
begin
|
|
7
|
+
RUBY_VERSION =~ /(\d+.\d+)/
|
|
8
|
+
require "whirlpool/#{$1}/whirlpool"
|
|
9
|
+
rescue LoadError
|
|
10
|
+
require 'whirlpool/whirlpool'
|
|
11
|
+
end
|
|
12
|
+
|
|
5
13
|
module Kryptonita
|
|
6
14
|
class Hash
|
|
7
15
|
|
data/lib/kryptonita/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kryptonita
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patrício dos Santos
|
|
@@ -90,8 +90,6 @@ files:
|
|
|
90
90
|
- kryptonita.gemspec
|
|
91
91
|
- lib/kryptonita.rb
|
|
92
92
|
- lib/kryptonita/version.rb
|
|
93
|
-
- lib/whirlpool/whirlpool.bundle
|
|
94
|
-
- lib/whirlpool/whirlpool.o
|
|
95
93
|
- spec/kryptonita/hash_spec.rb
|
|
96
94
|
- spec/spec_helper.rb
|
|
97
95
|
homepage: https://github.com/AngoDev/kryptonita
|
|
Binary file
|
data/lib/whirlpool/whirlpool.o
DELETED
|
Binary file
|