git-contest 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/contest/driver/aizu_online_judge.rb +13 -15
- data/lib/contest/driver/base.rb +5 -0
- data/lib/contest/driver/codeforces.rb +8 -14
- data/lib/contest/driver/kattis.rb +6 -9
- data/lib/contest/driver/uva_online_judge.rb +6 -9
- data/lib/git/contest/version.rb +1 -1
- data/spec/bin/t004_git_contest_submit_spec.rb +64 -58
- data/spec/bin/t005_git_contest_branching_spec.rb +33 -46
- data/spec/bin/t007_git_contest_start_spec.rb +19 -52
- data/spec/bin/t008_git_contest_finish_spec.rb +24 -91
- data/spec/bin/t009_git_contest_init_spec.rb +25 -52
- data/spec/lib/contest/driver/t001_aizu_online_judge_spec.rb +24 -28
- data/spec/lib/contest/driver/t002_codeforces_spec.rb +4 -21
- data/spec/lib/contest/driver/t003_uva_online_judge_spec.rb +15 -28
- data/spec/lib/contest/driver/t010_kattis_spec.rb +2 -14
- data/spec/spec_helper.rb +54 -40
- data/spec/t006_config_spec.rb +115 -76
- metadata +26 -48
- data/spec/mock/t004/config.yml +0 -17
- data/spec/mock/t005/001/config.yml +0 -5
- data/spec/mock/t006/001/001/001/config.yml +0 -8
- data/spec/mock/t006/001/001/002/config.yml +0 -8
- data/spec/mock/t006/001/001/003/config.yml +0 -8
- data/spec/mock/t006/001/002/001/config.yml +0 -8
- data/spec/mock/t006/001/002/002/config.yml +0 -8
- data/spec/mock/t006/001/002/003/config.yml +0 -8
- data/spec/mock/t006/001/003/001/config.yml +0 -9
- data/spec/mock/t006/001/003/002/config.yml +0 -9
- data/spec/mock/t006/001/003/003/config.yml +0 -9
metadata
CHANGED
@@ -1,139 +1,139 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-contest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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-
|
11
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|
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: nokogiri
|
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
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: trollop
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: highline
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.3'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: watchr
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: webmock
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
description: The Git Extension for online judges (Codeforces, etc...)
|
@@ -149,9 +149,9 @@ executables:
|
|
149
149
|
extensions: []
|
150
150
|
extra_rdoc_files: []
|
151
151
|
files:
|
152
|
-
- .gitignore
|
153
|
-
- .rspec
|
154
|
-
- .travis.yml
|
152
|
+
- ".gitignore"
|
153
|
+
- ".rspec"
|
154
|
+
- ".travis.yml"
|
155
155
|
- Gemfile
|
156
156
|
- LICENSE.txt
|
157
157
|
- README.md
|
@@ -204,17 +204,6 @@ files:
|
|
204
204
|
- spec/mock/t003/uva_home.html
|
205
205
|
- spec/mock/t003/uva_my_submissions.html
|
206
206
|
- spec/mock/t003/uva_quick_submit.html
|
207
|
-
- spec/mock/t004/config.yml
|
208
|
-
- spec/mock/t005/001/config.yml
|
209
|
-
- spec/mock/t006/001/001/001/config.yml
|
210
|
-
- spec/mock/t006/001/001/002/config.yml
|
211
|
-
- spec/mock/t006/001/001/003/config.yml
|
212
|
-
- spec/mock/t006/001/002/001/config.yml
|
213
|
-
- spec/mock/t006/001/002/002/config.yml
|
214
|
-
- spec/mock/t006/001/002/003/config.yml
|
215
|
-
- spec/mock/t006/001/003/001/config.yml
|
216
|
-
- spec/mock/t006/001/003/002/config.yml
|
217
|
-
- spec/mock/t006/001/003/003/config.yml
|
218
207
|
- spec/mock/t010/open_kattis_com_login.html
|
219
208
|
- spec/mock/t010/open_kattis_com_submit.html
|
220
209
|
- spec/mock/t010/open_kattis_com_user_submissions.html
|
@@ -234,17 +223,17 @@ require_paths:
|
|
234
223
|
- lib
|
235
224
|
required_ruby_version: !ruby/object:Gem::Requirement
|
236
225
|
requirements:
|
237
|
-
- -
|
226
|
+
- - ">="
|
238
227
|
- !ruby/object:Gem::Version
|
239
228
|
version: '0'
|
240
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
230
|
requirements:
|
242
|
-
- -
|
231
|
+
- - ">="
|
243
232
|
- !ruby/object:Gem::Version
|
244
233
|
version: '0'
|
245
234
|
requirements: []
|
246
235
|
rubyforge_project:
|
247
|
-
rubygems_version: 2.
|
236
|
+
rubygems_version: 2.2.2
|
248
237
|
signing_key:
|
249
238
|
specification_version: 4
|
250
239
|
summary: The Git Extension for online judges (Codeforces, etc...)
|
@@ -277,17 +266,6 @@ test_files:
|
|
277
266
|
- spec/mock/t003/uva_home.html
|
278
267
|
- spec/mock/t003/uva_my_submissions.html
|
279
268
|
- spec/mock/t003/uva_quick_submit.html
|
280
|
-
- spec/mock/t004/config.yml
|
281
|
-
- spec/mock/t005/001/config.yml
|
282
|
-
- spec/mock/t006/001/001/001/config.yml
|
283
|
-
- spec/mock/t006/001/001/002/config.yml
|
284
|
-
- spec/mock/t006/001/001/003/config.yml
|
285
|
-
- spec/mock/t006/001/002/001/config.yml
|
286
|
-
- spec/mock/t006/001/002/002/config.yml
|
287
|
-
- spec/mock/t006/001/002/003/config.yml
|
288
|
-
- spec/mock/t006/001/003/001/config.yml
|
289
|
-
- spec/mock/t006/001/003/002/config.yml
|
290
|
-
- spec/mock/t006/001/003/003/config.yml
|
291
269
|
- spec/mock/t010/open_kattis_com_login.html
|
292
270
|
- spec/mock/t010/open_kattis_com_submit.html
|
293
271
|
- spec/mock/t010/open_kattis_com_user_submissions.html
|
data/spec/mock/t004/config.yml
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
sites:
|
2
|
-
test_dummy:
|
3
|
-
driver: dummy
|
4
|
-
user: dummy
|
5
|
-
password: dummy
|
6
|
-
test_11111:
|
7
|
-
driver: codeforces
|
8
|
-
user: dummy
|
9
|
-
password: dummy
|
10
|
-
test_22222:
|
11
|
-
driver: aizu_online_judge
|
12
|
-
user: dummy
|
13
|
-
password: dummy
|
14
|
-
test_33333:
|
15
|
-
driver: uva_online_judge
|
16
|
-
user: dummy
|
17
|
-
password: dummy
|