ruby-openai 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: 61d4334878bbc6975011c4a27e0b7e9670d4b0abe37ac02dcd9059e2c98d3ecb
4
- data.tar.gz: db0896a130eb8931d4847127f1b165e234706c9d402728da89c326b3702ac919
3
+ metadata.gz: 100378df0cba6c07efb76083f5f74fac7a2c3cd0c3d94ce7eb82e81919182262
4
+ data.tar.gz: 14cbb7954884e1b0860b2408b92b6c366f0fffe7d665b07bc6bb9276778f1fe4
5
5
  SHA512:
6
- metadata.gz: f2d419f61441f4afb4d2aaaeb9d11b14d7ac0db905bc6f886d9069c3b9575a59657586b9a0094cf2f99c9bf1390d46a663cf4b19ea85aca89a91e78ccc59053b
7
- data.tar.gz: 6b539d35aab4aee91b8ecdd2055f26c2854435589bfd6b8665689b58983eb7bfadd0e62ff425cc1d73b4d5ef15451dcf3d41e29f00bb289a4c42937c30b04855
6
+ metadata.gz: fc4e80b899ccb6de28790cc8193a0ce99c95e0aa66f71b6aadcb0b39c6bd1f2081fdc64a49e01e481ae94ccc2bfdecd8029885a1dea286bfb91dd20870f9d6c5
7
+ data.tar.gz: 383de94193c910154b142f350d80b5ca8e45dfb434bbb79c6c5b14b6faf49fd3fed39681591a0f4d591fde6f6cf532dc8c1510f9b73d0d04e1bab7d380c7dd7c
@@ -1,25 +1,24 @@
1
1
  version: 2.1 # Use 2.1 to enable using orbs and other features.
2
2
 
3
3
  # Declare the orbs that we'll use in our config.
4
- # read more about orbs: https://circleci.com/docs/2.0/using-orbs/
5
4
  orbs:
6
5
  ruby: circleci/ruby@1.0
7
6
 
8
7
  jobs:
9
- build: # our first job, named "build"
8
+ rubocop:
9
+ parallelism: 1
10
10
  docker:
11
- - image: cimg/ruby:2.7-node # use a tailored CircleCI docker image.
11
+ - image: cimg/ruby:2.7-node
12
12
  steps:
13
- - checkout # pull down our git code.
14
- - ruby/install-deps # use the ruby orb to install dependencies
15
-
16
- test: # our next job, called "test"
17
- # we can run "parallel job containers" to enable speeding up our tests;
18
- # this splits our tests across multiple containers.
13
+ - checkout
14
+ - ruby/install-deps
15
+ - run:
16
+ name: Run Rubocop
17
+ command: bundle exec rubocop
18
+ test:
19
19
  parallelism: 1
20
20
  docker:
21
- - image: cimg/ruby:2.7-node # this is our primary docker image, where step commands run.
22
- # A series of steps to run, some are similar to those in "build".
21
+ - image: cimg/ruby:2.7-node
23
22
  steps:
24
23
  - checkout
25
24
  - ruby/install-deps
@@ -27,12 +26,9 @@ jobs:
27
26
  name: Run tests
28
27
  command: bundle exec rspec -fd
29
28
 
30
- # We use workflows to orchestrate the jobs that we declared above.
31
29
  workflows:
32
30
  version: 2
33
- build_and_test: # The name of our workflow is "build_and_test"
34
- jobs: # The list of jobs we run as part of this workflow.
35
- - build # Run build first.
36
- - test: # Then run test,
37
- requires: # Test requires that build passes for it to run.
38
- - build # Finally, run the build job.
31
+ checks:
32
+ jobs:
33
+ - rubocop
34
+ - test
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.1] - 2020-09-08
11
+
12
+ ### Added
13
+
14
+ - Run Rubocop on pulls using CircleCI.
15
+
16
+ ### Changed
17
+
18
+ - Clean up CircleCI config file.
19
+
10
20
  ## [0.1.0] - 2020-09-06
11
21
 
12
22
  ### Added
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-openai (0.1.0)
4
+ ruby-openai (0.1.1)
5
5
  dotenv (~> 2.7.6)
6
6
  httparty (~> 0.18.1)
7
7
 
data/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # Ruby::OpenAI
2
2
 
3
- [![CircleCI Build Status](https://circleci.com/gh/alexrudall/ruby-openai.svg?style=shield)](https://circleci.com/gh/alexrudall/ruby-openai)
3
+ [![Gem Version](https://badge.fury.io/rb/ruby-openai.svg)](https://badge.fury.io/rb/ruby-openai)
4
4
  [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/alexrudall/ruby-openai/blob/master/LICENSE.txt)
5
+ [![CircleCI Build Status](https://circleci.com/gh/alexrudall/ruby-openai.svg?style=shield)](https://circleci.com/gh/alexrudall/ruby-openai)
5
6
 
6
7
  A simple Ruby wrapper for the [OpenAI GPT-3 API](https://openai.com/blog/openai-api/).
7
8
 
@@ -1,5 +1,5 @@
1
1
  module Ruby
2
2
  module OpenAI
3
- VERSION = "0.1.0".freeze
3
+ VERSION = "0.1.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-openai
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
  - Alex
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-06 00:00:00.000000000 Z
11
+ date: 2020-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv