git-gpt 0.0.6 → 0.0.7

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
  SHA256:
3
- metadata.gz: b423a415a402ea69f7f3fb3157e49a4b0d489f1c6bc94adb97c5407d58b020a0
4
- data.tar.gz: 1485c3300db7edd3749950d1be8c25cac24c0285f8273af0a79beb24cc71f2db
3
+ metadata.gz: e896aa146231012d512a5aca32441fdab90c0fcadd29804037d24fd11ab89104
4
+ data.tar.gz: 77f212531f8f9b1c8196f1187b1184d2df5a45f37d5b467ff049a46b5c8b05e9
5
5
  SHA512:
6
- metadata.gz: 3ccea8785a8cb1bfab80f5b82ab7080964cb9d05b13c7c9071fd760acee69bd52a501d5dfcb17e15db0fb0bd5d3a5ba673e5db74b10f8ed29a6c696a9372af12
7
- data.tar.gz: 8ebf793c15d3ebbe88aec86bfcd1372157ea393e0345306978d9e94ca8fb72ef09455eecf908fe6d54fe6ee59848637a375ea532b1a3cf8608fbd301fd6fe219
6
+ metadata.gz: a91d0ab6547bef99d6ef61d768037d6f2a6a25188eeeb87c7eb4eb38e60fc09b4c7c01183900a956350c8a4eb8134718e091068a942dde1e8d6e7d09251b393b
7
+ data.tar.gz: 98edb68bca08c62f7d599aee16e84cea10d87e6e2ab72fe16d8bfcbe1c59841f054fc2ca941f371846aa577d7e5df5e5a66ce468926931da0da1ce18e3ca9676
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.3.0
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Git
4
4
  module Gpt
5
- VERSION = "0.0.6"
5
+ VERSION = "0.0.7"
6
6
  end
7
7
  end
data/lib/git/gpt.rb CHANGED
@@ -24,15 +24,15 @@ $GIT_DIFF
24
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
25
  EOS
26
26
 
27
- config = {
28
- "model" => "gpt-3.5-turbo",
29
- "temperature" => 0.7,
27
+ config = {
28
+ "model" => "gpt-3.5-turbo",
29
+ "temperature" => 0.7,
30
30
  "prompt" => prompt,
31
31
  "openai_api_key" => ENV["OPENAI_API_KEY"],
32
32
  "openai_organization_id" => ENV["OPENAI_ORGANIZATION_ID"]
33
33
  }
34
34
  config_filename = find_file(".git-gpt-config.yml")
35
- config_file = YAML.load_file(".git-gpt-config.yml") if config_filename
35
+ config_file = YAML.load_file(config_filename) if config_filename
36
36
  config.merge!(config_file) if config_file
37
37
 
38
38
  if config["openai_api_key"].nil?
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Petersen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-19 00:00:00.000000000 Z
11
+ date: 2025-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -47,6 +47,7 @@ extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
49
  - ".rspec"
50
+ - ".ruby-version"
50
51
  - ".standard.yml"
51
52
  - CODE_OF_CONDUCT.md
52
53
  - Gemfile