Skip to content

Commit

Permalink
fix: build issue with 1.0.1 (#9)
Browse files Browse the repository at this point in the history
* fix: build issue with 1.0.1

Remove install example.rb

* Fix gemfile and gemspec
  • Loading branch information
jamsea authored Sep 9, 2024
1 parent a59ecf4 commit b56d298
Show file tree
Hide file tree
Showing 8 changed files with 205 additions and 227 deletions.
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: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ gemspec
group :development, :test do
gem 'rake', '~> 13.0.1'
gem 'pry-byebug'
gem 'rubocop', '~> 0.66.0'
end
34 changes: 7 additions & 27 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,44 +1,36 @@
PATH
remote: .
specs:
daily-ruby (1.0.1)
daily-ruby (1.0.2)
faraday (>= 1.0.1, < 3.0)
faraday-multipart
marcel

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
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)
net-http (0.4.1)
uri
parallel (1.26.3)
parser (3.3.4.2)
ast (~> 2.4.1)
racc
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
psych (5.1.2)
stringio
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
rspec (3.13.0)
rspec-core (~> 3.13.0)
Expand All @@ -53,18 +45,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
rubocop (0.66.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
psych (>= 3.1.0)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.6)
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
Expand All @@ -75,7 +56,6 @@ DEPENDENCIES
pry-byebug
rake (~> 13.0.1)
rspec (~> 3.6, >= 3.6.0)
rubocop (~> 0.66.0)

BUNDLED WITH
2.5.3
385 changes: 191 additions & 194 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions daily-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Generator version: 7.8.0
=end

$:.push File.expand_path("../lib", __FILE__)
require "daily-ruby/version"
require_relative 'lib/daily-ruby/version'

Gem::Specification.new do |s|
s.name = "daily-ruby"
Expand All @@ -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 b56d298

Please sign in to comment.