ruby_llm_community 0.0.3 → 0.0.5

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: 2a8638f12f0c6d0e811f078bdf311d3dde1bc969f6881ed64cf1a5133256b574
4
- data.tar.gz: 4bba1ef73b4624fca8ef83c4cd661d9bdb3a15f209da11a3a962cab24b4fdb80
3
+ metadata.gz: 9007798f0f3d2c512b138292c6040aede0a135688b931e202c0c8baca10d6623
4
+ data.tar.gz: 8fb9a3af7a4e48d437f65dcca8a9a2d50f7f1c04c385a2b4aa38456e7efc7993
5
5
  SHA512:
6
- metadata.gz: e083eaa68a50b78854d780b3ddd2dc2467652aceb62fd9633b1b9a75f48b89bb8ad885800f65cb376b4f2997336284d27baf3508f3fe2bbfe920cac064f85df5
7
- data.tar.gz: c068573609da8e4755201536aea1084b08b819e6d928c8624090f3a20133e253a86688d4ad5db206254be86c5795d66e3f12ffe945e308dc5cf24af479c8d403
6
+ metadata.gz: b5b5801c832fb0e0ccb2a38368b1160f22d1f31f17192e15f11cfcedde91b95a7a1ad6ccab273c29910354199643a67b66e1da38888393ca2017921c031a060b
7
+ data.tar.gz: f37724b8396ba64f5e50b7a64173af90d0d8e02b6029d0f07c732d3323bf2038f0adb4f8f7db13430fe42dcf25d7065b2d47568f4609a382fd74035f0d25237f
data/README.md CHANGED
@@ -99,7 +99,7 @@ response = chat.with_schema(ProductSchema)
99
99
 
100
100
  Add to your Gemfile:
101
101
  ```ruby
102
- gem 'ruby_llm'
102
+ gem 'ruby_llm_community'
103
103
  ```
104
104
  Then `bundle install`.
105
105
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyLLM
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.5'
5
5
  end
@@ -9,7 +9,7 @@ require 'logger'
9
9
  require 'securerandom'
10
10
  require 'zeitwerk'
11
11
 
12
- loader = Zeitwerk::Loader.for_gem
12
+ loader = Zeitwerk::Loader.for_gem(warn_on_extra_files: false)
13
13
  loader.inflector.inflect(
14
14
  'ruby_llm' => 'RubyLLM',
15
15
  'llm' => 'LLM',
@@ -22,14 +22,20 @@ loader.inflector.inflect(
22
22
  'openrouter' => 'OpenRouter',
23
23
  'gpustack' => 'GPUStack',
24
24
  'mistral' => 'Mistral',
25
- 'pdf' => 'PDF'
25
+ 'pdf' => 'PDF',
26
+ 'version' => 'VERSION'
26
27
  )
28
+ loader.ignore("#{__dir__}/shims")
27
29
  loader.ignore("#{__dir__}/tasks")
28
30
  loader.ignore("#{__dir__}/ruby_llm/railtie")
29
31
  loader.ignore("#{__dir__}/ruby_llm/active_record")
30
32
  loader.ignore("#{__dir__}/generators")
31
33
  loader.setup
32
34
 
35
+ # This is a shim for the RubyLLM gem.
36
+ module RubyLlmCommunity
37
+ end
38
+
33
39
  # A delightful Ruby interface to modern AI language models.
34
40
  # Provides a unified way to interact with models from OpenAI, Anthropic and others
35
41
  # with a focus on developer happiness and convention over configuration.
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'ruby_llm_community'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_llm_community
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Shippy
@@ -145,7 +145,6 @@ files:
145
145
  - lib/generators/ruby_llm/install/templates/message_model.rb.tt
146
146
  - lib/generators/ruby_llm/install/templates/tool_call_model.rb.tt
147
147
  - lib/generators/ruby_llm/install_generator.rb
148
- - lib/ruby_llm.rb
149
148
  - lib/ruby_llm/active_record/acts_as.rb
150
149
  - lib/ruby_llm/aliases.json
151
150
  - lib/ruby_llm/aliases.rb
@@ -239,6 +238,8 @@ files:
239
238
  - lib/ruby_llm/tool_call.rb
240
239
  - lib/ruby_llm/utils.rb
241
240
  - lib/ruby_llm/version.rb
241
+ - lib/ruby_llm_community.rb
242
+ - lib/shims/ruby_llm.rb
242
243
  - lib/tasks/aliases.rake
243
244
  - lib/tasks/models_docs.rake
244
245
  - lib/tasks/models_update.rake
@@ -257,6 +258,7 @@ metadata:
257
258
  rdoc_options: []
258
259
  require_paths:
259
260
  - lib
261
+ - lib/shims
260
262
  required_ruby_version: !ruby/object:Gem::Requirement
261
263
  requirements:
262
264
  - - ">="