atcoder_greedy 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 170239c92d97944ed6ee70a140fc8fa76a42d427
4
- data.tar.gz: 069fbf73c2233df025180708adf6adbcf2ccedef
3
+ metadata.gz: a8f2b89e384eba68f987b92e8834a0e34c9f22e5
4
+ data.tar.gz: cd16013e2bd6e3277607904fea4922eda54948ed
5
5
  SHA512:
6
- metadata.gz: b3fcdf4e44d82fdb188691a3fea65cbb2165cc6305f01eea1acb481852ce46ac23bf199da7bb85db6cc37aad893349787f08e7b52ac3de697aac25b837183aef
7
- data.tar.gz: 60008f1baa425d01ea4159dac28e0f0604506598a1df22f7237062df5cbcef5778b7c9602cbbb967a6bf4f2d74a0b4a034dd436a426f419c34763fe37ac2f476
6
+ metadata.gz: 86c4da3eacd3c8b5ae044a0373d6c2d14a68de51630214efd0ecbb2813d4057e697848617e19696c988b1652bc5bc184b1b768c32b56a1df7e3f8d67ff4f52de
7
+ data.tar.gz: 0a899cf524a11805e2f0b5370fe8b18bf2987f73f01e9da31b6707fe4b0e9c03acb077e110b9318220e76ce127b956f7fec57da73cf6bc58134bf034b1403086
data/README.md CHANGED
@@ -3,25 +3,21 @@
3
3
 
4
4
  ## Installation
5
5
 
6
- ```ruby
7
- gem 'atcoder_greedy'
8
- ```
9
-
10
- And then execute:
11
-
12
- $ bundle
13
-
14
- Or install it yourself as:
15
-
16
6
  $ gem install atcoder_greedy
17
7
 
18
8
  ## Usage
19
9
 
20
10
  ```
21
- atcoder_greedy create CONTESTNAME
11
+ $ atcoder_greedy create CONTESTNAME
12
+ ```
13
+
14
+ example: ABC008の場合
15
+
16
+ ```
17
+ $ atcoder_greedy create abc008
22
18
  ```
23
19
 
24
- example: ABC008の場合,下のようにファイルが生成される
20
+ とすると、以下のようなファイルが生成される。
25
21
 
26
22
  ```
27
23
  .
@@ -47,15 +43,15 @@ example: ABC008の場合,下のようにファイルが生成される
47
43
  └── test_abc008_4.rb
48
44
  ```
49
45
 
50
- 各問題について,in.txtがインプット,out.txtがアウトプット,abc_00X_Y.rbが解答ファイル,test_abc_00X_Y.rbがテストファイルとなる。
46
+ 各問題について,input.txtがインプット,output.txtがアウトプット,abc_00X_Y.rbが解答ファイル,test_abc_00X_Y.rbがテストファイルとなる。
51
47
 
52
48
  abc00X_Y.rbのsolveメソッドに問題の解答を書く。
53
49
 
54
50
  テストを実行するには、
55
51
 
56
52
  ```
57
- cd abc00X_Y/
58
- ruby test_abc00X_Y.rb
53
+ $ cd abc00X_Y/
54
+ $ ruby test_abc00X_Y.rb
59
55
  ```
60
56
 
61
57
  とすれば良い。
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["goog@brookbach.com"]
11
11
 
12
12
  spec.summary = %q{This gem is very useful atcoder plugin.}
13
- spec.description = %q{By using this plugin, You can create contest templates.}
13
+ spec.description = %q{By using this plugin, You can create atcoder-contest templates.}
14
14
  spec.homepage = "https://github.com/keigo-brook/atcoder_greedy"
15
15
  spec.license = "MIT"
16
16
 
@@ -5,7 +5,7 @@ module AtcoderGreedy
5
5
  class Command < Thor
6
6
  desc 'create CONTESTNAME', 'create contest templates for CONTESTNAME'
7
7
  def create(contest_name)
8
- Contest.new(contest_name)
8
+ Contest.new(contest_name.downcase)
9
9
  end
10
10
  end
11
11
 
@@ -1,3 +1,3 @@
1
1
  module AtcoderGreedy
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atcoder_greedy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - keigo-brook
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description: By using this plugin, You can create contest templates.
83
+ description: By using this plugin, You can create atcoder-contest templates.
84
84
  email:
85
85
  - goog@brookbach.com
86
86
  executables: