git-contest 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +2 -6
- data/lib/contest/driver/common.rb +4 -0
- data/lib/contest/driver/kattis_driver.rb +10 -1
- data/lib/git/contest/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDc2MTMzZGFkYzRlNzMyYWM1MjA0MzNhOWM1NjQ2NGIzZjhhNzY4ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjFlZTMzYjVkMTUxMTJhZGNlMzYzOTYxZGZmY2YxODVlZTI1YmI3Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjVjNmM3NDU0ZThiMzFlODBkYjc3MjA0YjE5ZTQyNDJiNTE1ODk2ZTI3NzY0
|
10
|
+
NDgyOTg0ODAwNzQ4NzFkYjEzZWI2NzYzMzIxZjQ0MDlhNDgxYThjMjNhY2I1
|
11
|
+
MDJkNDAyNWZhMWYxMmE3NDQ1Y2UxNDBiNmJjMDExMWY3MzUxNzE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDM0ODBmZTExYzgzMWVhM2VhOTlkYTM3Nzk3ZWQ4NjkwMDJjYWNiZjAyNGQy
|
14
|
+
NzY0NjY0NzIwMDZkZTA3MzY5N2ZmM2UyMTNjZjA2OGYyYzhkODEzNjc5YTkz
|
15
|
+
ZTM0NTM3MjIzZjRkODhkNDY2NTk0MDg5NDg1ZDNjNjYzODljYTg=
|
data/README.md
CHANGED
@@ -193,17 +193,13 @@ to be written here.
|
|
193
193
|
|
194
194
|
## Contributors
|
195
195
|
|
196
|
+
* [Hiroyuki Sano](https://github.com/sh19910711)
|
197
|
+
* Created git-contest
|
196
198
|
* [Oskar Sundström](https://github.com/osund)
|
197
199
|
* Added Kattis Driver
|
198
200
|
* [Wei Jianwen](https://github.com/weijianwen)
|
199
201
|
* Fixed gem dependency
|
200
202
|
|
201
|
-
## Author Information
|
202
|
-
|
203
|
-
* [Hiroyuki Sano](http://yomogimochi.com/)
|
204
|
-
* [GitHub - sh19910711](https://github.com/sh19910711)
|
205
|
-
* [Google+](https://plus.google.com/+HiroyukiSano)
|
206
|
-
|
207
203
|
## License Information
|
208
204
|
**git-contest** is licensed under the MIT-License, see details followings:
|
209
205
|
|
@@ -104,6 +104,8 @@ module Contest
|
|
104
104
|
return "haskell"
|
105
105
|
when "java", "Java"
|
106
106
|
return "java"
|
107
|
+
when "javascript", "js"
|
108
|
+
return "javascript"
|
107
109
|
when "objc", "m"
|
108
110
|
return "objc"
|
109
111
|
when "ocaml", "ml", "OCaml"
|
@@ -116,6 +118,8 @@ module Contest
|
|
116
118
|
return "perl"
|
117
119
|
when "php", "PHP"
|
118
120
|
return "php"
|
121
|
+
when "pl", "prolog"
|
122
|
+
return "prolog"
|
119
123
|
when "python2"
|
120
124
|
return "python2"
|
121
125
|
when "python3", "python", "Python", "py"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
#
|
2
|
+
# kattis_driver.rb
|
3
3
|
#
|
4
4
|
# Copyright (c) 2013-2014 Hiroyuki Sano <sh19910711 at gmail.com>
|
5
5
|
# Copyright (c) 2014 Oskar Sundström <oskar.sundstrom at gmail.com>
|
@@ -13,6 +13,7 @@
|
|
13
13
|
#
|
14
14
|
# To do the same thing using git-contest you instead write:
|
15
15
|
# $ git contest submit kattis -p aaah -s Main.java
|
16
|
+
#
|
16
17
|
|
17
18
|
require 'contest/driver/common'
|
18
19
|
|
@@ -72,6 +73,14 @@ module Contest
|
|
72
73
|
return '10'
|
73
74
|
when 'objc'
|
74
75
|
return '11'
|
76
|
+
when 'haskell'
|
77
|
+
return '12'
|
78
|
+
when 'prolog'
|
79
|
+
return '13'
|
80
|
+
when 'javascript'
|
81
|
+
return '14'
|
82
|
+
when 'php'
|
83
|
+
return '15'
|
75
84
|
else
|
76
85
|
abort 'unknown language'
|
77
86
|
end
|
data/lib/git/contest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-contest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroyuki Sano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|
@@ -255,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
255
255
|
version: '0'
|
256
256
|
requirements: []
|
257
257
|
rubyforge_project:
|
258
|
-
rubygems_version: 2.
|
258
|
+
rubygems_version: 2.4.1
|
259
259
|
signing_key:
|
260
260
|
specification_version: 4
|
261
261
|
summary: The Git Extension for online judges (Codeforces, etc...)
|