aissue 0.1.0 → 0.1.1

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: 47d3313efd9564d56156a382e337910abf05d3ded0d787986054351ea7f8ac74
4
- data.tar.gz: cde1f513eb861092d7e2ffe7f22864cdb2697fca1613be4517a64a21b6e022ca
3
+ metadata.gz: 320e382deb7ab00d219e488be275db35796459d4da6c6bb7bb6dabc4f290c77f
4
+ data.tar.gz: aa2893e1a03c456b46aff526607ae60e85c14b30dc032e67a3a0ea432d319886
5
5
  SHA512:
6
- metadata.gz: 7ec9935c3e66b5801a6c009137787d26ab03fb1d2ed32f2defff4bb0edebdd0f618cd68d7eea9ad9ca50a847489abf89f8f66658211ed8532a272ab0d7f4966f
7
- data.tar.gz: 2e1b54e7cfa447bfcebff324e9dee285e384c7eb7e6604400f2a4fadf6bd5b381e057b16a46900dc863d2b161224d412bfa18e88153f6ed946647726454d3a3f
6
+ metadata.gz: 87c5f46c33553604f7c572479a873055c8722840956bba2ef63d385d3d016d098b073bd9f759e06eff100cf5ffd61aa077b047916e5c26b59188183dc7f2562e
7
+ data.tar.gz: c0469c406853210fc736d7ea6675e49b323654f8652d3aa95419a5431f8e3b6a3a5ca15ba117f8630cec71c280920cfd8274deccc60911583b78ffb4a0fce082
data/lib/aissue/cli.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  require 'thor'
2
2
  require 'dotenv/load'
3
- require_relative 'util'
3
+ require_relative 'helper'
4
4
 
5
5
  module Aissue
6
6
  class CLI < Thor
7
- include Aissue::Util
7
+ extend Aissue::Helper
8
8
 
9
9
  desc "start", "Start the Aissue CLI"
10
10
  def start
@@ -16,7 +16,10 @@ module Aissue
16
16
  end
17
17
  end
18
18
 
19
- module Util
19
+ module Helper
20
+
21
+ private
22
+
20
23
  # OpenAI API
21
24
  def post_openai(prompt, model: ENV['GPT_MODEL'], temperature: 0.7, json: false)
22
25
  data = {
data/lib/aissue/issue.rb CHANGED
@@ -1,9 +1,9 @@
1
- require_relative 'util'
1
+ require_relative 'helper'
2
2
 
3
3
  module Aissue
4
- include Aissue::Util
5
-
6
4
  class Issue
5
+ extend Aissue::Helper
6
+
7
7
  class << self
8
8
  def rescue(e)
9
9
  repo_root = Dir.pwd
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aissue
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aissue
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
  - ysk91
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-16 00:00:00.000000000 Z
11
+ date: 2024-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -70,8 +70,8 @@ files:
70
70
  - exe/aissue
71
71
  - lib/aissue.rb
72
72
  - lib/aissue/cli.rb
73
+ - lib/aissue/helper.rb
73
74
  - lib/aissue/issue.rb
74
- - lib/aissue/util.rb
75
75
  - lib/aissue/version.rb
76
76
  - sig/aissue.rbs
77
77
  homepage: https://github.com/ysk91/aissue