Skip to content

Commit

Permalink
fix: build issue with 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jamsea committed Sep 9, 2024
1 parent a59ecf4 commit 245cbf5
Show file tree
Hide file tree
Showing 9 changed files with 209 additions and 203 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ jobs:

- name: Install the gem
run: bundle exec rake install

- name: Test the gem
run: bundle install -j $(nproc) && ruby -Ilib example.rb
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ script:
- bundle install --path vendor/bundle
- bundle exec rspec
- gem build daily-ruby.gemspec
- gem install ./daily-ruby-1.0.1.gem
- gem install ./daily-ruby-1.0.2.gem
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ group :development, :test do
gem 'rake', '~> 13.0.1'
gem 'pry-byebug'
gem 'rubocop', '~> 0.66.0'
gem 'faraday', '~> 2.11.0'
end
13 changes: 8 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
daily-ruby (1.0.1)
daily-ruby (1.0.2)
faraday (>= 1.0.1, < 3.0)
faraday-multipart
marcel
Expand All @@ -13,13 +13,15 @@ GEM
byebug (11.1.3)
coderay (1.1.3)
diff-lcs (1.5.1)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday (2.11.0)
faraday-net_http (>= 2.0, < 3.4)
logger
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday-net_http (3.1.0)
faraday-net_http (3.3.0)
net-http
jaro_winkler (1.5.6)
logger (1.6.1)
marcel (1.0.4)
method_source (1.0.0)
multipart-post (2.4.0)
Expand Down Expand Up @@ -64,14 +66,15 @@ GEM
ruby-progressbar (1.13.0)
stringio (3.1.1)
unicode-display_width (1.5.0)
uri (0.13.0)
uri (0.13.1)

PLATFORMS
arm64-darwin-23
ruby

DEPENDENCIES
daily-ruby!
faraday (~> 2.11.0)
pry-byebug
rake (~> 13.0.1)
rspec (~> 3.6, >= 3.6.0)
Expand Down
385 changes: 191 additions & 194 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion daily-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |s|
s.email = ["[email protected]"]
s.homepage = "https://www.github.com/daily-co/daily-ruby"
s.summary = "The official Daily API Ruby client"
s.description = "The official Daily API Ruby client"
s.description = "The official Daily API Ruby client for Daily's REST API"
s.license = "MIT"
s.required_ruby_version = ">= 2.7"
s.metadata = {}
Expand Down
2 changes: 2 additions & 0 deletions example.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Load the gem
require 'daily-ruby'

p 'Version: ' + Daily::VERSION

# Setup authorization
Daily.configure do |config|
# Configure Bearer authorization: bearerAuth
Expand Down
2 changes: 1 addition & 1 deletion lib/daily-ruby/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
=end

module Daily
VERSION = '1.0.1'
VERSION = '1.0.2'
end
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ openapi-generator generate -g ruby -o . \
-i ~/git/pluot-core/north-star/packages/docs-site/lib/oas/index.yaml \
--additional-properties=gemName=daily-ruby \
--additional-properties=moduleName=Daily \
--additional-properties=gemVersion=1.0.1 \
--additional-properties=gemVersion=1.0.2 \
--additional-properties=gemLicense=MIT \
--additional-properties=gemAuthor=Daily \
[email protected] \
Expand Down

0 comments on commit 245cbf5

Please sign in to comment.