gettc 1.7.2 → 1.7.3
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 +4 -4
- data/bin/gettc +0 -0
- data/dist/config.yml +1 -1
- data/dist/template/bin/runner.sh +6 -2
- metadata +8 -12
- data/dist/include/python/topcoder/__pycache__/__init__.cpython-33.pyc +0 -0
- data/dist/include/python/topcoder/__pycache__/errors.cpython-33.pyc +0 -0
- data/dist/include/python/topcoder/__pycache__/reader.cpython-33.pyc +0 -0
- data/dist/include/python/topcoder/__pycache__/writer.cpython-33.pyc +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12105cbdcc20146b420a208c737525ac3cb8c602
|
|
4
|
+
data.tar.gz: 74fc545a825e7ec6266600ae7bc3108738893a87
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7802a5b0b8d4583970181293f3e5f8762ff92107e5dcbe4916ac138c2a85aa2995f088a246f2e3857a3a6aeb269fe28e790838b3c2a054de74edd63cdfb9812a
|
|
7
|
+
data.tar.gz: df8193852f87e3ab01c49e3d64a5ed9934e4ed565dd878b76d383b1557caddaef19589e433542f3e056a35859b292adfb918fb16e36677d02da84744eabc702a
|
data/bin/gettc
CHANGED
|
File without changes
|
data/dist/config.yml
CHANGED
data/dist/template/bin/runner.sh
CHANGED
|
@@ -7,15 +7,19 @@ data_d="$3"
|
|
|
7
7
|
output_d="$4"
|
|
8
8
|
ostream=/dev/null
|
|
9
9
|
|
|
10
|
+
command_exists () {
|
|
11
|
+
type "$1" > /dev/null 2>&1 ;
|
|
12
|
+
}
|
|
13
|
+
|
|
10
14
|
timeit () {
|
|
11
|
-
if
|
|
15
|
+
if command_exists /usr/bin/time ; then
|
|
12
16
|
/usr/bin/time -o /dev/null echo "Testing availability of the time command" >/dev/null
|
|
13
17
|
if [ $? -eq 0 ]; then
|
|
14
18
|
/usr/bin/time -o $ostream "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
|
|
15
19
|
return
|
|
16
20
|
fi
|
|
17
21
|
elif [ $mode = 'verbose' ]; then
|
|
18
|
-
if
|
|
22
|
+
if command_exists time ; then
|
|
19
23
|
time "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
|
|
20
24
|
return
|
|
21
25
|
fi
|
metadata
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gettc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seri
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-10-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: hpricot
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - '>='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - '>='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rdiscount
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - '>='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - '>='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
description: Given a TopCoder problem ID, gettc downloads the problem specification,
|
|
@@ -64,10 +64,6 @@ files:
|
|
|
64
64
|
- dist/include/java/engine.rb
|
|
65
65
|
- dist/include/python/engine.rb
|
|
66
66
|
- dist/include/python/topcoder/__init__.py
|
|
67
|
-
- dist/include/python/topcoder/__pycache__/__init__.cpython-33.pyc
|
|
68
|
-
- dist/include/python/topcoder/__pycache__/errors.cpython-33.pyc
|
|
69
|
-
- dist/include/python/topcoder/__pycache__/reader.cpython-33.pyc
|
|
70
|
-
- dist/include/python/topcoder/__pycache__/writer.cpython-33.pyc
|
|
71
67
|
- dist/include/python/topcoder/errors.py
|
|
72
68
|
- dist/include/python/topcoder/reader.py
|
|
73
69
|
- dist/include/python/topcoder/writer.py
|
|
@@ -118,12 +114,12 @@ require_paths:
|
|
|
118
114
|
- core/lib
|
|
119
115
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
116
|
requirements:
|
|
121
|
-
- -
|
|
117
|
+
- - '>='
|
|
122
118
|
- !ruby/object:Gem::Version
|
|
123
119
|
version: '0'
|
|
124
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
121
|
requirements:
|
|
126
|
-
- -
|
|
122
|
+
- - '>='
|
|
127
123
|
- !ruby/object:Gem::Version
|
|
128
124
|
version: '0'
|
|
129
125
|
requirements: []
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|