diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000000000000000000000000000000000000..b2a34074bb619082870c4049576d2d8890c27d11 --- /dev/null +++ b/Gemfile @@ -0,0 +1,231 @@ +# next? was generated with `next --init` +# src/api/Gemfile.next.lock was generated with `next bundle install` +def next? + File.basename(__FILE__) == 'Gemfile.next' +end + +# Edit this Gemfile to bundle your application's dependencies. +source 'https://rubygems.org' + +# Start the Rails application using src/api/Gemfile.next with `next rails s` +if next? + gem 'rails', '~> 8.0' +else + gem 'rails', '~> 7.0' +end + +# as our database +gem 'mysql2' +# for XML handling +gem 'nokogiri' +# for delayed tasks +gem 'delayed_job_active_record' +# to fill errbit +gem 'airbrake' +gem 'airbrake-ruby' +# as JSON library - the default json conflicts with activerecord (by means of vice-versa monkey patching) +gem 'yajl-ruby', require: 'yajl/json_gem' +# to search the database +gem 'thinking-sphinx' +# to paginate search results +gem 'kaminari' +# for abstract HTML +gem 'haml' +# streamline HAML's integration in Rails +gem 'haml-rails' +# to use markdown in the comment system +gem 'redcarpet' +# for nested attribute forms +gem 'cocoon' +# for activerecord lists. Used for AttribValues +gem 'acts_as_list' +# to parse a XML string into a ruby hash +gem 'xmlhash' +# as authorization system +gem 'pundit' +# for password hashing +gem 'bcrypt' +# for threaded comments +gem 'acts_as_tree' +# js plotting (OBS monitor) +gem 'flot-rails' +# XML Serialization got moved here +gem 'activemodel-serializers-xml' +# Spider Identification +gem 'voight_kampff', require: 'voight_kampff/rails' +# for issue tracker communication +gem 'xmlrpc' +# Multiple feature switch +gem 'flipper' +gem 'flipper-active_record' +gem 'flipper-ui' +# for kerberos authentication +gem 'gssapi', require: false +# for sending events to rabbitmq +gem 'bunny' +# for making changes to existing data +gem 'data_migrate', '~> 9.0' +# for URI encoding +gem 'addressable' +# for XML builder +gem 'builder' +# to write the rails metrics directly into InfluxDB. +gem 'influxdb-rails' +# for copying objects with their relations +gem 'deep_cloneable' +# Server-side datatables +gem 'ajax-datatables-rails' +# Add syntax highlight in ruby +gem 'coderay' +# required by rails +gem 'bigdecimal' +# Catch unsafe migrations in development +gem 'strong_migrations' +# for some rails console fancy +gem 'pry-rails' +gem 'awesome_print' +# flexible and safe downloading of remote files +gem 'down' +# Simple wrapper for the GitHub API +gem 'octokit' +# Ruby wrapper and CLI for the GitLab REST API +gem 'gitlab' +# Build reusable, testable & encapsulated view components in Ruby on Rails +gem 'view_component' +# Abstraction layer for HTTP requests in custom API wrapper +gem 'faraday' +# Asset packaging system that concatenates and serves JavaScript, CoffeeScript, CSS, Sass, and SCSS +# This cannot be in the assets group since Sprockets is loaded in config/application.rb +gem 'sprockets-rails' + +# FIXME: Required by the mail gem +# See https://github.com/rails/rails/pull/44083 +gem 'net-smtp', require: false +gem 'net-pop', require: false +gem 'net-imap', require: false + +# Used in Package and XpathEngine +gem 'rexml' +# FIXME: for prawn, matrix isn't in the default set of Ruby 3.1 anymore +# see https://github.com/prawnpdf/prawn/commit/3658d5125c3b20eb11484c3b039ca6b89dc7d1b7 +gem 'matrix', '~> 0.4' + +# until we have a fix for https://github.com/rubygems/rubygems/pull/5529 +gem 'strscan', '3.0.1' + +group :development, :production do + # to have the delayed job daemon + gem 'daemons' + # as memcache client + gem 'dalli' + # to not rely on cron+rake + gem 'clockwork' + # as interface to LDAP + gem 'ruby-ldap3', require: false + # to have better logs + gem 'lograge' +end + +group :production do + # if you have an account, it can be configured by + # placing a config/newrelic.yml + # be aware about the non-OSS license + # gem 'newrelic_rpm' +end + +# Gems used only for testing the application and not required in production environments by default. +group :test do + # as testing frameworks + gem 'minitest' + gem 'test-unit' + # to ensure a clean state for testing + gem 'database_cleaner-active_record' + # for test coverage reports + gem 'simplecov', require: false + gem 'simplecov-cobertura', require: false + # for failing fast + gem 'minitest-fail-fast' + # for spec like reporting + gem 'minitest-reporters' + # for integration testing + gem 'capybara' + # to fake backend replies + gem 'webmock' + # for mocking and stubbing + gem 'mocha', require: false + # for testing common Rails functionality with simple one-liners + gem 'shoulda-matchers' + # assigns has been extracted to a gem + gem 'rails-controller-testing' + # To generate random data + gem 'rantly' + # for test analysis in CircleCI + gem 'minitest-ci' + gem 'rspec_junit_formatter' + # to test rabbitmq support + gem 'bunny-mock' +end + +group :development, :test do + # as testing framework + gem 'rspec' + gem 'rspec-rails' + # as rspec formatter + gem 'fuubar' + # for fixtures + gem 'factory_bot_rails' + # for mocking the backend + gem 'vcr' + # as alternative to the standard IRB shell + gem 'pry' + # add step-by-step debugging and stack navigation capabilities to pry + gem 'pry-byebug' + # for style checks + gem 'rubocop', require: false + # for rails style checks + gem 'rubocop-rails', require: false + # for rspec style checks + gem 'rubocop-rspec', require: false + # for performance checks + gem 'rubocop-performance' + # integrates with RuboCop to analyse HAML files + gem 'haml_lint' + # to generate random long strings + gem 'faker' + # to launch browser in test + gem 'launchy' + # for calling single testd + gem 'single_test' + # to find n+1 queries + gem 'bullet' + # Use Puma as the app server + gem 'puma' + # to drive headless chrome + gem 'selenium-webdriver' +end + +group :development do + # add a comment summarizing the current schema + gem 'annotate' + # toolkit to upgrade your Rails application + gem 'next_rails' + gem 'database_consistency', require: false +end + +# Gems used only for assets and not required in production environments by default. +group :assets do + # for minifying JavaScript + gem 'terser' + # to use sass in the asset pipeline + gem 'sassc-rails' + # assets for jQuery DataTables + gem 'jquery-datatables' + # assets for jQuery and jQuery-ujs + gem 'jquery-rails' + # assets for jQuery-ui + gem 'jquery-ui-rails', '~> 4.2.1' + # assets for the bootstrap front-end framework + gem 'bootstrap' + # assets for font-awesome vector icons + gem 'font-awesome-sass' +end diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000000000000000000000000000000000000..1ca7b413dca6e345e345a1a569f02f4d92cf9c9c --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,621 @@ +GEM + remote: https://rubygems.org/ + specs: + actioncable (7.0.6) + actionpack (= 7.0.6) + activesupport (= 7.0.6) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (7.0.6) + actionpack (= 7.0.6) + activejob (= 7.0.6) + activerecord (= 7.0.6) + activestorage (= 7.0.6) + activesupport (= 7.0.6) + mail (>= 2.7.1) + net-imap + net-pop + net-smtp + actionmailer (7.0.6) + actionpack (= 7.0.6) + actionview (= 7.0.6) + activejob (= 7.0.6) + activesupport (= 7.0.6) + mail (~> 2.5, >= 2.5.4) + net-imap + net-pop + net-smtp + rails-dom-testing (~> 2.0) + actionpack (7.0.6) + actionview (= 7.0.6) + activesupport (= 7.0.6) + 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.6) + actionpack (= 7.0.6) + activerecord (= 7.0.6) + activestorage (= 7.0.6) + activesupport (= 7.0.6) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.0.6) + activesupport (= 7.0.6) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (7.0.6) + activesupport (= 7.0.6) + globalid (>= 0.3.6) + activemodel (7.0.6) + activesupport (= 7.0.6) + activemodel-serializers-xml (1.0.2) + activemodel (> 5.x) + activesupport (> 5.x) + builder (~> 3.1) + activerecord (7.0.6) + activemodel (= 7.0.6) + activesupport (= 7.0.6) + activestorage (7.0.6) + actionpack (= 7.0.6) + activejob (= 7.0.6) + activerecord (= 7.0.6) + activesupport (= 7.0.6) + marcel (~> 1.0) + mini_mime (>= 1.1.0) + activesupport (7.0.6) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + acts_as_list (1.1.0) + activerecord (>= 4.2) + acts_as_tree (2.9.1) + activerecord (>= 3.0.0) + addressable (2.8.5) + public_suffix (>= 2.0.2, < 6.0) + airbrake (9.4.3) + airbrake-ruby (~> 4.6) + airbrake-ruby (4.6.0) + rbtree3 (~> 0.5) + ajax-datatables-rails (1.4.0) + rails (>= 5.2) + zeitwerk + amq-protocol (2.3.2) + annotate (3.2.0) + activerecord (>= 3.2, < 8.0) + rake (>= 10.4, < 14.0) + ansi (1.5.0) + ast (2.4.2) + autoprefixer-rails (10.4.13.0) + execjs (~> 2) + awesome_print (1.9.2) + base64 (0.1.1) + bcrypt (3.1.19) + bigdecimal (3.1.4) + bootstrap (5.2.3) + autoprefixer-rails (>= 9.1.0) + popper_js (>= 2.11.6, < 3) + sassc-rails (>= 2.0.0) + brow (0.4.1) + builder (3.2.4) + bullet (7.0.7) + activesupport (>= 3.0.0) + uniform_notifier (~> 1.11) + bunny (2.22.0) + amq-protocol (~> 2.3, >= 2.3.1) + sorted_set (~> 1, >= 1.0.2) + bunny-mock (1.7.0) + bunny (>= 1.7) + byebug (11.1.3) + capybara (3.39.2) + addressable + matrix + mini_mime (>= 0.1.3) + nokogiri (~> 1.8) + rack (>= 1.6.0) + rack-test (>= 0.6.3) + regexp_parser (>= 1.5, < 3.0) + xpath (~> 3.2) + childprocess (4.1.0) + clockwork (3.0.2) + activesupport + tzinfo + cocoon (1.2.15) + coderay (1.1.3) + colorize (1.1.0) + concurrent-ruby (1.2.2) + crack (0.4.5) + rexml + crass (1.0.6) + daemons (1.4.1) + dalli (3.2.5) + data_migrate (9.1.1) + activerecord (>= 6.0) + railties (>= 6.0) + database_cleaner-active_record (2.1.0) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0.0) + database_cleaner-core (2.0.1) + database_consistency (1.7.20) + activerecord (>= 3.2) + date (3.3.3) + deep_cloneable (3.2.0) + activerecord (>= 3.1.0, < 8) + delayed_job (4.1.11) + activesupport (>= 3.0, < 8.0) + delayed_job_active_record (4.1.7) + activerecord (>= 3.0, < 8.0) + delayed_job (>= 3.0, < 5) + diff-lcs (1.5.0) + docile (1.4.0) + down (5.4.1) + addressable (~> 2.8) + erubi (1.12.0) + execjs (2.8.1) + factory_bot (6.2.1) + activesupport (>= 5.0.0) + factory_bot_rails (6.2.0) + factory_bot (~> 6.2.0) + railties (>= 5.0.0) + faker (3.2.1) + i18n (>= 1.8.11, < 2) + faraday (2.7.10) + faraday-net_http (>= 2.0, < 3.1) + ruby2_keywords (>= 0.0.4) + faraday-net_http (3.0.2) + ffi (1.15.5) + flipper (1.0.0) + brow (~> 0.4.1) + concurrent-ruby (< 2) + flipper-active_record (1.0.0) + activerecord (>= 4.2, < 8) + flipper (~> 1.0.0) + flipper-ui (1.0.0) + erubi (>= 1.0.0, < 2.0.0) + flipper (~> 1.0.0) + rack (>= 1.4, < 4) + rack-protection (>= 1.5.3, <= 4.0.0) + sanitize (< 7) + flot-rails (0.0.7) + jquery-rails + font-awesome-sass (6.4.2) + sassc (~> 2.0) + fuubar (2.5.1) + rspec-core (~> 3.0) + ruby-progressbar (~> 1.4) + gitlab (4.19.0) + httparty (~> 0.20) + terminal-table (>= 1.5.1) + globalid (1.1.0) + activesupport (>= 5.0) + gssapi (1.3.1) + ffi (>= 1.0.1) + haml (6.1.2) + temple (>= 0.8.2) + thor + tilt + haml-rails (2.1.0) + actionpack (>= 5.1) + activesupport (>= 5.1) + haml (>= 4.0.6) + railties (>= 5.1) + haml_lint (0.49.3) + haml (>= 4.0, < 6.2) + parallel (~> 1.10) + rainbow + rubocop (>= 1.0) + sysexits (~> 1.1) + hashdiff (1.0.1) + httparty (0.21.0) + mini_mime (>= 1.0.0) + multi_xml (>= 0.5.2) + i18n (1.14.1) + concurrent-ruby (~> 1.0) + influxdb (0.8.1) + influxdb-rails (1.0.3) + influxdb (~> 0.6, >= 0.6.4) + railties (>= 5.0) + innertube (1.1.0) + joiner (0.6.0) + activerecord (>= 6.1.0) + jquery-datatables (1.10.20) + jquery-rails (4.6.0) + rails-dom-testing (>= 1, < 3) + railties (>= 4.2.0) + thor (>= 0.14, < 2.0) + jquery-ui-rails (4.2.1) + railties (>= 3.2.16) + json (2.10.1) + kaminari (1.2.2) + activesupport (>= 4.1.0) + kaminari-actionview (= 1.2.2) + kaminari-activerecord (= 1.2.2) + kaminari-core (= 1.2.2) + kaminari-actionview (1.2.2) + actionview + kaminari-core (= 1.2.2) + kaminari-activerecord (1.2.2) + activerecord + kaminari-core (= 1.2.2) + kaminari-core (1.2.2) + language_server-protocol (3.17.0.3) + launchy (2.5.2) + addressable (~> 2.8) + lograge (0.13.0) + actionpack (>= 4) + activesupport (>= 4) + railties (>= 4) + request_store (~> 1.0) + loofah (2.21.3) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.2) + matrix (0.4.2) + method_source (1.0.0) + middleware (0.1.0) + mini_mime (1.1.5) + mini_portile2 (2.8.4) + minitest (5.19.0) + minitest-ci (3.4.0) + minitest (>= 5.0.6) + minitest-fail-fast (0.1.0) + minitest (~> 5) + minitest-reporters (1.6.1) + ansi + builder + minitest (>= 5.0) + ruby-progressbar + mocha (2.1.0) + ruby2_keywords (>= 0.0.5) + multi_xml (0.6.0) + mysql2 (0.5.5) + net-imap (0.3.7) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.1) + timeout + net-smtp (0.3.3) + net-protocol + next_rails (1.3.0) + colorize (>= 0.8.1) + nio4r (2.5.9) + nokogiri (1.15.4) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + octokit (7.1.0) + faraday (>= 1, < 3) + sawyer (~> 0.9) + parallel (1.23.0) + parser (3.2.2.3) + ast (~> 2.4.1) + racc + pkg-config (1.5.2) + popper_js (2.11.8) + power_assert (2.0.3) + pry (0.14.2) + coderay (~> 1.1) + method_source (~> 1.0) + pry-byebug (3.10.1) + byebug (~> 11.0) + pry (>= 0.13, < 0.15) + pry-rails (0.3.9) + pry (>= 0.10.4) + public_suffix (5.0.3) + puma (6.3.1) + nio4r (~> 2.0) + pundit (2.3.1) + activesupport (>= 3.0.0) + racc (1.7.1) + rack (2.2.8) + rack-protection (3.1.0) + rack (~> 2.2, >= 2.2.4) + rack-test (2.1.0) + rack (>= 1.3) + rails (7.0.6) + actioncable (= 7.0.6) + actionmailbox (= 7.0.6) + actionmailer (= 7.0.6) + actionpack (= 7.0.6) + actiontext (= 7.0.6) + actionview (= 7.0.6) + activejob (= 7.0.6) + activemodel (= 7.0.6) + activerecord (= 7.0.6) + activestorage (= 7.0.6) + activesupport (= 7.0.6) + bundler (>= 1.15.0) + railties (= 7.0.6) + rails-controller-testing (1.0.5) + actionpack (>= 5.0.1.rc1) + actionview (>= 5.0.1.rc1) + activesupport (>= 5.0.1.rc1) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.0.6) + actionpack (= 7.0.6) + activesupport (= 7.0.6) + method_source + rake (>= 12.2) + thor (~> 1.0) + zeitwerk (~> 2.5) + rainbow (3.1.1) + rake (13.0.6) + rantly (2.0.0) + rbtree (0.4.6) + rbtree3 (0.7.1) + redcarpet (3.6.0) + regexp_parser (2.8.1) + request_store (1.5.1) + rack (>= 1.4) + rexml (3.2.6) + riddle (2.4.3) + rspec (3.12.0) + rspec-core (~> 3.12.0) + rspec-expectations (~> 3.12.0) + rspec-mocks (~> 3.12.0) + rspec-core (3.12.2) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.12.0) + rspec-mocks (3.12.6) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.12.0) + rspec-rails (6.0.3) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.12) + rspec-expectations (~> 3.12) + rspec-mocks (~> 3.12) + rspec-support (~> 3.12) + rspec-support (3.12.1) + rspec_junit_formatter (0.6.0) + rspec-core (>= 2, < 4, != 2.12.0) + rubocop (1.56.1) + base64 (~> 0.1.1) + json (~> 2.3) + language_server-protocol (>= 3.17.0) + parallel (~> 1.10) + parser (>= 3.2.2.3) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.28.1, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.29.0) + parser (>= 3.2.1.0) + rubocop-capybara (2.18.0) + rubocop (~> 1.41) + rubocop-factory_bot (2.23.1) + rubocop (~> 1.33) + rubocop-performance (1.19.0) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rails (2.20.2) + activesupport (>= 4.2.0) + rack (>= 1.1) + rubocop (>= 1.33.0, < 2.0) + rubocop-rspec (2.23.2) + rubocop (~> 1.33) + rubocop-capybara (~> 2.17) + rubocop-factory_bot (~> 2.22) + ruby-ldap3 (0.10.4) + ruby-progressbar (1.13.0) + ruby2_keywords (0.0.5) + rubyzip (2.3.2) + sanitize (6.0.2) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + sassc (2.4.0) + ffi (~> 1.9) + sassc-rails (2.1.2) + railties (>= 4.0.0) + sassc (>= 2.0) + sprockets (> 3.0) + sprockets-rails + tilt + sawyer (0.9.2) + addressable (>= 2.3.5) + faraday (>= 0.17.3, < 3) + selenium-webdriver (4.5.0) + childprocess (>= 0.5, < 5.0) + rexml (~> 3.2, >= 3.2.5) + rubyzip (>= 1.2.2, < 3.0) + websocket (~> 1.0) + set (1.0.3) + shoulda-matchers (5.3.0) + activesupport (>= 5.2.0) + simplecov (0.22.0) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + simplecov-cobertura (2.1.0) + rexml + simplecov (~> 0.19) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.4) + single_test (0.6.0) + rake + sorted_set (1.0.3) + rbtree + set (~> 1.0) + sprockets (4.2.0) + concurrent-ruby (~> 1.0) + rack (>= 2.2.4, < 4) + sprockets-rails (3.4.2) + actionpack (>= 5.2) + activesupport (>= 5.2) + sprockets (>= 3.0.0) + strong_migrations (1.6.1) + activerecord (>= 5.2) + strscan (3.0.1) + sysexits (1.2.0) + temple (0.10.2) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + terser (1.1.17) + execjs (>= 0.3.0, < 3) + test-unit (3.6.1) + power_assert + thinking-sphinx (5.5.1) + activerecord (>= 4.2.0) + builder (>= 2.1.2) + innertube (>= 1.0.2) + joiner (>= 0.3.4) + middleware (>= 0.1.0) + riddle (~> 2.3) + thor (1.2.2) + tilt (2.2.0) + timeout (0.4.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.4.2) + uniform_notifier (1.16.0) + vcr (6.2.0) + view_component (3.5.0) + activesupport (>= 5.2.0, < 8.0) + concurrent-ruby (~> 1.0) + method_source (~> 1.0) + voight_kampff (2.0.0) + rack (>= 1.4) + webmock (3.19.0) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + webrick (1.8.1) + websocket (1.2.9) + websocket-driver (0.7.6) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + xmlhash (1.3.9) + pkg-config + xmlrpc (0.3.3) + webrick + xpath (3.2.0) + nokogiri (~> 1.8) + yajl-ruby (1.4.3) + zeitwerk (2.6.11) + +PLATFORMS + ruby + +DEPENDENCIES + activemodel-serializers-xml + acts_as_list + acts_as_tree + addressable + airbrake + airbrake-ruby + ajax-datatables-rails + annotate + awesome_print + bcrypt + bigdecimal + bootstrap + builder + bullet + bunny + bunny-mock + capybara + clockwork + cocoon + coderay + daemons + dalli + data_migrate (~> 9.0) + database_cleaner-active_record + database_consistency + deep_cloneable + delayed_job_active_record + down + factory_bot_rails + faker + faraday + flipper + flipper-active_record + flipper-ui + flot-rails + font-awesome-sass + fuubar + gitlab + gssapi + haml + haml-rails + haml_lint + influxdb-rails + jquery-datatables + jquery-rails + jquery-ui-rails (~> 4.2.1) + kaminari + launchy + lograge + matrix (~> 0.4) + minitest + minitest-ci + minitest-fail-fast + minitest-reporters + mocha + mysql2 + net-imap + net-pop + net-smtp + next_rails + nokogiri + octokit + pry + pry-byebug + pry-rails + puma + pundit + rails (~> 7.0) + rails-controller-testing + rantly + redcarpet + rexml + rspec + rspec-rails + rspec_junit_formatter + rubocop + rubocop-performance + rubocop-rails + rubocop-rspec + ruby-ldap3 + sassc-rails + selenium-webdriver + shoulda-matchers + simplecov + simplecov-cobertura + single_test + sprockets-rails + strong_migrations + strscan (= 3.0.1) + terser + test-unit + thinking-sphinx + vcr + view_component + voight_kampff + webmock + xmlhash + xmlrpc + yajl-ruby + +BUNDLED WITH + 2.4.10 diff --git a/obs-server.spec b/obs-server.spec index 6a5bde274b4dbf7a7081595113272faf19e28e4a..baf5f90d661ada4b88ff4de6844231d64bd6aa48 100644 --- a/obs-server.spec +++ b/obs-server.spec @@ -6,12 +6,14 @@ Name: obs-server Version: 2.10.15 -Release: 12 +Release: 13 Summary: The Open Build Service -- Server Component License: GPL-2.0-only OR GPL-3.0-only URL: http://www.openbuildservice.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: https://github.com/openSUSE/open-build-service/archive/%{commit}.zip +Source1: Gemfile +Source2: Gemfile.lock Patch1: 0001-obs_server-fix-usage-info.patch Patch2: fix-obs_productconvert-inputfile-path.patch Patch3: obs_project_update-should-tell-the-usage-but-not-hung-still.patch @@ -84,6 +86,8 @@ rm -rf src/api/Dockerfile.frontend-base rm -rf src/backend/build #adpate to obs-bundled-gema-2.10.1 because of updating to obs-server-2.10.11 rm -rf src/api/config/brakeman.ignore +cp %{SOURCE1} src/api/Gemfile +cp %{SOURCE2} src/api/Gemfile.lock sed -i 's/2.3.26/2.4.10/g' src/api/Gemfile.lock sed -i '/sed/d' docs/api/api/Makefile @@ -510,6 +514,9 @@ usermod -a -G docker obsservicerun %{_sbindir}/obsstoragesetup %changelog +* Thu Feb 20 2025 wangkai <13474090681@163.com> - 2.10.15-13 +- Replace ruby-ldap with ruby-ldap3 to fix service failed + * Fri Dec 06 2024 Ge Wang - 2.10.15-12 - Fix error info when removed after upgrade