sciolyff 0.9.0 → 0.9.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 613cf2cec8c62733c496ae7d35b9eb6bb5f61bfdbd0de4c639fa4474a99277a0
4
- data.tar.gz: 3b29332062927062d7da58bd71a5654205ba8de0beada33afefc2c70c1f9a00c
3
+ metadata.gz: 9153506e0f7481dcf3ddbd69ac6033264697919beeda85b965db65507622da61
4
+ data.tar.gz: 9acd8fcbb58baec40e00ac36622c852458ae5105553ca5b8747c72cdd56af9f5
5
5
  SHA512:
6
- metadata.gz: 3bf3fa55e11a4856e81b995e2d741e5df2b7bb8eaee9fd1eced89353a9f644cdb500be44cc61c3be96178a1ed59958913623bd47d59831628b62994ffc1a36ea
7
- data.tar.gz: 614bd64bfdd779826113d343ff35d7fe906e9fd958ad87e386a1c9daf714cc1d164a0484a248c27205c1285f1a1d395bdddb001903aab7d622e6c880ad0214dd
6
+ metadata.gz: 34683f75b1187fe86cf82cf85e30389730ea22586870ec196032865632e4a6d2981978da6b331fcee13b76221f830e610202699d0b653a7fe9f05996fc84a19a
7
+ data.tar.gz: 55c846799992c318aac70cc6be160c32e4eefa0cc4ffff7368d7f5b6a9afdd86a38aeb60282485a5801ac3af389e2e421fc8382f039e6755c02a7bb5d335bfaa
data/bin/sciolyff CHANGED
@@ -5,7 +5,7 @@ require 'optimist'
5
5
  require 'sciolyff'
6
6
 
7
7
  opts = Optimist.options do
8
- version 'sciolyff 0.9.0'
8
+ version 'sciolyff 0.9.1'
9
9
  banner <<~STRING
10
10
  Checks if a given file is in the Scioly File Format
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sciolyff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Em Zhan
@@ -60,7 +60,6 @@ files:
60
60
  - lib/sciolyff/interpreter/team.rb
61
61
  - lib/sciolyff/interpreter/tiebreaks.rb
62
62
  - lib/sciolyff/interpreter/tournament.rb
63
- - lib/sciolyff/interpreter/ztestscript.rb
64
63
  - lib/sciolyff/validator.rb
65
64
  - lib/sciolyff/validator/checker.rb
66
65
  - lib/sciolyff/validator/events.rb
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'yaml'
4
- require 'sciolyff/interpreter'
5
- require 'sciolyff'
6
- require 'pp'
7
-
8
- FILENAME = '/home/qianm/Repositories/unosmium/unosmium.org/data/2019-04-27_OH_states_b.yaml'
9
-
10
- rep = YAML.safe_load(File.read(FILENAME), symbolize_names: true); nil
11
- interpreter = SciolyFF::Interpreter.new(rep)
12
- # helper = SciolyFF::Helper.new(rep)
13
- # helper.sort_teams_by_rank
14
-
15
- pp interpreter.teams.map { |t| "#{t.number} #{t.school} #{t.points}" }
16
-
17
- p interpreter.teams.first.medal_counts
18
-
19
- p interpreter.teams.find { |t| t.number == 1 }.rank
20
-
21
- # puts interpreter.teams.find { |t| t.exhibition? }.placings.map(&:points)