operation-great-justice 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df5a5e344d862f8c56f69868d3e6b5152c0ce4de
4
- data.tar.gz: 35800c5139c67c10340bf13811c5e52128bb56eb
3
+ metadata.gz: 51550a8efe42a918f65aa9669714e75a0a78461f
4
+ data.tar.gz: 586c3558f5bc1dad4a94c82f0a5d8dea934e079b
5
5
  SHA512:
6
- metadata.gz: dd66a9cafe1424a909bf75b7c8b8f7a9546a29fc2857bd13ecc227abf0dac5f7b6c05620a232fd7ff66cde5c8596d8c1bd9ee77a98712772e7775ef08953dcc3
7
- data.tar.gz: 1cd17efee5884a8e3807441a68f98d19a982480d463c615b2a02bb330b25025f524bcab64b10ce7b2f9b67b29446400bc31ccb6bb250953887beb14b942e4c7e
6
+ metadata.gz: 9b295c60b6d8f67832c90dd217dc517531a8bd4bae2c714000852351d1a3cb6fc3279fcf1331e39f4c4d4cc478d4a09c8827f527e73431015cd73f0a8764dff9
7
+ data.tar.gz: e25703804d3c24dd0a7a6ddea64253eb58cb64f0a0e825206ed5faaf6f902d3c3e354dd71e309e71127e3a8af3ced0262d6bf8afe5a977fff6de25e481c543c5
data/bin/ogj CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  require 'operation/great/justice'
4
4
 
5
- puts Operation::Great::Justice.generate(ARGV[1])
5
+ puts Operation::Great::Justice.generate(ARGV[0])
@@ -1,7 +1,7 @@
1
1
  module Operation
2
2
  module Great
3
3
  module Justice
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
7
7
  end
@@ -13,7 +13,6 @@ module Operation
13
13
  first = []
14
14
  last = []
15
15
  token.bytes.each_slice(2) { |a| first << a.first; last << a.last }
16
- puts "first: #{first}, last: #{last}"
17
16
 
18
17
  # Do a mind-numbingly simple XOR hash of each array.
19
18
  first = first.inject(0) { |h,i| h ^ i }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: operation-great-justice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Harton