wingify_devfest_citd 0.0.1 → 0.0.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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/wingify_devfest_citd +6 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7beaa67afe3c37796240dd3d8b491729215bf1e0
4
- data.tar.gz: 17c5cca2da9b90a9bbacb37b805a381a25ad847c
3
+ metadata.gz: 3e706980744849e0c111582104bfc89c17882a7b
4
+ data.tar.gz: fc2e8c7d21accd0687168be29a26abe5202c91a6
5
5
  SHA512:
6
- metadata.gz: 79c469c1b94338a55efbe8f1b5779e37cf4784dfbd68eceebc10fbb7d7605bfd0161569c729ad33f9086cec18ee536e9a00b84b8fcc78552c1e818ba343461f5
7
- data.tar.gz: 272e452030265129950630e2f23a7aa1d3fa96d53a1c91645036abda79dbfaab196f3b30c8d90ed8190d06048a49c05bdbef2c2de35174d4a1cc959742788f23
6
+ metadata.gz: 04c3b17041771959198bbc5cec9e13eef2add22f795b3ed494ce33e21bc32e49ba718c890d607efe2f3ef2745d56157379c8a16f9b709c61300c37bc42505c08
7
+ data.tar.gz: fa89aaeb002e5f96dd5d4665bb72450ba9d315b6f2fc5acfff2a29d51b51a51e45bbdbdd41308bd0d38f9d11381e73331a5f4c0c8ae60f057e7f3d2c7460d828
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
-
3
2
  require 'openssl'
4
3
  require 'base64'
5
4
  require 'open-uri'
@@ -33,9 +32,12 @@ total = 0
33
32
 
34
33
  file_data = open(TEST_CASE_FILE) { |infile| infile.read }.split("\n")
35
34
  file_data.each do |line|
36
- expected_output = line.split('##--##')[0].chomp
37
- input = line.split('##--##')[1].chomp
38
- total += assert(expected_output, input)
35
+ input_output = line.split('##--##')
36
+ expected_output = input_output[0].chomp if input_output.length > 0
37
+ if input_output.length > 1
38
+ input = line.split('##--##')[1].chomp
39
+ total += assert(expected_output, input)
40
+ end
39
41
  end
40
42
 
41
43
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wingify_devfest_citd
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
  - Sahil Batla