quickquestion 0.1.1 → 0.2.0

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: a44648fbc5a6ccc8218df7554a067be2551b7dd90cabadc568c16a927e0ce69b
4
- data.tar.gz: 94423ea6ed08134dd172d60ee98cfdae60ab6ccef3d7ef9eed55f30611379f1a
3
+ metadata.gz: 50b0a3f3270dc3ed758069dc445fe58f9611dd2347bbbd5a73a26450eddaf197
4
+ data.tar.gz: f5ba522fc7aed7ee27f467c5ef6846a546634edf68a1b387eaed4a274938aa9a
5
5
  SHA512:
6
- metadata.gz: b495cff7aa5c8407ef01f44876c51481cbb7d5177f71f0dc410ffa8951daa3c19ff322a65e3222afe4a3f9a91e8a0841768f0ccc353242ccfdbfd66edc04dd6d
7
- data.tar.gz: e5693c776cef8c75fd8bcc7b002b8c7f0f2fb76f0c49b1eefd7398531c1f84ee1b4ffcf8f9c4b72a7837fd8fd14329d129c772b6006f93a483c6b7b86710e5d8
6
+ metadata.gz: 0e6f10ef3bfe22b884489369c61b5cedc1bb1c96dc53677f49d76bec0a4da818693018ee3f118d35152f005d2dccfb0497a289ce2480c9530831fd3d874f25a5
7
+ data.tar.gz: a40032c5bd3f9c3e9930e788037ea57f5b46ab7714e8252948e20d569ee963afba693ad0c624901c4afcf471be5da40912372504ee3bf0ae2f1a8012d0cc2394
data/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ # 0.2.0 2024-11-15
2
+
3
+ * Fix gem dependenceies; maybe first working version
4
+
5
+ # 0.1.1 2024-11-14
6
+
7
+ * bump for CVEs we're not affected by
8
+
9
+ # 0.1.0 2024-11-14
10
+
11
+ * Initial release
data/Gemfile CHANGED
@@ -8,9 +8,3 @@ group :development do
8
8
  gem "standard"
9
9
  gem "standard-performance"
10
10
  end
11
-
12
- # runtime dependencies
13
- gem "claude-ruby"
14
- gem "sequel"
15
- gem "sqlite3"
16
- gem "xdg"
data/Gemfile.lock CHANGED
@@ -1,7 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- quickquestion (0.1.0)
4
+ quickquestion (0.1.1)
5
+ claude-ruby (~> 0.4.1)
6
+ sequel (~> 5)
7
+ sqlite3 (~> 2.2)
8
+ xdg (~> 8.10)
5
9
 
6
10
  GEM
7
11
  remote: https://rubygems.org/
@@ -87,14 +91,10 @@ PLATFORMS
87
91
 
88
92
  DEPENDENCIES
89
93
  byebug
90
- claude-ruby
91
94
  quickquestion!
92
95
  rb-readline
93
- sequel
94
- sqlite3
95
96
  standard
96
97
  standard-performance
97
- xdg
98
98
 
99
99
  BUNDLED WITH
100
100
  2.5.9
data/README.md CHANGED
@@ -18,11 +18,11 @@ Set `ANTHROPIC_API_KEY` env var to your [API key](https://console.anthropic.com/
18
18
  There are currently no options.
19
19
 
20
20
  Your questions and answers are logged to `~/.config/qq/log.sqlite`
21
- (or set [XDG_CCONFIG_HOME](https://specifications.freedesktop.org/basedir-spec/latest/#variables)).
21
+ (or set [XDG_CONFIG_HOME](https://specifications.freedesktop.org/basedir-spec/latest/#variables)).
22
22
 
23
23
  ## Possible TODOs
24
24
 
25
- * Handle ctrl-c without traceback
25
+ * Handle ctrl-c without traceback.
26
26
  * Prompt customization.
27
27
  * Use `qc` to have a quick conversation (or `quick continue`), which picks up from the last `qq` if it happened in the last 15m.
28
28
  (This uses the logs in `~/.config/qq/log.sqlite`.)
@@ -52,3 +52,4 @@ Your questions and answers are logged to `~/.config/qq/log.sqlite`
52
52
  # to make the .gem
53
53
  gem build
54
54
 
55
+ gem push quickquestion-0.0.0.gem
data/lib/quickquestion.rb CHANGED
@@ -5,7 +5,7 @@ require "xdg"
5
5
  require "bigdecimal"
6
6
 
7
7
  module QuickQuestion
8
- VERSION = "0.1.1"
8
+ VERSION = "0.2.0"
9
9
  DB_PATH = File.join(XDG::Config.new.home, "qq/log.sqlite3")
10
10
 
11
11
  def self.setup_db
@@ -22,4 +22,10 @@ Gem::Specification.new do |spec|
22
22
  spec.bindir = "bin"
23
23
  spec.executables = ["qq"]
24
24
  spec.require_paths = ["lib"]
25
+
26
+ # runtime dependencies
27
+ spec.add_dependency "claude-ruby", "~> 0.4.1"
28
+ spec.add_dependency "sequel", "~> 5"
29
+ spec.add_dependency "sqlite3", "~> 2.2"
30
+ spec.add_dependency "xdg", "~> 8.10"
25
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quickquestion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bhat Harkins
@@ -9,7 +9,63 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2024-11-15 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: claude-ruby
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.4.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.4.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: sequel
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '5'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '5'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sqlite3
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: xdg
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '8.10'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '8.10'
13
69
  description: A command-line tool to quickly ask questions to LLMs
14
70
  email:
15
71
  - peter@push.cx
@@ -21,6 +77,7 @@ files:
21
77
  - ".git-blame-ignore-revs"
22
78
  - ".gitignore"
23
79
  - ".ruby-version"
80
+ - CHANGELOG.md
24
81
  - Gemfile
25
82
  - Gemfile.lock
26
83
  - README.md