haiti-hash 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +2 -1
- data/docs/CHANGELOG.md +6 -0
- data/docs/pages/quick-start.md +1 -1
- data/docs/yard/HashIdentifier.html +3 -3
- data/docs/yard/HashIdentifier/Chf.html +2 -2
- data/docs/yard/Version.html +2 -2
- data/docs/yard/_index.html +2 -2
- data/docs/yard/file.LICENSE.html +2 -2
- data/docs/yard/file.README.html +3 -3
- data/docs/yard/index.html +3 -3
- data/docs/yard/top-level-namespace.html +2 -2
- data/lib/haiti.rb +1 -1
- data/lib/haiti/version.rb +1 -1
- metadata +1 -3
- data/bin/haiti_setup +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83a76bf35790ea28f13c07002017de77173607742efb4e07ac36b6593c2523ef
|
4
|
+
data.tar.gz: e24e527024e10fb6d963a3d4c219350f5e0e6672d2d0402b9116969600257685
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a32fbcb484a2ebed6158255ad0d23741918ef6f3c5572165da3ec5c04b20d931b204cf74c5029b42cc2a9bd3e350b5b028e75242b8569646b8e35373cf3fc78f
|
7
|
+
data.tar.gz: 2d7620a42d9144b80a19d046e6da09690ac5d23cd527c5bfb0fdc1cb101681c4abb2b6a6f810db4c649f4e2b4030b28e4ff5f85388938d8e90401b7b6797e6af
|
data/Gemfile.lock
CHANGED
@@ -17,15 +17,15 @@ GEM
|
|
17
17
|
i18n (1.7.0)
|
18
18
|
concurrent-ruby (~> 1.0)
|
19
19
|
jaro_winkler (1.5.3)
|
20
|
-
minitest (5.
|
20
|
+
minitest (5.13.0)
|
21
21
|
paint (2.1.1)
|
22
22
|
parallel (1.18.0)
|
23
23
|
parser (2.6.5.0)
|
24
24
|
ast (~> 2.4.0)
|
25
25
|
rainbow (3.0.0)
|
26
|
-
rake (13.0.
|
26
|
+
rake (13.0.1)
|
27
27
|
redcarpet (3.5.0)
|
28
|
-
rubocop (0.
|
28
|
+
rubocop (0.76.0)
|
29
29
|
jaro_winkler (~> 1.5.1)
|
30
30
|
parallel (~> 1.10)
|
31
31
|
parser (>= 2.6)
|
data/README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# HAITI
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/haiti.svg)](https://badge.fury.io/rb/haiti-hash)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/haiti-hash.svg)](https://badge.fury.io/rb/haiti-hash)
|
4
4
|
![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/Orange-Cyberdefense/haiti)
|
5
5
|
[![GitHub forks](https://img.shields.io/github/forks/Orange-Cyberdefense/haiti)](https://github.com/Orange-Cyberdefense/haiti/network)
|
6
6
|
[![GitHub stars](https://img.shields.io/github/stars/Orange-Cyberdefense/haiti)](https://github.com/Orange-Cyberdefense/haiti/stargazers)
|
7
7
|
[![GitHub license](https://img.shields.io/github/license/Orange-Cyberdefense/haiti)](https://github.com/Orange-Cyberdefense/haiti/blob/master/LICENSE.txt)
|
8
|
+
[![Rawsec's CyberSecurity Inventory](https://inventory.rawsec.ml/img/badges/Rawsec-inventoried-FF5050_flat.svg)](https://inventory.rawsec.ml/tools.html#Haiti)
|
8
9
|
|
9
10
|
[![Packaging status](https://repology.org/badge/vertical-allrepos/haiti.svg)](https://repology.org/project/haiti/versions)
|
10
11
|
|
data/docs/CHANGELOG.md
CHANGED
data/docs/pages/quick-start.md
CHANGED
@@ -139,7 +139,7 @@
|
|
139
139
|
<dt id="PROTOTYPES-constant" class="">PROTOTYPES =
|
140
140
|
|
141
141
|
</dt>
|
142
|
-
<dd><pre class="code"><span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'
|
142
|
+
<dd><pre class="code"><span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='id identifier rubyid___dir__'>__dir__</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>../data/prototypes.json</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rparen'>)</span><span class='rparen'>)</span></pre></dd>
|
143
143
|
|
144
144
|
</dl>
|
145
145
|
|
@@ -469,9 +469,9 @@
|
|
469
469
|
</div>
|
470
470
|
|
471
471
|
<div id="footer">
|
472
|
-
Generated on Wed
|
472
|
+
Generated on Wed Nov 20 23:12:28 2019 by
|
473
473
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
474
|
-
0.9.20 (ruby-2.6.
|
474
|
+
0.9.20 (ruby-2.6.0).
|
475
475
|
</div>
|
476
476
|
|
477
477
|
</div>
|
@@ -580,9 +580,9 @@
|
|
580
580
|
</div>
|
581
581
|
|
582
582
|
<div id="footer">
|
583
|
-
Generated on Wed
|
583
|
+
Generated on Wed Nov 20 23:12:28 2019 by
|
584
584
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
585
|
-
0.9.20 (ruby-2.6.
|
585
|
+
0.9.20 (ruby-2.6.0).
|
586
586
|
</div>
|
587
587
|
|
588
588
|
</div>
|
data/docs/yard/Version.html
CHANGED
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on Wed
|
119
|
+
Generated on Wed Nov 20 23:12:28 2019 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
-
0.9.20 (ruby-2.6.
|
121
|
+
0.9.20 (ruby-2.6.0).
|
122
122
|
</div>
|
123
123
|
|
124
124
|
</div>
|
data/docs/yard/_index.html
CHANGED
@@ -128,9 +128,9 @@
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on Wed
|
131
|
+
Generated on Wed Nov 20 23:12:28 2019 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
|
-
0.9.20 (ruby-2.6.
|
133
|
+
0.9.20 (ruby-2.6.0).
|
134
134
|
</div>
|
135
135
|
|
136
136
|
</div>
|
data/docs/yard/file.LICENSE.html
CHANGED
@@ -60,9 +60,9 @@
|
|
60
60
|
<div id="content"><div id='filecontents'>The MIT License (MIT)<br/><br/>Copyright (c) 2019 Alexandre ZANNI<br/><br/>Permission is hereby granted, free of charge, to any person obtaining a copy<br/>of this software and associated documentation files (the "Software"), to deal<br/>in the Software without restriction, including without limitation the rights<br/>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br/>copies of the Software, and to permit persons to whom the Software is<br/>furnished to do so, subject to the following conditions:<br/><br/>The above copyright notice and this permission notice shall be included in<br/>all copies or substantial portions of the Software.<br/><br/>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br/>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br/>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br/>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br/>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br/>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN<br/>THE SOFTWARE.</div></div>
|
61
61
|
|
62
62
|
<div id="footer">
|
63
|
-
Generated on Wed
|
63
|
+
Generated on Wed Nov 20 23:12:28 2019 by
|
64
64
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
65
|
-
0.9.20 (ruby-2.6.
|
65
|
+
0.9.20 (ruby-2.6.0).
|
66
66
|
</div>
|
67
67
|
|
68
68
|
</div>
|
data/docs/yard/file.README.html
CHANGED
@@ -59,7 +59,7 @@
|
|
59
59
|
|
60
60
|
<div id="content"><div id='filecontents'><h1>HAITI</h1>
|
61
61
|
|
62
|
-
<p><a href="https://badge.fury.io/rb/haiti"><img src="https://badge.fury.io/rb/haiti.svg" alt="Gem Version"></a>
|
62
|
+
<p><a href="https://badge.fury.io/rb/haiti-hash"><img src="https://badge.fury.io/rb/haiti.svg" alt="Gem Version"></a>
|
63
63
|
<img src="https://img.shields.io/github/tag/Orange-Cyberdefense/haiti" alt="GitHub tag (latest SemVer)">
|
64
64
|
<a href="https://github.com/Orange-Cyberdefense/haiti/network"><img src="https://img.shields.io/github/forks/Orange-Cyberdefense/haiti" alt="GitHub forks"></a>
|
65
65
|
<a href="https://github.com/Orange-Cyberdefense/haiti/stargazers"><img src="https://img.shields.io/github/stars/Orange-Cyberdefense/haiti" alt="GitHub stars"></a>
|
@@ -96,9 +96,9 @@
|
|
96
96
|
</div></div>
|
97
97
|
|
98
98
|
<div id="footer">
|
99
|
-
Generated on Wed
|
99
|
+
Generated on Wed Nov 20 23:12:28 2019 by
|
100
100
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
101
|
-
0.9.20 (ruby-2.6.
|
101
|
+
0.9.20 (ruby-2.6.0).
|
102
102
|
</div>
|
103
103
|
|
104
104
|
</div>
|
data/docs/yard/index.html
CHANGED
@@ -59,7 +59,7 @@
|
|
59
59
|
|
60
60
|
<div id="content"><div id='filecontents'><h1>HAITI</h1>
|
61
61
|
|
62
|
-
<p><a href="https://badge.fury.io/rb/haiti"><img src="https://badge.fury.io/rb/haiti.svg" alt="Gem Version"></a>
|
62
|
+
<p><a href="https://badge.fury.io/rb/haiti-hash"><img src="https://badge.fury.io/rb/haiti.svg" alt="Gem Version"></a>
|
63
63
|
<img src="https://img.shields.io/github/tag/Orange-Cyberdefense/haiti" alt="GitHub tag (latest SemVer)">
|
64
64
|
<a href="https://github.com/Orange-Cyberdefense/haiti/network"><img src="https://img.shields.io/github/forks/Orange-Cyberdefense/haiti" alt="GitHub forks"></a>
|
65
65
|
<a href="https://github.com/Orange-Cyberdefense/haiti/stargazers"><img src="https://img.shields.io/github/stars/Orange-Cyberdefense/haiti" alt="GitHub stars"></a>
|
@@ -96,9 +96,9 @@
|
|
96
96
|
</div></div>
|
97
97
|
|
98
98
|
<div id="footer">
|
99
|
-
Generated on Wed
|
99
|
+
Generated on Wed Nov 20 23:12:28 2019 by
|
100
100
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
101
|
-
0.9.20 (ruby-2.6.
|
101
|
+
0.9.20 (ruby-2.6.0).
|
102
102
|
</div>
|
103
103
|
|
104
104
|
</div>
|
@@ -102,9 +102,9 @@
|
|
102
102
|
</div>
|
103
103
|
|
104
104
|
<div id="footer">
|
105
|
-
Generated on Wed
|
105
|
+
Generated on Wed Nov 20 23:12:28 2019 by
|
106
106
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
107
|
-
0.9.20 (ruby-2.6.
|
107
|
+
0.9.20 (ruby-2.6.0).
|
108
108
|
</div>
|
109
109
|
|
110
110
|
</div>
|
data/lib/haiti.rb
CHANGED
@@ -10,7 +10,7 @@ require 'haiti/hash'
|
|
10
10
|
class HashIdentifier
|
11
11
|
# Constants
|
12
12
|
include Version
|
13
|
-
PROTOTYPES = JSON.parse(File.read('data/prototypes.json'))
|
13
|
+
PROTOTYPES = JSON.parse(File.read(File.join(__dir__, '../data/prototypes.json')))
|
14
14
|
|
15
15
|
# @return [String] the hash (as provided)
|
16
16
|
# @example
|
data/lib/haiti/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haiti-hash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexandre ZANNI
|
@@ -155,7 +155,6 @@ email: alexandre.zanni@engineer.com
|
|
155
155
|
executables:
|
156
156
|
- haiti
|
157
157
|
- haiti_console
|
158
|
-
- haiti_setup
|
159
158
|
extensions: []
|
160
159
|
extra_rdoc_files: []
|
161
160
|
files:
|
@@ -171,7 +170,6 @@ files:
|
|
171
170
|
- Rakefile
|
172
171
|
- bin/haiti
|
173
172
|
- bin/haiti_console
|
174
|
-
- bin/haiti_setup
|
175
173
|
- data/prototypes.json
|
176
174
|
- docs/.nojekyll
|
177
175
|
- docs/CHANGELOG.md
|