git-gpt 0.0.4 → 0.0.5

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: a6e17d107e9e41f2ee00f0c9011b6e01e9bc08b9363118420e33d6059a70c15f
4
- data.tar.gz: 03c1875348e3e9d754737092ac7d6baaee250d9a024c36207ff5feaf5f9af934
3
+ metadata.gz: a2078d9c3a8dc4b4369906cf4e571f83039e2eaac0777501188abce7073a7f60
4
+ data.tar.gz: b317be95bf26241f74339735ca35384fc22538795d183cc1d227c90aeac43b3a
5
5
  SHA512:
6
- metadata.gz: 96a4b1c28c6a1cf5134f9d4ed98007ff20bae6fa23b47cb4222954ab20b90b0b93e8900ff73042293ed38f9e80b37a4d9a6682153db62346cdd612504bc91dac
7
- data.tar.gz: 876b48b487e4fc603dc79095d8c6186567cdc758bab8b72c5682d4068b52997849306263c14c7a2e0655f1ef30009ac7a533765a26974665854bc73a32d840a7
6
+ metadata.gz: d67ad9836c1ea99985e482c5a2df5da873d4e2e32d2c7b691ec0fda75c0d4b21894d376bc4b5ed99ff6e6e9b64b1d1ae5b131a440496283570933217dfdd51a4
7
+ data.tar.gz: 7b7651c024ce9dc14412f14701c6bdba8ef917045dcfa3618d31f13eeb77f47728018608e732cb69ad165dead5390558883ad92f14e61c560f3b26b1f7100568
data/README.md CHANGED
@@ -70,7 +70,7 @@ See a real example [here](https://github.com/assaydepot/git-gpt/blob/main/.git-g
70
70
 
71
71
  ## Contributing
72
72
 
73
- Bug reports and pull requests are welcome on GitHub at https://github.com/your-github-username/git-gpt. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
73
+ Bug reports and pull requests are welcome on GitHub at https://github.com/assaydepot/git-gpt. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
74
74
 
75
75
  ## License
76
76
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Git
4
4
  module Gpt
5
- VERSION = "0.0.4"
5
+ VERSION = "0.0.5"
6
6
  end
7
7
  end
data/lib/git/gpt.rb CHANGED
@@ -10,21 +10,19 @@ module Git
10
10
  class Error < StandardError; end
11
11
  class CLI
12
12
  def run(argv=nil)
13
- prompt =<<-EOS
14
- You are a software engineer working on a project. You write diligent and detailed commit messages. You are working on a new feature and you are ready to commit your changes.
13
+ prompt =<<EOS
14
+ You are a software engineer working on a project. You write diligent and detailed commit messages. You are working on a new feature and you are ready to commit your changes.
15
15
 
16
- The current git status is:
17
- ```
18
- $GIT_STATUS
19
- ```
16
+ The current git status is:
20
17
 
21
- The current git diff is:
22
- ```
23
- $GIT_DIFF
24
- ```
18
+ $GIT_STATUS
25
19
 
26
- Please write a commit message for this change. The commit message should be a single sentence. The commit message should start with a capital letter. The commit message should end with a period. The commit message should be 50 characters or less.
27
- EOS
20
+ The current git diff is:
21
+
22
+ $GIT_DIFF
23
+
24
+ Please write a commit message for this change. Format the commit message using markdown. You may use bullet points. Please comment specifically on any files with significant changes.
25
+ EOS
28
26
 
29
27
  config = {
30
28
  "model" => "gpt-3.5-turbo",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-gpt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Petersen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-08 00:00:00.000000000 Z
11
+ date: 2023-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json