hubot-hashme
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -18,2 +18,2 @@ Copyright (c) 2014 tgfjt | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
{ | ||
"name": "hubot-hashme", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"author": "tgfjt", | ||
@@ -5,0 +5,0 @@ "description": "to create hash with crypto for hubot", |
@@ -27,5 +27,3 @@ # hubot-hashme | ||
``` | ||
hubot hashme sha1 123 | ||
``` | ||
![image](https://raw.githubusercontent.com/tgfjt/hubot-hashme/master/screenshot.gif) | ||
@@ -36,2 +34,2 @@ ## Author | ||
## License | ||
[MIT](https://github.com/tgfjt/hubot-hashme/blob/master/LICENSE.md) | ||
[MIT](https://github.com/tgfjt/hubot-hashme/blob/master/LICENSE.md) |
@@ -54,8 +54,8 @@ var test = require('tape'); | ||
test('hashme sha1 123', function (t) { | ||
test('hashme sha1 this is some text', function (t) { | ||
t.plan(1); | ||
t.equal( | ||
hashMe('sha1', '123'), | ||
'40bd001563085fc35165329ea1ff5c5ecbdbbeef', 'to create sha1'); | ||
hashMe('sha1', 'this is some text'), | ||
'0393694d16b84deb612e47ce6252bd35f0d86c06', 'to create sha1'); | ||
}); | ||
@@ -62,0 +62,0 @@ |
102617
11
33