open_router 0.3.2 → 0.3.3

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: cab34108ce9291cf0d6062d8913a4c8d45a5b3821508ef9fffcd6ff218cdada4
4
- data.tar.gz: 2c24c6436e6eab3a6cc203ab21b1b9fedae7273c488902da34cb1e05e4b781ad
3
+ metadata.gz: 1773f2cff533a7439d354cd4d9fa42214d643f3f20863afc4a7f5d7acf97afd3
4
+ data.tar.gz: 4cab37fcd901e07dcbdb126d25004f7d09a3da6b9e69ca5253369c775aedc6a8
5
5
  SHA512:
6
- metadata.gz: a3b60c517311854d3a3ad85291f2c7cc2243d2b095e4dd75fe73873bf8b0e48d08643c41f1f65d7e4343b9e1dd85d7744e1c8c707823e1f76af112fd6834da8a
7
- data.tar.gz: 5eb97536517e42a08eb8c151eaf1d3c036ee966c09fdbf73142143bd9d370c1d58edcc66fbbb35e092dad60f087498b13a6de5b4934cd332013607c6fcce9b74
6
+ metadata.gz: b6db1bab41944573d6e848d4369e68da6a46987e5460efe8aac9e6fcdbfdf7133699a19e674cc5e95f3a635832d17d9838b9d13c81c7f10b76c7d8f894687118
7
+ data.tar.gz: d6b7696c301960da0f35cf342ac184b3c9d2f811fd84f56bab2b07e7682c4ca3165c2a89c1c69855afd04665592a7bfd99fc31b3165ef818670dbe207c122877
@@ -72,7 +72,9 @@ module OpenRouter
72
72
  def headers
73
73
  {
74
74
  "Authorization" => "Bearer #{OpenRouter.configuration.access_token}",
75
- "Content-Type" => "application/json"
75
+ "Content-Type" => "application/json",
76
+ "X-Title" => "OpenRouter Ruby Client",
77
+ "HTTP-Referer" => "https://github.com/OlympiaAI/open_router"
76
78
  }.merge(OpenRouter.configuration.extra_headers)
77
79
  end
78
80
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenRouter
4
- VERSION = "0.3.2"
4
+ VERSION = "0.3.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_router
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Obie Fernandez