prairie-ghtpl 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98943eaa1d68e76b3922044f31b8540a0181ed88ae9739434fb24a5e48e54c22
4
- data.tar.gz: 48cee34e0d3be641a9336e3a131782d4c2a44fd8565f00be325e34d02bc50365
3
+ metadata.gz: a8e324103edc2fb4b1e7af8ca2dc6b32e18caed30909f9c66ee76b5519cb670f
4
+ data.tar.gz: 81a367e450f8a3dc9bab78ae62d9ff33881e958460bcd20aeee45665ff9703ec
5
5
  SHA512:
6
- metadata.gz: 025ad93ea67166beb520deaaf240b7f2d825f43b6978debc24a2d69888df8b8771b16549a8e41f0410e1c8b883f84c0c77d5d02e1f702b6fe27552b021fcb655
7
- data.tar.gz: 7d217c6177599be934fa45701c1cddaaf55a4d88c58948a97e88f4f67b2f9ea1b48dc6b06b0a8d87a0030b6c750131f343037e71d163eb4a4bb47f52d1d7f5d0
6
+ metadata.gz: 27a50719cd2d359e680a0248c4016748c9589544f6d9ec489916e5571e57b237190d089f672addf86fce9128507d0be674cfb88ce4c647ea3e3ca4264b7b8ce8
7
+ data.tar.gz: 41946dfa116d0efb1da5a318cbe6c1e980a0a389c6b469b34248a57d6b4215bf4452940385a0a3840653dbd484d408fd4fbb90ebe43bab1446963b3f392806f0
@@ -0,0 +1,10 @@
1
+ ## Issueのタイトル / Title
2
+
3
+ ## 問題内容 / What
4
+
5
+ ## 現状 / Now
6
+
7
+ ## 問題の詳細 / Details
8
+
9
+ ## 問題の解決策または理想 / How, ideals
10
+
@@ -0,0 +1,6 @@
1
+ ## Issueの番号 / Title
2
+
3
+ ## どのように解決したか / How
4
+
5
+ ## なぜそのような解決策を取ったのか / Why
6
+
data/.gitmessage ADDED
@@ -0,0 +1,17 @@
1
+
2
+ # ==== Emoji ====
3
+ # 🎉 :tada: 初めてのコミット(Initial Commit)
4
+ # 🔖 :bookmark: バージョンタグ(Version Tag)
5
+ # ✨ :sparkles: 新機能(New Feature)
6
+ # 🐛 :bug: バグ修正(Bugfix)
7
+ # ♻️ :recycle: リファクタリング(Refactoring)
8
+ # 📚 :books: ドキュメント(Documentation)
9
+ # 🎨 :art: デザインUI/UX(Accessibility)
10
+ # 🐎 :horse: パフォーマンス(Performance)
11
+ # 🔧 :wrench: ツール(Tooling)
12
+ # 🚨 :rotating_light: テスト(Tests)
13
+ # 💩 :hankey: 非推奨追加(Deprecation)
14
+ # 🗑️ :wastebasket: 削除(Removal)
15
+ # 🚧 :construction: WIP(Work In Progress)
16
+
17
+ # This template quoted here (https://gist.github.com/Jung0/56d527ed5d2c783661f7d56c46332308).
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prairie-ghtpl (0.1.3)
4
+ prairie-ghtpl (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Prairie
2
2
 
3
+ ![prairie 001](https://user-images.githubusercontent.com/33862939/68557759-26b2e180-047a-11ea-81c9-ab1e12c3b452.png)
4
+
3
5
  Prairie provides command make it easier to create templates that enhance the convenience of development using github.
4
6
  Try to run the `prairie` command after installing Gem as shown below.
5
7
 
data/lib/prairie.rb CHANGED
@@ -4,57 +4,57 @@ module Prairie
4
4
  class Error < StandardError; end
5
5
 
6
6
  ISSUE_TEMPLATE = <<-EOS
7
- ## Issueのタイトル / Title
8
-
9
- ## 問題内容 / What
10
-
11
- ## 現状 / Now
12
-
13
- ## 問題の詳細 / Details
14
-
15
- ## 問題の解決策または理想 / How, ideals
7
+ ## Issueのタイトル / Title
8
+
9
+ ## 問題内容 / What
16
10
 
17
- EOS
11
+ ## 現状 / Now
12
+
13
+ ## 問題の詳細 / Details
14
+
15
+ ## 問題の解決策または理想 / How, ideals
16
+
17
+ EOS
18
18
 
19
19
  PULL_REQUEST_TEMPLATE = <<-EOS
20
- ## Issueの番号 / Title
20
+ ## Issueの番号 / Title
21
21
 
22
- ## どのように解決したか / How
22
+ ## どのように解決したか / How
23
23
 
24
- ## なぜそのような解決策を取ったのか / Why
24
+ ## なぜそのような解決策を取ったのか / Why
25
25
 
26
- EOS
26
+ EOS
27
27
 
28
28
  COMMIT_MESSAGE_TEMPLATE = <<-EOS
29
29
 
30
- # ==== Emoji ====
31
- # 🎉 :tada: 初めてのコミット(Initial Commit)
32
- # 🔖 :bookmark: バージョンタグ(Version Tag)
33
- # ✨ :sparkles: 新機能(New Feature)
34
- # 🐛 :bug: バグ修正(Bugfix)
35
- # ♻️ :recycle: リファクタリング(Refactoring)
36
- # 📚 :books: ドキュメント(Documentation)
37
- # 🎨 :art: デザインUI/UX(Accessibility)
38
- # 🐎 :horse: パフォーマンス(Performance)
39
- # 🔧 :wrench: ツール(Tooling)
40
- # 🚨 :rotating_light: テスト(Tests)
41
- # 💩 :hankey: 非推奨追加(Deprecation)
42
- # 🗑️ :wastebasket: 削除(Removal)
43
- # 🚧 :construction: WIP(Work In Progress)
44
-
45
- # This template quoted here (https://gist.github.com/Jung0/56d527ed5d2c783661f7d56c46332308).
46
- EOS
30
+ # ==== Emoji ====
31
+ # 🎉 :tada: 初めてのコミット(Initial Commit)
32
+ # 🔖 :bookmark: バージョンタグ(Version Tag)
33
+ # ✨ :sparkles: 新機能(New Feature)
34
+ # 🐛 :bug: バグ修正(Bugfix)
35
+ # ♻️ :recycle: リファクタリング(Refactoring)
36
+ # 📚 :books: ドキュメント(Documentation)
37
+ # 🎨 :art: デザインUI/UX(Accessibility)
38
+ # 🐎 :horse: パフォーマンス(Performance)
39
+ # 🔧 :wrench: ツール(Tooling)
40
+ # 🚨 :rotating_light: テスト(Tests)
41
+ # 💩 :hankey: 非推奨追加(Deprecation)
42
+ # 🗑️ :wastebasket: 削除(Removal)
43
+ # 🚧 :construction: WIP(Work In Progress)
44
+
45
+ # This template quoted here (https://gist.github.com/Jung0/56d527ed5d2c783661f7d56c46332308).
46
+ EOS
47
47
 
48
48
  def self.run
49
49
  puts 'Do you want to create ./github/ISSUE_TEMPLATE.md (y/n)?'
50
50
  input = gets.chomp
51
51
  if input == 'y'
52
52
  Dir.mkdir('./.github') unless FileTest.exist?('./.github')
53
- FileUtils.touch('./.github/ISSUE_TEMPLATES.md')
54
- File.open('./.github/ISSUE_TEMPLATES.md', 'w') do |f|
53
+ FileUtils.touch('./.github/ISSUE_TEMPLATE.md')
54
+ File.open('./.github/ISSUE_TEMPLATE.md', 'w') do |f|
55
55
  f.puts(ISSUE_TEMPLATE)
56
56
  end
57
- puts 'Created! .github/ISSUE_TEMPLATES.md'
57
+ puts 'Created! .github/ISSUE_TEMPLATE.md'
58
58
  end
59
59
 
60
60
  puts 'Do you want to create ./github/PULL_REQUEST_TEMPLATE.md (y/n)?'
@@ -1,3 +1,3 @@
1
1
  module Prairie
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prairie-ghtpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - IrukNuj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-06 00:00:00.000000000 Z
11
+ date: 2019-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -60,7 +60,10 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
+ - ".github/ISSUE_TEMPLATE.md"
64
+ - ".github/PULL_REQUEST_TEMPLATE.md"
63
65
  - ".gitignore"
66
+ - ".gitmessage"
64
67
  - ".rspec"
65
68
  - ".travis.yml"
66
69
  - CODE_OF_CONDUCT.md