From 0ff435b9bdb90260f21d7c920302f0888623b14f Mon Sep 17 00:00:00 2001 From: vanyauhalin Date: Fri, 9 Jun 2023 12:13:14 +0400 Subject: [PATCH] ruby: pin dependency versions and add support for the arm64 platform --- web/documentserver-example/ruby/Gemfile | 69 ++---- web/documentserver-example/ruby/Gemfile.lock | 228 +++++++++---------- 2 files changed, 132 insertions(+), 165 deletions(-) diff --git a/web/documentserver-example/ruby/Gemfile b/web/documentserver-example/ruby/Gemfile index 2784219b..0e5c3c31 100644 --- a/web/documentserver-example/ruby/Gemfile +++ b/web/documentserver-example/ruby/Gemfile @@ -1,52 +1,19 @@ -source 'https://rubygems.org' +source "https://rubygems.org" -gem 'mimemagic', github: 'mimemagicrb/mimemagic', ref: '01f92d86d15d85cfd0f20dabd025dcbd36a8a60f' -# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '7.0.3.1' -# Use sqlite3 as the database for Active Record -gem 'sqlite3', '1.4.2' -# Use SCSS for stylesheets -gem 'sass-rails', '~> 6.0' -# Use Uglifier as compressor for JavaScript assets -gem 'uglifier', '>= 4.2.0' -# Use CoffeeScript for .coffee assets and views -gem 'coffee-rails', '~> 5.0.0' -# See https://github.com/sstephenson/execjs#readme for more supported runtimes -# gem 'therubyracer', platforms: :ruby - -# Use jquery as the JavaScript library -gem 'jquery-rails' -# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks -gem 'turbolinks' -# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder -gem 'jbuilder', '~> 2.11.5' -# bundle exec rake doc:rails generates the API under doc/api. -gem 'sdoc', '~> 2.4.0', group: :doc - -gem "tzinfo-data" - -# Use ActiveModel has_secure_password -# gem 'bcrypt', '~> 3.1.7' - -# Use Unicorn as the app server -# gem 'unicorn' - -# Use Capistrano for deployment -# gem 'capistrano-rails', group: :development - -group :development, :test do - # Call 'byebug' anywhere in the code to stop execution and get a debugger console - gem 'byebug' - - # Access an IRB console on exception pages or by using <%= console %> in views - gem 'web-console', '~> 4.2.0' -end - -gem 'uuid' - -gem 'rack-cors' - -gem 'webrick' - -# A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard. -gem 'jwt', '~> 2.4.1' \ No newline at end of file +gem "byebug", "~> 11.1", :groups => [:development, :test] +gem "coffee-rails", "~> 5.0" +gem "jbuilder", "~> 2.11" +gem "jquery-rails", "~> 4.5" +gem "jwt", "~> 2.7" +gem "mimemagic", github: "mimemagicrb/mimemagic", ref: "01f92d86d15d85cfd0f20dabd025dcbd36a8a60f" +gem "rack-cors", "~> 2.0" +gem "rails", "~> 7.0" +gem "sass-rails", "~> 6.0" +gem "sdoc", "~> 2.6", :group => :doc +gem "sqlite3", "1.4.2" +gem "turbolinks", "~> 5.2" +gem "tzinfo-data", "~> 1.2023" +gem "uglifier", "~> 4.2" +gem "uuid", "~> 2.3" +gem "web-console", "~> 4.2", :groups => [:development, :test] +gem "webrick", "~> 1.8" diff --git a/web/documentserver-example/ruby/Gemfile.lock b/web/documentserver-example/ruby/Gemfile.lock index 85bfc38a..d560cc40 100644 --- a/web/documentserver-example/ruby/Gemfile.lock +++ b/web/documentserver-example/ruby/Gemfile.lock @@ -8,67 +8,67 @@ GIT GEM remote: https://rubygems.org/ specs: - actioncable (7.0.3.1) - actionpack (= 7.0.3.1) - activesupport (= 7.0.3.1) + actioncable (7.0.5) + actionpack (= 7.0.5) + activesupport (= 7.0.5) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.3.1) - actionpack (= 7.0.3.1) - activejob (= 7.0.3.1) - activerecord (= 7.0.3.1) - activestorage (= 7.0.3.1) - activesupport (= 7.0.3.1) + actionmailbox (7.0.5) + actionpack (= 7.0.5) + activejob (= 7.0.5) + activerecord (= 7.0.5) + activestorage (= 7.0.5) + activesupport (= 7.0.5) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.3.1) - actionpack (= 7.0.3.1) - actionview (= 7.0.3.1) - activejob (= 7.0.3.1) - activesupport (= 7.0.3.1) + actionmailer (7.0.5) + actionpack (= 7.0.5) + actionview (= 7.0.5) + activejob (= 7.0.5) + activesupport (= 7.0.5) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.0) - actionpack (7.0.3.1) - actionview (= 7.0.3.1) - activesupport (= 7.0.3.1) - rack (~> 2.0, >= 2.2.0) + actionpack (7.0.5) + actionview (= 7.0.5) + activesupport (= 7.0.5) + rack (~> 2.0, >= 2.2.4) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.3.1) - actionpack (= 7.0.3.1) - activerecord (= 7.0.3.1) - activestorage (= 7.0.3.1) - activesupport (= 7.0.3.1) + actiontext (7.0.5) + actionpack (= 7.0.5) + activerecord (= 7.0.5) + activestorage (= 7.0.5) + activesupport (= 7.0.5) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.3.1) - activesupport (= 7.0.3.1) + actionview (7.0.5) + activesupport (= 7.0.5) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.3.1) - activesupport (= 7.0.3.1) + activejob (7.0.5) + activesupport (= 7.0.5) globalid (>= 0.3.6) - activemodel (7.0.3.1) - activesupport (= 7.0.3.1) - activerecord (7.0.3.1) - activemodel (= 7.0.3.1) - activesupport (= 7.0.3.1) - activestorage (7.0.3.1) - actionpack (= 7.0.3.1) - activejob (= 7.0.3.1) - activerecord (= 7.0.3.1) - activesupport (= 7.0.3.1) + activemodel (7.0.5) + activesupport (= 7.0.5) + activerecord (7.0.5) + activemodel (= 7.0.5) + activesupport (= 7.0.5) + activestorage (7.0.5) + actionpack (= 7.0.5) + activejob (= 7.0.5) + activerecord (= 7.0.5) + activesupport (= 7.0.5) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.3.1) + activesupport (7.0.5) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -83,91 +83,91 @@ GEM coffee-script-source execjs coffee-script-source (1.12.2) - concurrent-ruby (1.1.10) + concurrent-ruby (1.2.2) crass (1.0.6) - digest (3.1.0) - erubi (1.11.0) + date (3.3.3) + erubi (1.12.0) execjs (2.8.1) ffi (1.15.5) - ffi (1.15.5-x64-mingw-ucrt) - globalid (1.0.1) + globalid (1.1.0) activesupport (>= 5.0) - i18n (1.12.0) + i18n (1.14.1) concurrent-ruby (~> 1.0) jbuilder (2.11.5) actionview (>= 5.0.0) activesupport (>= 5.0.0) - jquery-rails (4.5.0) + jquery-rails (4.5.1) rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - jwt (2.4.1) - loofah (2.19.1) + jwt (2.7.0) + loofah (2.21.3) crass (~> 1.0.2) - nokogiri (>= 1.5.9) + nokogiri (>= 1.12.0) macaddr (1.7.2) systemu (~> 2.6.5) - mail (2.7.1) + mail (2.8.1) mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp marcel (1.0.2) method_source (1.0.0) mini_mime (1.1.2) - minitest (5.17.0) - net-imap (0.2.3) - digest + minitest (5.18.0) + net-imap (0.3.4) + date net-protocol - strscan - net-pop (0.1.1) - digest + net-pop (0.1.2) net-protocol + net-protocol (0.2.1) timeout - net-protocol (0.1.3) - timeout - net-smtp (0.3.1) - digest + net-smtp (0.3.3) net-protocol - timeout - nio4r (2.5.8) - nokogiri (1.14.3-x64-mingw-ucrt) + nio4r (2.5.9) + nokogiri (1.15.2-arm64-darwin) racc (~> 1.4) - nokogiri (1.14.3-x86_64-linux) + nokogiri (1.15.2-x64-mingw-ucrt) racc (~> 1.4) - psych (4.0.5) + nokogiri (1.15.2-x86_64-linux) + racc (~> 1.4) + psych (5.1.0) stringio - racc (1.6.2) - rack (2.2.6.4) - rack-cors (1.1.1) + racc (1.7.0) + rack (2.2.7) + rack-cors (2.0.1) rack (>= 2.0.0) - rack-test (2.0.2) + rack-test (2.1.0) rack (>= 1.3) - rails (7.0.3.1) - actioncable (= 7.0.3.1) - actionmailbox (= 7.0.3.1) - actionmailer (= 7.0.3.1) - actionpack (= 7.0.3.1) - actiontext (= 7.0.3.1) - actionview (= 7.0.3.1) - activejob (= 7.0.3.1) - activemodel (= 7.0.3.1) - activerecord (= 7.0.3.1) - activestorage (= 7.0.3.1) - activesupport (= 7.0.3.1) + rails (7.0.5) + actioncable (= 7.0.5) + actionmailbox (= 7.0.5) + actionmailer (= 7.0.5) + actionpack (= 7.0.5) + actiontext (= 7.0.5) + actionview (= 7.0.5) + activejob (= 7.0.5) + activemodel (= 7.0.5) + activerecord (= 7.0.5) + activestorage (= 7.0.5) + activesupport (= 7.0.5) bundler (>= 1.15.0) - railties (= 7.0.3.1) + railties (= 7.0.5) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.4.4) - loofah (~> 2.19, >= 2.19.1) - railties (7.0.3.1) - actionpack (= 7.0.3.1) - activesupport (= 7.0.3.1) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.0.5) + actionpack (= 7.0.5) + activesupport (= 7.0.5) method_source rake (>= 12.2) thor (~> 1.0) zeitwerk (~> 2.5) rake (13.0.6) - rdoc (6.4.0) + rdoc (6.5.0) psych (>= 4.0.0) sass-rails (6.0.0) sassc-rails (~> 2.1, >= 2.1.1) @@ -179,28 +179,27 @@ GEM sprockets (> 3.0) sprockets-rails tilt - sdoc (2.4.0) + sdoc (2.6.1) rdoc (>= 5.0) - sprockets (4.1.1) + sprockets (4.2.0) concurrent-ruby (~> 1.0) - rack (> 1, < 3) + rack (>= 2.2.4, < 4) sprockets-rails (3.4.2) actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) sqlite3 (1.4.2) - stringio (3.0.2) - strscan (3.0.4) + stringio (3.0.7) systemu (2.6.5) - thor (1.2.1) - tilt (2.0.11) - timeout (0.3.0) + thor (1.2.2) + tilt (2.2.0) + timeout (0.3.2) turbolinks (5.2.1) turbolinks-source (~> 5.2) turbolinks-source (5.2.0) - tzinfo (2.0.5) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) - tzinfo-data (1.2022.4) + tzinfo-data (1.2023.3) tzinfo (>= 1.0.0) uglifier (4.2.0) execjs (>= 0.3.0, < 3) @@ -211,34 +210,35 @@ GEM activemodel (>= 6.0.0) bindex (>= 0.4.0) railties (>= 6.0.0) - webrick (1.7.0) + webrick (1.8.1) websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - zeitwerk (2.6.0) + zeitwerk (2.6.8) PLATFORMS + arm64-darwin-22 x64-mingw-ucrt x86_64-linux DEPENDENCIES - byebug - coffee-rails (~> 5.0.0) - jbuilder (~> 2.11.5) - jquery-rails - jwt (~> 2.4.1) + byebug (~> 11.1) + coffee-rails (~> 5.0) + jbuilder (~> 2.11) + jquery-rails (~> 4.5) + jwt (~> 2.7) mimemagic! - rack-cors - rails (= 7.0.3.1) + rack-cors (~> 2.0) + rails (~> 7.0) sass-rails (~> 6.0) - sdoc (~> 2.4.0) + sdoc (~> 2.6) sqlite3 (= 1.4.2) - turbolinks - tzinfo-data - uglifier (>= 4.2.0) - uuid - web-console (~> 4.2.0) - webrick + turbolinks (~> 5.2) + tzinfo-data (~> 1.2023) + uglifier (~> 4.2) + uuid (~> 2.3) + web-console (~> 4.2) + webrick (~> 1.8) BUNDLED WITH - 2.3.7 + 2.4.10