openai_101 1.2.5 → 1.2.7

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: eb3493178c55c0286c26dd0c32de1ba55ebb5a8634bc2022da8c07163e5a7c38
4
- data.tar.gz: e9e00c37245f0050270f73ef65a59d737412a708147a8d36fa0f29ff29aa8903
3
+ metadata.gz: 7dfc772780fd6db93024294cc849415cd357685ebdd9ea81e7c784f8f1657c30
4
+ data.tar.gz: 7de324d5da3e7a206288527c794af70e16805ed6ff5d58f6016298fc739c74f5
5
5
  SHA512:
6
- metadata.gz: f36ea8ec19ff3e905aaf8417e401c725b03ced9cc5a1d444a0b288694746210de2ee84c0ea3c3dc11975255aa695fe54565d30ea0e239bbe20aac1e18018ccc9
7
- data.tar.gz: febb6375a6ffd981c90045a669511c1aadf43ec50bf144344ad36d214b05071e81129552ad16b1edddef2abe46438c6f8e3870e120ae1206006e68792222babd
6
+ metadata.gz: d798dbed1707554fc8c05acc6d1e57f102db288e3f8805671c6585beb117379c0f92a0515f6b72cf421b72ff46eb2b65e9e02822e1ce228850b83f3a43f364b3
7
+ data.tar.gz: 8b4eddaa966f371d59329633a22334cff46e42152915fdd2b03bd4294c56bc25967f88e0d6393a3cde853b46d4bf29bb5286f74fec7422f6de36d56f7cf6e59a
data/.rubocop.yml CHANGED
@@ -107,7 +107,8 @@ RSpec/NoExpectationExample:
107
107
  Enabled: false
108
108
  RSpec/SpecFilePathSuffix:
109
109
  Enabled: true
110
-
110
+ RSpec/MultipleMemoizedHelpers:
111
+ Enabled: false
111
112
  RSpec/NamedSubject:
112
113
  Exclude:
113
114
  - "**/spec/**/*"
data/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [1.2.6](https://github.com/appydave/openai_101/compare/v1.2.5...v1.2.6) (2024-06-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * models - list, retrieve ([a7b3fb7](https://github.com/appydave/openai_101/commit/a7b3fb72b3cfb30803de7ba3ad60f46c58000bd3))
7
+ * models - list, retrieve ([58f6c6a](https://github.com/appydave/openai_101/commit/58f6c6a1fb0fcaf5db0587392f7a22224c1463e1))
8
+
9
+ ## [1.2.5](https://github.com/appydave/openai_101/compare/v1.2.4...v1.2.5) (2024-06-19)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * completions API is deprecated, added support for model list ([65fba89](https://github.com/appydave/openai_101/commit/65fba896ace6c635d8a9a444c57f59534f9005b2))
15
+ * cops ([024487a](https://github.com/appydave/openai_101/commit/024487a539d64530f633baacbd37946774dd89db))
16
+
1
17
  ## [1.2.4](https://github.com/appydave/openai_101/compare/v1.2.3...v1.2.4) (2024-06-19)
2
18
 
3
19
 
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Openai101
4
- VERSION = '1.2.5'
4
+ VERSION = '1.2.7'
5
5
  end
data/lib/openai_101.rb CHANGED
@@ -1,9 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'clipboard'
4
3
  require 'openai'
5
4
 
5
+ require 'base64'
6
+ require 'clipboard'
6
7
  require 'csv'
8
+ require 'damerau-levenshtein'
7
9
  require 'json'
8
10
  require 'table_print'
9
11
  require 'pry'
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "openai_101",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "openai_101",
9
- "version": "1.2.5",
9
+ "version": "1.2.7",
10
10
  "devDependencies": {
11
11
  "@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
12
12
  "@semantic-release/changelog": "^6.0.3",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openai_101",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "description": "OpenAI 101 working through the API endpoints",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openai_101
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-19 00:00:00.000000000 Z
11
+ date: 2024-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: base64
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bigdecimal
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +80,20 @@ dependencies:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
82
  version: '3'
83
+ - !ruby/object:Gem::Dependency
84
+ name: damerau-levenshtein
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1'
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: dotenv
71
99
  requirement: !ruby/object:Gem::Requirement
@@ -157,6 +185,8 @@ files:
157
185
  - LICENSE.txt
158
186
  - README.md
159
187
  - Rakefile
188
+ - audio_speech-en-shimmer.mp3
189
+ - audio_speech-th-alloy.mp3
160
190
  - bin/console
161
191
  - bin/setup
162
192
  - config/openai-cost.json