2019-01-25 14:01:47 -05:00
|
|
|
GIT
|
|
|
|
remote: https://github.com/QueueClassic/queue_classic.git
|
2019-12-27 13:30:45 -05:00
|
|
|
revision: 655143b7952fa011346a00f94d628407aa4e0056
|
2019-01-25 14:01:47 -05:00
|
|
|
specs:
|
2019-10-10 00:48:16 -04:00
|
|
|
queue_classic (4.0.0.pre.alpha1)
|
2019-01-25 14:01:47 -05:00
|
|
|
pg (>= 0.17, < 2.0)
|
|
|
|
|
2016-10-05 21:11:18 -04: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-18 11:30:25 -05:00
|
|
|
PATH
|
|
|
|
remote: .
|
|
|
|
specs:
|
2019-04-24 15:57:14 -04:00
|
|
|
actioncable (6.1.0.alpha)
|
|
|
|
actionpack (= 6.1.0.alpha)
|
2019-10-01 22:24:44 -04:00
|
|
|
activesupport (= 6.1.0.alpha)
|
2016-12-28 22:45:39 -05:00
|
|
|
nio4r (~> 2.0)
|
2018-01-18 17:50:50 -05:00
|
|
|
websocket-driver (>= 0.6.1)
|
2019-04-24 15:57:14 -04:00
|
|
|
actionmailbox (6.1.0.alpha)
|
|
|
|
actionpack (= 6.1.0.alpha)
|
|
|
|
activejob (= 6.1.0.alpha)
|
|
|
|
activerecord (= 6.1.0.alpha)
|
|
|
|
activestorage (= 6.1.0.alpha)
|
|
|
|
activesupport (= 6.1.0.alpha)
|
2018-12-24 15:16:22 -05:00
|
|
|
mail (>= 2.7.1)
|
2019-04-24 15:57:14 -04:00
|
|
|
actionmailer (6.1.0.alpha)
|
|
|
|
actionpack (= 6.1.0.alpha)
|
|
|
|
actionview (= 6.1.0.alpha)
|
|
|
|
activejob (= 6.1.0.alpha)
|
2019-10-01 22:24:44 -04:00
|
|
|
activesupport (= 6.1.0.alpha)
|
2015-02-18 11:30:25 -05:00
|
|
|
mail (~> 2.5, >= 2.5.4)
|
2016-05-10 01:13:56 -04:00
|
|
|
rails-dom-testing (~> 2.0)
|
2019-04-24 15:57:14 -04:00
|
|
|
actionpack (6.1.0.alpha)
|
|
|
|
actionview (= 6.1.0.alpha)
|
|
|
|
activesupport (= 6.1.0.alpha)
|
2019-12-17 16:44:59 -05:00
|
|
|
rack (~> 2.0, >= 2.0.8)
|
2017-07-19 19:04:53 -04:00
|
|
|
rack-test (>= 0.6.3)
|
2016-05-10 01:13:56 -04:00
|
|
|
rails-dom-testing (~> 2.0)
|
2019-08-09 11:40:59 -04:00
|
|
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
2019-04-24 15:57:14 -04:00
|
|
|
actiontext (6.1.0.alpha)
|
|
|
|
actionpack (= 6.1.0.alpha)
|
|
|
|
activerecord (= 6.1.0.alpha)
|
|
|
|
activestorage (= 6.1.0.alpha)
|
|
|
|
activesupport (= 6.1.0.alpha)
|
2019-01-04 19:43:11 -05:00
|
|
|
nokogiri (>= 1.8.5)
|
2019-04-24 15:57:14 -04:00
|
|
|
actionview (6.1.0.alpha)
|
|
|
|
activesupport (= 6.1.0.alpha)
|
2015-02-18 11:30:25 -05:00
|
|
|
builder (~> 3.1)
|
2017-01-20 18:02:34 -05:00
|
|
|
erubi (~> 1.4)
|
2016-05-10 01:13:56 -04:00
|
|
|
rails-dom-testing (~> 2.0)
|
2019-08-08 18:07:45 -04:00
|
|
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
2019-04-24 15:57:14 -04:00
|
|
|
activejob (6.1.0.alpha)
|
|
|
|
activesupport (= 6.1.0.alpha)
|
2015-12-17 19:20:19 -05:00
|
|
|
globalid (>= 0.3.6)
|
2019-04-24 15:57:14 -04:00
|
|
|
activemodel (6.1.0.alpha)
|
|
|
|
activesupport (= 6.1.0.alpha)
|
|
|
|
activerecord (6.1.0.alpha)
|
|
|
|
activemodel (= 6.1.0.alpha)
|
|
|
|
activesupport (= 6.1.0.alpha)
|
|
|
|
activestorage (6.1.0.alpha)
|
|
|
|
actionpack (= 6.1.0.alpha)
|
|
|
|
activejob (= 6.1.0.alpha)
|
|
|
|
activerecord (= 6.1.0.alpha)
|
2019-10-01 22:24:44 -04:00
|
|
|
activesupport (= 6.1.0.alpha)
|
2018-01-15 13:06:17 -05:00
|
|
|
marcel (~> 0.3.1)
|
2019-04-24 15:57:14 -04:00
|
|
|
activesupport (6.1.0.alpha)
|
2016-05-02 18:04:59 -04:00
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
2019-11-21 14:59:22 -05:00
|
|
|
i18n (>= 1.6, < 2)
|
2015-02-18 11:30:25 -05:00
|
|
|
minitest (~> 5.1)
|
|
|
|
tzinfo (~> 1.1)
|
2019-11-29 07:30:18 -05:00
|
|
|
zeitwerk (~> 2.2, >= 2.2.2)
|
2019-04-24 15:57:14 -04:00
|
|
|
rails (6.1.0.alpha)
|
|
|
|
actioncable (= 6.1.0.alpha)
|
|
|
|
actionmailbox (= 6.1.0.alpha)
|
|
|
|
actionmailer (= 6.1.0.alpha)
|
|
|
|
actionpack (= 6.1.0.alpha)
|
|
|
|
actiontext (= 6.1.0.alpha)
|
|
|
|
actionview (= 6.1.0.alpha)
|
|
|
|
activejob (= 6.1.0.alpha)
|
|
|
|
activemodel (= 6.1.0.alpha)
|
|
|
|
activerecord (= 6.1.0.alpha)
|
|
|
|
activestorage (= 6.1.0.alpha)
|
|
|
|
activesupport (= 6.1.0.alpha)
|
2017-07-04 14:54:26 -04:00
|
|
|
bundler (>= 1.3.0)
|
2019-04-24 15:57:14 -04:00
|
|
|
railties (= 6.1.0.alpha)
|
2015-09-01 12:29:16 -04:00
|
|
|
sprockets-rails (>= 2.0.0)
|
2019-04-24 15:57:14 -04:00
|
|
|
railties (6.1.0.alpha)
|
|
|
|
actionpack (= 6.1.0.alpha)
|
|
|
|
activesupport (= 6.1.0.alpha)
|
2015-03-05 09:58:17 -05:00
|
|
|
method_source
|
2015-02-18 11:30:25 -05:00
|
|
|
rake (>= 0.8.7)
|
2019-12-15 13:58:07 -05:00
|
|
|
thor (~> 1.0)
|
2015-02-18 11:30:25 -05:00
|
|
|
|
|
|
|
GEM
|
|
|
|
remote: https://rubygems.org/
|
|
|
|
specs:
|
2019-12-27 13:30:45 -05:00
|
|
|
activerecord-jdbc-adapter (60.1-java)
|
|
|
|
activerecord (~> 6.0.0)
|
|
|
|
activerecord-jdbcmysql-adapter (60.1-java)
|
|
|
|
activerecord-jdbc-adapter (= 60.1)
|
2019-10-10 00:48:16 -04:00
|
|
|
jdbc-mysql (~> 5.1.36, < 9)
|
2019-12-27 13:30:45 -05:00
|
|
|
activerecord-jdbcpostgresql-adapter (60.1-java)
|
|
|
|
activerecord-jdbc-adapter (= 60.1)
|
2018-05-30 13:49:55 -04:00
|
|
|
jdbc-postgres (>= 9.4, < 43)
|
2019-12-27 13:30:45 -05:00
|
|
|
activerecord-jdbcsqlite3-adapter (60.1-java)
|
|
|
|
activerecord-jdbc-adapter (= 60.1)
|
2018-05-30 13:49:55 -04:00
|
|
|
jdbc-sqlite3 (~> 3.8, < 3.30)
|
2019-10-10 00:48:16 -04:00
|
|
|
addressable (2.7.0)
|
|
|
|
public_suffix (>= 2.0.2, < 5.0)
|
2018-05-30 13:49:55 -04:00
|
|
|
amq-protocol (2.3.0)
|
2019-03-24 13:59:28 -04:00
|
|
|
ansi (1.5.0)
|
2018-02-22 18:54:23 -05:00
|
|
|
ast (2.4.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
aws-eventstream (1.0.3)
|
2019-12-27 13:30:45 -05:00
|
|
|
aws-partitions (1.260.0)
|
|
|
|
aws-sdk-core (3.86.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
aws-eventstream (~> 1.0, >= 1.0.2)
|
2019-12-27 13:30:45 -05:00
|
|
|
aws-partitions (~> 1, >= 1.239.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
aws-sigv4 (~> 1.1)
|
2017-07-31 16:55:55 -04:00
|
|
|
jmespath (~> 1.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
aws-sdk-kms (1.27.0)
|
|
|
|
aws-sdk-core (~> 3, >= 3.71.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
aws-sigv4 (~> 1.1)
|
2019-12-27 13:30:45 -05:00
|
|
|
aws-sdk-s3 (1.60.1)
|
|
|
|
aws-sdk-core (~> 3, >= 3.83.0)
|
2017-09-09 23:22:10 -04:00
|
|
|
aws-sdk-kms (~> 1)
|
2019-10-10 00:48:16 -04:00
|
|
|
aws-sigv4 (~> 1.1)
|
2019-12-27 13:30:45 -05:00
|
|
|
aws-sdk-sns (1.21.0)
|
|
|
|
aws-sdk-core (~> 3, >= 3.71.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
aws-sigv4 (~> 1.1)
|
|
|
|
aws-sigv4 (1.1.0)
|
|
|
|
aws-eventstream (~> 1.0, >= 1.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 06:38:22 -04:00
|
|
|
azure-storage-blob (2.0.0)
|
|
|
|
azure-storage-common (~> 2.0)
|
|
|
|
nokogiri (~> 1.10.4)
|
|
|
|
azure-storage-common (2.0.1)
|
|
|
|
faraday (~> 1.0)
|
|
|
|
faraday_middleware (~> 1.0.0.rc1)
|
|
|
|
nokogiri (~> 1.10.4)
|
2018-09-28 06:40:24 -04:00
|
|
|
backburner (1.5.0)
|
2015-08-09 23:30:03 -04:00
|
|
|
beaneater (~> 1.0)
|
2018-09-28 06:40:24 -04:00
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.1)
|
2015-08-09 23:30:03 -04:00
|
|
|
dante (> 0.1.5)
|
2019-10-10 00:48:16 -04:00
|
|
|
bcrypt (3.1.13)
|
|
|
|
bcrypt (3.1.13-java)
|
2015-08-09 23:30:03 -04:00
|
|
|
beaneater (1.0.0)
|
2016-09-13 20:19:09 -04:00
|
|
|
benchmark-ips (2.7.2)
|
2017-08-16 19:53:36 -04:00
|
|
|
blade (0.7.1)
|
2016-08-03 18:55:47 -04:00
|
|
|
activesupport (>= 3.0.0)
|
2016-11-20 17:08:31 -05:00
|
|
|
blade-qunit_adapter (~> 2.0.1)
|
2016-08-03 18:55:47 -04:00
|
|
|
coffee-script
|
|
|
|
coffee-script-source
|
|
|
|
curses (~> 1.0.0)
|
|
|
|
eventmachine
|
|
|
|
faye
|
|
|
|
sprockets (>= 3.0)
|
|
|
|
thin (>= 1.6.0)
|
2017-08-16 19:53:36 -04:00
|
|
|
thor (>= 0.19.1)
|
2016-08-03 18:55:47 -04:00
|
|
|
useragent (~> 0.16.7)
|
2016-11-20 17:08:31 -05:00
|
|
|
blade-qunit_adapter (2.0.1)
|
2018-05-30 13:49:55 -04:00
|
|
|
blade-sauce_labs_plugin (0.7.3)
|
2016-08-03 18:55:47 -04:00
|
|
|
childprocess
|
|
|
|
faraday
|
|
|
|
selenium-webdriver
|
2019-10-10 00:48:16 -04:00
|
|
|
bootsnap (1.4.5)
|
2018-04-06 17:09:14 -04:00
|
|
|
msgpack (~> 1.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
bootsnap (1.4.5-java)
|
2019-03-26 16:32:01 -04:00
|
|
|
msgpack (~> 1.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
builder (3.2.4)
|
2019-10-10 00:48:16 -04:00
|
|
|
bunny (2.14.3)
|
2019-01-29 17:39:43 -05:00
|
|
|
amq-protocol (~> 2.3, >= 2.3.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
byebug (11.0.1)
|
2019-12-27 13:30:45 -05:00
|
|
|
capybara (3.30.0)
|
2016-08-27 16:48:24 -04:00
|
|
|
addressable
|
2017-08-16 14:03:24 -04:00
|
|
|
mini_mime (>= 0.1.3)
|
2018-04-06 07:55:34 -04:00
|
|
|
nokogiri (~> 1.8)
|
|
|
|
rack (>= 1.6.0)
|
|
|
|
rack-test (>= 0.6.3)
|
2019-07-24 22:19:21 -04:00
|
|
|
regexp_parser (~> 1.5)
|
2018-11-09 17:21:08 -05:00
|
|
|
xpath (~> 3.2)
|
2019-10-10 00:48:16 -04:00
|
|
|
childprocess (3.0.0)
|
2015-08-09 23:30:03 -04:00
|
|
|
coffee-script (2.4.1)
|
2015-02-18 11:30:25 -05:00
|
|
|
coffee-script-source
|
|
|
|
execjs
|
2016-12-16 10:43:44 -05:00
|
|
|
coffee-script-source (1.12.2)
|
2019-08-16 16:13:24 -04:00
|
|
|
concurrent-ruby (1.1.5)
|
2018-05-30 13:49:55 -04:00
|
|
|
connection_pool (2.2.2)
|
2016-09-13 20:19:09 -04:00
|
|
|
cookiejar (0.3.3)
|
2018-11-25 14:30:05 -05:00
|
|
|
crack (0.4.3)
|
|
|
|
safe_yaml (~> 1.0.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
crass (1.0.5)
|
2016-08-03 18:55:47 -04:00
|
|
|
curses (1.0.2)
|
2019-10-10 00:48:16 -04:00
|
|
|
daemons (1.3.1)
|
|
|
|
dalli (2.7.10)
|
2015-08-09 23:30:03 -04:00
|
|
|
dante (0.2.0)
|
2017-11-28 23:08:33 -05:00
|
|
|
declarative (0.0.10)
|
2017-07-31 16:55:55 -04:00
|
|
|
declarative-option (0.1.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
delayed_job (4.1.8)
|
|
|
|
activesupport (>= 3.0, < 6.1)
|
|
|
|
delayed_job_active_record (4.1.4)
|
|
|
|
activerecord (>= 3.0, < 6.1)
|
2017-01-28 19:05:06 -05:00
|
|
|
delayed_job (>= 3.0, < 5)
|
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 06:38:22 -04:00
|
|
|
digest-crc (0.5.1)
|
2016-09-13 20:19:09 -04:00
|
|
|
em-http-request (1.1.5)
|
2016-05-21 14:15:58 -04:00
|
|
|
addressable (>= 2.3.4)
|
2016-09-13 20:19:09 -04:00
|
|
|
cookiejar (!= 0.3.1)
|
2016-05-21 14:15:58 -04:00
|
|
|
em-socksify (>= 0.3)
|
|
|
|
eventmachine (>= 1.0.3)
|
|
|
|
http_parser.rb (>= 0.6.0)
|
2018-02-06 17:08:13 -05:00
|
|
|
em-socksify (0.3.2)
|
2016-05-21 14:15:58 -04:00
|
|
|
eventmachine (>= 1.0.0.beta.4)
|
2019-10-10 00:48:16 -04:00
|
|
|
erubi (1.9.0)
|
|
|
|
et-orbi (1.2.2)
|
2017-07-19 19:04:53 -04:00
|
|
|
tzinfo
|
2017-07-25 02:53:02 -04:00
|
|
|
event_emitter (0.2.6)
|
2018-05-30 13:49:55 -04:00
|
|
|
eventmachine (1.2.7)
|
2016-06-04 18:54:34 -04:00
|
|
|
execjs (2.7.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 06:38:22 -04:00
|
|
|
faraday (1.0.0)
|
2016-08-03 18:55:47 -04:00
|
|
|
multipart-post (>= 1.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 06:38:22 -04:00
|
|
|
faraday_middleware (1.0.0.rc1)
|
|
|
|
faraday (~> 1.0)
|
2017-07-19 19:04:53 -04:00
|
|
|
faye (1.2.4)
|
2016-05-21 14:15:58 -04:00
|
|
|
cookiejar (>= 0.3.0)
|
|
|
|
em-http-request (>= 0.3.0)
|
|
|
|
eventmachine (>= 0.12.0)
|
|
|
|
faye-websocket (>= 0.9.1)
|
|
|
|
multi_json (>= 1.0.0)
|
|
|
|
rack (>= 1.0.0)
|
|
|
|
websocket-driver (>= 0.5.1)
|
2019-10-10 00:48:16 -04:00
|
|
|
faye-websocket (0.10.9)
|
2016-01-24 12:25:53 -05:00
|
|
|
eventmachine (>= 0.12.0)
|
|
|
|
websocket-driver (>= 0.5.1)
|
2019-12-05 19:21:24 -05:00
|
|
|
ffi (1.11.3)
|
|
|
|
ffi (1.11.3-java)
|
|
|
|
ffi (1.11.3-x64-mingw32)
|
|
|
|
ffi (1.11.3-x86-mingw32)
|
2019-10-10 00:48:16 -04:00
|
|
|
fugit (1.3.3)
|
2019-05-08 08:58:20 -04:00
|
|
|
et-orbi (~> 1.1, >= 1.1.8)
|
2018-05-30 13:49:55 -04:00
|
|
|
raabro (~> 1.1)
|
2019-02-25 17:45:04 -05:00
|
|
|
globalid (0.4.2)
|
2017-04-16 11:40:00 -04:00
|
|
|
activesupport (>= 4.2.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 06:38:22 -04:00
|
|
|
google-api-client (0.37.2)
|
2017-07-31 16:55:55 -04:00
|
|
|
addressable (~> 2.5, >= 2.5.1)
|
2019-12-27 13:30:45 -05:00
|
|
|
googleauth (~> 0.9)
|
2017-07-31 16:55:55 -04:00
|
|
|
httpclient (>= 2.8.1, < 3.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
mini_mime (~> 1.0)
|
2017-07-31 16:55:55 -04:00
|
|
|
representable (~> 3.0)
|
|
|
|
retriable (>= 2.0, < 4.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
signet (~> 0.12)
|
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 06:38:22 -04:00
|
|
|
google-cloud-core (1.5.0)
|
2017-07-31 16:55:55 -04: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 06:38:22 -04:00
|
|
|
google-cloud-errors (~> 1.0)
|
|
|
|
google-cloud-env (1.3.1)
|
|
|
|
faraday (>= 0.17.3, < 2.0)
|
|
|
|
google-cloud-errors (1.0.0)
|
|
|
|
google-cloud-storage (1.25.1)
|
2019-10-10 00:48:16 -04:00
|
|
|
addressable (~> 2.5)
|
2017-07-31 16:55:55 -04:00
|
|
|
digest-crc (~> 0.4)
|
2019-12-27 13:30:45 -05:00
|
|
|
google-api-client (~> 0.33)
|
2018-05-01 23:20:56 -04:00
|
|
|
google-cloud-core (~> 1.2)
|
2019-12-27 13:30:45 -05:00
|
|
|
googleauth (~> 0.9)
|
2019-10-10 00:48:16 -04:00
|
|
|
mini_mime (~> 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 06:38:22 -04:00
|
|
|
googleauth (0.11.0)
|
|
|
|
faraday (>= 0.17.3, < 2.0)
|
2017-11-28 23:08:33 -05:00
|
|
|
jwt (>= 1.4, < 3.0)
|
2018-11-09 17:21:08 -05:00
|
|
|
memoist (~> 0.16)
|
2017-07-31 16:55:55 -04:00
|
|
|
multi_json (~> 1.11)
|
2018-09-05 17:41:31 -04:00
|
|
|
os (>= 0.9, < 2.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
signet (~> 0.12)
|
2019-10-10 00:48:16 -04:00
|
|
|
hashdiff (1.0.0)
|
2018-11-09 17:21:08 -05:00
|
|
|
hiredis (0.6.3)
|
|
|
|
hiredis (0.6.3-java)
|
2016-05-21 14:15:58 -04:00
|
|
|
http_parser.rb (0.6.0)
|
2017-07-31 16:55:55 -04:00
|
|
|
httpclient (2.8.3)
|
2019-10-07 16:52:51 -04:00
|
|
|
i18n (1.7.0)
|
2017-11-27 13:01:15 -05:00
|
|
|
concurrent-ruby (~> 1.0)
|
2020-01-12 01:18:59 -05:00
|
|
|
image_processing (1.10.2)
|
2019-10-10 00:48:16 -04:00
|
|
|
mini_magick (>= 4.9.5, < 5)
|
2020-01-07 15:40:28 -05:00
|
|
|
ruby-vips (>= 2.0.17, < 3)
|
2019-11-13 13:20:29 -05:00
|
|
|
jaro_winkler (1.5.4)
|
|
|
|
jaro_winkler (1.5.4-java)
|
2019-10-10 00:48:16 -04:00
|
|
|
jdbc-mysql (5.1.47)
|
|
|
|
jdbc-postgres (42.2.6)
|
|
|
|
jdbc-sqlite3 (3.28.0)
|
2018-05-30 13:49:55 -04:00
|
|
|
jmespath (1.4.0)
|
2019-12-13 22:56:48 -05:00
|
|
|
json (2.3.0)
|
|
|
|
json (2.3.0-java)
|
2019-10-10 00:48:16 -04:00
|
|
|
jwt (2.2.1)
|
2016-12-18 10:13:50 -05:00
|
|
|
kindlerb (1.2.0)
|
2015-02-18 11:30:25 -05:00
|
|
|
mustache
|
|
|
|
nokogiri
|
2018-05-30 13:49:55 -04:00
|
|
|
libxml-ruby (3.1.0)
|
2019-12-05 19:21:24 -05:00
|
|
|
listen (3.2.1)
|
2019-11-24 08:51:59 -05:00
|
|
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
|
|
rb-inotify (~> 0.9, >= 0.9.10)
|
2019-12-27 13:30:45 -05:00
|
|
|
loofah (2.4.0)
|
2017-11-27 13:01:15 -05:00
|
|
|
crass (~> 1.0.2)
|
2015-02-18 11:30:25 -05:00
|
|
|
nokogiri (>= 1.5.9)
|
2018-10-13 19:33:40 -04:00
|
|
|
mail (2.7.1)
|
2017-11-01 00:44:55 -04:00
|
|
|
mini_mime (>= 0.1.1)
|
2018-09-14 23:49:07 -04:00
|
|
|
marcel (0.3.3)
|
2018-01-15 13:06:17 -05:00
|
|
|
mimemagic (~> 0.3.2)
|
2019-12-27 13:30:45 -05:00
|
|
|
memoist (0.16.2)
|
2018-12-07 01:01:32 -05:00
|
|
|
method_source (0.9.2)
|
2018-12-24 15:16:22 -05:00
|
|
|
mimemagic (0.3.3)
|
2020-01-07 15:40:28 -05:00
|
|
|
mini_magick (4.10.1)
|
2019-10-10 00:48:16 -04:00
|
|
|
mini_mime (1.0.2)
|
2018-12-31 20:33:26 -05:00
|
|
|
mini_portile2 (2.4.0)
|
2020-01-12 05:14:11 -05:00
|
|
|
minitest (5.14.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
minitest-bisect (1.5.1)
|
2016-07-12 02:06:25 -04:00
|
|
|
minitest-server (~> 1.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
path_expander (~> 1.1)
|
2019-12-27 13:30:45 -05:00
|
|
|
minitest-reporters (1.4.2)
|
2019-03-24 13:59:28 -04:00
|
|
|
ansi
|
|
|
|
builder
|
|
|
|
minitest (>= 5.0)
|
|
|
|
ruby-progressbar
|
2018-10-10 18:33:09 -04:00
|
|
|
minitest-retry (0.1.9)
|
|
|
|
minitest (>= 5.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
minitest-server (1.0.6)
|
2016-07-12 02:06:25 -04:00
|
|
|
minitest (~> 5.0)
|
2015-02-18 11:30:25 -05:00
|
|
|
mono_logger (1.1.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
msgpack (1.3.1)
|
|
|
|
msgpack (1.3.1-java)
|
|
|
|
msgpack (1.3.1-x64-mingw32)
|
|
|
|
msgpack (1.3.1-x86-mingw32)
|
2019-10-15 04:22:20 -04:00
|
|
|
multi_json (1.14.1)
|
2019-10-10 00:48:16 -04:00
|
|
|
multipart-post (2.1.1)
|
2019-12-27 13:30:45 -05:00
|
|
|
mustache (1.1.1)
|
2018-09-05 17:41:31 -04:00
|
|
|
mustermann (1.0.3)
|
2019-12-13 22:56:48 -05:00
|
|
|
mysql2 (0.5.3)
|
|
|
|
mysql2 (0.5.3-x64-mingw32)
|
|
|
|
mysql2 (0.5.3-x86-mingw32)
|
2019-10-10 00:48:16 -04:00
|
|
|
nio4r (2.5.2)
|
|
|
|
nio4r (2.5.2-java)
|
2019-12-27 13:30:45 -05:00
|
|
|
nokogiri (1.10.7)
|
2018-12-31 20:33:26 -05:00
|
|
|
mini_portile2 (~> 2.4.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
nokogiri (1.10.7-java)
|
|
|
|
nokogiri (1.10.7-x64-mingw32)
|
2018-12-31 20:33:26 -05:00
|
|
|
mini_portile2 (~> 2.4.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
nokogiri (1.10.7-x86-mingw32)
|
2018-12-31 20:33:26 -05:00
|
|
|
mini_portile2 (~> 2.4.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
os (1.0.1)
|
2019-11-27 18:53:47 -05:00
|
|
|
parallel (1.19.1)
|
2020-02-20 10:08:20 -05:00
|
|
|
parser (2.7.0.2)
|
2018-02-22 18:54:23 -05:00
|
|
|
ast (~> 2.4.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
path_expander (1.1.0)
|
Use pg 1.2.0 to support Ruby 2.7
This pull request addresses 3 failures which expect no warnings. If
these tests executed with Ruby 2.7, all of them failed due to warnings
for tainted objects.
* How to create this commit:
```
% bundle update pg --conservative
```
* Background for this change
pg gem 1.2.0 https://rubygems.org/gems/pg/versions/1.2.0 has been released including https://github.com/ged/ruby-pg/pull/307
to support Ruby 2.7, showing warnings for tainted objects. Refer https://bugs.ruby-lang.org/issues/16131
* Steps to reproduce:
```
% cd activerecord
% ruby -v
ruby 2.7.0dev (2019-12-25T06:38:55Z master 75dca097b8) [x86_64-darwin19]
% bundle update --bundler
% ARCONN=postgresql bundle exec ruby -w -Itest test/cases/adapters/postgresql/referential_integrity_test.rb -n test_does_not_print_warning_if_no_invalid_foreign_key_exception_was_raised
% ARCONN=postgresql bundle exec ruby -w -Itest test/cases/adapters/postgresql/enum_test.rb -n test_no_oid_warning
% ARCONN=postgresql bundle exec ruby -w -Itest test/cases/adapters/postgresql/postgresql_adapter_test.rb -n test_only_warn_on_first_encounter_of_unrecognized_oid
```
* Actual results:
```
% ARCONN=postgresql bundle exec ruby -w -Itest test/cases/adapters/postgresql/referential_integrity_test.rb -n test_does_not_print_warning_if_no_invalid_foreign_key_exception_was_raised
Using postgresql
/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:919: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.
... snip ...
/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:259: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.
F
Failure:
PostgreSQLReferentialIntegrityTest#test_does_not_print_warning_if_no_invalid_foreign_key_exception_was_raised [test/cases/adapters/postgresql/referential_integrity_test.rb:73]:
expected no warnings but got:
/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:24: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.
... snip ...
/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:24: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.
/Users/yahonda/src/github.com/yahonda/rails/activesupport/lib/active_support/core_ext/object/try.rb:15: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.
rails test test/cases/adapters/postgresql/referential_integrity_test.rb:62
Finished in 0.052862s, 18.9172 runs/s, 56.7515 assertions/s.
1 runs, 3 assertions, 1 failures, 0 errors, 0 skips
%
```
```
% ARCONN=postgresql bundle exec ruby -w -Itest test/cases/adapters/postgresql/enum_test.rb -n test_no_oid_warning
Using postgresql
/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:919: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.
... snip ...
/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:259: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.
F
Failure:
PostgresqlEnumTest#test_no_oid_warning [test/cases/adapters/postgresql/enum_test.rb:76]:
Expected "/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:24: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:24: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:100: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:100: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:106: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:24: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:24: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:24: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:24: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:24: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n" to be blank?.
rails test test/cases/adapters/postgresql/enum_test.rb:72
Finished in 0.059806s, 16.7207 runs/s, 16.7207 assertions/s.
1 runs, 1 assertions, 1 failures, 0 errors, 0 skips
%
```
```
% ARCONN=postgresql bundle exec ruby -w -Itest test/cases/adapters/postgresql/postgresql_adapter_test.rb -n test_only_warn_on_first_encounter_of_unrecognized_oid
Using postgresql
/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:919: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.
... snip ...
/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:259: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.
F
Failure:
ActiveRecord::ConnectionAdapters::PostgreSQLAdapterTest#test_only_warn_on_first_encounter_of_unrecognized_oid [test/cases/adapters/postgresql/postgresql_adapter_test.rb:372]:
Expected /\Aunknown OID \d+: failed to recognize type of 'regclass'\. It will be treated as String\.\n\z/ to match "/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:100: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb:20: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\nunknown OID 2205: failed to recognize type of 'regclass'. It will be treated as String.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:106: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:100: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:106: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:100: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2.\n/Users/yahonda/src/github.com/yahonda/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:106: warning: rb_tainted_str_new is deprecated and will be removed in Ruby 3.2.\n".
rails test test/cases/adapters/postgresql/postgresql_adapter_test.rb:363
Finished in 0.037451s, 26.7016 runs/s, 53.4031 assertions/s.
1 runs, 2 assertions, 1 failures, 0 errors, 0 skips
%
```
2019-12-25 02:07:33 -05:00
|
|
|
pg (1.2.0)
|
|
|
|
pg (1.2.0-x64-mingw32)
|
|
|
|
pg (1.2.0-x86-mingw32)
|
2019-03-26 01:03:21 -04:00
|
|
|
psych (3.1.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
public_suffix (4.0.2)
|
|
|
|
puma (4.3.1)
|
2019-08-18 07:21:39 -04:00
|
|
|
nio4r (~> 2.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
puma (4.3.1-java)
|
2019-08-18 07:21:39 -04:00
|
|
|
nio4r (~> 2.0)
|
2018-05-30 13:49:55 -04:00
|
|
|
que (0.14.3)
|
2017-10-19 12:01:52 -04:00
|
|
|
qunit-selenium (0.0.4)
|
|
|
|
selenium-webdriver
|
|
|
|
thor
|
2018-06-23 17:23:54 -04:00
|
|
|
raabro (1.1.6)
|
2019-12-27 13:30:45 -05:00
|
|
|
racc (1.4.16)
|
2020-02-10 18:46:14 -05:00
|
|
|
rack (2.2.2)
|
2019-12-27 13:30:45 -05:00
|
|
|
rack-cache (1.10.0)
|
2015-02-18 11:30:25 -05:00
|
|
|
rack (>= 0.4)
|
2019-10-10 00:48:16 -04:00
|
|
|
rack-protection (2.0.7)
|
2016-09-13 20:19:09 -04:00
|
|
|
rack
|
Make Webpacker the default JavaScript compiler for Rails 6 (#33079)
* Use Webpacker by default on new apps
* Stop including coffee-rails by default
* Drop using a js_compressor by default
* Drop extra test for coffeescript inclusion by default
* Stick with skip_javascript to signify skipping webpack
* Don't install a JS runtime by default any more
* app/javascript will be the new default directory for JS
* Make it clear that this is just for configuring the default Webpack framework setup now
* Start using the Webpack tag in the default layout
* Irrelevant test
* jQuery is long gone
* Stop having asset pipeline compile default application.js
* Add rails-ujs by default to the Webpack setup
* Add Active Storage JavaScript to application.js pack by default
* Consistent quoting
* Add Turbolinks to default pack
* Add Action Cable to default pack
Need some work on how to set the global consumer that channels will
work with. @javan?
* Require all channels by default and use a separate consumer stub
* Channel generator now targets Webpack style
* Update task docs to match new generator style
* Use uniform import style
* Drop the JS assets generator
It was barely helpful as it was. It’s no longer helpful in a Webpacked
world. Sayonara!
* Add app/javascript to the stats directories
* Simpler import style
Which match the other imports.
* Address test failures from dropping JS compilation (and compression)
* webpacker-default: Modify `AssetsGeneratorTest`
Before:
```
$ bin/test test/generators/assets_generator_test.rb
Run options: --seed 46201
F
Failure:
AssetsGeneratorTest#test_assets [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/assets_generator_test.rb:12]:
Expected file "app/assets/javascripts/posts.js" to exist, but does not
bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/assets_generator_test.rb:10
.
Finished in 0.031343s, 63.8101 runs/s, 95.7152 assertions/s.
2 runs, 3 assertions, 1 failures, 0 errors, 0 skips
```
After:
```
$ bin/test test/generators/assets_generator_test.rb
Run options: --seed 43571
..
Finished in 0.030370s, 65.8545 runs/s, 65.8545 assertions/s.
2 runs, 2 assertions, 0 failures, 0 errors, 0 skips
```
* webpacker-default: Modify `ChannelGeneratorTest`
Before:
```
$ bin/test test/generators/channel_generator_test.rb
Run options: --seed 8986
.F
Failure:
ChannelGeneratorTest#test_channel_with_multiple_actions_is_created [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:43]:
Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not
bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:34
.F
Failure:
ChannelGeneratorTest#test_channel_is_created [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:29]:
Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not
bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:22
E
Error:
ChannelGeneratorTest#test_cable_js_is_created_if_not_present_already:
Errno::ENOENT: No such file or directory @ apply2files - /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/fixtures/tmp/app/assets/javascripts/cable.js
bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:60
F
Failure:
ChannelGeneratorTest#test_channel_suffix_is_not_duplicated [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:87]:
Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not
bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:80
F
Failure:
ChannelGeneratorTest#test_channel_on_revoke [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:77]:
Expected file "app/assets/javascripts/cable.js" to exist, but does not
bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:68
Finished in 0.064384s, 108.7227 runs/s, 481.4861 assertions/s.
7 runs, 31 assertions, 4 failures, 1 errors, 0 skips
```
After:
```
$ bin/test test/generators/channel_generator_test.rb
Run options: --seed 44857
.......
Finished in 0.060243s, 116.1961 runs/s, 697.1764 assertions/s.
7 runs, 42 assertions, 0 failures, 0 errors, 0 skips
```
* Fix shared generator tests.
* webpacker-default: Modify `ControllerGeneratorTest`
The JS assets generator was dropped. ref. https://github.com/rails/rails/commit/46215b179483d3e4d264555f5a4952f43eb8142a
* Revert "Simpler import style". It's currently failing with an error of "TypeError: undefined is not an object (evaluating '__WEBPACK_IMPORTED_MODULE_2_activestorage___default.a.start')". Waiting for @javan to have a look.
This reverts commit 5d3ebb71059f635d3756cbda4ab9752027e09256.
* require webpacker in test app
* Add webpacker without making the build hang/timeout. (#33640)
* use yarn workspaces to allow for installing unreleased packages and only generate js/bootsnap when required
* no longer need to have webpacker in env templates as webpacker moved this config to yml file
* Fix rubocop violation
* Got the test passing for the running scaffold
* update expected lines of code
* update middleware tests to account for webpacker
* disable js in plugins be default to get the tests passing (#34009)
* clear codeclimate report issues
* Anything newer than currently released is good
* Use Webpacker development version during development of Rails
* Edge should get development webpacker as well
* Add changelog entry for Webpacker change
2018-10-01 01:31:21 -04:00
|
|
|
rack-proxy (0.6.5)
|
|
|
|
rack
|
2018-09-05 17:41:31 -04:00
|
|
|
rack-test (1.1.0)
|
2017-07-19 19:04:53 -04:00
|
|
|
rack (>= 1.0, < 3)
|
|
|
|
rails-dom-testing (2.0.3)
|
|
|
|
activesupport (>= 4.2.0)
|
|
|
|
nokogiri (>= 1.6)
|
2019-10-10 00:48:16 -04:00
|
|
|
rails-html-sanitizer (1.3.0)
|
|
|
|
loofah (~> 2.3)
|
2018-02-22 18:54:23 -05:00
|
|
|
rainbow (3.0.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
rake (13.0.1)
|
2018-05-30 13:49:55 -04:00
|
|
|
rb-fsevent (0.10.3)
|
2019-12-27 13:30:45 -05:00
|
|
|
rb-inotify (0.10.1)
|
2018-12-30 09:05:30 -05:00
|
|
|
ffi (~> 1.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
rdoc (6.2.1)
|
2015-04-09 05:20:53 -04:00
|
|
|
redcarpet (3.2.3)
|
2019-10-10 00:48:16 -04:00
|
|
|
redis (4.1.3)
|
2019-12-27 13:30:45 -05:00
|
|
|
redis-namespace (1.7.0)
|
2017-11-08 03:08:23 -05:00
|
|
|
redis (>= 3.0.4)
|
2019-07-24 22:19:21 -04:00
|
|
|
regexp_parser (1.6.0)
|
2017-07-31 16:55:55 -04:00
|
|
|
representable (3.0.4)
|
|
|
|
declarative (< 0.1.0)
|
|
|
|
declarative-option (< 0.2.0)
|
|
|
|
uber (< 0.2.0)
|
2019-05-08 08:58:20 -04:00
|
|
|
resque (2.0.0)
|
2017-02-10 01:31:41 -05:00
|
|
|
mono_logger (~> 1.0)
|
|
|
|
multi_json (~> 1.0)
|
2019-05-08 08:58:20 -04:00
|
|
|
redis-namespace (~> 1.6)
|
2017-02-10 01:31:41 -05:00
|
|
|
sinatra (>= 0.9.2)
|
|
|
|
vegas (~> 0.1.2)
|
2019-05-08 08:58:20 -04:00
|
|
|
resque-scheduler (4.4.0)
|
2017-12-13 17:49:08 -05:00
|
|
|
mono_logger (~> 1.0)
|
2019-05-08 08:58:20 -04:00
|
|
|
redis (>= 3.3)
|
|
|
|
resque (>= 1.26)
|
2017-12-13 17:49:08 -05:00
|
|
|
rufus-scheduler (~> 3.2)
|
2018-09-05 17:41:31 -04:00
|
|
|
retriable (3.1.2)
|
2020-01-13 19:35:37 -05:00
|
|
|
rexml (3.2.3)
|
2020-02-20 10:08:20 -05:00
|
|
|
rubocop (0.80.0)
|
2018-07-02 23:11:28 -04:00
|
|
|
jaro_winkler (~> 1.5.1)
|
2017-05-24 02:20:00 -04:00
|
|
|
parallel (~> 1.10)
|
2020-02-20 10:08:20 -05:00
|
|
|
parser (>= 2.7.0.1)
|
2018-02-22 18:54:23 -05:00
|
|
|
rainbow (>= 2.2.2, < 4.0)
|
2020-02-20 10:08:20 -05:00
|
|
|
rexml
|
2016-11-27 22:12:33 -05:00
|
|
|
ruby-progressbar (~> 1.7)
|
2019-06-06 01:38:19 -04:00
|
|
|
unicode-display_width (>= 1.4.0, < 1.7)
|
2019-12-27 13:30:45 -05:00
|
|
|
rubocop-performance (1.5.2)
|
2019-10-10 00:48:16 -04:00
|
|
|
rubocop (>= 0.71.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
rubocop-rails (2.4.1)
|
2019-10-10 00:48:16 -04:00
|
|
|
rack (>= 1.1)
|
|
|
|
rubocop (>= 0.72.0)
|
2019-06-06 01:38:19 -04:00
|
|
|
ruby-progressbar (1.10.1)
|
2020-01-07 15:40:28 -05:00
|
|
|
ruby-vips (2.0.17)
|
2018-04-05 19:48:29 -04:00
|
|
|
ffi (~> 1.9)
|
2019-10-10 00:48:16 -04:00
|
|
|
rubyzip (2.0.0)
|
2019-05-08 08:58:20 -04:00
|
|
|
rufus-scheduler (3.6.0)
|
|
|
|
fugit (~> 1.1, >= 1.1.6)
|
2019-10-10 00:48:16 -04:00
|
|
|
safe_yaml (1.0.5)
|
2019-08-16 16:13:24 -04:00
|
|
|
sass-rails (6.0.0)
|
|
|
|
sassc-rails (~> 2.1, >= 2.1.1)
|
2019-10-08 03:58:32 -04:00
|
|
|
sassc (2.2.1)
|
|
|
|
ffi (~> 1.9)
|
|
|
|
sassc (2.2.1-x64-mingw32)
|
|
|
|
ffi (~> 1.9)
|
|
|
|
sassc (2.2.1-x86-mingw32)
|
2019-08-16 16:13:24 -04:00
|
|
|
ffi (~> 1.9)
|
|
|
|
sassc-rails (2.1.2)
|
|
|
|
railties (>= 4.0.0)
|
|
|
|
sassc (>= 2.0)
|
|
|
|
sprockets (> 3.0)
|
|
|
|
sprockets-rails
|
|
|
|
tilt
|
2020-03-14 14:32:02 -04:00
|
|
|
sdoc (1.1.0)
|
2018-02-06 13:49:15 -05:00
|
|
|
rdoc (>= 5.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
selenium-webdriver (3.142.7)
|
2019-10-10 00:48:16 -04:00
|
|
|
childprocess (>= 0.5, < 4.0)
|
|
|
|
rubyzip (>= 1.2.2)
|
2020-03-22 12:40:48 -04:00
|
|
|
semantic_range (2.3.0)
|
2019-12-27 13:30:45 -05:00
|
|
|
sequel (5.27.0)
|
2018-09-05 17:41:31 -04:00
|
|
|
serverengine (2.0.7)
|
2015-02-18 11:30:25 -05:00
|
|
|
sigdump (~> 0.2.2)
|
2019-12-27 13:30:45 -05:00
|
|
|
sidekiq (6.0.4)
|
2019-09-01 17:31:21 -04:00
|
|
|
connection_pool (>= 2.2.2)
|
|
|
|
rack (>= 2.0.0)
|
|
|
|
rack-protection (>= 2.0.0)
|
|
|
|
redis (>= 4.1.0)
|
2016-05-06 17:16:28 -04:00
|
|
|
sigdump (0.2.4)
|
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 06:38:22 -04:00
|
|
|
signet (0.13.0)
|
2017-07-31 16:55:55 -04: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 06:38:22 -04:00
|
|
|
faraday (>= 0.17.3, < 2.0)
|
2017-11-28 23:08:33 -05:00
|
|
|
jwt (>= 1.5, < 3.0)
|
2017-07-31 16:55:55 -04:00
|
|
|
multi_json (~> 1.10)
|
2019-10-10 00:48:16 -04:00
|
|
|
sinatra (2.0.7)
|
2017-07-19 19:04:53 -04:00
|
|
|
mustermann (~> 1.0)
|
|
|
|
rack (~> 2.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
rack-protection (= 2.0.7)
|
2017-07-19 19:04:53 -04:00
|
|
|
tilt (~> 2.0)
|
2019-01-29 17:39:43 -05:00
|
|
|
sneakers (2.11.0)
|
|
|
|
bunny (~> 2.12)
|
2018-05-30 13:49:55 -04:00
|
|
|
concurrent-ruby (~> 1.0)
|
2019-01-29 17:39:43 -05:00
|
|
|
rake
|
2018-05-30 13:49:55 -04:00
|
|
|
serverengine (~> 2.0.5)
|
2015-02-18 11:30:25 -05:00
|
|
|
thor
|
2019-10-10 00:48:16 -04:00
|
|
|
sprockets (4.0.0)
|
2015-12-16 13:30:58 -05:00
|
|
|
concurrent-ruby (~> 1.0)
|
|
|
|
rack (> 1, < 3)
|
2017-07-19 19:04:53 -04:00
|
|
|
sprockets-export (1.0.0)
|
2018-05-30 13:49:55 -04:00
|
|
|
sprockets-rails (3.2.1)
|
2015-12-17 15:22:58 -05:00
|
|
|
actionpack (>= 4.0)
|
|
|
|
activesupport (>= 4.0)
|
|
|
|
sprockets (>= 3.0.0)
|
2019-12-19 04:27:02 -05:00
|
|
|
sqlite3 (1.4.2)
|
2019-12-27 13:30:45 -05:00
|
|
|
stackprof (0.2.15)
|
2019-10-10 00:48:16 -04:00
|
|
|
sucker_punch (2.1.2)
|
2018-09-05 17:41:31 -04:00
|
|
|
concurrent-ruby (~> 1.0)
|
2017-07-19 19:04:53 -04:00
|
|
|
thin (1.7.2)
|
2016-08-03 18:55:47 -04:00
|
|
|
daemons (~> 1.0, >= 1.0.9)
|
|
|
|
eventmachine (~> 1.0, >= 1.0.4)
|
|
|
|
rack (>= 1, < 3)
|
2019-12-27 13:30:45 -05:00
|
|
|
thor (1.0.1)
|
2017-04-16 11:40:00 -04:00
|
|
|
thread_safe (0.3.6)
|
2017-10-20 07:34:43 -04:00
|
|
|
thread_safe (0.3.6-java)
|
2019-10-10 00:48:16 -04:00
|
|
|
tilt (2.0.10)
|
|
|
|
turbolinks (5.2.1)
|
2018-09-05 17:41:31 -04:00
|
|
|
turbolinks-source (~> 5.2)
|
|
|
|
turbolinks-source (5.2.0)
|
2019-12-24 12:34:31 -05:00
|
|
|
tzinfo (1.2.6)
|
2015-02-18 11:30:25 -05:00
|
|
|
thread_safe (~> 0.1)
|
2019-10-10 00:48:16 -04:00
|
|
|
tzinfo-data (1.2019.3)
|
2015-09-12 10:04:31 -04:00
|
|
|
tzinfo (>= 1.0.0)
|
2017-07-31 16:55:55 -04:00
|
|
|
uber (0.1.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
uglifier (4.2.0)
|
2016-05-06 17:16:28 -04:00
|
|
|
execjs (>= 0.3.0, < 3)
|
2020-02-20 10:08:20 -05:00
|
|
|
unicode-display_width (1.6.1)
|
2018-05-30 13:49:55 -04:00
|
|
|
useragent (0.16.10)
|
2015-02-18 11:30:25 -05:00
|
|
|
vegas (0.1.11)
|
|
|
|
rack (>= 1.0.0)
|
2018-09-05 17:41:31 -04:00
|
|
|
w3c_validators (1.3.4)
|
2017-07-19 19:04:53 -04:00
|
|
|
json (>= 1.8)
|
2016-12-26 07:46:01 -05:00
|
|
|
nokogiri (~> 1.6)
|
2016-04-21 12:54:54 -04:00
|
|
|
wdm (0.1.1)
|
2019-10-10 00:48:16 -04:00
|
|
|
webdrivers (4.1.3)
|
2019-03-24 17:05:30 -04:00
|
|
|
nokogiri (~> 1.6)
|
2019-10-10 00:48:16 -04:00
|
|
|
rubyzip (>= 1.3.0)
|
|
|
|
selenium-webdriver (>= 3.0, < 4.0)
|
|
|
|
webmock (3.7.6)
|
2018-11-25 14:30:05 -05:00
|
|
|
addressable (>= 2.3.6)
|
|
|
|
crack (>= 0.3.2)
|
2019-10-10 00:48:16 -04:00
|
|
|
hashdiff (>= 0.4.0, < 2.0.0)
|
2020-03-22 12:40:48 -04:00
|
|
|
webpacker (5.0.0)
|
|
|
|
activesupport (>= 5.2)
|
2019-01-17 17:21:09 -05:00
|
|
|
rack-proxy (>= 0.6.1)
|
2020-03-22 12:40:48 -04:00
|
|
|
railties (>= 5.2)
|
|
|
|
semantic_range (>= 2.3.0)
|
2018-05-30 13:49:55 -04:00
|
|
|
websocket (1.2.8)
|
2019-10-10 00:48:16 -04:00
|
|
|
websocket-driver (0.7.1)
|
2015-12-14 10:38:37 -05:00
|
|
|
websocket-extensions (>= 0.1.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
websocket-driver (0.7.1-java)
|
2019-01-29 09:01:58 -05:00
|
|
|
websocket-extensions (>= 0.1.0)
|
2019-10-10 00:48:16 -04:00
|
|
|
websocket-extensions (0.1.4)
|
2018-11-09 17:21:08 -05:00
|
|
|
xpath (3.2.0)
|
2018-04-06 07:55:34 -04:00
|
|
|
nokogiri (~> 1.8)
|
2019-11-29 07:30:18 -05:00
|
|
|
zeitwerk (2.2.2)
|
2015-02-18 11:30:25 -05:00
|
|
|
|
|
|
|
PLATFORMS
|
2017-10-20 07:34:43 -04:00
|
|
|
java
|
2015-02-18 11:30:25 -05:00
|
|
|
ruby
|
2015-04-06 19:35:02 -04:00
|
|
|
x64-mingw32
|
|
|
|
x86-mingw32
|
2015-02-18 11:30:25 -05:00
|
|
|
|
|
|
|
DEPENDENCIES
|
|
|
|
activerecord-jdbcmysql-adapter (>= 1.3.0)
|
|
|
|
activerecord-jdbcpostgresql-adapter (>= 1.3.0)
|
|
|
|
activerecord-jdbcsqlite3-adapter (>= 1.3.0)
|
2017-09-09 23:22:10 -04:00
|
|
|
aws-sdk-s3
|
2018-10-06 22:02:08 -04:00
|
|
|
aws-sdk-sns
|
2019-08-06 12:25:39 -04:00
|
|
|
azure-storage-blob
|
2015-02-18 11:30:25 -05:00
|
|
|
backburner
|
2016-03-10 14:28:02 -05:00
|
|
|
bcrypt (~> 3.1.11)
|
2015-02-18 11:30:25 -05:00
|
|
|
benchmark-ips
|
2016-06-04 18:54:34 -04:00
|
|
|
blade
|
|
|
|
blade-sauce_labs_plugin
|
2019-04-26 03:25:28 -04:00
|
|
|
bootsnap (>= 1.4.4)
|
2015-04-24 01:24:50 -04:00
|
|
|
byebug
|
2019-07-24 22:19:21 -04:00
|
|
|
capybara (>= 3.26)
|
2017-12-12 19:11:47 -05:00
|
|
|
connection_pool
|
2018-04-11 03:52:10 -04:00
|
|
|
dalli
|
2017-12-29 16:57:28 -05:00
|
|
|
delayed_job
|
2017-01-28 19:05:06 -05:00
|
|
|
delayed_job_active_record
|
2018-05-01 23:20:56 -04:00
|
|
|
google-cloud-storage (~> 1.11)
|
2016-01-31 10:00:00 -05:00
|
|
|
hiredis
|
2018-04-05 19:48:29 -04:00
|
|
|
image_processing (~> 1.2)
|
2016-11-14 19:26:03 -05:00
|
|
|
json (>= 2.0.0)
|
2016-12-18 10:13:50 -05:00
|
|
|
kindlerb (~> 1.2.0)
|
2016-11-19 10:46:28 -05:00
|
|
|
libxml-ruby
|
2019-11-24 08:51:59 -05:00
|
|
|
listen (~> 3.2)
|
2016-07-12 02:06:25 -04:00
|
|
|
minitest-bisect
|
2019-03-24 13:59:28 -04:00
|
|
|
minitest-reporters
|
2018-10-10 18:33:09 -04:00
|
|
|
minitest-retry
|
2019-09-12 22:12:41 -04:00
|
|
|
mysql2 (~> 0.5)
|
2017-12-14 13:06:53 -05:00
|
|
|
nokogiri (>= 1.8.1)
|
2018-09-15 03:07:03 -04:00
|
|
|
pg (>= 0.18.0)
|
2018-03-09 15:14:36 -05:00
|
|
|
psych (~> 3.0)
|
2015-12-14 10:38:37 -05:00
|
|
|
puma
|
2015-02-18 11:30:25 -05:00
|
|
|
que
|
2015-08-13 03:56:06 -04:00
|
|
|
queue_classic!
|
2017-10-19 12:01:52 -04:00
|
|
|
qunit-selenium
|
2015-02-18 11:30:25 -05:00
|
|
|
racc (>= 1.4.6)
|
|
|
|
rack-cache (~> 1.2)
|
|
|
|
rails!
|
2016-03-30 12:12:20 -04:00
|
|
|
rake (>= 11.1)
|
2015-04-09 05:20:53 -04:00
|
|
|
redcarpet (~> 3.2.3)
|
2017-09-29 00:54:00 -04:00
|
|
|
redis (~> 4.0)
|
2017-11-08 03:08:23 -05:00
|
|
|
redis-namespace
|
2017-02-10 01:31:41 -05:00
|
|
|
resque
|
2017-12-13 17:49:08 -05:00
|
|
|
resque-scheduler
|
2020-01-13 19:35:37 -05:00
|
|
|
rexml
|
2017-01-16 01:34:30 -05:00
|
|
|
rubocop (>= 0.47)
|
2019-04-16 04:05:50 -04:00
|
|
|
rubocop-performance
|
2019-06-06 01:38:19 -04:00
|
|
|
rubocop-rails
|
2017-11-14 14:42:12 -05:00
|
|
|
sass-rails
|
2020-03-14 14:32:02 -04:00
|
|
|
sdoc (~> 1.1)
|
2019-07-04 19:17:39 -04:00
|
|
|
selenium-webdriver (>= 3.141.592)
|
2015-02-18 11:30:25 -05:00
|
|
|
sequel
|
2017-10-09 07:49:55 -04:00
|
|
|
sidekiq
|
2015-04-26 03:44:18 -04:00
|
|
|
sneakers
|
2017-03-11 12:33:11 -05: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-03 14:19:08 -04:00
|
|
|
sqlite3 (~> 1.4)
|
2015-02-18 11:30:25 -05:00
|
|
|
stackprof
|
2016-01-27 11:29:18 -05:00
|
|
|
sucker_punch
|
2016-06-30 13:18:52 -04:00
|
|
|
turbolinks (~> 5)
|
2015-09-12 10:04:31 -04:00
|
|
|
tzinfo-data
|
2015-02-18 11:30:25 -05:00
|
|
|
uglifier (>= 1.3.0)
|
|
|
|
w3c_validators
|
2016-04-21 12:54:54 -04:00
|
|
|
wdm (>= 0.1.0)
|
2019-03-24 17:05:30 -04:00
|
|
|
webdrivers
|
2018-11-25 14:30:05 -05:00
|
|
|
webmock
|
2020-03-22 12:40:48 -04:00
|
|
|
webpacker (~> 5.0)
|
2016-10-05 21:11:18 -04:00
|
|
|
websocket-client-simple!
|
2015-05-29 01:40:29 -04:00
|
|
|
|
|
|
|
BUNDLED WITH
|
2020-02-09 19:46:26 -05:00
|
|
|
2.1.4
|