perplexity_api 0.2.0 → 0.2.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: a1fb38e349b1dec664c558b497eb1cfebb13db32a2dfe8b73235c67d1d60a8da
4
- data.tar.gz: 65c6e01e0fc38d3709b74928931804a1cd2894c5c1e2f1229f2efa12347c2a24
3
+ metadata.gz: e12f67af2fe793c9b3e55bab4bf16bb16ddc01340af2b6ed1ae89e54c0501a63
4
+ data.tar.gz: adec45a5e5209bafef27fc2ce2dd8a098654b1c7ef32de6c52bd62629a40a14c
5
5
  SHA512:
6
- metadata.gz: cbf92894516bd532e9027e64d100d98559610d14f879d4e6e346998d3adf85ba5f4dbc3c108db9c62773dd8a935ddd95df6c2e1c75fabc3ccd1efe8c85e3fd2d
7
- data.tar.gz: 5cb07fc82fad69e9f4c0b483db88e6f010250360f9aff30ab3e02152dd28eb6d9a08a901f98ae066b3eeddf1aa9c860060fe0cdbfaba00d0263073ec41ce6043
6
+ metadata.gz: 1823a33101eea983a021a20c225a379193116bc0efbaffc8aff5a49afd45d111fcb096ef6a10da433a5b136c4f8469911c3b74a46744d9873d8a0fc39aa640f3
7
+ data.tar.gz: 7d73bbe2a1d1b865bc5c72f440ebf7622df70001b0ac5f453d65432fc3668eaa507b67b6fcd3883baed28a6425d3aa130d3dfcd8f41f011732af71461fc4d7a3
data/Gemfile.lock CHANGED
@@ -1,13 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- perplexity_api (0.1.1)
4
+ perplexity_api (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  diff-lcs (1.6.1)
10
- dotenv (2.8.1)
11
10
  rake (10.5.0)
12
11
  rspec (3.13.0)
13
12
  rspec-core (~> 3.13.0)
@@ -28,7 +27,6 @@ PLATFORMS
28
27
 
29
28
  DEPENDENCIES
30
29
  bundler (~> 1.17)
31
- dotenv (~> 2.7)
32
30
  perplexity_api!
33
31
  rake (~> 10.0)
34
32
  rspec (~> 3.0)
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
1
  # PerplexityApi
2
+ [![Gem Version](https://badge.fury.io/rb/perplexity_api.svg)](https://badge.fury.io/rb/perplexity_api)
3
+ [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.txt)
2
4
 
3
5
  A Ruby wrapper gem for Perplexity AI's API. This gem allows you to easily integrate Perplexity AI's powerful language models into your Ruby applications.
4
6
 
@@ -54,13 +56,10 @@ PERPLEXITY_TOP_P=0.9
54
56
  PERPLEXITY_TOP_K=0
55
57
  ```
56
58
 
57
- If you're using the dotenv gem in your application, you can load these variables from a `.env` file:
59
+ You can set these environment variables in your application's environment or use a method of your choice to load them from a `.env` file.
58
60
 
59
61
  ```ruby
60
- require 'dotenv'
61
- Dotenv.load # Load environment variables from .env file
62
-
63
- # Then use the PerplexityApi gem
62
+ # After setting environment variables, use the PerplexityApi gem
64
63
  require 'perplexity_api'
65
64
  ```
66
65
 
@@ -1,3 +1,3 @@
1
1
  module PerplexityApi
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -38,7 +38,6 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency "bundler", "~> 1.17"
39
39
  spec.add_development_dependency "rake", "~> 10.0"
40
40
  spec.add_development_dependency "rspec", "~> 3.0"
41
- spec.add_development_dependency "dotenv", "~> 2.7"
42
41
 
43
42
  spec.required_ruby_version = ">= 2.6.0"
44
43
  end
metadata CHANGED
@@ -1,11 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perplexity_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hisafumi Kikkawa
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
10
  date: 2025-03-27 00:00:00.000000000 Z
@@ -52,20 +51,6 @@ dependencies:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
53
  version: '3.0'
55
- - !ruby/object:Gem::Dependency
56
- name: dotenv
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '2.7'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '2.7'
69
54
  description: A Ruby library for easily using Perplexity AI's API. Allows setting API
70
55
  keys, selecting models, and customizing options.
71
56
  email:
@@ -101,7 +86,6 @@ metadata:
101
86
  homepage_uri: https://github.com/hisafumi-kikkawa/perplexity_api
102
87
  source_code_uri: https://github.com/hisafumi-kikkawa/perplexity_api
103
88
  changelog_uri: https://github.com/hisafumi-kikkawa/perplexity_api/blob/master/CHANGELOG.md
104
- post_install_message:
105
89
  rdoc_options: []
106
90
  require_paths:
107
91
  - lib
@@ -116,8 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
100
  - !ruby/object:Gem::Version
117
101
  version: '0'
118
102
  requirements: []
119
- rubygems_version: 3.0.3.1
120
- signing_key:
103
+ rubygems_version: 3.6.2
121
104
  specification_version: 4
122
105
  summary: Ruby wrapper for Perplexity API
123
106
  test_files: []