openrouter_client 0.1.0 → 0.1.1

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: 83e60f6533fc86470014efb28c27ba4f714322de55613bb1a990f5c623922f35
4
- data.tar.gz: 592ff75e2be878e65655321a402148e6386499176d388de7f0a8fad76bc537d5
3
+ metadata.gz: 1dfa50003cbe411f1e237d47c2872e053bbe649253abe52df64da017071bf791
4
+ data.tar.gz: 6279dcb4868bf470016c0df6cfe45fd3c5ebc19284cb7eb54d8d8d6c6ca78bb1
5
5
  SHA512:
6
- metadata.gz: c2dfb5c991c3a135601517d73b30c5eb95466033ee35c1d837ecc262fd6b42c3e21125990359d7e3ce69838395c03bc350369ffdb3861af34401f07d8a7444b0
7
- data.tar.gz: 3c1335769301ebb1a617d89a6189b3fadce8b7f7b6cf55256471bf6abc351a36de0a6a96d083cd94c7fdfec52e99af414b9e336c34a8c195734a4d5d49675a9b
6
+ metadata.gz: 20fa68b2374b7be8f14b0833fa794d3f2d52f0aea344a2707ab9d3330a6a8c43da36e2f7d27681af2a8a2a8ecfeb926bdb70b7f86819e904b38b76aa1c4f2156
7
+ data.tar.gz: ecc2aecf1224b2c5ddc1207780ebbc9014a07fd568969d2fda199cdfeaa46ea93ec8badbdacfca74cb6357c3f98ed171e144f584aef2782bfdf50c811ddab100
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openrouter_client (0.1.0)
4
+ openrouter_client (0.1.1)
5
5
  faraday (>= 1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -23,6 +23,8 @@ gem install openrouter_client
23
23
  Configure the client once at boot (e.g., in Rails an initializer) using `OpenRouter.configure`.
24
24
 
25
25
  ```ruby
26
+ require "openrouter"
27
+
26
28
  OpenRouter.configure do |config|
27
29
  config.api_key = "your-key" # Optional. Defaults to ENV["OPENROUTER_API_KEY"]
28
30
  config.api_base = "https://openrouter.ai/api/v1" # Optional (default)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenRouter
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = "Ruby client for OpenRouter API."
12
12
  spec.description = "A comprehensive Ruby client for the OpenRouter API, providing access to hundreds of AI models through a unified interface."
13
- spec.homepage = "https://github.com/851-labs/openrouter_client"
13
+ spec.homepage = "https://github.com/851-labs/openrouter"
14
14
  spec.required_ruby_version = ">= 3.3.0"
15
15
 
16
16
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openrouter_client
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
  - Dylan Player
@@ -60,14 +60,14 @@ files:
60
60
  - rbi/openrouter/version.rbi
61
61
  - sorbet/config
62
62
  - sorbet/rbi/.gitignore
63
- homepage: https://github.com/851-labs/openrouter_client
63
+ homepage: https://github.com/851-labs/openrouter
64
64
  licenses:
65
65
  - MIT
66
66
  metadata:
67
67
  allowed_push_host: https://rubygems.org
68
- homepage_uri: https://github.com/851-labs/openrouter_client
69
- source_code_uri: https://github.com/851-labs/openrouter_client
70
- changelog_uri: https://github.com/851-labs/openrouter_client/blob/main/CHANGELOG.md
68
+ homepage_uri: https://github.com/851-labs/openrouter
69
+ source_code_uri: https://github.com/851-labs/openrouter
70
+ changelog_uri: https://github.com/851-labs/openrouter/blob/main/CHANGELOG.md
71
71
  rubygems_mfa_required: 'true'
72
72
  rdoc_options: []
73
73
  require_paths: