ruby_llm_community 0.0.3 → 0.0.4

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: 532c33922c77aa1376befb9d9ad5425c10b3dee2016fbb24ce3be431d09b3461
4
+ data.tar.gz: 8339735878bfe54c68524d42ec8d67c0e59d53174c6648cdbef272f2e13f5f54
5
5
  SHA512:
6
- metadata.gz: e083eaa68a50b78854d780b3ddd2dc2467652aceb62fd9633b1b9a75f48b89bb8ad885800f65cb376b4f2997336284d27baf3508f3fe2bbfe920cac064f85df5
7
- data.tar.gz: c068573609da8e4755201536aea1084b08b819e6d928c8624090f3a20133e253a86688d4ad5db206254be86c5795d66e3f12ffe945e308dc5cf24af479c8d403
6
+ metadata.gz: 3daddc9fb0eb2f4271352cc7158e8e2e1f8c39d83ddd97484aedb1d4a9fc4ae7edc61dae6bdc2603745a3e277fc426107dbfa33c2475c0f6ae319400dbf4827b
7
+ data.tar.gz: 1a9bd7a2b2bb3358bcd4c83b00e9c9aacf02c4e3b2ffe37dc368929fb5ae886f311bd108abfe939f55cd8b5d6038eeefcf2f802eac15220dad726beff41ee9d8
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.4'
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',
@@ -24,12 +24,17 @@ loader.inflector.inflect(
24
24
  'mistral' => 'Mistral',
25
25
  'pdf' => 'PDF'
26
26
  )
27
+ loader.ignore("#{__dir__}/shims")
27
28
  loader.ignore("#{__dir__}/tasks")
28
29
  loader.ignore("#{__dir__}/ruby_llm/railtie")
29
30
  loader.ignore("#{__dir__}/ruby_llm/active_record")
30
31
  loader.ignore("#{__dir__}/generators")
31
32
  loader.setup
32
33
 
34
+ # This is a shim for the RubyLLM gem.
35
+ module RubyLlmCommunity
36
+ end
37
+
33
38
  # A delightful Ruby interface to modern AI language models.
34
39
  # Provides a unified way to interact with models from OpenAI, Anthropic and others
35
40
  # 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.4
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
  - - ">="