git-contest 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/git-contest.gemspec +2 -2
- data/lib/git/contest/version.rb +1 -1
- metadata +26 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f451f19130cb0cd787bad19b2b9769c8c24b985a
|
4
|
+
data.tar.gz: 8dd55926c926aaa33819fc56d56938721e0880cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7edc486019a63fa63c5faea7ba7447e35d15e6d6065a0a80471a8ab51d8ef4b9b4f4ceffc83d5ed2ca3e8ddfe6ccf6634e1722ca0f22baee8c9affcf0f1b3d4c
|
7
|
+
data.tar.gz: 84d9cefb8a2e1f7ec48b8fd829fce98770cc2fcdb247b1d237c52b4cd4fd27b3a814f45b5e87d1267d6b7278b82e3c1ef05d2eb921734f9a53efd8ba13552a8a
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Git::Contest
|
2
2
|
**git-contest** is _the Git Extension for online judges_ (Codeforces, etc...)
|
3
3
|
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/git-contest.png)](http://badge.fury.io/rb/git-contest)
|
4
5
|
[![Build Status](https://travis-ci.org/sh19910711/git-contest.png?branch=develop)](https://travis-ci.org/sh19910711/git-contest)
|
5
6
|
|
6
7
|
Currently support the following online judges:
|
@@ -126,8 +127,19 @@ Example 2:
|
|
126
127
|
$ git contest <sub-command> ... --help
|
127
128
|
|
128
129
|
## Configuration
|
130
|
+
### Options: environment variables
|
131
|
+
#### `GIT_CONTEST_HOME`
|
132
|
+
Type: `String`, Default: `~/.git-contest`
|
133
|
+
|
134
|
+
Set a path of git-contest home directory having a config file and plugins.
|
135
|
+
|
136
|
+
#### `GIT_CONTEST_CONFIG`
|
137
|
+
Type: `String`, Default: `${GIT_CONTEST_HOME}/config.yml`
|
138
|
+
|
139
|
+
Set a path of git-contest config file.
|
140
|
+
|
129
141
|
### `${GIT_CONTEST_HOME}/config.yml`
|
130
|
-
Write the information of online judges to this file.
|
142
|
+
Write the information of online judges and git-contest settings to this file.
|
131
143
|
|
132
144
|
#### Example of `config.yml`
|
133
145
|
```yaml
|
data/git-contest.gemspec
CHANGED
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.version = Git::Contest::VERSION
|
11
11
|
spec.authors = ["Hiroyuki Sano"]
|
12
12
|
spec.email = ["sh19910711@gmail.com"]
|
13
|
-
spec.description = %q{the Git Extension for online judge (Codeforces,
|
14
|
-
spec.summary = %q{the
|
13
|
+
spec.description = %q{the Git Extension for online judge (Codeforces, etc...)}
|
14
|
+
spec.summary = %q{the Git Extension for online judge (Codeforces, etc...)}
|
15
15
|
spec.homepage = "https://github.com/sh19910711/git-contest"
|
16
16
|
spec.license = "MIT"
|
17
17
|
|
data/lib/git/contest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-contest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroyuki Sano
|
@@ -14,130 +14,129 @@ dependencies:
|
|
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
|
-
description: the Git Extension for online judge (Codeforces,
|
140
|
-
etc...)
|
139
|
+
description: the Git Extension for online judge (Codeforces, etc...)
|
141
140
|
email:
|
142
141
|
- sh19910711@gmail.com
|
143
142
|
executables:
|
@@ -150,9 +149,9 @@ executables:
|
|
150
149
|
extensions: []
|
151
150
|
extra_rdoc_files: []
|
152
151
|
files:
|
153
|
-
- .gitignore
|
154
|
-
- .rspec
|
155
|
-
- .travis.yml
|
152
|
+
- ".gitignore"
|
153
|
+
- ".rspec"
|
154
|
+
- ".travis.yml"
|
156
155
|
- Gemfile
|
157
156
|
- LICENSE.txt
|
158
157
|
- README.md
|
@@ -219,12 +218,12 @@ require_paths:
|
|
219
218
|
- lib
|
220
219
|
required_ruby_version: !ruby/object:Gem::Requirement
|
221
220
|
requirements:
|
222
|
-
- -
|
221
|
+
- - ">="
|
223
222
|
- !ruby/object:Gem::Version
|
224
223
|
version: '0'
|
225
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
226
225
|
requirements:
|
227
|
-
- -
|
226
|
+
- - ">="
|
228
227
|
- !ruby/object:Gem::Version
|
229
228
|
version: '0'
|
230
229
|
requirements: []
|
@@ -232,7 +231,7 @@ rubyforge_project:
|
|
232
231
|
rubygems_version: 2.1.11
|
233
232
|
signing_key:
|
234
233
|
specification_version: 4
|
235
|
-
summary: the
|
234
|
+
summary: the Git Extension for online judge (Codeforces, etc...)
|
236
235
|
test_files:
|
237
236
|
- spec/bin/t004_git_contest_submit_spec.rb
|
238
237
|
- spec/bin/t005_git_contest_branching_spec.rb
|