WPBDC 2013.2.1 → 2014.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/ext/WPBDC/WPBDC.c +10 -0
- data/ext/WPBDC/analysis.c +104 -3
- data/ext/WPBDC/bridge.c +4 -4
- data/ext/WPBDC/bridge_parser.c +0 -2
- data/ext/WPBDC/bridge_sketch.c +1 -1
- data/ext/WPBDC/internal.h +11 -10
- data/ext/WPBDC/judge.c +54 -12
- data/ext/WPBDC/judge.h +6 -3
- data/ext/WPBDC/proto.h +3 -0
- data/ext/WPBDC/scenario.c +6 -397
- data/ext/WPBDC/scenario_descriptors.h +394 -0
- data/lib/WPBDC.rb +3 -0
- metadata +5 -3
data/lib/WPBDC.rb
CHANGED
@@ -2,6 +2,9 @@ require 'WPBDC/WPBDC'
|
|
2
2
|
|
3
3
|
module WPBDC
|
4
4
|
|
5
|
+
# A useful constant for finding test data.
|
6
|
+
PATH = File.dirname(__FILE__)
|
7
|
+
|
5
8
|
## Helper to extract scenario id from a complete 6-character local contest code
|
6
9
|
# @param [String] code local contest code
|
7
10
|
# @return [String] scenario id, a 10-digit number or nil if the given code was not a valid one
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: WPBDC
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2014.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene Ressler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Container for C code extension that implements the West Point Bridge
|
14
14
|
Contest Judge.
|
@@ -40,11 +40,13 @@ files:
|
|
40
40
|
- ext/WPBDC/proto.h
|
41
41
|
- ext/WPBDC/rc4.h
|
42
42
|
- ext/WPBDC/rubydefs.h
|
43
|
+
- ext/WPBDC/scenario_descriptors.h
|
43
44
|
- ext/WPBDC/sketch.h
|
44
45
|
- ext/WPBDC/stdafx.h
|
45
46
|
- ext/WPBDC/extconf.rb
|
46
47
|
homepage: http://rubygems.org/gems/wpbdc_judge
|
47
|
-
licenses:
|
48
|
+
licenses:
|
49
|
+
- GPL-3
|
48
50
|
metadata: {}
|
49
51
|
post_install_message:
|
50
52
|
rdoc_options: []
|