openai_101 1.2.6 → 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: 8c9cc0ed59ef173b5be04af98b1da0147fb68134c548976e3236a2ebd37674cf
4
- data.tar.gz: 50d942c26b60b505e76bf9d8838d643a684952580ce8ece43f00d9988b8da758
3
+ metadata.gz: 7dfc772780fd6db93024294cc849415cd357685ebdd9ea81e7c784f8f1657c30
4
+ data.tar.gz: 7de324d5da3e7a206288527c794af70e16805ed6ff5d58f6016298fc739c74f5
5
5
  SHA512:
6
- metadata.gz: 663c8c0831d5ba0a010cabd07874cfdf095296964a7f16d267f79e51f15dbd3206167dfe4aebd4b7a81a994e31b896feb8912d3c5b057a8bffddd921e56ec949
7
- data.tar.gz: fd25d0938a25d518c02e1b979dcafb2d73c79327f31d585546179d6c4a1795b46bb837e3afd20d1bca7e125b510ecf831f2ac73ed446ddade22edbb7b30a2402
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,11 @@
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
+
1
9
  ## [1.2.5](https://github.com/appydave/openai_101/compare/v1.2.4...v1.2.5) (2024-06-19)
2
10
 
3
11
 
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Openai101
4
- VERSION = '1.2.6'
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.6",
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.6",
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.6",
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.6
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