2020-09-23 03:40:47 +08:00
|
|
|
GIT
|
|
|
|
remote: https://github.com/brianmario/mysql2.git
|
2021-06-09 07:27:47 +08:00
|
|
|
revision: 7f4e844fccf6afa888d0bd108d4707a2a7784484
|
2020-09-23 03:40:47 +08:00
|
|
|
specs:
|
|
|
|
mysql2 (0.5.3)
|
|
|
|
|
2021-10-05 04:51:47 +08:00
|
|
|
GIT
|
|
|
|
remote: https://github.com/jhawthorn/queue_classic.git
|
|
|
|
revision: dbfee9bda71020b8f11ae8d9b85932462b7fbee0
|
|
|
|
branch: fix-connection-pg-14
|
|
|
|
specs:
|
|
|
|
queue_classic (4.0.0.pre.alpha1)
|
|
|
|
pg (>= 0.17, < 2.0)
|
|
|
|
|
2016-10-06 09:11:18 +08:00
|
|
|
GIT
|
|
|
|
remote: https://github.com/matthewd/websocket-client-simple.git
|
|
|
|
revision: e161305f1a466b9398d86df3b1731b03362da91b
|
|
|
|
branch: close-race
|
|
|
|
specs:
|
|
|
|
websocket-client-simple (0.3.0)
|
|
|
|
event_emitter
|
|
|
|
websocket
|
|
|
|
|
2015-02-19 00:30:25 +08:00
|
|
|
PATH
|
|
|
|
remote: .
|
|
|
|
specs:
|
2021-09-16 06:22:51 +08:00
|
|
|
actioncable (7.0.0.alpha2)
|
|
|
|
actionpack (= 7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
2016-12-29 11:45:39 +08:00
|
|
|
nio4r (~> 2.0)
|
2018-01-19 06:50:50 +08:00
|
|
|
websocket-driver (>= 0.6.1)
|
2021-09-16 06:22:51 +08:00
|
|
|
actionmailbox (7.0.0.alpha2)
|
|
|
|
actionpack (= 7.0.0.alpha2)
|
|
|
|
activejob (= 7.0.0.alpha2)
|
|
|
|
activerecord (= 7.0.0.alpha2)
|
|
|
|
activestorage (= 7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
2018-12-25 04:16:22 +08:00
|
|
|
mail (>= 2.7.1)
|
2021-09-16 06:22:51 +08:00
|
|
|
actionmailer (7.0.0.alpha2)
|
|
|
|
actionpack (= 7.0.0.alpha2)
|
|
|
|
actionview (= 7.0.0.alpha2)
|
|
|
|
activejob (= 7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
2015-02-19 00:30:25 +08:00
|
|
|
mail (~> 2.5, >= 2.5.4)
|
2016-05-10 13:13:56 +08:00
|
|
|
rails-dom-testing (~> 2.0)
|
2021-09-16 06:22:51 +08:00
|
|
|
actionpack (7.0.0.alpha2)
|
|
|
|
actionview (= 7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
2021-05-25 09:36:35 +08:00
|
|
|
rack (~> 2.0, >= 2.2.0)
|
2017-07-20 07:04:53 +08:00
|
|
|
rack-test (>= 0.6.3)
|
2016-05-10 13:13:56 +08:00
|
|
|
rails-dom-testing (~> 2.0)
|
2019-08-09 23:40:59 +08:00
|
|
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
2021-09-16 06:22:51 +08:00
|
|
|
actiontext (7.0.0.alpha2)
|
|
|
|
actionpack (= 7.0.0.alpha2)
|
|
|
|
activerecord (= 7.0.0.alpha2)
|
|
|
|
activestorage (= 7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
2019-01-05 08:43:11 +08:00
|
|
|
nokogiri (>= 1.8.5)
|
2021-09-16 06:22:51 +08:00
|
|
|
actionview (7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
2015-02-19 00:30:25 +08:00
|
|
|
builder (~> 3.1)
|
2017-01-21 07:02:34 +08:00
|
|
|
erubi (~> 1.4)
|
2016-05-10 13:13:56 +08:00
|
|
|
rails-dom-testing (~> 2.0)
|
2019-08-09 06:07:45 +08:00
|
|
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
2021-09-16 06:22:51 +08:00
|
|
|
activejob (7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
2015-12-18 08:20:19 +08:00
|
|
|
globalid (>= 0.3.6)
|
2021-09-16 06:22:51 +08:00
|
|
|
activemodel (7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
|
|
|
activerecord (7.0.0.alpha2)
|
|
|
|
activemodel (= 7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
|
|
|
activestorage (7.0.0.alpha2)
|
|
|
|
actionpack (= 7.0.0.alpha2)
|
|
|
|
activejob (= 7.0.0.alpha2)
|
|
|
|
activerecord (= 7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
2021-09-21 05:19:28 +08:00
|
|
|
marcel (~> 1.0)
|
2021-04-05 10:44:02 +08:00
|
|
|
mini_mime (>= 1.1.0)
|
2021-09-16 06:22:51 +08:00
|
|
|
activesupport (7.0.0.alpha2)
|
2016-05-03 06:04:59 +08:00
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
2019-11-22 03:59:22 +08:00
|
|
|
i18n (>= 1.6, < 2)
|
2020-06-01 18:59:27 +08:00
|
|
|
minitest (>= 5.1)
|
2017-12-29 20:47:10 +08:00
|
|
|
tzinfo (~> 2.0)
|
2021-09-16 06:22:51 +08:00
|
|
|
rails (7.0.0.alpha2)
|
|
|
|
actioncable (= 7.0.0.alpha2)
|
|
|
|
actionmailbox (= 7.0.0.alpha2)
|
|
|
|
actionmailer (= 7.0.0.alpha2)
|
|
|
|
actionpack (= 7.0.0.alpha2)
|
|
|
|
actiontext (= 7.0.0.alpha2)
|
|
|
|
actionview (= 7.0.0.alpha2)
|
|
|
|
activejob (= 7.0.0.alpha2)
|
|
|
|
activemodel (= 7.0.0.alpha2)
|
|
|
|
activerecord (= 7.0.0.alpha2)
|
|
|
|
activestorage (= 7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
2020-08-18 17:14:00 +08:00
|
|
|
bundler (>= 1.15.0)
|
2021-09-16 06:22:51 +08:00
|
|
|
railties (= 7.0.0.alpha2)
|
2015-09-02 00:29:16 +08:00
|
|
|
sprockets-rails (>= 2.0.0)
|
2021-09-16 06:22:51 +08:00
|
|
|
railties (7.0.0.alpha2)
|
|
|
|
actionpack (= 7.0.0.alpha2)
|
|
|
|
activesupport (= 7.0.0.alpha2)
|
2015-03-05 22:58:17 +08:00
|
|
|
method_source
|
2021-03-16 04:48:38 +08:00
|
|
|
rake (>= 0.13)
|
2019-12-16 02:58:07 +08:00
|
|
|
thor (~> 1.0)
|
2021-09-29 15:25:40 +08:00
|
|
|
zeitwerk (~> 2.5.0.beta5)
|
2015-02-19 00:30:25 +08:00
|
|
|
|
|
|
|
GEM
|
|
|
|
remote: https://rubygems.org/
|
|
|
|
specs:
|
2019-10-10 12:48:16 +08:00
|
|
|
addressable (2.7.0)
|
|
|
|
public_suffix (>= 2.0.2, < 5.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
amq-protocol (2.3.2)
|
2021-04-14 02:18:28 +08:00
|
|
|
ast (2.4.2)
|
|
|
|
aws-eventstream (1.1.1)
|
2021-06-18 04:26:38 +08:00
|
|
|
aws-partitions (1.469.0)
|
|
|
|
aws-sdk-core (3.114.3)
|
2020-11-04 14:39:41 +08:00
|
|
|
aws-eventstream (~> 1, >= 1.0.2)
|
2019-12-28 02:30:45 +08:00
|
|
|
aws-partitions (~> 1, >= 1.239.0)
|
2019-10-10 12:48:16 +08:00
|
|
|
aws-sigv4 (~> 1.1)
|
2017-08-01 04:55:55 +08:00
|
|
|
jmespath (~> 1.0)
|
2021-06-18 04:26:38 +08:00
|
|
|
aws-sdk-kms (1.44.0)
|
2021-04-14 02:18:28 +08:00
|
|
|
aws-sdk-core (~> 3, >= 3.112.0)
|
2019-10-10 12:48:16 +08:00
|
|
|
aws-sigv4 (~> 1.1)
|
2021-06-18 04:26:38 +08:00
|
|
|
aws-sdk-s3 (1.96.1)
|
2021-04-14 02:18:28 +08:00
|
|
|
aws-sdk-core (~> 3, >= 3.112.0)
|
2017-09-10 11:22:10 +08:00
|
|
|
aws-sdk-kms (~> 1)
|
2019-10-10 12:48:16 +08:00
|
|
|
aws-sigv4 (~> 1.1)
|
2021-06-09 07:27:47 +08:00
|
|
|
aws-sdk-sns (1.41.0)
|
2021-04-14 02:18:28 +08:00
|
|
|
aws-sdk-core (~> 3, >= 3.112.0)
|
2019-10-10 12:48:16 +08:00
|
|
|
aws-sigv4 (~> 1.1)
|
2021-04-14 02:18:28 +08:00
|
|
|
aws-sigv4 (1.2.3)
|
2020-11-04 14:39:41 +08:00
|
|
|
aws-eventstream (~> 1, >= 1.0.2)
|
2021-01-22 05:22:41 +08:00
|
|
|
azure-storage-blob (2.0.1)
|
Unlock `azure-storage-blob` version to use version 2.0
`azure-storage-blob` 2.0.0 has been released.
https://rubygems.org/gems/azure-storage-blob/versions/2.0.0
According to this commit and changelog, `azure-storage-blob` 1.1.0 did not support Ruby 2.6 and higher.
As of right now, Rails master branch should support Ruby 2.5.0, 2.6.0 and 2.7.0
then it should be appropriate to unlock `azure-storage-blob` version.
https://github.com/Azure/azure-storage-ruby/commit/252e3f06a5cf2e2583302bfefa95d8b25818a44f
This commit addresses this following error:
```ruby
% cd activestorage
% bundle exec rake test
Traceback (most recent call last):
14: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
13: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
12: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
9: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
8: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
7: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:30:in `resolve'
3: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
2: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/azure_storage_service.rb:3:in `<top (required)>'
/Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:346:in `block (2 levels) in replace_gem': can't activate azure-storage-blob (~> 1.1), already activated azure-storage-blob-2.0.0. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
9: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
8: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
7: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
3: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
2: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:29:in `resolve'
/Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:33:in `rescue in resolve': Missing service adapter for "AzureStorage" (RuntimeError)
rake aborted!
```
* Update Gemfile.lock to bump azure-storage-blob version
```
% bundle update --conservative faraday azure-storage-blob google-cloud-storage`
```
- How to find gem name to update by setting `gem "azure-storage-blob", "= 2.0.0"` temporarily
```ruby
% git diff
diff --git a/Gemfile b/Gemfile
index 5fdaceab2f..6be7dccf4b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -84,7 +84,7 @@ end
group :storage do
gem "aws-sdk-s3", require: false
gem "google-cloud-storage", "~> 1.11", require: false
- gem "azure-storage-blob", require: false
+ gem "azure-storage-blob", "= 2.0.0", require: false # Use 2.0.0 temporarily to find which gems need bump
gem "image_processing", "~> 1.2"
end
% bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (= 0.17.1)
In Gemfile:
azure-storage-blob (= 2.0.0) was resolved to 2.0.0, which depends on
azure-storage-common (~> 2.0) was resolved to 2.0.1, which depends on
faraday (~> 1.0)
google-cloud-storage (~> 1.11) was resolved to 1.25.0, which depends on
googleauth (~> 0.9) was resolved to 0.10.0, which depends on
faraday (~> 0.12)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
% git checkout -f Gemfile
% bundle update --conservative faraday azure-storage-blob google-cloud-storage
```
2020-03-16 18:38:22 +08:00
|
|
|
azure-storage-common (~> 2.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
nokogiri (~> 1.11.0.rc2)
|
|
|
|
azure-storage-common (2.0.2)
|
Unlock `azure-storage-blob` version to use version 2.0
`azure-storage-blob` 2.0.0 has been released.
https://rubygems.org/gems/azure-storage-blob/versions/2.0.0
According to this commit and changelog, `azure-storage-blob` 1.1.0 did not support Ruby 2.6 and higher.
As of right now, Rails master branch should support Ruby 2.5.0, 2.6.0 and 2.7.0
then it should be appropriate to unlock `azure-storage-blob` version.
https://github.com/Azure/azure-storage-ruby/commit/252e3f06a5cf2e2583302bfefa95d8b25818a44f
This commit addresses this following error:
```ruby
% cd activestorage
% bundle exec rake test
Traceback (most recent call last):
14: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
13: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
12: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
9: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
8: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
7: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:30:in `resolve'
3: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
2: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/azure_storage_service.rb:3:in `<top (required)>'
/Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:346:in `block (2 levels) in replace_gem': can't activate azure-storage-blob (~> 1.1), already activated azure-storage-blob-2.0.0. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
9: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
8: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
7: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
3: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
2: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:29:in `resolve'
/Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:33:in `rescue in resolve': Missing service adapter for "AzureStorage" (RuntimeError)
rake aborted!
```
* Update Gemfile.lock to bump azure-storage-blob version
```
% bundle update --conservative faraday azure-storage-blob google-cloud-storage`
```
- How to find gem name to update by setting `gem "azure-storage-blob", "= 2.0.0"` temporarily
```ruby
% git diff
diff --git a/Gemfile b/Gemfile
index 5fdaceab2f..6be7dccf4b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -84,7 +84,7 @@ end
group :storage do
gem "aws-sdk-s3", require: false
gem "google-cloud-storage", "~> 1.11", require: false
- gem "azure-storage-blob", require: false
+ gem "azure-storage-blob", "= 2.0.0", require: false # Use 2.0.0 temporarily to find which gems need bump
gem "image_processing", "~> 1.2"
end
% bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (= 0.17.1)
In Gemfile:
azure-storage-blob (= 2.0.0) was resolved to 2.0.0, which depends on
azure-storage-common (~> 2.0) was resolved to 2.0.1, which depends on
faraday (~> 1.0)
google-cloud-storage (~> 1.11) was resolved to 1.25.0, which depends on
googleauth (~> 0.9) was resolved to 0.10.0, which depends on
faraday (~> 0.12)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
% git checkout -f Gemfile
% bundle update --conservative faraday azure-storage-blob google-cloud-storage
```
2020-03-16 18:38:22 +08:00
|
|
|
faraday (~> 1.0)
|
|
|
|
faraday_middleware (~> 1.0.0.rc1)
|
2021-01-22 05:22:41 +08:00
|
|
|
net-http-persistent (~> 4.0)
|
|
|
|
nokogiri (~> 1.11.0.rc2)
|
2018-09-28 18:40:24 +08:00
|
|
|
backburner (1.5.0)
|
2015-08-10 11:30:03 +08:00
|
|
|
beaneater (~> 1.0)
|
2018-09-28 18:40:24 +08:00
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.1)
|
2015-08-10 11:30:03 +08:00
|
|
|
dante (> 0.1.5)
|
2020-11-04 14:39:41 +08:00
|
|
|
bcrypt (3.1.16)
|
2021-06-09 07:27:47 +08:00
|
|
|
beaneater (1.1.1)
|
2021-05-25 05:11:38 +08:00
|
|
|
benchmark-ips (2.9.1)
|
2021-04-14 02:18:28 +08:00
|
|
|
blade (0.7.2)
|
2016-08-04 06:55:47 +08:00
|
|
|
activesupport (>= 3.0.0)
|
2021-04-14 02:18:28 +08:00
|
|
|
blade-qunit_adapter (>= 2.0.1)
|
2016-08-04 06:55:47 +08:00
|
|
|
coffee-script
|
|
|
|
coffee-script-source
|
2021-04-14 02:18:28 +08:00
|
|
|
curses (>= 1.4.0)
|
2016-08-04 06:55:47 +08:00
|
|
|
eventmachine
|
|
|
|
faye
|
|
|
|
sprockets (>= 3.0)
|
|
|
|
thin (>= 1.6.0)
|
2017-08-17 07:53:36 +08:00
|
|
|
thor (>= 0.19.1)
|
2021-04-14 02:18:28 +08:00
|
|
|
useragent (>= 0.16.7)
|
2016-11-21 06:08:31 +08:00
|
|
|
blade-qunit_adapter (2.0.1)
|
2021-06-09 07:27:47 +08:00
|
|
|
bootsnap (1.7.5)
|
2020-12-03 07:37:26 +08:00
|
|
|
msgpack (~> 1.0)
|
2019-12-28 02:30:45 +08:00
|
|
|
builder (3.2.4)
|
2021-06-09 07:27:47 +08:00
|
|
|
bunny (2.18.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
amq-protocol (~> 2.3, >= 2.3.1)
|
2021-06-09 07:27:47 +08:00
|
|
|
sorted_set (~> 1, >= 1.0.2)
|
2021-04-14 02:18:28 +08:00
|
|
|
capybara (3.35.3)
|
2016-08-28 04:48:24 +08:00
|
|
|
addressable
|
2017-08-17 02:03:24 +08:00
|
|
|
mini_mime (>= 0.1.3)
|
2018-04-06 19:55:34 +08:00
|
|
|
nokogiri (~> 1.8)
|
|
|
|
rack (>= 1.6.0)
|
|
|
|
rack-test (>= 0.6.3)
|
2021-04-14 02:18:28 +08:00
|
|
|
regexp_parser (>= 1.5, < 3.0)
|
2018-11-10 06:21:08 +08:00
|
|
|
xpath (~> 3.2)
|
2021-06-18 04:26:38 +08:00
|
|
|
childprocess (4.1.0)
|
2015-08-10 11:30:03 +08:00
|
|
|
coffee-script (2.4.1)
|
2015-02-19 00:30:25 +08:00
|
|
|
coffee-script-source
|
|
|
|
execjs
|
2016-12-16 23:43:44 +08:00
|
|
|
coffee-script-source (1.12.2)
|
2021-06-09 07:27:47 +08:00
|
|
|
concurrent-ruby (1.1.9)
|
|
|
|
connection_pool (2.2.5)
|
2016-09-14 08:19:09 +08:00
|
|
|
cookiejar (0.3.3)
|
2021-01-22 05:22:41 +08:00
|
|
|
crack (0.4.5)
|
|
|
|
rexml
|
2020-10-04 05:43:39 +08:00
|
|
|
crass (1.0.6)
|
2021-09-07 23:48:13 +08:00
|
|
|
cssbundling-rails (0.1.0)
|
|
|
|
rails (>= 6.0.0)
|
2021-06-18 04:26:38 +08:00
|
|
|
curses (1.4.2)
|
2021-06-09 07:27:47 +08:00
|
|
|
daemons (1.4.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
dalli (2.7.11)
|
2015-08-10 11:30:03 +08:00
|
|
|
dante (0.2.0)
|
2021-09-20 21:18:30 +08:00
|
|
|
debug (1.1.0)
|
2021-09-08 23:35:41 +08:00
|
|
|
irb
|
|
|
|
reline (>= 0.2.7)
|
2020-09-21 13:19:59 +08:00
|
|
|
declarative (0.0.20)
|
2021-01-22 05:22:41 +08:00
|
|
|
delayed_job (4.1.9)
|
|
|
|
activesupport (>= 3.0, < 6.2)
|
2021-04-14 02:18:28 +08:00
|
|
|
delayed_job_active_record (4.1.6)
|
2021-01-22 05:22:41 +08:00
|
|
|
activerecord (>= 3.0, < 6.2)
|
2017-01-29 08:05:06 +08:00
|
|
|
delayed_job (>= 3.0, < 5)
|
2021-01-22 05:22:41 +08:00
|
|
|
digest-crc (0.6.3)
|
|
|
|
rake (>= 12.0.0, < 14.0.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
em-http-request (1.1.7)
|
2016-05-22 02:15:58 +08:00
|
|
|
addressable (>= 2.3.4)
|
2016-09-14 08:19:09 +08:00
|
|
|
cookiejar (!= 0.3.1)
|
2016-05-22 02:15:58 +08:00
|
|
|
em-socksify (>= 0.3)
|
|
|
|
eventmachine (>= 1.0.3)
|
|
|
|
http_parser.rb (>= 0.6.0)
|
2018-02-07 06:08:13 +08:00
|
|
|
em-socksify (0.3.2)
|
2016-05-22 02:15:58 +08:00
|
|
|
eventmachine (>= 1.0.0.beta.4)
|
2020-11-14 13:31:58 +08:00
|
|
|
erubi (1.10.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
et-orbi (1.2.4)
|
2017-07-20 07:04:53 +08:00
|
|
|
tzinfo
|
2017-07-25 14:53:02 +08:00
|
|
|
event_emitter (0.2.6)
|
2018-05-31 01:49:55 +08:00
|
|
|
eventmachine (1.2.7)
|
2021-06-09 07:27:47 +08:00
|
|
|
execjs (2.8.1)
|
|
|
|
faraday (1.4.2)
|
|
|
|
faraday-em_http (~> 1.0)
|
|
|
|
faraday-em_synchrony (~> 1.0)
|
|
|
|
faraday-excon (~> 1.1)
|
2021-01-22 05:22:41 +08:00
|
|
|
faraday-net_http (~> 1.0)
|
2021-06-09 07:27:47 +08:00
|
|
|
faraday-net_http_persistent (~> 1.1)
|
2016-08-04 06:55:47 +08:00
|
|
|
multipart-post (>= 1.2, < 3)
|
2021-06-09 07:27:47 +08:00
|
|
|
ruby2_keywords (>= 0.0.4)
|
|
|
|
faraday-em_http (1.0.0)
|
|
|
|
faraday-em_synchrony (1.0.0)
|
|
|
|
faraday-excon (1.1.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
faraday-net_http (1.0.1)
|
2021-06-09 07:27:47 +08:00
|
|
|
faraday-net_http_persistent (1.1.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
faraday_middleware (1.0.0)
|
Unlock `azure-storage-blob` version to use version 2.0
`azure-storage-blob` 2.0.0 has been released.
https://rubygems.org/gems/azure-storage-blob/versions/2.0.0
According to this commit and changelog, `azure-storage-blob` 1.1.0 did not support Ruby 2.6 and higher.
As of right now, Rails master branch should support Ruby 2.5.0, 2.6.0 and 2.7.0
then it should be appropriate to unlock `azure-storage-blob` version.
https://github.com/Azure/azure-storage-ruby/commit/252e3f06a5cf2e2583302bfefa95d8b25818a44f
This commit addresses this following error:
```ruby
% cd activestorage
% bundle exec rake test
Traceback (most recent call last):
14: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
13: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
12: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
9: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
8: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
7: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:30:in `resolve'
3: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
2: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/azure_storage_service.rb:3:in `<top (required)>'
/Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:346:in `block (2 levels) in replace_gem': can't activate azure-storage-blob (~> 1.1), already activated azure-storage-blob-2.0.0. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
9: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
8: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
7: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
3: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
2: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:29:in `resolve'
/Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:33:in `rescue in resolve': Missing service adapter for "AzureStorage" (RuntimeError)
rake aborted!
```
* Update Gemfile.lock to bump azure-storage-blob version
```
% bundle update --conservative faraday azure-storage-blob google-cloud-storage`
```
- How to find gem name to update by setting `gem "azure-storage-blob", "= 2.0.0"` temporarily
```ruby
% git diff
diff --git a/Gemfile b/Gemfile
index 5fdaceab2f..6be7dccf4b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -84,7 +84,7 @@ end
group :storage do
gem "aws-sdk-s3", require: false
gem "google-cloud-storage", "~> 1.11", require: false
- gem "azure-storage-blob", require: false
+ gem "azure-storage-blob", "= 2.0.0", require: false # Use 2.0.0 temporarily to find which gems need bump
gem "image_processing", "~> 1.2"
end
% bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (= 0.17.1)
In Gemfile:
azure-storage-blob (= 2.0.0) was resolved to 2.0.0, which depends on
azure-storage-common (~> 2.0) was resolved to 2.0.1, which depends on
faraday (~> 1.0)
google-cloud-storage (~> 1.11) was resolved to 1.25.0, which depends on
googleauth (~> 0.9) was resolved to 0.10.0, which depends on
faraday (~> 0.12)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
% git checkout -f Gemfile
% bundle update --conservative faraday azure-storage-blob google-cloud-storage
```
2020-03-16 18:38:22 +08:00
|
|
|
faraday (~> 1.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
faye (1.4.0)
|
2016-05-22 02:15:58 +08:00
|
|
|
cookiejar (>= 0.3.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
em-http-request (>= 1.1.6)
|
2016-05-22 02:15:58 +08:00
|
|
|
eventmachine (>= 0.12.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
faye-websocket (>= 0.11.0)
|
2016-05-22 02:15:58 +08:00
|
|
|
multi_json (>= 1.0.0)
|
|
|
|
rack (>= 1.0.0)
|
|
|
|
websocket-driver (>= 0.5.1)
|
2021-06-09 07:27:47 +08:00
|
|
|
faye-websocket (0.11.1)
|
2016-01-25 01:25:53 +08:00
|
|
|
eventmachine (>= 0.12.0)
|
|
|
|
websocket-driver (>= 0.5.1)
|
2021-06-18 04:26:38 +08:00
|
|
|
ffi (1.15.3)
|
2021-06-09 07:27:47 +08:00
|
|
|
fugit (1.5.0)
|
2019-05-08 20:58:20 +08:00
|
|
|
et-orbi (~> 1.1, >= 1.1.8)
|
2020-11-04 14:39:41 +08:00
|
|
|
raabro (~> 1.4)
|
2021-09-16 05:55:08 +08:00
|
|
|
globalid (0.5.2)
|
2021-07-28 05:23:13 +08:00
|
|
|
activesupport (>= 5.0)
|
2021-04-14 02:18:28 +08:00
|
|
|
google-apis-core (0.3.0)
|
2017-08-01 04:55:55 +08:00
|
|
|
addressable (~> 2.5, >= 2.5.1)
|
2021-01-22 05:22:41 +08:00
|
|
|
googleauth (~> 0.14)
|
2017-08-01 04:55:55 +08:00
|
|
|
httpclient (>= 2.8.1, < 3.0)
|
2019-10-10 12:48:16 +08:00
|
|
|
mini_mime (~> 1.0)
|
2017-08-01 04:55:55 +08:00
|
|
|
representable (~> 3.0)
|
|
|
|
retriable (>= 2.0, < 4.0)
|
2020-09-21 13:19:59 +08:00
|
|
|
rexml
|
2021-01-22 05:22:41 +08:00
|
|
|
signet (~> 0.14)
|
2021-04-14 02:18:28 +08:00
|
|
|
webrick
|
2021-06-09 07:27:47 +08:00
|
|
|
google-apis-iamcredentials_v1 (0.4.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
google-apis-core (~> 0.1)
|
2021-06-09 07:27:47 +08:00
|
|
|
google-apis-storage_v1 (0.4.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
google-apis-core (~> 0.1)
|
2021-04-14 02:18:28 +08:00
|
|
|
google-cloud-core (1.6.0)
|
2017-08-01 04:55:55 +08:00
|
|
|
google-cloud-env (~> 1.0)
|
Unlock `azure-storage-blob` version to use version 2.0
`azure-storage-blob` 2.0.0 has been released.
https://rubygems.org/gems/azure-storage-blob/versions/2.0.0
According to this commit and changelog, `azure-storage-blob` 1.1.0 did not support Ruby 2.6 and higher.
As of right now, Rails master branch should support Ruby 2.5.0, 2.6.0 and 2.7.0
then it should be appropriate to unlock `azure-storage-blob` version.
https://github.com/Azure/azure-storage-ruby/commit/252e3f06a5cf2e2583302bfefa95d8b25818a44f
This commit addresses this following error:
```ruby
% cd activestorage
% bundle exec rake test
Traceback (most recent call last):
14: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
13: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
12: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
9: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
8: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
7: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:30:in `resolve'
3: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
2: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/azure_storage_service.rb:3:in `<top (required)>'
/Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:346:in `block (2 levels) in replace_gem': can't activate azure-storage-blob (~> 1.1), already activated azure-storage-blob-2.0.0. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
9: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
8: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
7: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
3: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
2: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:29:in `resolve'
/Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:33:in `rescue in resolve': Missing service adapter for "AzureStorage" (RuntimeError)
rake aborted!
```
* Update Gemfile.lock to bump azure-storage-blob version
```
% bundle update --conservative faraday azure-storage-blob google-cloud-storage`
```
- How to find gem name to update by setting `gem "azure-storage-blob", "= 2.0.0"` temporarily
```ruby
% git diff
diff --git a/Gemfile b/Gemfile
index 5fdaceab2f..6be7dccf4b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -84,7 +84,7 @@ end
group :storage do
gem "aws-sdk-s3", require: false
gem "google-cloud-storage", "~> 1.11", require: false
- gem "azure-storage-blob", require: false
+ gem "azure-storage-blob", "= 2.0.0", require: false # Use 2.0.0 temporarily to find which gems need bump
gem "image_processing", "~> 1.2"
end
% bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (= 0.17.1)
In Gemfile:
azure-storage-blob (= 2.0.0) was resolved to 2.0.0, which depends on
azure-storage-common (~> 2.0) was resolved to 2.0.1, which depends on
faraday (~> 1.0)
google-cloud-storage (~> 1.11) was resolved to 1.25.0, which depends on
googleauth (~> 0.9) was resolved to 0.10.0, which depends on
faraday (~> 0.12)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
% git checkout -f Gemfile
% bundle update --conservative faraday azure-storage-blob google-cloud-storage
```
2020-03-16 18:38:22 +08:00
|
|
|
google-cloud-errors (~> 1.0)
|
2021-04-14 02:18:28 +08:00
|
|
|
google-cloud-env (1.5.0)
|
Unlock `azure-storage-blob` version to use version 2.0
`azure-storage-blob` 2.0.0 has been released.
https://rubygems.org/gems/azure-storage-blob/versions/2.0.0
According to this commit and changelog, `azure-storage-blob` 1.1.0 did not support Ruby 2.6 and higher.
As of right now, Rails master branch should support Ruby 2.5.0, 2.6.0 and 2.7.0
then it should be appropriate to unlock `azure-storage-blob` version.
https://github.com/Azure/azure-storage-ruby/commit/252e3f06a5cf2e2583302bfefa95d8b25818a44f
This commit addresses this following error:
```ruby
% cd activestorage
% bundle exec rake test
Traceback (most recent call last):
14: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
13: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
12: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
9: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
8: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
7: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:30:in `resolve'
3: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
2: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/azure_storage_service.rb:3:in `<top (required)>'
/Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:346:in `block (2 levels) in replace_gem': can't activate azure-storage-blob (~> 1.1), already activated azure-storage-blob-2.0.0. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
9: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
8: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
7: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
3: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
2: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:29:in `resolve'
/Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:33:in `rescue in resolve': Missing service adapter for "AzureStorage" (RuntimeError)
rake aborted!
```
* Update Gemfile.lock to bump azure-storage-blob version
```
% bundle update --conservative faraday azure-storage-blob google-cloud-storage`
```
- How to find gem name to update by setting `gem "azure-storage-blob", "= 2.0.0"` temporarily
```ruby
% git diff
diff --git a/Gemfile b/Gemfile
index 5fdaceab2f..6be7dccf4b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -84,7 +84,7 @@ end
group :storage do
gem "aws-sdk-s3", require: false
gem "google-cloud-storage", "~> 1.11", require: false
- gem "azure-storage-blob", require: false
+ gem "azure-storage-blob", "= 2.0.0", require: false # Use 2.0.0 temporarily to find which gems need bump
gem "image_processing", "~> 1.2"
end
% bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (= 0.17.1)
In Gemfile:
azure-storage-blob (= 2.0.0) was resolved to 2.0.0, which depends on
azure-storage-common (~> 2.0) was resolved to 2.0.1, which depends on
faraday (~> 1.0)
google-cloud-storage (~> 1.11) was resolved to 1.25.0, which depends on
googleauth (~> 0.9) was resolved to 0.10.0, which depends on
faraday (~> 0.12)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
% git checkout -f Gemfile
% bundle update --conservative faraday azure-storage-blob google-cloud-storage
```
2020-03-16 18:38:22 +08:00
|
|
|
faraday (>= 0.17.3, < 2.0)
|
2021-04-14 02:18:28 +08:00
|
|
|
google-cloud-errors (1.1.0)
|
2021-06-09 07:27:47 +08:00
|
|
|
google-cloud-storage (1.31.1)
|
2019-10-10 12:48:16 +08:00
|
|
|
addressable (~> 2.5)
|
2017-08-01 04:55:55 +08:00
|
|
|
digest-crc (~> 0.4)
|
2021-01-22 05:22:41 +08:00
|
|
|
google-apis-iamcredentials_v1 (~> 0.1)
|
|
|
|
google-apis-storage_v1 (~> 0.1)
|
2018-05-02 11:20:56 +08:00
|
|
|
google-cloud-core (~> 1.2)
|
2019-12-28 02:30:45 +08:00
|
|
|
googleauth (~> 0.9)
|
2019-10-10 12:48:16 +08:00
|
|
|
mini_mime (~> 1.0)
|
2021-06-09 07:27:47 +08:00
|
|
|
googleauth (0.16.2)
|
Unlock `azure-storage-blob` version to use version 2.0
`azure-storage-blob` 2.0.0 has been released.
https://rubygems.org/gems/azure-storage-blob/versions/2.0.0
According to this commit and changelog, `azure-storage-blob` 1.1.0 did not support Ruby 2.6 and higher.
As of right now, Rails master branch should support Ruby 2.5.0, 2.6.0 and 2.7.0
then it should be appropriate to unlock `azure-storage-blob` version.
https://github.com/Azure/azure-storage-ruby/commit/252e3f06a5cf2e2583302bfefa95d8b25818a44f
This commit addresses this following error:
```ruby
% cd activestorage
% bundle exec rake test
Traceback (most recent call last):
14: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
13: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
12: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
9: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
8: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
7: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:30:in `resolve'
3: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
2: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/azure_storage_service.rb:3:in `<top (required)>'
/Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:346:in `block (2 levels) in replace_gem': can't activate azure-storage-blob (~> 1.1), already activated azure-storage-blob-2.0.0. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
9: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
8: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
7: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
3: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
2: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:29:in `resolve'
/Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:33:in `rescue in resolve': Missing service adapter for "AzureStorage" (RuntimeError)
rake aborted!
```
* Update Gemfile.lock to bump azure-storage-blob version
```
% bundle update --conservative faraday azure-storage-blob google-cloud-storage`
```
- How to find gem name to update by setting `gem "azure-storage-blob", "= 2.0.0"` temporarily
```ruby
% git diff
diff --git a/Gemfile b/Gemfile
index 5fdaceab2f..6be7dccf4b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -84,7 +84,7 @@ end
group :storage do
gem "aws-sdk-s3", require: false
gem "google-cloud-storage", "~> 1.11", require: false
- gem "azure-storage-blob", require: false
+ gem "azure-storage-blob", "= 2.0.0", require: false # Use 2.0.0 temporarily to find which gems need bump
gem "image_processing", "~> 1.2"
end
% bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (= 0.17.1)
In Gemfile:
azure-storage-blob (= 2.0.0) was resolved to 2.0.0, which depends on
azure-storage-common (~> 2.0) was resolved to 2.0.1, which depends on
faraday (~> 1.0)
google-cloud-storage (~> 1.11) was resolved to 1.25.0, which depends on
googleauth (~> 0.9) was resolved to 0.10.0, which depends on
faraday (~> 0.12)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
% git checkout -f Gemfile
% bundle update --conservative faraday azure-storage-blob google-cloud-storage
```
2020-03-16 18:38:22 +08:00
|
|
|
faraday (>= 0.17.3, < 2.0)
|
2017-11-29 12:08:33 +08:00
|
|
|
jwt (>= 1.4, < 3.0)
|
2018-11-10 06:21:08 +08:00
|
|
|
memoist (~> 0.16)
|
2017-08-01 04:55:55 +08:00
|
|
|
multi_json (~> 1.11)
|
2018-09-06 05:41:31 +08:00
|
|
|
os (>= 0.9, < 2.0)
|
2020-09-21 13:19:59 +08:00
|
|
|
signet (~> 0.14)
|
2020-11-04 14:39:41 +08:00
|
|
|
hashdiff (1.0.1)
|
2018-11-10 06:21:08 +08:00
|
|
|
hiredis (0.6.3)
|
2016-05-22 02:15:58 +08:00
|
|
|
http_parser.rb (0.6.0)
|
2017-08-01 04:55:55 +08:00
|
|
|
httpclient (2.8.3)
|
2021-04-14 02:18:28 +08:00
|
|
|
i18n (1.8.10)
|
2017-11-28 02:01:15 +08:00
|
|
|
concurrent-ruby (~> 1.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
image_processing (1.12.1)
|
2019-10-10 12:48:16 +08:00
|
|
|
mini_magick (>= 4.9.5, < 5)
|
2020-01-08 04:40:28 +08:00
|
|
|
ruby-vips (>= 2.0.17, < 3)
|
2021-09-06 22:44:44 +08:00
|
|
|
importmap-rails (0.5.1)
|
2021-08-26 16:39:36 +08:00
|
|
|
rails (>= 6.0.0)
|
2021-09-08 23:35:41 +08:00
|
|
|
io-console (0.5.9)
|
|
|
|
irb (1.3.7)
|
|
|
|
reline (>= 0.2.7)
|
2018-05-31 01:49:55 +08:00
|
|
|
jmespath (1.4.0)
|
2021-09-06 22:44:44 +08:00
|
|
|
jsbundling-rails (0.1.0)
|
|
|
|
rails (>= 6.0.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
json (2.5.1)
|
2021-06-09 07:27:47 +08:00
|
|
|
jwt (2.2.3)
|
2016-12-18 23:13:50 +08:00
|
|
|
kindlerb (1.2.0)
|
2015-02-19 00:30:25 +08:00
|
|
|
mustache
|
|
|
|
nokogiri
|
2021-01-22 05:22:41 +08:00
|
|
|
libxml-ruby (3.2.1)
|
2021-08-11 21:18:43 +08:00
|
|
|
listen (3.6.0)
|
2020-11-10 23:52:20 +08:00
|
|
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
|
|
rb-inotify (~> 0.9, >= 0.9.10)
|
2021-09-16 05:55:08 +08:00
|
|
|
loofah (2.12.0)
|
2017-11-28 02:01:15 +08:00
|
|
|
crass (~> 1.0.2)
|
2015-02-19 00:30:25 +08:00
|
|
|
nokogiri (>= 1.5.9)
|
2018-10-14 07:33:40 +08:00
|
|
|
mail (2.7.1)
|
2017-11-01 12:44:55 +08:00
|
|
|
mini_mime (>= 0.1.1)
|
2021-04-14 02:18:28 +08:00
|
|
|
marcel (1.0.1)
|
2019-12-28 02:30:45 +08:00
|
|
|
memoist (0.16.2)
|
2020-11-03 05:12:47 +08:00
|
|
|
method_source (1.0.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
mini_magick (4.11.0)
|
2021-04-05 10:44:02 +08:00
|
|
|
mini_mime (1.1.0)
|
2021-06-18 04:26:38 +08:00
|
|
|
mini_portile2 (2.5.3)
|
2021-04-14 02:18:28 +08:00
|
|
|
minitest (5.14.4)
|
2019-10-10 12:48:16 +08:00
|
|
|
minitest-bisect (1.5.1)
|
2016-07-12 14:06:25 +08:00
|
|
|
minitest-server (~> 1.0)
|
2019-10-10 12:48:16 +08:00
|
|
|
path_expander (~> 1.1)
|
2021-08-26 16:39:36 +08:00
|
|
|
minitest-ci (3.4.0)
|
|
|
|
minitest (>= 5.0.6)
|
2021-06-09 07:27:47 +08:00
|
|
|
minitest-retry (0.2.2)
|
2018-10-11 06:33:09 +08:00
|
|
|
minitest (>= 5.0)
|
2019-12-28 02:30:45 +08:00
|
|
|
minitest-server (1.0.6)
|
2020-06-01 18:59:27 +08:00
|
|
|
minitest (~> 5.0)
|
2021-04-14 02:18:28 +08:00
|
|
|
mono_logger (1.1.1)
|
|
|
|
msgpack (1.4.2)
|
2020-09-21 13:19:59 +08:00
|
|
|
multi_json (1.15.0)
|
2019-10-10 12:48:16 +08:00
|
|
|
multipart-post (2.1.1)
|
2019-12-28 02:30:45 +08:00
|
|
|
mustache (1.1.1)
|
2020-11-04 14:39:41 +08:00
|
|
|
mustermann (1.1.1)
|
|
|
|
ruby2_keywords (~> 0.0.1)
|
2021-01-22 05:22:41 +08:00
|
|
|
net-http-persistent (4.0.1)
|
|
|
|
connection_pool (~> 2.2)
|
2021-04-14 02:18:28 +08:00
|
|
|
nio4r (2.5.7)
|
2021-06-18 04:26:38 +08:00
|
|
|
nokogiri (1.11.7)
|
|
|
|
mini_portile2 (~> 2.5.0)
|
|
|
|
racc (~> 1.4)
|
2021-06-09 07:27:47 +08:00
|
|
|
nokogiri (1.11.7-x86_64-darwin)
|
2021-01-22 05:22:41 +08:00
|
|
|
racc (~> 1.4)
|
2021-06-09 07:27:47 +08:00
|
|
|
nokogiri (1.11.7-x86_64-linux)
|
2021-01-22 05:22:41 +08:00
|
|
|
racc (~> 1.4)
|
2020-09-21 13:19:59 +08:00
|
|
|
os (1.1.1)
|
2021-01-22 05:22:41 +08:00
|
|
|
parallel (1.20.1)
|
2021-08-12 19:01:37 +08:00
|
|
|
parser (3.0.2.0)
|
2020-09-06 09:07:04 +08:00
|
|
|
ast (~> 2.4.1)
|
2019-10-10 12:48:16 +08:00
|
|
|
path_expander (1.1.0)
|
2020-03-30 18:05:56 +08:00
|
|
|
pg (1.2.3)
|
2021-06-09 07:27:47 +08:00
|
|
|
psych (3.3.2)
|
2020-09-21 13:19:59 +08:00
|
|
|
public_suffix (4.0.6)
|
2021-06-09 07:27:47 +08:00
|
|
|
puma (5.3.2)
|
2019-08-18 19:21:39 +08:00
|
|
|
nio4r (~> 2.0)
|
2018-05-31 01:49:55 +08:00
|
|
|
que (0.14.3)
|
2020-11-04 14:39:41 +08:00
|
|
|
raabro (1.4.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
racc (1.5.2)
|
2020-10-04 05:27:05 +08:00
|
|
|
rack (2.2.3)
|
2020-11-04 14:39:41 +08:00
|
|
|
rack-cache (1.12.1)
|
2015-02-19 00:30:25 +08:00
|
|
|
rack (>= 0.4)
|
2020-11-04 14:39:41 +08:00
|
|
|
rack-protection (2.1.0)
|
2016-09-14 08:19:09 +08:00
|
|
|
rack
|
2018-09-06 05:41:31 +08:00
|
|
|
rack-test (1.1.0)
|
2017-07-20 07:04:53 +08:00
|
|
|
rack (>= 1.0, < 3)
|
|
|
|
rails-dom-testing (2.0.3)
|
|
|
|
activesupport (>= 4.2.0)
|
|
|
|
nokogiri (>= 1.6)
|
2021-09-16 05:55:08 +08:00
|
|
|
rails-html-sanitizer (1.4.2)
|
2019-10-10 12:48:16 +08:00
|
|
|
loofah (~> 2.3)
|
2018-02-23 07:54:23 +08:00
|
|
|
rainbow (3.0.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
rake (13.0.3)
|
2021-06-09 07:27:47 +08:00
|
|
|
rb-fsevent (0.11.0)
|
2019-12-28 02:30:45 +08:00
|
|
|
rb-inotify (0.10.1)
|
2018-12-30 22:05:30 +08:00
|
|
|
ffi (~> 1.0)
|
2021-06-09 07:27:47 +08:00
|
|
|
rbtree (0.4.4)
|
2021-05-21 16:06:22 +08:00
|
|
|
rdoc (6.3.1)
|
2015-04-09 17:20:53 +08:00
|
|
|
redcarpet (3.2.3)
|
2021-06-18 04:26:38 +08:00
|
|
|
redis (4.3.1)
|
2021-02-22 17:48:02 +08:00
|
|
|
redis-namespace (1.8.1)
|
|
|
|
redis (>= 3.0.4)
|
2021-04-14 02:18:28 +08:00
|
|
|
regexp_parser (2.1.1)
|
2021-09-08 23:35:41 +08:00
|
|
|
reline (0.2.7)
|
|
|
|
io-console (~> 0.5)
|
2021-04-14 02:18:28 +08:00
|
|
|
representable (3.1.1)
|
2017-08-01 04:55:55 +08:00
|
|
|
declarative (< 0.1.0)
|
2021-04-14 02:18:28 +08:00
|
|
|
trailblazer-option (>= 0.1.1, < 0.2.0)
|
2017-08-01 04:55:55 +08:00
|
|
|
uber (< 0.2.0)
|
2019-05-08 20:58:20 +08:00
|
|
|
resque (2.0.0)
|
2017-02-10 14:31:41 +08:00
|
|
|
mono_logger (~> 1.0)
|
|
|
|
multi_json (~> 1.0)
|
2019-05-08 20:58:20 +08:00
|
|
|
redis-namespace (~> 1.6)
|
2017-02-10 14:31:41 +08:00
|
|
|
sinatra (>= 0.9.2)
|
|
|
|
vegas (~> 0.1.2)
|
2019-05-08 20:58:20 +08:00
|
|
|
resque-scheduler (4.4.0)
|
2017-12-14 06:49:08 +08:00
|
|
|
mono_logger (~> 1.0)
|
2019-05-08 20:58:20 +08:00
|
|
|
redis (>= 3.3)
|
|
|
|
resque (>= 1.26)
|
2017-12-14 06:49:08 +08:00
|
|
|
rufus-scheduler (~> 3.2)
|
2018-09-06 05:41:31 +08:00
|
|
|
retriable (3.1.2)
|
2021-04-14 02:18:28 +08:00
|
|
|
rexml (3.2.5)
|
2021-01-22 05:22:41 +08:00
|
|
|
rouge (3.26.0)
|
2021-08-12 19:01:37 +08:00
|
|
|
rubocop (1.19.0)
|
2017-05-24 14:20:00 +08:00
|
|
|
parallel (~> 1.10)
|
2021-01-22 05:22:41 +08:00
|
|
|
parser (>= 3.0.0.0)
|
2018-02-23 07:54:23 +08:00
|
|
|
rainbow (>= 2.2.2, < 4.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
regexp_parser (>= 1.8, < 3.0)
|
2020-02-20 23:08:20 +08:00
|
|
|
rexml
|
2021-08-12 19:01:37 +08:00
|
|
|
rubocop-ast (>= 1.9.1, < 2.0)
|
2016-11-28 11:12:33 +08:00
|
|
|
ruby-progressbar (~> 1.7)
|
2021-01-22 05:22:41 +08:00
|
|
|
unicode-display_width (>= 1.4.0, < 3.0)
|
2021-08-12 19:01:37 +08:00
|
|
|
rubocop-ast (1.9.1)
|
2021-06-09 07:27:47 +08:00
|
|
|
parser (>= 3.0.1.1)
|
2021-06-24 18:46:21 +08:00
|
|
|
rubocop-minitest (0.15.0)
|
|
|
|
rubocop (>= 0.90, < 2.0)
|
2020-10-22 15:12:38 +08:00
|
|
|
rubocop-packaging (0.5.1)
|
|
|
|
rubocop (>= 0.89, < 2.0)
|
2021-08-12 19:01:37 +08:00
|
|
|
rubocop-performance (1.11.4)
|
2021-04-23 15:31:19 +08:00
|
|
|
rubocop (>= 1.7.0, < 2.0)
|
2020-10-22 15:12:38 +08:00
|
|
|
rubocop-ast (>= 0.4.0)
|
2021-08-12 19:01:37 +08:00
|
|
|
rubocop-rails (2.11.3)
|
2020-10-22 15:12:38 +08:00
|
|
|
activesupport (>= 4.2.0)
|
2019-10-10 12:48:16 +08:00
|
|
|
rack (>= 1.1)
|
2021-06-09 07:27:47 +08:00
|
|
|
rubocop (>= 1.7.0, < 2.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
ruby-progressbar (1.11.0)
|
2021-06-09 07:27:47 +08:00
|
|
|
ruby-vips (2.1.2)
|
2021-04-14 02:18:28 +08:00
|
|
|
ffi (~> 1.12)
|
2021-01-22 05:22:41 +08:00
|
|
|
ruby2_keywords (0.0.4)
|
2020-11-04 14:39:41 +08:00
|
|
|
rubyzip (2.3.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
rufus-scheduler (3.7.0)
|
2019-05-08 20:58:20 +08:00
|
|
|
fugit (~> 1.1, >= 1.1.6)
|
2021-05-21 16:06:22 +08:00
|
|
|
sdoc (2.2.0)
|
2020-11-03 03:57:41 +08:00
|
|
|
rdoc (>= 5.0)
|
2021-06-09 07:27:47 +08:00
|
|
|
selenium-webdriver (4.0.0.beta4)
|
2020-12-29 09:11:25 +08:00
|
|
|
childprocess (>= 0.5, < 5.0)
|
2021-04-14 02:18:28 +08:00
|
|
|
rexml (~> 3.2)
|
2019-10-10 12:48:16 +08:00
|
|
|
rubyzip (>= 1.2.2)
|
2021-06-09 07:27:47 +08:00
|
|
|
sequel (5.45.0)
|
2018-09-06 05:41:31 +08:00
|
|
|
serverengine (2.0.7)
|
2015-02-19 00:30:25 +08:00
|
|
|
sigdump (~> 0.2.2)
|
2021-06-09 07:27:47 +08:00
|
|
|
set (1.0.1)
|
2021-04-14 02:18:28 +08:00
|
|
|
sidekiq (6.2.1)
|
2019-09-02 05:31:21 +08:00
|
|
|
connection_pool (>= 2.2.2)
|
2020-10-04 05:27:05 +08:00
|
|
|
rack (~> 2.0)
|
|
|
|
redis (>= 4.2.0)
|
2016-05-07 05:16:28 +08:00
|
|
|
sigdump (0.2.4)
|
2021-04-14 02:18:28 +08:00
|
|
|
signet (0.15.0)
|
2017-08-01 04:55:55 +08:00
|
|
|
addressable (~> 2.3)
|
Unlock `azure-storage-blob` version to use version 2.0
`azure-storage-blob` 2.0.0 has been released.
https://rubygems.org/gems/azure-storage-blob/versions/2.0.0
According to this commit and changelog, `azure-storage-blob` 1.1.0 did not support Ruby 2.6 and higher.
As of right now, Rails master branch should support Ruby 2.5.0, 2.6.0 and 2.7.0
then it should be appropriate to unlock `azure-storage-blob` version.
https://github.com/Azure/azure-storage-ruby/commit/252e3f06a5cf2e2583302bfefa95d8b25818a44f
This commit addresses this following error:
```ruby
% cd activestorage
% bundle exec rake test
Traceback (most recent call last):
14: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
13: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
12: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
9: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
8: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
7: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:30:in `resolve'
3: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
2: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/azure_storage_service.rb:3:in `<top (required)>'
/Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:346:in `block (2 levels) in replace_gem': can't activate azure-storage-blob (~> 1.1), already activated azure-storage-blob-2.0.0. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
11: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `<main>'
10: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in `select'
9: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
8: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
7: from /Users/yahonda/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
6: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:7:in `<top (required)>'
5: from /Users/yahonda/src/github.com/rails/rails/activestorage/test/service/azure_storage_service_test.rb:8:in `<class:AzureStorageServiceTest>'
4: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service.rb:51:in `configure'
3: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:8:in `build'
2: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:17:in `build'
1: from /Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:29:in `resolve'
/Users/yahonda/src/github.com/rails/rails/activestorage/lib/active_storage/service/configurator.rb:33:in `rescue in resolve': Missing service adapter for "AzureStorage" (RuntimeError)
rake aborted!
```
* Update Gemfile.lock to bump azure-storage-blob version
```
% bundle update --conservative faraday azure-storage-blob google-cloud-storage`
```
- How to find gem name to update by setting `gem "azure-storage-blob", "= 2.0.0"` temporarily
```ruby
% git diff
diff --git a/Gemfile b/Gemfile
index 5fdaceab2f..6be7dccf4b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -84,7 +84,7 @@ end
group :storage do
gem "aws-sdk-s3", require: false
gem "google-cloud-storage", "~> 1.11", require: false
- gem "azure-storage-blob", require: false
+ gem "azure-storage-blob", "= 2.0.0", require: false # Use 2.0.0 temporarily to find which gems need bump
gem "image_processing", "~> 1.2"
end
% bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (= 0.17.1)
In Gemfile:
azure-storage-blob (= 2.0.0) was resolved to 2.0.0, which depends on
azure-storage-common (~> 2.0) was resolved to 2.0.1, which depends on
faraday (~> 1.0)
google-cloud-storage (~> 1.11) was resolved to 1.25.0, which depends on
googleauth (~> 0.9) was resolved to 0.10.0, which depends on
faraday (~> 0.12)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
% git checkout -f Gemfile
% bundle update --conservative faraday azure-storage-blob google-cloud-storage
```
2020-03-16 18:38:22 +08:00
|
|
|
faraday (>= 0.17.3, < 2.0)
|
2017-11-29 12:08:33 +08:00
|
|
|
jwt (>= 1.5, < 3.0)
|
2017-08-01 04:55:55 +08:00
|
|
|
multi_json (~> 1.10)
|
2020-11-04 14:39:41 +08:00
|
|
|
sinatra (2.1.0)
|
2017-07-20 07:04:53 +08:00
|
|
|
mustermann (~> 1.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
rack (~> 2.2)
|
|
|
|
rack-protection (= 2.1.0)
|
2017-07-20 07:04:53 +08:00
|
|
|
tilt (~> 2.0)
|
2019-01-30 06:39:43 +08:00
|
|
|
sneakers (2.11.0)
|
|
|
|
bunny (~> 2.12)
|
2018-05-31 01:49:55 +08:00
|
|
|
concurrent-ruby (~> 1.0)
|
2019-01-30 06:39:43 +08:00
|
|
|
rake
|
2018-05-31 01:49:55 +08:00
|
|
|
serverengine (~> 2.0.5)
|
2015-02-19 00:30:25 +08:00
|
|
|
thor
|
2021-06-09 07:27:47 +08:00
|
|
|
sorted_set (1.0.3)
|
|
|
|
rbtree
|
|
|
|
set (~> 1.0)
|
2020-10-04 05:43:39 +08:00
|
|
|
sprockets (4.0.2)
|
2015-12-17 02:30:58 +08:00
|
|
|
concurrent-ruby (~> 1.0)
|
|
|
|
rack (> 1, < 3)
|
2017-07-20 07:04:53 +08:00
|
|
|
sprockets-export (1.0.0)
|
2020-10-04 05:43:39 +08:00
|
|
|
sprockets-rails (3.2.2)
|
2015-12-18 04:22:58 +08:00
|
|
|
actionpack (>= 4.0)
|
|
|
|
activesupport (>= 4.0)
|
|
|
|
sprockets (>= 3.0.0)
|
2019-12-19 17:27:02 +08:00
|
|
|
sqlite3 (1.4.2)
|
2021-06-09 07:27:47 +08:00
|
|
|
stackprof (0.2.17)
|
2021-09-06 22:44:44 +08:00
|
|
|
stimulus-rails (0.4.2)
|
2021-08-26 16:39:36 +08:00
|
|
|
rails (>= 6.0.0)
|
2021-04-14 02:18:28 +08:00
|
|
|
sucker_punch (3.0.1)
|
2018-09-06 05:41:31 +08:00
|
|
|
concurrent-ruby (~> 1.0)
|
2021-09-07 23:48:13 +08:00
|
|
|
tailwindcss-rails (0.4.3)
|
|
|
|
rails (>= 6.0.0)
|
2021-06-28 12:48:56 +08:00
|
|
|
terser (1.1.4)
|
|
|
|
execjs (>= 0.3.0, < 3)
|
2021-06-09 07:27:47 +08:00
|
|
|
thin (1.8.1)
|
2016-08-04 06:55:47 +08:00
|
|
|
daemons (~> 1.0, >= 1.0.9)
|
|
|
|
eventmachine (~> 1.0, >= 1.0.4)
|
|
|
|
rack (>= 1, < 3)
|
2021-01-22 05:22:41 +08:00
|
|
|
thor (1.1.0)
|
2019-10-10 12:48:16 +08:00
|
|
|
tilt (2.0.10)
|
2021-04-14 02:18:28 +08:00
|
|
|
trailblazer-option (0.1.1)
|
2021-09-06 22:44:44 +08:00
|
|
|
turbo-rails (0.7.11)
|
2021-08-26 16:39:36 +08:00
|
|
|
rails (>= 6.0.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
tzinfo (2.0.4)
|
2017-12-29 20:47:10 +08:00
|
|
|
concurrent-ruby (~> 1.0)
|
2017-08-01 04:55:55 +08:00
|
|
|
uber (0.1.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
unicode-display_width (2.0.0)
|
2018-05-31 01:49:55 +08:00
|
|
|
useragent (0.16.10)
|
2015-02-19 00:30:25 +08:00
|
|
|
vegas (0.1.11)
|
|
|
|
rack (>= 1.0.0)
|
2020-09-21 13:19:59 +08:00
|
|
|
w3c_validators (1.3.6)
|
2017-07-20 07:04:53 +08:00
|
|
|
json (>= 1.8)
|
2016-12-26 20:46:01 +08:00
|
|
|
nokogiri (~> 1.6)
|
2020-09-21 13:19:59 +08:00
|
|
|
rexml (~> 3.2)
|
2021-04-14 02:18:28 +08:00
|
|
|
webdrivers (4.6.0)
|
2019-03-25 05:05:30 +08:00
|
|
|
nokogiri (~> 1.6)
|
2019-10-10 12:48:16 +08:00
|
|
|
rubyzip (>= 1.3.0)
|
|
|
|
selenium-webdriver (>= 3.0, < 4.0)
|
2021-06-09 07:27:47 +08:00
|
|
|
webmock (3.13.0)
|
2018-11-26 03:30:05 +08:00
|
|
|
addressable (>= 2.3.6)
|
|
|
|
crack (>= 0.3.2)
|
2019-10-10 12:48:16 +08:00
|
|
|
hashdiff (>= 0.4.0, < 2.0.0)
|
2020-12-13 15:34:39 +08:00
|
|
|
webrick (1.7.0)
|
2021-01-22 05:22:41 +08:00
|
|
|
websocket (1.2.9)
|
2021-06-18 04:26:38 +08:00
|
|
|
websocket-driver (0.7.5)
|
2021-02-22 17:48:02 +08:00
|
|
|
websocket-extensions (>= 0.1.0)
|
2020-11-04 14:39:41 +08:00
|
|
|
websocket-extensions (0.1.5)
|
2018-11-10 06:21:08 +08:00
|
|
|
xpath (3.2.0)
|
2018-04-06 19:55:34 +08:00
|
|
|
nokogiri (~> 1.8)
|
2021-09-29 15:25:40 +08:00
|
|
|
zeitwerk (2.5.0.beta5)
|
2015-02-19 00:30:25 +08:00
|
|
|
|
|
|
|
PLATFORMS
|
2021-06-17 05:17:34 +08:00
|
|
|
ruby
|
2021-01-14 04:12:23 +08:00
|
|
|
x86_64-darwin-19
|
2021-06-10 21:33:10 +08:00
|
|
|
x86_64-darwin-20
|
2021-06-09 07:27:47 +08:00
|
|
|
x86_64-linux
|
2015-02-19 00:30:25 +08:00
|
|
|
|
|
|
|
DEPENDENCIES
|
|
|
|
activerecord-jdbcmysql-adapter (>= 1.3.0)
|
|
|
|
activerecord-jdbcpostgresql-adapter (>= 1.3.0)
|
|
|
|
activerecord-jdbcsqlite3-adapter (>= 1.3.0)
|
2017-09-10 11:22:10 +08:00
|
|
|
aws-sdk-s3
|
2018-10-07 10:02:08 +08:00
|
|
|
aws-sdk-sns
|
2021-08-24 03:17:59 +08:00
|
|
|
azure-storage-blob (~> 2.0)
|
2015-02-19 00:30:25 +08:00
|
|
|
backburner
|
2016-03-11 03:28:02 +08:00
|
|
|
bcrypt (~> 3.1.11)
|
2021-05-25 05:11:38 +08:00
|
|
|
benchmark-ips
|
2016-06-05 06:54:34 +08:00
|
|
|
blade
|
2019-04-26 15:25:28 +08:00
|
|
|
bootsnap (>= 1.4.4)
|
2019-07-25 10:19:21 +08:00
|
|
|
capybara (>= 3.26)
|
2017-12-13 08:11:47 +08:00
|
|
|
connection_pool
|
2021-09-07 23:48:13 +08:00
|
|
|
cssbundling-rails
|
2018-04-11 15:52:10 +08:00
|
|
|
dalli
|
2021-09-20 21:18:30 +08:00
|
|
|
debug (>= 1.1.0)
|
2017-12-30 05:57:28 +08:00
|
|
|
delayed_job
|
2017-01-29 08:05:06 +08:00
|
|
|
delayed_job_active_record
|
2018-05-02 11:20:56 +08:00
|
|
|
google-cloud-storage (~> 1.11)
|
2016-01-31 23:00:00 +08:00
|
|
|
hiredis
|
2018-04-06 07:48:29 +08:00
|
|
|
image_processing (~> 1.2)
|
2021-08-26 16:39:36 +08:00
|
|
|
importmap-rails
|
2021-09-06 22:44:44 +08:00
|
|
|
jsbundling-rails
|
2016-11-15 08:26:03 +08:00
|
|
|
json (>= 2.0.0)
|
2016-12-18 23:13:50 +08:00
|
|
|
kindlerb (~> 1.2.0)
|
2016-11-19 23:46:28 +08:00
|
|
|
libxml-ruby
|
2020-11-10 23:52:20 +08:00
|
|
|
listen (~> 3.3)
|
2016-07-12 14:06:25 +08:00
|
|
|
minitest-bisect
|
2021-08-26 16:39:36 +08:00
|
|
|
minitest-ci
|
2018-10-11 06:33:09 +08:00
|
|
|
minitest-retry
|
2020-09-23 03:40:47 +08:00
|
|
|
mysql2 (~> 0.5)!
|
2021-01-05 20:52:07 +08:00
|
|
|
nokogiri (>= 1.8.1, != 1.11.0)
|
2020-04-27 01:50:44 +08:00
|
|
|
pg (~> 1.1)
|
2018-03-10 04:14:36 +08:00
|
|
|
psych (~> 3.0)
|
2015-12-14 23:38:37 +08:00
|
|
|
puma
|
2015-02-19 00:30:25 +08:00
|
|
|
que
|
2015-08-13 15:56:06 +08:00
|
|
|
queue_classic!
|
2015-02-19 00:30:25 +08:00
|
|
|
racc (>= 1.4.6)
|
|
|
|
rack-cache (~> 1.2)
|
|
|
|
rails!
|
2016-03-31 00:12:20 +08:00
|
|
|
rake (>= 11.1)
|
2015-04-09 17:20:53 +08:00
|
|
|
redcarpet (~> 3.2.3)
|
2017-09-29 12:54:00 +08:00
|
|
|
redis (~> 4.0)
|
2021-02-22 17:48:02 +08:00
|
|
|
redis-namespace
|
2017-02-10 14:31:41 +08:00
|
|
|
resque
|
2017-12-14 06:49:08 +08:00
|
|
|
resque-scheduler
|
2020-09-25 06:41:04 +08:00
|
|
|
rexml
|
2020-07-04 16:59:08 +08:00
|
|
|
rouge
|
2020-09-06 09:07:04 +08:00
|
|
|
rubocop (>= 0.90)
|
2021-06-24 18:46:21 +08:00
|
|
|
rubocop-minitest
|
2020-09-07 03:46:11 +08:00
|
|
|
rubocop-packaging
|
2019-04-16 16:05:50 +08:00
|
|
|
rubocop-performance
|
2019-06-06 13:38:19 +08:00
|
|
|
rubocop-rails
|
2021-05-21 16:06:22 +08:00
|
|
|
sdoc (>= 2.2.0)
|
2020-12-29 09:11:25 +08:00
|
|
|
selenium-webdriver (>= 4.0.0.alpha7)
|
2015-02-19 00:30:25 +08:00
|
|
|
sequel
|
2017-10-09 19:49:55 +08:00
|
|
|
sidekiq
|
2015-04-26 15:44:18 +08:00
|
|
|
sneakers
|
2017-03-12 01:33:11 +08:00
|
|
|
sprockets-export
|
Use `execute_batch2` rather than `execute_batch` to fix performance regression for fixture loading
d8d6bd5 makes fixture loading to bulk statements by using
`execute_batch` for sqlite3 adapter. But `execute_batch` is slower and
it caused the performance regression for fixture loading.
In sqlite3 1.4.0, it have new batch method `execute_batch2`. I've
confirmed `execute_batch2` is extremely faster than `execute_batch`.
So I think it is worth to upgrade sqlite3 to 1.4.0 to use that method.
Before:
```
% ARCONN=sqlite3 bundle exec ruby -w -Itest test/cases/associations/eager_test.rb -n test_eager_loading_too_may_ids
Using sqlite3
Run options: -n test_eager_loading_too_may_ids --seed 35790
# Running:
.
Finished in 202.437406s, 0.0049 runs/s, 0.0049 assertions/s.
1 runs, 1 assertions, 0 failures, 0 errors, 0 skips
ARCONN=sqlite3 bundle exec ruby -w -Itest -n test_eager_loading_too_may_ids 142.57s user 60.83s system 98% cpu 3:27.08 total
```
After:
```
% ARCONN=sqlite3 bundle exec ruby -w -Itest test/cases/associations/eager_test.rb -n test_eager_loading_too_may_ids
Using sqlite3
Run options: -n test_eager_loading_too_may_ids --seed 16649
# Running:
.
Finished in 8.471032s, 0.1180 runs/s, 0.1180 assertions/s.
1 runs, 1 assertions, 0 failures, 0 errors, 0 skips
ARCONN=sqlite3 bundle exec ruby -w -Itest -n test_eager_loading_too_may_ids 10.71s user 1.36s system 95% cpu 12.672 total
```
2019-04-04 02:19:08 +08:00
|
|
|
sqlite3 (~> 1.4)
|
2015-02-19 00:30:25 +08:00
|
|
|
stackprof
|
2021-08-26 16:39:36 +08:00
|
|
|
stimulus-rails
|
2016-01-28 00:29:18 +08:00
|
|
|
sucker_punch
|
2021-09-07 23:48:13 +08:00
|
|
|
tailwindcss-rails
|
2021-06-28 12:48:56 +08:00
|
|
|
terser (>= 1.1.4)
|
2021-08-26 16:39:36 +08:00
|
|
|
turbo-rails
|
2015-09-12 22:04:31 +08:00
|
|
|
tzinfo-data
|
2020-09-21 13:19:59 +08:00
|
|
|
w3c_validators (~> 1.3.6)
|
2016-04-22 00:54:54 +08:00
|
|
|
wdm (>= 0.1.0)
|
2019-03-25 05:05:30 +08:00
|
|
|
webdrivers
|
2018-11-26 03:30:05 +08:00
|
|
|
webmock
|
2020-12-13 15:34:39 +08:00
|
|
|
webrick
|
2016-10-06 09:11:18 +08:00
|
|
|
websocket-client-simple!
|
2015-05-29 13:40:29 +08:00
|
|
|
|
|
|
|
BUNDLED WITH
|
2021-08-26 16:39:36 +08:00
|
|
|
2.2.25
|