haiti-hash 0.0.1 → 1.1.2

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.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +2 -1
  3. data/bin/haiti +7 -17
  4. data/data/commons.json +29 -0
  5. data/data/prototypes.json +807 -54
  6. data/lib/haiti.rb +8 -1
  7. data/lib/haiti/version.rb +1 -1
  8. metadata +29 -77
  9. data/.editorconfig +0 -21
  10. data/.gitignore +0 -8
  11. data/.rubocop.yml +0 -25
  12. data/.yardopts +0 -4
  13. data/.yardopts-dev +0 -6
  14. data/Gemfile +0 -6
  15. data/Gemfile.lock +0 -56
  16. data/README.md +0 -32
  17. data/Rakefile +0 -10
  18. data/bin/haiti_setup +0 -7
  19. data/docs/.nojekyll +0 -0
  20. data/docs/CHANGELOG.md +0 -3
  21. data/docs/README.md +0 -22
  22. data/docs/_coverpage.md +0 -15
  23. data/docs/_media/logo.png +0 -0
  24. data/docs/_navbar.md +0 -2
  25. data/docs/_sidebar.md +0 -15
  26. data/docs/about.md +0 -5
  27. data/docs/index.html +0 -31
  28. data/docs/pages/demo.md +0 -3
  29. data/docs/pages/documentation.md +0 -34
  30. data/docs/pages/install.md +0 -90
  31. data/docs/pages/publishing.md +0 -39
  32. data/docs/pages/quick-start.md +0 -39
  33. data/docs/pages/usage.md +0 -58
  34. data/docs/vendor/docsify.js +0 -1
  35. data/docs/vendor/plugins/emoji.min.js +0 -1
  36. data/docs/vendor/plugins/search.min.js +0 -1
  37. data/docs/vendor/prismjs/components/prism-ruby.min.js +0 -1
  38. data/docs/vendor/themes/vue.css +0 -1
  39. data/docs/why.md +0 -35
  40. data/docs/yard/HashIdentifier.html +0 -479
  41. data/docs/yard/HashIdentifier/Chf.html +0 -590
  42. data/docs/yard/Version.html +0 -126
  43. data/docs/yard/_index.html +0 -138
  44. data/docs/yard/class_list.html +0 -51
  45. data/docs/yard/css/common.css +0 -1
  46. data/docs/yard/css/full_list.css +0 -58
  47. data/docs/yard/css/style.css +0 -496
  48. data/docs/yard/file.LICENSE.html +0 -70
  49. data/docs/yard/file.README.html +0 -106
  50. data/docs/yard/file_list.html +0 -61
  51. data/docs/yard/frames.html +0 -17
  52. data/docs/yard/index.html +0 -106
  53. data/docs/yard/js/app.js +0 -303
  54. data/docs/yard/js/full_list.js +0 -216
  55. data/docs/yard/js/jquery.js +0 -4
  56. data/docs/yard/method_list.html +0 -115
  57. data/docs/yard/top-level-namespace.html +0 -112
  58. data/test/test_haiti.rb +0 -33
data/test/test_haiti.rb DELETED
@@ -1,33 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'minitest/autorun'
4
- require 'haiti'
5
-
6
- class HaitiTest < Minitest::Test
7
- def setup
8
- @hash = '5f4dcc3b5aa765d61d8327deb882cf99'
9
- @hi = HashIdentifier.new(@hash)
10
- end
11
-
12
- def test_hashidentifier_hash
13
- assert_equal(@hash, @hi.hash)
14
- end
15
-
16
- def test_hashidentifier_type
17
- assert_instance_of(Array, @hi.type)
18
- assert_instance_of(HashIdentifier:: Chf, @hi.type[0])
19
- end
20
-
21
- def test_hashidentifier_type_non_existing
22
- hash = 'uuu'
23
- hi = HashIdentifier.new(hash)
24
- assert_empty(hi.type)
25
- end
26
-
27
- def test_chf
28
- assert_equal('MD2', @hi.type[0].name)
29
- assert_equal('md2', @hi.type[0].john)
30
- assert_nil(@hi.type[0].hashcat)
31
- assert_equal(false, @hi.type[0].extended)
32
- end
33
- end