discourse: 2.9.0.beta1 -> 2.9.0.beta3

talyz 04afc69a f4aabde8

+306 -256
+1
nixos/modules/services/web-apps/discourse.nix
··· 609 609 connection_reaper_interval = 30; 610 610 relative_url_root = null; 611 611 message_bus_max_backlog_size = 100; 612 + message_bus_clear_every = 50; 612 613 secret_key_base = cfg.secretKeyBaseFile; 613 614 fallback_assets_path = null; 614 615
+1 -1
pkgs/servers/web-apps/discourse/admin_create.patch
··· 1 1 diff --git a/lib/tasks/admin.rake b/lib/tasks/admin.rake 2 - index 80c403616d..cba01202ac 100644 2 + index 37ef651f2b..b775129498 100644 3 3 --- a/lib/tasks/admin.rake 4 4 +++ b/lib/tasks/admin.rake 5 5 @@ -107,3 +107,43 @@ task "admin:create" => :environment do
+13
pkgs/servers/web-apps/discourse/assets_rake_command.patch
··· 1 + diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake 2 + index 68b5db61ac..d460b5753e 100644 3 + --- a/lib/tasks/assets.rake 4 + +++ b/lib/tasks/assets.rake 5 + @@ -19,7 +19,7 @@ task 'assets:precompile:before' do 6 + 7 + if only_assets_precompile_remaining 8 + # Using exec to free up Rails app memory during ember build 9 + - exec "#{compile_command} && EMBER_CLI_COMPILE_DONE=1 bin/rake assets:precompile" 10 + + exec "#{compile_command} && EMBER_CLI_COMPILE_DONE=1 bundle exec rake assets:precompile" 11 + else 12 + system compile_command 13 + end
+2 -2
pkgs/servers/web-apps/discourse/auto_generated_path.patch
··· 1 1 diff --git a/lib/plugin/instance.rb b/lib/plugin/instance.rb 2 - index e59a6fbc05..c773a1356e 100644 2 + index 8482ff0210..826d111d65 100644 3 3 --- a/lib/plugin/instance.rb 4 4 +++ b/lib/plugin/instance.rb 5 - @@ -447,7 +447,7 @@ class Plugin::Instance 5 + @@ -455,7 +455,7 @@ class Plugin::Instance 6 6 end 7 7 8 8 def auto_generated_path
+36 -6
pkgs/servers/web-apps/discourse/default.nix
··· 3 3 4 4 , ruby, replace, gzip, gnutar, git, cacert, util-linux, gawk, nettools 5 5 , imagemagick, optipng, pngquant, libjpeg, jpegoptim, gifsicle, jhead 6 - , libpsl, redis, postgresql, which, brotli, procps, rsync, icu 7 - , nodePackages, nodejs-16_x 6 + , oxipng, libpsl, redis, postgresql, which, brotli, procps, rsync, icu 7 + , fetchYarnDeps, yarn, fixup_yarn_lock, nodePackages, nodejs-14_x 8 + , nodejs-16_x 8 9 9 10 , plugins ? [] 10 11 }@args: 11 12 12 13 let 13 - version = "2.9.0.beta1"; 14 + version = "2.9.0.beta3"; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "discourse"; 17 18 repo = "discourse"; 18 19 rev = "v${version}"; 19 - sha256 = "sha256-mf2Niyv1H+Zq7RfnV93O1Ul9RdRrtmtAJMBJrb8hp3U="; 20 + sha256 = "sha256-+VYHGkISY4PFScUzk6eJ7eN9cPTjNEww/kusKcufMI0="; 20 21 }; 21 22 22 23 runtimeDeps = [ ··· 38 39 # Image optimization 39 40 imagemagick 40 41 optipng 42 + oxipng 41 43 pngquant 42 44 libjpeg 43 45 jpegoptim ··· 157 159 ]; 158 160 }; 159 161 162 + yarnOfflineCache = fetchYarnDeps { 163 + yarnLock = src + "/app/assets/javascripts/yarn.lock"; 164 + sha256 = "0xx5gncvb2mwpwwbgi4y320ji143i38vmz946xjcx5z3jxxjkymz"; 165 + }; 166 + 160 167 assets = stdenv.mkDerivation { 161 168 pname = "discourse-assets"; 162 169 inherit version src; ··· 166 173 redis 167 174 nodePackages.uglify-js 168 175 nodePackages.terser 176 + yarn 177 + nodejs-14_x 169 178 ]; 170 179 171 180 patches = [ ··· 177 186 # defaults to the plugin's directory and isn't writable at the 178 187 # time of asset generation 179 188 ./auto_generated_path.patch 189 + 190 + # Fix the rake command used to recursively execute itself in the 191 + # assets precompilation task. 192 + ./assets_rake_command.patch 180 193 ]; 181 194 182 195 # We have to set up an environment that is close enough to ··· 184 197 # run. This means that Redis and PostgreSQL has to be running and 185 198 # database migrations performed. 186 199 preBuild = '' 200 + # Yarn wants a real home directory to write cache, config, etc to 201 + export HOME=$NIX_BUILD_TOP/fake_home 202 + 203 + # Make yarn install packages from our offline cache, not the registry 204 + yarn config --offline set yarn-offline-mirror ${yarnOfflineCache} 205 + 206 + # Fixup "resolved"-entries in yarn.lock to match our offline cache 207 + ${fixup_yarn_lock}/bin/fixup_yarn_lock app/assets/javascripts/yarn.lock 208 + 187 209 export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt 188 210 211 + yarn install --offline --cwd app/assets/javascripts/discourse 212 + 213 + patchShebangs app/assets/javascripts/node_modules/ 214 + 189 215 redis-server >/dev/null & 190 216 191 217 initdb -A trust $NIX_BUILD_TOP/postgres >/dev/null ··· 211 237 export RAILS_ENV=production 212 238 213 239 bundle exec rake db:migrate >/dev/null 214 - rm -r tmp/* 240 + chmod -R +w tmp 215 241 ''; 216 242 217 243 buildPhase = '' ··· 229 255 230 256 runHook postInstall 231 257 ''; 258 + 259 + passthru = { 260 + inherit yarnOfflineCache; 261 + }; 232 262 }; 233 263 234 264 discourse = stdenv.mkDerivation { ··· 309 339 }; 310 340 311 341 passthru = { 312 - inherit rubyEnv runtimeEnv runtimeDeps rake mkDiscoursePlugin; 342 + inherit rubyEnv runtimeEnv runtimeDeps rake mkDiscoursePlugin assets; 313 343 enabledPlugins = plugins; 314 344 plugins = callPackage ./plugins/all-plugins.nix { inherit mkDiscoursePlugin; }; 315 345 ruby = rubyEnv.wrappedRuby;
+2 -2
pkgs/servers/web-apps/discourse/nixos_defaults.patch
··· 1 1 diff --git a/app/models/site_setting.rb b/app/models/site_setting.rb 2 - index 89a5e923fc..b60754f50a 100644 2 + index a6641f967a..a45353504a 100644 3 3 --- a/app/models/site_setting.rb 4 4 +++ b/app/models/site_setting.rb 5 - @@ -26,6 +26,8 @@ class SiteSetting < ActiveRecord::Base 5 + @@ -21,6 +21,8 @@ class SiteSetting < ActiveRecord::Base 6 6 end 7 7 end 8 8
+1 -1
pkgs/servers/web-apps/discourse/plugin_gem_api_version.patch
··· 1 1 diff --git a/lib/plugin_gem.rb b/lib/plugin_gem.rb 2 - index 855d1aca2c..8115623547 100644 2 + index 49882b2cd9..96672df2ea 100644 3 3 --- a/lib/plugin_gem.rb 4 4 +++ b/lib/plugin_gem.rb 5 5 @@ -4,7 +4,7 @@ module PluginGem
+10 -5
pkgs/servers/web-apps/discourse/rubyEnv/Gemfile
··· 18 18 # this allows us to include the bits of rails we use without pieces we do not. 19 19 # 20 20 # To issue a rails update bump the version number here 21 - rails_version = '6.1.4.1' 21 + rails_version = '6.1.4.7' 22 22 gem 'actionmailer', rails_version 23 23 gem 'actionpack', rails_version 24 24 gem 'actionview', rails_version ··· 105 105 106 106 gem 'omniauth-google-oauth2' 107 107 108 - # Pinning oj until https://github.com/ohler55/oj/issues/699 is resolved. 109 - # Segfaults and stuck processes after upgrading. 110 - gem 'oj', '3.13.2' 108 + gem 'oj' 111 109 112 110 gem 'pg' 113 111 gem 'mini_sql' ··· 135 133 gem 'addressable' 136 134 gem 'json_schemer' 137 135 136 + if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.1") 137 + # net-smtp, net-imap and net-pop were removed from default gems in Ruby 3.1 138 + gem "net-smtp", "~> 0.2.1", require: false 139 + gem "net-imap", "~> 0.2.1", require: false 140 + gem "net-pop", "~> 0.1.1", require: false 141 + gem "digest", "3.0.0", require: false 142 + end 143 + 138 144 # Gems used only for assets and not required in production environments by default. 139 145 # Allow everywhere for now cause we are allowing asset debugging in production 140 146 group :assets do ··· 152 158 153 159 group :test, :development do 154 160 gem 'rspec' 155 - gem 'mock_redis' 156 161 gem 'listen', require: false 157 162 gem 'certified', require: false 158 163 gem 'fabrication', require: false
+98 -101
pkgs/servers/web-apps/discourse/rubyEnv/Gemfile.lock
··· 8 8 GEM 9 9 remote: https://rubygems.org/ 10 10 specs: 11 - actionmailer (6.1.4.1) 12 - actionpack (= 6.1.4.1) 13 - actionview (= 6.1.4.1) 14 - activejob (= 6.1.4.1) 15 - activesupport (= 6.1.4.1) 11 + actionmailer (6.1.4.7) 12 + actionpack (= 6.1.4.7) 13 + actionview (= 6.1.4.7) 14 + activejob (= 6.1.4.7) 15 + activesupport (= 6.1.4.7) 16 16 mail (~> 2.5, >= 2.5.4) 17 17 rails-dom-testing (~> 2.0) 18 - actionpack (6.1.4.1) 19 - actionview (= 6.1.4.1) 20 - activesupport (= 6.1.4.1) 18 + actionpack (6.1.4.7) 19 + actionview (= 6.1.4.7) 20 + activesupport (= 6.1.4.7) 21 21 rack (~> 2.0, >= 2.0.9) 22 22 rack-test (>= 0.6.3) 23 23 rails-dom-testing (~> 2.0) 24 24 rails-html-sanitizer (~> 1.0, >= 1.2.0) 25 - actionview (6.1.4.1) 26 - activesupport (= 6.1.4.1) 25 + actionview (6.1.4.7) 26 + activesupport (= 6.1.4.7) 27 27 builder (~> 3.1) 28 28 erubi (~> 1.4) 29 29 rails-dom-testing (~> 2.0) ··· 32 32 actionview (>= 6.0.a) 33 33 active_model_serializers (0.8.4) 34 34 activemodel (>= 3.0) 35 - activejob (6.1.4.1) 36 - activesupport (= 6.1.4.1) 35 + activejob (6.1.4.7) 36 + activesupport (= 6.1.4.7) 37 37 globalid (>= 0.3.6) 38 - activemodel (6.1.4.1) 39 - activesupport (= 6.1.4.1) 40 - activerecord (6.1.4.1) 41 - activemodel (= 6.1.4.1) 42 - activesupport (= 6.1.4.1) 43 - activesupport (6.1.4.1) 38 + activemodel (6.1.4.7) 39 + activesupport (= 6.1.4.7) 40 + activerecord (6.1.4.7) 41 + activemodel (= 6.1.4.7) 42 + activesupport (= 6.1.4.7) 43 + activesupport (6.1.4.7) 44 44 concurrent-ruby (~> 1.0, >= 1.0.2) 45 45 i18n (>= 1.6, < 2) 46 46 minitest (>= 5.1) ··· 48 48 zeitwerk (~> 2.3) 49 49 addressable (2.8.0) 50 50 public_suffix (>= 2.0.2, < 5.0) 51 - annotate (3.1.1) 52 - activerecord (>= 3.2, < 7.0) 51 + annotate (3.2.0) 52 + activerecord (>= 3.2, < 8.0) 53 53 rake (>= 10.4, < 14.0) 54 54 ast (2.4.2) 55 55 aws-eventstream (1.2.0) ··· 80 80 rack (>= 0.9.0) 81 81 binding_of_caller (1.0.0) 82 82 debug_inspector (>= 0.0.1) 83 - bootsnap (1.9.4) 84 - msgpack (~> 1.0) 83 + bootsnap (1.11.1) 84 + msgpack (~> 1.2) 85 85 builder (3.2.4) 86 86 bullet (7.0.1) 87 87 activesupport (>= 3.0.0) ··· 97 97 cose (1.2.0) 98 98 cbor (~> 0.5.9) 99 99 openssl-signature_algorithm (~> 1.0) 100 - cppjieba_rb (0.3.3) 100 + cppjieba_rb (0.4.2) 101 101 crack (0.4.5) 102 102 rexml 103 103 crass (1.0.6) ··· 129 129 sprockets (>= 3.3, < 4.1) 130 130 ember-source (2.18.2) 131 131 erubi (1.10.0) 132 - excon (0.89.0) 132 + excon (0.92.1) 133 133 execjs (2.8.1) 134 134 exifr (1.3.9) 135 - fabrication (2.24.0) 136 - faker (2.19.0) 137 - i18n (>= 1.6, < 2) 135 + fabrication (2.27.0) 136 + faker (2.20.0) 137 + i18n (>= 1.8.11, < 2) 138 138 fakeweb (1.3.0) 139 - faraday (1.9.3) 139 + faraday (1.10.0) 140 140 faraday-em_http (~> 1.0) 141 141 faraday-em_synchrony (~> 1.0) 142 142 faraday-excon (~> 1.1) ··· 175 175 hkdf (0.3.0) 176 176 htmlentities (4.3.4) 177 177 http_accept_language (2.1.1) 178 - i18n (1.8.11) 178 + i18n (1.10.0) 179 179 concurrent-ruby (~> 1.0) 180 180 image_optim (0.31.1) 181 181 exifr (~> 1.2, >= 1.2.2) ··· 184 184 in_threads (~> 1.3) 185 185 progress (~> 3.0, >= 3.0.1) 186 186 image_size (3.0.1) 187 - in_threads (1.5.4) 188 - ipaddr (1.2.3) 189 - jmespath (1.5.0) 187 + in_threads (1.6.0) 188 + ipaddr (1.2.4) 189 + jmespath (1.6.1) 190 190 jquery-rails (4.4.0) 191 191 rails-dom-testing (>= 1, < 3) 192 192 railties (>= 4.2.0) ··· 194 194 json (2.6.1) 195 195 json-schema (2.8.1) 196 196 addressable (>= 2.4) 197 - json_schemer (0.2.18) 197 + json_schemer (0.2.19) 198 198 ecma-re-validator (~> 0.3) 199 199 hana (~> 1.3) 200 200 regexp_parser (~> 2.0) ··· 214 214 logstash-event (1.2.02) 215 215 logstash-logger (0.26.1) 216 216 logstash-event (~> 1.2) 217 - logster (2.10.1) 218 - loofah (2.13.0) 217 + logster (2.11.0) 218 + loofah (2.15.0) 219 219 crass (~> 1.0.2) 220 220 nokogiri (>= 1.5.9) 221 221 lru_redux (1.1.0) 222 222 lz4-ruby (0.3.3) 223 223 maxminddb (0.1.22) 224 224 memory_profiler (1.0.0) 225 - message_bus (4.0.0) 225 + message_bus (4.2.0) 226 226 rack (>= 1.1.3) 227 227 method_source (1.0.0) 228 228 mini_mime (1.1.2) 229 - mini_portile2 (2.6.1) 230 - mini_racer (0.6.1) 229 + mini_portile2 (2.8.0) 230 + mini_racer (0.6.2) 231 231 libv8-node (~> 16.10.0.0) 232 232 mini_scheduler (0.13.0) 233 233 sidekiq (>= 4.2.3) 234 - mini_sql (1.1.3) 234 + mini_sql (1.4.0) 235 235 mini_suffix (0.3.3) 236 236 ffi (~> 1.9) 237 237 minitest (5.15.0) 238 238 mocha (1.13.0) 239 - mock_redis (0.29.0) 240 - ruby2_keywords 241 - msgpack (1.4.2) 239 + msgpack (1.4.5) 242 240 multi_json (1.15.0) 243 241 multi_xml (0.6.0) 244 242 multipart-post (2.1.1) 245 243 mustache (1.1.1) 246 244 nio4r (2.5.8) 247 - nokogiri (1.12.5) 248 - mini_portile2 (~> 2.6.1) 245 + nokogiri (1.13.3) 246 + mini_portile2 (~> 2.8.0) 249 247 racc (~> 1.4) 250 248 oauth (0.5.8) 251 249 oauth2 (1.4.7) ··· 254 252 multi_json (~> 1.3) 255 253 multi_xml (~> 0.5) 256 254 rack (>= 1.2, < 3) 257 - oj (3.13.2) 255 + oj (3.13.11) 258 256 omniauth (1.9.1) 259 257 hashie (>= 3.4.6) 260 258 rack (>= 1.6.2, < 3) ··· 282 280 openssl-signature_algorithm (1.1.1) 283 281 openssl (~> 2.0) 284 282 optimist (3.0.1) 285 - parallel (1.21.0) 283 + parallel (1.22.0) 286 284 parallel_tests (3.7.3) 287 285 parallel 288 - parser (3.1.0.0) 286 + parser (3.1.1.0) 289 287 ast (~> 2.4.1) 290 - pg (1.2.3) 288 + pg (1.3.4) 291 289 progress (3.6.0) 292 290 pry (0.13.1) 293 291 coderay (~> 1.1) ··· 298 296 pry-rails (0.3.9) 299 297 pry (>= 0.10.4) 300 298 public_suffix (4.0.6) 301 - puma (5.5.2) 299 + puma (5.6.2) 302 300 nio4r (~> 2.0) 303 301 r2 (0.2.7) 304 302 racc (1.6.0) 305 303 rack (2.2.3) 306 - rack-mini-profiler (2.3.3) 304 + rack-mini-profiler (3.0.0) 307 305 rack (>= 1.2.0) 308 - rack-protection (2.1.0) 306 + rack-protection (2.2.0) 309 307 rack 310 308 rack-test (1.1.0) 311 309 rack (>= 1.0, < 3) ··· 314 312 nokogiri (>= 1.6) 315 313 rails-html-sanitizer (1.4.2) 316 314 loofah (~> 2.3) 317 - rails_failover (0.7.3) 318 - activerecord (~> 6.0) 315 + rails_failover (0.8.1) 316 + activerecord (> 6.0, < 7.1) 319 317 concurrent-ruby 320 - railties (~> 6.0) 321 - rails_multisite (4.0.0) 322 - activerecord (> 5.0, < 7) 323 - railties (> 5.0, < 7) 324 - railties (6.1.4.1) 325 - actionpack (= 6.1.4.1) 326 - activesupport (= 6.1.4.1) 318 + railties (> 6.0, < 7.1) 319 + rails_multisite (4.0.1) 320 + activerecord (> 5.0, < 7.1) 321 + railties (> 5.0, < 7.1) 322 + railties (6.1.4.7) 323 + actionpack (= 6.1.4.7) 324 + activesupport (= 6.1.4.7) 327 325 method_source 328 326 rake (>= 0.13) 329 327 thor (~> 1.0) 330 328 rainbow (3.1.1) 331 329 raindrops (0.20.0) 332 330 rake (13.0.6) 333 - rb-fsevent (0.11.0) 331 + rb-fsevent (0.11.1) 334 332 rb-inotify (0.10.1) 335 333 ffi (~> 1.0) 336 334 rbtrace (0.4.14) ··· 339 337 optimist (>= 3.0.0) 340 338 rchardet (1.8.0) 341 339 redis (4.5.1) 342 - redis-namespace (1.8.1) 340 + redis-namespace (1.8.2) 343 341 redis (>= 3.0.4) 344 - regexp_parser (2.2.0) 345 - request_store (1.5.0) 342 + regexp_parser (2.2.1) 343 + request_store (1.5.1) 346 344 rack (>= 1.4) 347 345 rexml (3.2.5) 348 346 rinku (2.0.6) 349 347 rotp (6.2.0) 350 - rqrcode (2.1.0) 348 + rqrcode (2.1.1) 351 349 chunky_png (~> 1.0) 352 350 rqrcode_core (~> 1.0) 353 351 rqrcode_core (1.2.0) 354 - rspec (3.10.0) 355 - rspec-core (~> 3.10.0) 356 - rspec-expectations (~> 3.10.0) 357 - rspec-mocks (~> 3.10.0) 358 - rspec-core (3.10.1) 359 - rspec-support (~> 3.10.0) 360 - rspec-expectations (3.10.2) 352 + rspec (3.11.0) 353 + rspec-core (~> 3.11.0) 354 + rspec-expectations (~> 3.11.0) 355 + rspec-mocks (~> 3.11.0) 356 + rspec-core (3.11.0) 357 + rspec-support (~> 3.11.0) 358 + rspec-expectations (3.11.0) 361 359 diff-lcs (>= 1.2.0, < 2.0) 362 - rspec-support (~> 3.10.0) 360 + rspec-support (~> 3.11.0) 363 361 rspec-html-matchers (0.9.4) 364 362 nokogiri (~> 1) 365 363 rspec (>= 3.0.0.a, < 4) 366 - rspec-mocks (3.10.2) 364 + rspec-mocks (3.11.0) 367 365 diff-lcs (>= 1.2.0, < 2.0) 368 - rspec-support (~> 3.10.0) 369 - rspec-rails (5.0.2) 366 + rspec-support (~> 3.11.0) 367 + rspec-rails (5.1.1) 370 368 actionpack (>= 5.2) 371 369 activesupport (>= 5.2) 372 370 railties (>= 5.2) ··· 374 372 rspec-expectations (~> 3.10) 375 373 rspec-mocks (~> 3.10) 376 374 rspec-support (~> 3.10) 377 - rspec-support (3.10.3) 375 + rspec-support (3.11.0) 378 376 rss (0.2.9) 379 377 rexml 380 - rswag-specs (2.4.0) 381 - activesupport (>= 3.1, < 7.0) 378 + rswag-specs (2.5.1) 379 + activesupport (>= 3.1, < 7.1) 382 380 json-schema (~> 2.2) 383 - railties (>= 3.1, < 7.0) 381 + railties (>= 3.1, < 7.1) 384 382 rtlit (0.0.5) 385 - rubocop (1.25.0) 383 + rubocop (1.26.0) 386 384 parallel (~> 1.10) 387 385 parser (>= 3.1.0.0) 388 386 rainbow (>= 2.2.2, < 4.0) 389 387 regexp_parser (>= 1.8, < 3.0) 390 388 rexml 391 - rubocop-ast (>= 1.15.1, < 2.0) 389 + rubocop-ast (>= 1.16.0, < 2.0) 392 390 ruby-progressbar (~> 1.7) 393 391 unicode-display_width (>= 1.4.0, < 3.0) 394 - rubocop-ast (1.15.1) 395 - parser (>= 3.0.1.1) 392 + rubocop-ast (1.16.0) 393 + parser (>= 3.1.1.0) 396 394 rubocop-discourse (2.5.0) 397 395 rubocop (>= 1.1.0) 398 396 rubocop-rspec (>= 2.0.0) 399 - rubocop-rspec (2.7.0) 397 + rubocop-rspec (2.9.0) 400 398 rubocop (~> 1.19) 401 399 ruby-prof (1.4.3) 402 400 ruby-progressbar (1.11.0) ··· 422 420 activesupport (>= 3.1) 423 421 shoulda-matchers (5.1.0) 424 422 activesupport (>= 5.2.0) 425 - sidekiq (6.3.1) 423 + sidekiq (6.4.1) 426 424 connection_pool (>= 2.2.2) 427 425 rack (~> 2.0) 428 426 redis (>= 4.2.0) ··· 431 429 simplecov-html (~> 0.11) 432 430 simplecov_json_formatter (~> 0.1) 433 431 simplecov-html (0.12.3) 434 - simplecov_json_formatter (0.1.3) 432 + simplecov_json_formatter (0.1.4) 435 433 sprockets (3.7.2) 436 434 concurrent-ruby (~> 1.0) 437 435 rack (> 1, < 3) ··· 440 438 activesupport (>= 5.2) 441 439 sprockets (>= 3.0.0) 442 440 sshkey (2.0.0) 443 - stackprof (0.2.17) 441 + stackprof (0.2.19) 444 442 test-prof (1.0.7) 445 443 thor (1.2.1) 446 444 tilt (2.0.10) ··· 450 448 execjs (>= 0.3.0, < 3) 451 449 unf (0.1.4) 452 450 unf_ext 453 - unf_ext (0.0.8) 451 + unf_ext (0.0.8.1) 454 452 unicode-display_width (2.1.0) 455 453 unicorn (6.1.0) 456 454 kgio (~> 2.6) 457 455 raindrops (~> 0.7) 458 - uniform_notifier (1.14.2) 456 + uniform_notifier (1.15.0) 459 457 uri_template (0.7.0) 460 458 webmock (3.14.0) 461 459 addressable (>= 2.8.0) ··· 466 464 jwt (~> 2.0) 467 465 xorcist (1.1.2) 468 466 yaml-lint (0.0.10) 469 - zeitwerk (2.5.3) 467 + zeitwerk (2.5.4) 470 468 471 469 PLATFORMS 472 470 ruby 473 471 474 472 DEPENDENCIES 475 - actionmailer (= 6.1.4.1) 476 - actionpack (= 6.1.4.1) 477 - actionview (= 6.1.4.1) 473 + actionmailer (= 6.1.4.7) 474 + actionpack (= 6.1.4.7) 475 + actionview (= 6.1.4.7) 478 476 actionview_precompiler 479 477 active_model_serializers (~> 0.8.3) 480 - activemodel (= 6.1.4.1) 481 - activerecord (= 6.1.4.1) 482 - activesupport (= 6.1.4.1) 478 + activemodel (= 6.1.4.7) 479 + activerecord (= 6.1.4.7) 480 + activesupport (= 6.1.4.7) 483 481 addressable 484 482 annotate 485 483 aws-sdk-s3 ··· 537 535 mini_suffix 538 536 minitest 539 537 mocha 540 - mock_redis 541 538 multi_json 542 539 mustache 543 540 nokogiri 544 - oj (= 3.13.2) 541 + oj 545 542 omniauth 546 543 omniauth-facebook 547 544 omniauth-github ··· 559 556 rack-protection 560 557 rails_failover 561 558 rails_multisite 562 - railties (= 6.1.4.1) 559 + railties (= 6.1.4.7) 563 560 rake 564 561 rb-fsevent 565 562 rbtrace ··· 601 598 yaml-lint 602 599 603 600 BUNDLED WITH 604 - 2.3.4 601 + 2.3.5
+117 -128
pkgs/servers/web-apps/discourse/rubyEnv/gemset.nix
··· 5 5 platforms = []; 6 6 source = { 7 7 remotes = ["https://rubygems.org"]; 8 - sha256 = "00s07l2ac5igch1g2rpa0linmiq7mhgk6v6wxkckg8gbiqijb592"; 8 + sha256 = "0rjm6rx3qbqgxczy2a8l6hff72166hsf878fy2v1ik4pp8rh9cxa"; 9 9 type = "gem"; 10 10 }; 11 - version = "6.1.4.1"; 11 + version = "6.1.4.7"; 12 12 }; 13 13 actionpack = { 14 14 dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"]; ··· 16 16 platforms = []; 17 17 source = { 18 18 remotes = ["https://rubygems.org"]; 19 - sha256 = "0xgysqnibjsy6kdz10x2xb3kwa6lssiqhh0zggrbgs31ypwhlpia"; 19 + sha256 = "0cr02mj9wic0xbdrhjipk58cdljsfl4mplhqr9whn3l5qg8x5814"; 20 20 type = "gem"; 21 21 }; 22 - version = "6.1.4.1"; 22 + version = "6.1.4.7"; 23 23 }; 24 24 actionview = { 25 25 dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"]; ··· 27 27 platforms = []; 28 28 source = { 29 29 remotes = ["https://rubygems.org"]; 30 - sha256 = "1yf4ic5kl324rs0raralpwx24s6hvvdzxfhinafylf8f3x7jj23z"; 30 + sha256 = "02x8cxq2bhgj5r9vpdjz8a56awg22gqvnqn01dqwyx8ny6sirzac"; 31 31 type = "gem"; 32 32 }; 33 - version = "6.1.4.1"; 33 + version = "6.1.4.7"; 34 34 }; 35 35 actionview_precompiler = { 36 36 dependencies = ["actionview"]; ··· 60 60 platforms = []; 61 61 source = { 62 62 remotes = ["https://rubygems.org"]; 63 - sha256 = "1q7c0i0kwarxgcbxk71wa9jnlg45grbxmhlrh7dk9bgcv7r7r7hn"; 63 + sha256 = "1g8dpxjzj7k3sjfjhfia21bwzmgc721lafpk2napravmq1qi0rkj"; 64 64 type = "gem"; 65 65 }; 66 - version = "6.1.4.1"; 66 + version = "6.1.4.7"; 67 67 }; 68 68 activemodel = { 69 69 dependencies = ["activesupport"]; ··· 71 71 platforms = []; 72 72 source = { 73 73 remotes = ["https://rubygems.org"]; 74 - sha256 = "16ixam4lni8b5lgx0whnax0imzh1dh10fy5r9pxs52n83yz5nbq3"; 74 + sha256 = "01mzgr5pdxcki023p96bj77by1iblv9bq6pwmbly931bjwhr5irv"; 75 75 type = "gem"; 76 76 }; 77 - version = "6.1.4.1"; 77 + version = "6.1.4.7"; 78 78 }; 79 79 activerecord = { 80 80 dependencies = ["activemodel" "activesupport"]; ··· 82 82 platforms = []; 83 83 source = { 84 84 remotes = ["https://rubygems.org"]; 85 - sha256 = "1ccgvlj767ybps3pxlaa4iw77n7wbriw2sr8754id3ngjfap08ja"; 85 + sha256 = "1idirwh7dzhzcjsssnghqyjl87inh84za0cmrf8g323p9qsx879l"; 86 86 type = "gem"; 87 87 }; 88 - version = "6.1.4.1"; 88 + version = "6.1.4.7"; 89 89 }; 90 90 activesupport = { 91 91 dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo" "zeitwerk"]; ··· 93 93 platforms = []; 94 94 source = { 95 95 remotes = ["https://rubygems.org"]; 96 - sha256 = "19gx1jcq46x9d1pi1w8xq0bgvvfw239y4lalr8asm291gj3q3ds4"; 96 + sha256 = "04j9cgv729mcz2jwr312nr5aswv07s6kjynmf59w61j395dfcvw9"; 97 97 type = "gem"; 98 98 }; 99 - version = "6.1.4.1"; 99 + version = "6.1.4.7"; 100 100 }; 101 101 addressable = { 102 102 dependencies = ["public_suffix"]; ··· 111 111 }; 112 112 annotate = { 113 113 dependencies = ["activerecord" "rake"]; 114 - groups = ["development"]; 114 + groups = ["development" "test"]; 115 115 platforms = []; 116 116 source = { 117 117 remotes = ["https://rubygems.org"]; 118 - sha256 = "1dxrfppwfg13vqmambbs56xjj8qsdgcy58r2yc44vvy3z1g5yflw"; 118 + sha256 = "1lw0fxb5mirsdp3bp20gjyvs7clvi19jbxnrm2ihm20kzfhvlqcs"; 119 119 type = "gem"; 120 120 }; 121 - version = "3.1.1"; 121 + version = "3.2.0"; 122 122 }; 123 123 ast = { 124 124 groups = ["default" "development" "test"]; ··· 252 252 }]; 253 253 source = { 254 254 remotes = ["https://rubygems.org"]; 255 - sha256 = "19i4x2nascd74ahcvmrsnf03cygh1y4c9yf8rcv91fv0mcxpvb9n"; 255 + sha256 = "0bjhh8pngmvnrsri2h6a753pgv0xdkbbgi1bmv6c7q137sp37jbg"; 256 256 type = "gem"; 257 257 }; 258 - version = "1.9.4"; 258 + version = "1.11.1"; 259 259 }; 260 260 builder = { 261 261 groups = ["default" "development" "test"]; ··· 382 382 platforms = []; 383 383 source = { 384 384 remotes = ["https://rubygems.org"]; 385 - sha256 = "1sslff7yy8jvp4rcn1b6jn9v0d3iibb68i79shgd94rs2yq8k117"; 385 + sha256 = "0ijzvnm5jclyhf6ls30kv7dqy05f3hbha69f59jwbzdid7dndla5"; 386 386 type = "gem"; 387 387 }; 388 - version = "0.3.3"; 388 + version = "0.4.2"; 389 389 }; 390 390 crack = { 391 391 dependencies = ["rexml"]; ··· 573 573 platforms = []; 574 574 source = { 575 575 remotes = ["https://rubygems.org"]; 576 - sha256 = "0153rr745g48h48vaplgmx7xkfjbc79acpq5jsl7agdrk4yf75ih"; 576 + sha256 = "12d0xkb2qkydygs4py2z2m7vzx0hygx2dnyk98ja8lkj2k348925"; 577 577 type = "gem"; 578 578 }; 579 - version = "0.89.0"; 579 + version = "0.92.1"; 580 580 }; 581 581 execjs = { 582 582 groups = ["assets" "default"]; ··· 603 603 platforms = []; 604 604 source = { 605 605 remotes = ["https://rubygems.org"]; 606 - sha256 = "09b6gyqf76iflxh9v69k59xhxmrx1akdp2mbg8k8nb5rxy0sz0v6"; 606 + sha256 = "1zmak7fgis1nk9j157g2rjzxrw9prr3jzlxap9vix3xm0gkihr53"; 607 607 type = "gem"; 608 608 }; 609 - version = "2.24.0"; 609 + version = "2.27.0"; 610 610 }; 611 611 faker = { 612 612 dependencies = ["i18n"]; ··· 614 614 platforms = []; 615 615 source = { 616 616 remotes = ["https://rubygems.org"]; 617 - sha256 = "0hb9wfxyb4ss2vl2mrj1zgdk7dh4yaxghq22gbx62yxj5yb9w4zw"; 617 + sha256 = "1694ndj701a8q4c4bwxz53kx94ih1rr4pgr4gk7a6c8k4jsbjgwi"; 618 618 type = "gem"; 619 619 }; 620 - version = "2.19.0"; 620 + version = "2.20.0"; 621 621 }; 622 622 fakeweb = { 623 623 groups = ["test"]; ··· 635 635 platforms = []; 636 636 source = { 637 637 remotes = ["https://rubygems.org"]; 638 - sha256 = "0y32gj994ll3zlcqjmwp78r7s03iiwayij6fz2pjpkfywgvp71s6"; 638 + sha256 = "00palwawk897p5gypw5wjrh93d4p0xz2yl9w93yicb4kq7amh8d4"; 639 639 type = "gem"; 640 640 }; 641 - version = "1.9.3"; 641 + version = "1.10.0"; 642 642 }; 643 643 faraday-em_http = { 644 644 groups = ["default"]; ··· 918 918 platforms = []; 919 919 source = { 920 920 remotes = ["https://rubygems.org"]; 921 - sha256 = "0vdd1kii40qhbr9n8qx71k2gskq6rkl8ygy8hw5hfj8bb5a364xf"; 921 + sha256 = "0b2qyvnk4yynlg17ymkq4g5xgr275637fhl1mjh0valw3cb1fhhg"; 922 922 type = "gem"; 923 923 }; 924 - version = "1.8.11"; 924 + version = "1.10.0"; 925 925 }; 926 926 image_optim = { 927 927 dependencies = ["exifr" "fspath" "image_size" "in_threads" "progress"]; ··· 949 949 platforms = []; 950 950 source = { 951 951 remotes = ["https://rubygems.org"]; 952 - sha256 = "0m71806p1gm4kxiz4gvkyr8qip16hifn2kdf926jz44jj6kc6bbs"; 952 + sha256 = "0j9132d4g8prjafgdh4pw948j527kr09m2lvylrcd797il9yd9wi"; 953 953 type = "gem"; 954 954 }; 955 - version = "1.5.4"; 955 + version = "1.6.0"; 956 956 }; 957 957 ipaddr = { 958 958 groups = ["default"]; 959 959 platforms = []; 960 960 source = { 961 961 remotes = ["https://rubygems.org"]; 962 - sha256 = "0s2cipiyhm1r8igc1n43py5p5r3rdz8lvagaa61jrm62prn7v5b2"; 962 + sha256 = "13qd34nzpgp3fxfjbvaqg3dcnfr0cgl5vjvcqy0hfllbvfcklnbq"; 963 963 type = "gem"; 964 964 }; 965 - version = "1.2.3"; 965 + version = "1.2.4"; 966 966 }; 967 967 jmespath = { 968 968 groups = ["default"]; 969 969 platforms = []; 970 970 source = { 971 971 remotes = ["https://rubygems.org"]; 972 - sha256 = "1ylph158dc3ql6cvkik00ab6gf2k1rv2dii63m196xclhkzwfyan"; 972 + sha256 = "1mnvb80cdg7fzdcs3xscv21p28w4igk5sj5m7m81xp8v2ks87jj0"; 973 973 type = "gem"; 974 974 }; 975 - version = "1.5.0"; 975 + version = "1.6.1"; 976 976 }; 977 977 jquery-rails = { 978 978 dependencies = ["rails-dom-testing" "railties" "thor"]; ··· 1012 1012 platforms = []; 1013 1013 source = { 1014 1014 remotes = ["https://rubygems.org"]; 1015 - sha256 = "1rkb7gz819g82n3xshb5g8kgv1nvgwg1lm2fk7715pggzcgc4qik"; 1015 + sha256 = "03lzdfwpmywxc6l5apnhfjwl8swf9jz2ajwjgq38am0q60ggjrcf"; 1016 1016 type = "gem"; 1017 1017 }; 1018 - version = "0.2.18"; 1018 + version = "0.2.19"; 1019 1019 }; 1020 1020 jwt = { 1021 1021 groups = ["default"]; ··· 1111 1111 platforms = []; 1112 1112 source = { 1113 1113 remotes = ["https://rubygems.org"]; 1114 - sha256 = "09l4rdq5gsnhr7ma7i5ddg8sagkqn122kz8cb244q4hyk9rwmd2w"; 1114 + sha256 = "0mamk8hgdhjcd33jf1w3j2kayvpyyscysvnmbhq3mw5kjji89cam"; 1115 1115 type = "gem"; 1116 1116 }; 1117 - version = "2.10.1"; 1117 + version = "2.11.0"; 1118 1118 }; 1119 1119 loofah = { 1120 1120 dependencies = ["crass" "nokogiri"]; ··· 1122 1122 platforms = []; 1123 1123 source = { 1124 1124 remotes = ["https://rubygems.org"]; 1125 - sha256 = "17rvbrqcci1579d7dpbsfmz1f9g7msk82lyh9ip5h29dkrnixcgg"; 1125 + sha256 = "1yp1h1j7pdkqvnx8jl6bkzlajav3h5mhqzihgs9p6y3c8927mw23"; 1126 1126 type = "gem"; 1127 1127 }; 1128 - version = "2.13.0"; 1128 + version = "2.15.0"; 1129 1129 }; 1130 1130 lru_redux = { 1131 1131 groups = ["default"]; ··· 1196 1196 platforms = []; 1197 1197 source = { 1198 1198 remotes = ["https://rubygems.org"]; 1199 - sha256 = "0589k3ggj6s970mr2jaz8zfcnl5b926birwi6s3b6j3ijf2nh3s3"; 1199 + sha256 = "15gazkvbqffh57if68j2p81pm52ww7j9wibbqpq8xp7c3gxqahgq"; 1200 1200 type = "gem"; 1201 1201 }; 1202 - version = "4.0.0"; 1202 + version = "4.2.0"; 1203 1203 }; 1204 1204 method_source = { 1205 1205 groups = ["default" "development" "test"]; ··· 1226 1226 platforms = []; 1227 1227 source = { 1228 1228 remotes = ["https://rubygems.org"]; 1229 - sha256 = "1lvxm91hi0pabnkkg47wh1siv56s6slm2mdq1idfm86dyfidfprq"; 1229 + sha256 = "0rapl1sfmfi3bfr68da4ca16yhc0pp93vjwkj7y3rdqrzy3b41hy"; 1230 1230 type = "gem"; 1231 1231 }; 1232 - version = "2.6.1"; 1232 + version = "2.8.0"; 1233 1233 }; 1234 1234 mini_racer = { 1235 1235 dependencies = ["libv8-node"]; ··· 1237 1237 platforms = []; 1238 1238 source = { 1239 1239 remotes = ["https://rubygems.org"]; 1240 - sha256 = "1j45mg8fs7i0g6ndbzd9qqs3fhq6wpvlp5s95k6mjn1as71l5l55"; 1240 + sha256 = "0jf9qjz3r06asz14b6f3z7f2y437a1viqfp52sdi71ipj7dk70bs"; 1241 1241 type = "gem"; 1242 1242 }; 1243 - version = "0.6.1"; 1243 + version = "0.6.2"; 1244 1244 }; 1245 1245 mini_scheduler = { 1246 1246 dependencies = ["sidekiq"]; ··· 1258 1258 platforms = []; 1259 1259 source = { 1260 1260 remotes = ["https://rubygems.org"]; 1261 - sha256 = "1yvln5wx2jfpd9q2pvjdid96vdz1ynnfk8ip913wpx28wp8ww7jn"; 1261 + sha256 = "1dgwyyya821sfj4f92sljsxmmnak2yrzsbckvy82001zgq1n3b41"; 1262 1262 type = "gem"; 1263 1263 }; 1264 - version = "1.1.3"; 1264 + version = "1.4.0"; 1265 1265 }; 1266 1266 mini_suffix = { 1267 1267 dependencies = ["ffi"]; ··· 1294 1294 }; 1295 1295 version = "1.13.0"; 1296 1296 }; 1297 - mock_redis = { 1298 - dependencies = ["ruby2_keywords"]; 1299 - groups = ["development" "test"]; 1300 - platforms = []; 1301 - source = { 1302 - remotes = ["https://rubygems.org"]; 1303 - sha256 = "10jj7hralc2hmvvm77w71d4dwq9ij5a1lkqyfw6z32saybzmcs99"; 1304 - type = "gem"; 1305 - }; 1306 - version = "0.29.0"; 1307 - }; 1308 1297 msgpack = { 1309 1298 groups = ["default"]; 1310 1299 platforms = [{ ··· 1314 1303 }]; 1315 1304 source = { 1316 1305 remotes = ["https://rubygems.org"]; 1317 - sha256 = "06iajjyhx0rvpn4yr3h1hc4w4w3k59bdmfhxnjzzh76wsrdxxrc6"; 1306 + sha256 = "1cshgsx3hmpgx639xyqjqa2q3hgrhlyr9rpwhsglsx529alqq125"; 1318 1307 type = "gem"; 1319 1308 }; 1320 - version = "1.4.2"; 1309 + version = "1.4.5"; 1321 1310 }; 1322 1311 multi_json = { 1323 1312 groups = ["default"]; ··· 1375 1364 platforms = []; 1376 1365 source = { 1377 1366 remotes = ["https://rubygems.org"]; 1378 - sha256 = "1v02g7k7cxiwdcahvlxrmizn3avj2q6nsjccgilq1idc89cr081b"; 1367 + sha256 = "1p6b3q411h2mw4dsvhjrp1hh66hha5cm69fqg85vn2lizz71n6xz"; 1379 1368 type = "gem"; 1380 1369 }; 1381 - version = "1.12.5"; 1370 + version = "1.13.3"; 1382 1371 }; 1383 1372 oauth = { 1384 1373 groups = ["default"]; ··· 1406 1395 platforms = []; 1407 1396 source = { 1408 1397 remotes = ["https://rubygems.org"]; 1409 - sha256 = "1fh73xl58n696akgarylfdfmv6l93rfwh3csjjbljr6gvhg4qrz9"; 1398 + sha256 = "0bm8sdh7vz7ss3y21v961rd8nww23w5g4yhgvnd7jk331kdjyyzl"; 1410 1399 type = "gem"; 1411 1400 }; 1412 - version = "3.13.2"; 1401 + version = "3.13.11"; 1413 1402 }; 1414 1403 omniauth = { 1415 1404 dependencies = ["hashie" "rack"]; ··· 1529 1518 platforms = []; 1530 1519 source = { 1531 1520 remotes = ["https://rubygems.org"]; 1532 - sha256 = "1hkfpm78c2vs1qblnva3k1grijvxh87iixcnyd83s3lxrxsjvag4"; 1521 + sha256 = "1bncdqm62l1q8flw10gl86gcc74zm89s5vrjww73i3094jg64pam"; 1533 1522 type = "gem"; 1534 1523 }; 1535 - version = "1.21.0"; 1524 + version = "1.22.0"; 1536 1525 }; 1537 1526 parallel_tests = { 1538 1527 dependencies = ["parallel"]; ··· 1551 1540 platforms = []; 1552 1541 source = { 1553 1542 remotes = ["https://rubygems.org"]; 1554 - sha256 = "08q20ckhn58m49lccf93p0yv7pkc7hymmcz3di762kb658d5fd38"; 1543 + sha256 = "0zaghgvva2q4jqbachg8jvpwgbg3w1jqr0d00m8rqciqznjgsw3c"; 1555 1544 type = "gem"; 1556 1545 }; 1557 - version = "3.1.0.0"; 1546 + version = "3.1.1.0"; 1558 1547 }; 1559 1548 pg = { 1560 1549 groups = ["default"]; 1561 1550 platforms = []; 1562 1551 source = { 1563 1552 remotes = ["https://rubygems.org"]; 1564 - sha256 = "13mfrysrdrh8cka1d96zm0lnfs59i5x2g6ps49r2kz5p3q81xrzj"; 1553 + sha256 = "090c3kazlmiizp25las7dgi8wlc11s29nrs2gy3qrp1z8qikgcmb"; 1565 1554 type = "gem"; 1566 1555 }; 1567 - version = "1.2.3"; 1556 + version = "1.3.4"; 1568 1557 }; 1569 1558 progress = { 1570 1559 groups = ["default"]; ··· 1625 1614 platforms = []; 1626 1615 source = { 1627 1616 remotes = ["https://rubygems.org"]; 1628 - sha256 = "1xblxnrs0c5m326v7kgr32k4m00cl2ipcf5m0qvyisrw62vd5dbn"; 1617 + sha256 = "1np2myaxlk5iab1zarwgmp7zsjvm5j8ssg35ijv8b6dpvc3cjd56"; 1629 1618 type = "gem"; 1630 1619 }; 1631 - version = "5.5.2"; 1620 + version = "5.6.2"; 1632 1621 }; 1633 1622 r2 = { 1634 1623 groups = ["default"]; ··· 1670 1659 platforms = []; 1671 1660 source = { 1672 1661 remotes = ["https://rubygems.org"]; 1673 - sha256 = "03hcvjw9nrv0w6yjy2zkv4ivin9xg2wr7xfcvx7rc2msv1gmjb6z"; 1662 + sha256 = "121fqk18x1bd52c2bkz8wkvv9nkgpqphj5aycnb7lkf67jkwic0h"; 1674 1663 type = "gem"; 1675 1664 }; 1676 - version = "2.3.3"; 1665 + version = "3.0.0"; 1677 1666 }; 1678 1667 rack-protection = { 1679 1668 dependencies = ["rack"]; ··· 1681 1670 platforms = []; 1682 1671 source = { 1683 1672 remotes = ["https://rubygems.org"]; 1684 - sha256 = "159a4j4kragqh0z0z8vrpilpmaisnlz3n7kgiyf16bxkwlb3qlhz"; 1673 + sha256 = "1hz6h6d67r217qi202qmxq2xkn3643ay3iybhl3dq3qd6j8nm3b2"; 1685 1674 type = "gem"; 1686 1675 }; 1687 - version = "2.1.0"; 1676 + version = "2.2.0"; 1688 1677 }; 1689 1678 rack-test = { 1690 1679 dependencies = ["rack"]; ··· 1725 1714 platforms = []; 1726 1715 source = { 1727 1716 remotes = ["https://rubygems.org"]; 1728 - sha256 = "0g3snqmsbdl2jyf2h7q4ds333hizp0j89chca75xv10gv2lq6sa8"; 1717 + sha256 = "145m778yylgrjl2q7zfkq35l5sibyynlx6pyp176ifm146gbf9wf"; 1729 1718 type = "gem"; 1730 1719 }; 1731 - version = "0.7.3"; 1720 + version = "0.8.1"; 1732 1721 }; 1733 1722 rails_multisite = { 1734 1723 dependencies = ["activerecord" "railties"]; ··· 1736 1725 platforms = []; 1737 1726 source = { 1738 1727 remotes = ["https://rubygems.org"]; 1739 - sha256 = "1j44n1c19gbskzxskdipr5f6lgglpn398x9kcbpw452wwwav8rmf"; 1728 + sha256 = "08fa5yq73ws536nhzd55bjx4gfvh6986zvw33rkg6ql6i8rga68y"; 1740 1729 type = "gem"; 1741 1730 }; 1742 - version = "4.0.0"; 1731 + version = "4.0.1"; 1743 1732 }; 1744 1733 railties = { 1745 1734 dependencies = ["actionpack" "activesupport" "method_source" "rake" "thor"]; ··· 1747 1736 platforms = []; 1748 1737 source = { 1749 1738 remotes = ["https://rubygems.org"]; 1750 - sha256 = "1kwpm068cqys34p2g0j3l1g0cd5f3kxnsay5v7lmbd0sgarac0vy"; 1739 + sha256 = "0g6hvhvqdmgabcpmdiby4b77ni3rsgd5p7sd1qkqj34r4an0ldyd"; 1751 1740 type = "gem"; 1752 1741 }; 1753 - version = "6.1.4.1"; 1742 + version = "6.1.4.7"; 1754 1743 }; 1755 1744 rainbow = { 1756 1745 groups = ["default" "development" "test"]; ··· 1793 1782 platforms = []; 1794 1783 source = { 1795 1784 remotes = ["https://rubygems.org"]; 1796 - sha256 = "1qsx9c4jr11vr3a9s5j83avczx9qn9rjaf32gxpc2v451hvbc0is"; 1785 + sha256 = "06c50pvxib7wqnv6q0f3n7gzfcrp5chi3sa48hxpkfxc3hhy11fm"; 1797 1786 type = "gem"; 1798 1787 }; 1799 - version = "0.11.0"; 1788 + version = "0.11.1"; 1800 1789 }; 1801 1790 rb-inotify = { 1802 1791 dependencies = ["ffi"]; ··· 1850 1839 platforms = []; 1851 1840 source = { 1852 1841 remotes = ["https://rubygems.org"]; 1853 - sha256 = "0k65fr7f8ciq7d9nwc5ziw1d32zsxilgmqdlj3359rz5jgb0f5y8"; 1842 + sha256 = "0ndj4lcm8rw01078zr0249grsk93zbda8qsibdvlx69b5ijg1rzf"; 1854 1843 type = "gem"; 1855 1844 }; 1856 - version = "1.8.1"; 1845 + version = "1.8.2"; 1857 1846 }; 1858 1847 regexp_parser = { 1859 1848 groups = ["default" "development" "test"]; 1860 1849 platforms = []; 1861 1850 source = { 1862 1851 remotes = ["https://rubygems.org"]; 1863 - sha256 = "008yn8j44414qxhn1c0nxp4a70rq0bqhz70hnjpgx8cjh2g0makp"; 1852 + sha256 = "155f6cr4rrfw5bs5xd3m5kfw32qhc5fsi4nk82rhif56rc6cs0wm"; 1864 1853 type = "gem"; 1865 1854 }; 1866 - version = "2.2.0"; 1855 + version = "2.2.1"; 1867 1856 }; 1868 1857 request_store = { 1869 1858 dependencies = ["rack"]; ··· 1871 1860 platforms = []; 1872 1861 source = { 1873 1862 remotes = ["https://rubygems.org"]; 1874 - sha256 = "0cx74kispmnw3ljwb239j65a2j14n8jlsygy372hrsa8mxc71hxi"; 1863 + sha256 = "13ppgmsbrqah08j06bybd3cddv6dml79yzyjn7r8j1src78h98h7"; 1875 1864 type = "gem"; 1876 1865 }; 1877 - version = "1.5.0"; 1866 + version = "1.5.1"; 1878 1867 }; 1879 1868 rexml = { 1880 1869 groups = ["default" "development" "test"]; ··· 1912 1901 platforms = []; 1913 1902 source = { 1914 1903 remotes = ["https://rubygems.org"]; 1915 - sha256 = "0444sgvx3ahvgr3c9swpy32kcdpciwgcqahp3pb4m7d23xp1qjdc"; 1904 + sha256 = "10sq4aknch9rzpy8af77rqxk8rr59d33slg1kwg9h7fw9f1spmjn"; 1916 1905 type = "gem"; 1917 1906 }; 1918 - version = "2.1.0"; 1907 + version = "2.1.1"; 1919 1908 }; 1920 1909 rqrcode_core = { 1921 1910 groups = ["default"]; ··· 1933 1922 platforms = []; 1934 1923 source = { 1935 1924 remotes = ["https://rubygems.org"]; 1936 - sha256 = "1dwai7jnwmdmd7ajbi2q0k0lx1dh88knv5wl7c34wjmf94yv8w5q"; 1925 + sha256 = "19dyb6rcvgi9j2mksd29wfdhfdyzqk7yjhy1ai77559hbhpg61w9"; 1937 1926 type = "gem"; 1938 1927 }; 1939 - version = "3.10.0"; 1928 + version = "3.11.0"; 1940 1929 }; 1941 1930 rspec-core = { 1942 1931 dependencies = ["rspec-support"]; ··· 1944 1933 platforms = []; 1945 1934 source = { 1946 1935 remotes = ["https://rubygems.org"]; 1947 - sha256 = "0wwnfhxxvrlxlk1a3yxlb82k2f9lm0yn0598x7lk8fksaz4vv6mc"; 1936 + sha256 = "118hkfw9b11hvvalr7qlylwal5h8dihagm9xg7k4gskg7587hca6"; 1948 1937 type = "gem"; 1949 1938 }; 1950 - version = "3.10.1"; 1939 + version = "3.11.0"; 1951 1940 }; 1952 1941 rspec-expectations = { 1953 1942 dependencies = ["diff-lcs" "rspec-support"]; ··· 1955 1944 platforms = []; 1956 1945 source = { 1957 1946 remotes = ["https://rubygems.org"]; 1958 - sha256 = "1qrj2j9jcd3m4aksk4kbv439882yl3z1harv2jrybrgjgdzdz7zs"; 1947 + sha256 = "001ihayil7jpfxdlxlhakvz02kx0nk5m1w0bz6z8izdx0nc8bh53"; 1959 1948 type = "gem"; 1960 1949 }; 1961 - version = "3.10.2"; 1950 + version = "3.11.0"; 1962 1951 }; 1963 1952 rspec-html-matchers = { 1964 1953 dependencies = ["nokogiri" "rspec"]; ··· 1977 1966 platforms = []; 1978 1967 source = { 1979 1968 remotes = ["https://rubygems.org"]; 1980 - sha256 = "1d13g6kipqqc9lmwz5b244pdwc97z15vcbnbq6n9rlf32bipdz4k"; 1969 + sha256 = "0y38dc66yhnfcf4ky3k47c20xak1rax940s4a96qkjxqrniy5ys3"; 1981 1970 type = "gem"; 1982 1971 }; 1983 - version = "3.10.2"; 1972 + version = "3.11.0"; 1984 1973 }; 1985 1974 rspec-rails = { 1986 1975 dependencies = ["actionpack" "activesupport" "railties" "rspec-core" "rspec-expectations" "rspec-mocks" "rspec-support"]; ··· 1988 1977 platforms = []; 1989 1978 source = { 1990 1979 remotes = ["https://rubygems.org"]; 1991 - sha256 = "152yz205p8zi5nxxhs8z581rjdvvqsfjndklkvn11f2vi50nv7n9"; 1980 + sha256 = "0jj5zs9h2ll8iz699ac4bysih7y4csnf8h5h80bm6ppbf02ly8fa"; 1992 1981 type = "gem"; 1993 1982 }; 1994 - version = "5.0.2"; 1983 + version = "5.1.1"; 1995 1984 }; 1996 1985 rspec-support = { 1997 1986 groups = ["default" "development" "test"]; 1998 1987 platforms = []; 1999 1988 source = { 2000 1989 remotes = ["https://rubygems.org"]; 2001 - sha256 = "0pjckrh8q6sqxy38xw7f4ziylq1983k84xh927s6352pps68zj35"; 1990 + sha256 = "0xfk4pla77251n39zf4n792m1rhg5sn1kp63yvpvvysany34la03"; 2002 1991 type = "gem"; 2003 1992 }; 2004 - version = "3.10.3"; 1993 + version = "3.11.0"; 2005 1994 }; 2006 1995 rss = { 2007 1996 dependencies = ["rexml"]; ··· 2020 2009 platforms = []; 2021 2010 source = { 2022 2011 remotes = ["https://rubygems.org"]; 2023 - sha256 = "1dma3j5vfjhyclg8y0gsp44vs4wn9chf4jgfhc9r6ws018xrbxzd"; 2012 + sha256 = "00gm5qbf56shi655hwxzas74avsfv8b91v6i8v06i4jdw8y4qky2"; 2024 2013 type = "gem"; 2025 2014 }; 2026 - version = "2.4.0"; 2015 + version = "2.5.1"; 2027 2016 }; 2028 2017 rtlit = { 2029 2018 groups = ["assets"]; ··· 2041 2030 platforms = []; 2042 2031 source = { 2043 2032 remotes = ["https://rubygems.org"]; 2044 - sha256 = "141ff5mdqi8an8q00qw8kchzil7ck2dzalkk3vk176l0s6hljcbj"; 2033 + sha256 = "03c6v6bfqdw8vnda0if0sx7aff0iq6xnv1adyfs0bi9msgggafcr"; 2045 2034 type = "gem"; 2046 2035 }; 2047 - version = "1.25.0"; 2036 + version = "1.26.0"; 2048 2037 }; 2049 2038 rubocop-ast = { 2050 2039 dependencies = ["parser"]; ··· 2052 2041 platforms = []; 2053 2042 source = { 2054 2043 remotes = ["https://rubygems.org"]; 2055 - sha256 = "1xrij42166a71ixfpfr1pildqdrcmc0cb4906h2s8sk4kqdyngih"; 2044 + sha256 = "1bd2z82ly7fix8415gvfiwzb6bjialz5rs3sr72kv1lk68rd23wv"; 2056 2045 type = "gem"; 2057 2046 }; 2058 - version = "1.15.1"; 2047 + version = "1.16.0"; 2059 2048 }; 2060 2049 rubocop-discourse = { 2061 2050 dependencies = ["rubocop" "rubocop-rspec"]; ··· 2074 2063 platforms = []; 2075 2064 source = { 2076 2065 remotes = ["https://rubygems.org"]; 2077 - sha256 = "1d76haw5gjpxlfanfzicn7sb5gziyizaksm7i999p7p5dmy5vf9q"; 2066 + sha256 = "051gq9pz49iv4gq34d3n089iaa6cb418n2fhin6gd6fpysbi3nf6"; 2078 2067 type = "gem"; 2079 2068 }; 2080 - version = "2.7.0"; 2069 + version = "2.9.0"; 2081 2070 }; 2082 2071 ruby-prof = { 2083 2072 groups = ["development"]; ··· 2195 2184 platforms = []; 2196 2185 source = { 2197 2186 remotes = ["https://rubygems.org"]; 2198 - sha256 = "0k38cbwhcj9ncfzlgfmvq2zqfdvldln58w8s8v89m0jqlhnhsqhj"; 2187 + sha256 = "0fq3nxpj1c9s2bi056p9cldb7zy45bgdkjq8721zypw1pkvllb7f"; 2199 2188 type = "gem"; 2200 2189 }; 2201 - version = "6.3.1"; 2190 + version = "6.4.1"; 2202 2191 }; 2203 2192 simplecov = { 2204 2193 dependencies = ["docile" "simplecov-html" "simplecov_json_formatter"]; ··· 2226 2215 platforms = []; 2227 2216 source = { 2228 2217 remotes = ["https://rubygems.org"]; 2229 - sha256 = "19r15hyvh52jx7fmsrcflb58xh8l7l0zx4sxkh3hqzhq68y81pjl"; 2218 + sha256 = "0a5l0733hj7sk51j81ykfmlk2vd5vaijlq9d5fn165yyx3xii52j"; 2230 2219 type = "gem"; 2231 2220 }; 2232 - version = "0.1.3"; 2221 + version = "0.1.4"; 2233 2222 }; 2234 2223 sprockets = { 2235 2224 dependencies = ["concurrent-ruby" "rack"]; ··· 2272 2261 }]; 2273 2262 source = { 2274 2263 remotes = ["https://rubygems.org"]; 2275 - sha256 = "06lz70k8c0r7fyxk1nc3idh14x7nvsr21ydm1bsmbj00jyhmfzsn"; 2264 + sha256 = "19rnk17rz0lhf7l9awy0s7xxyw91ydcqxlx0576xvwyi79jh6a2m"; 2276 2265 type = "gem"; 2277 2266 }; 2278 - version = "0.2.17"; 2267 + version = "0.2.19"; 2279 2268 }; 2280 2269 test-prof = { 2281 2270 groups = ["test"]; ··· 2345 2334 platforms = []; 2346 2335 source = { 2347 2336 remotes = ["https://rubygems.org"]; 2348 - sha256 = "0jmbimpnpjdzz8hlrppgl9spm99qh3qzbx0b81k3gkgwba8nk3yd"; 2337 + sha256 = "0bf120xbq23zjyf8zi8h1576d71g58srr8rndig0whn10w72vrxz"; 2349 2338 type = "gem"; 2350 2339 }; 2351 - version = "0.0.8"; 2340 + version = "0.0.8.1"; 2352 2341 }; 2353 2342 unicode-display_width = { 2354 2343 groups = ["default" "development" "test"]; ··· 2382 2371 platforms = []; 2383 2372 source = { 2384 2373 remotes = ["https://rubygems.org"]; 2385 - sha256 = "1614dqnky0f9f1znj0lih8i184vfps86md93dw0kxrg3af9gnqb4"; 2374 + sha256 = "00dj2vsz9sq5i9wnncbiy4v5vayqbssppazzigd1ibpl60pzfxkq"; 2386 2375 type = "gem"; 2387 2376 }; 2388 - version = "1.14.2"; 2377 + version = "1.15.0"; 2389 2378 }; 2390 2379 uri_template = { 2391 2380 groups = ["default"]; ··· 2444 2433 platforms = []; 2445 2434 source = { 2446 2435 remotes = ["https://rubygems.org"]; 2447 - sha256 = "0lmg9x683gr9mkrbq9df2m0zb0650mdfxqna0bs10js44inv7znx"; 2436 + sha256 = "09bq7j2p6mkbxnsg71s253dm2463kg51xc7bmjcxgyblqbh4ln7m"; 2448 2437 type = "gem"; 2449 2438 }; 2450 - version = "2.5.3"; 2439 + version = "2.5.4"; 2451 2440 }; 2452 2441 }
+1 -1
pkgs/servers/web-apps/discourse/unicorn_logging_and_timeout.patch
··· 2 2 index e69979adfe..68cb04a036 100644 3 3 --- a/config/unicorn.conf.rb 4 4 +++ b/config/unicorn.conf.rb 5 - @@ -27,17 +27,9 @@ pid (ENV["UNICORN_PID_PATH"] || "#{discourse_path}/tmp/pids/unicorn.pid") 5 + @@ -27,18 +27,10 @@ pid (ENV["UNICORN_PID_PATH"] || "#{discourse_path}/tmp/pids/unicorn.pid") 6 6 7 7 if ENV["RAILS_ENV"] != "production" 8 8 logger Logger.new(STDOUT)
+24 -9
pkgs/servers/web-apps/discourse/update.py
··· 1 1 #!/usr/bin/env nix-shell 2 - #! nix-shell -i python3 -p bundix bundler nix-update nix-universal-prefetch python3 python3Packages.requests python3Packages.click python3Packages.click-log 2 + #! nix-shell -i python3 -p bundix bundler nix-update nix-universal-prefetch python3 python3Packages.requests python3Packages.click python3Packages.click-log prefetch-yarn-deps 3 3 from __future__ import annotations 4 4 5 5 import click ··· 104 104 105 105 return self._latest_commit_sha 106 106 107 + def get_yarn_lock_hash(self, rev: str): 108 + yarnLockText = self.get_file('app/assets/javascripts/yarn.lock', rev) 109 + with tempfile.NamedTemporaryFile(mode='w') as lockFile: 110 + lockFile.write(yarnLockText) 111 + return subprocess.check_output(['prefetch-yarn-deps', lockFile.name]).decode('utf-8').strip() 112 + 107 113 def get_file(self, filepath, rev): 108 - """returns file contents at a given rev :param filepath: the path to 109 - the file, relative to the repo root :param rev: the rev to 110 - fetch at :return: 114 + """Return file contents at a given rev. 115 + 116 + :param str filepath: the path to the file, relative to the repo root 117 + :param str rev: the rev to fetch at :return: 111 118 112 119 """ 113 120 r = requests.get(f'https://raw.githubusercontent.com/{self.owner}/{self.repo}/{rev}/{filepath}') ··· 116 123 117 124 118 125 def _call_nix_update(pkg, version): 119 - """calls nix-update from nixpkgs root dir""" 126 + """Call nix-update from nixpkgs root dir.""" 120 127 nixpkgs_path = Path(__file__).parent / '../../../../' 121 128 return subprocess.check_output(['nix-update', pkg, '--version', version], cwd=nixpkgs_path) 122 129 ··· 215 222 def update(rev): 216 223 """Update gem files and version. 217 224 218 - REV should be the git rev to update to ('vX.Y.Z[.betaA]') or 225 + REV: the git rev to update to ('vX.Y.Z[.betaA]') or 219 226 'latest'; defaults to 'latest'. 220 227 221 228 """ ··· 241 248 242 249 _call_nix_update('discourse', version.version) 243 250 251 + old_yarn_hash = _nix_eval('discourse.assets.yarnOfflineCache.outputHash') 252 + new_yarn_hash = repo.get_yarn_lock_hash(version.tag) 253 + click.echo(f"Updating yarn lock hash, {old_yarn_hash} -> {new_yarn_hash}") 254 + with open(Path(__file__).parent / "default.nix", 'r+') as f: 255 + content = f.read() 256 + content = content.replace(old_yarn_hash, new_yarn_hash) 257 + f.seek(0) 258 + f.write(content) 259 + f.truncate() 260 + 244 261 245 262 @cli.command() 246 263 def update_plugins(): 247 - """Update plugins to their latest revision. 248 - 249 - """ 264 + """Update plugins to their latest revision.""" 250 265 plugins = [ 251 266 {'name': 'discourse-assign'}, 252 267 {'name': 'discourse-calendar'},