Tietew

Results 6 issues of Tietew

## Issue report **Question 1: What is the problem?** `passenger_preload_bundler on;` does not work correctly with `passenger_env_var RUBYOPT something`. - What is the expected behavior? Our Rack application works normally....

### Reason for this change `IdentityPoolProviderUrl.userPool()` requires a string `url` currently. The description is "User Pool Provider Url". It should be ``` `${userPool.userPoolProviderName}:${userPoolClient.userPoolClientId}` ```. `UserPool` has an attribute `userPoolProviderUrl` which...

p2
pr/needs-community-review
valued-contributor
pr-linter/exemption-requested

## Example ``` ruby class Token def initialize(token) = @token = token def match?(other) = other == @token end ``` ### Passed expectation ``` ruby expect(Token.new('FOO')).to be_match('FOO') # calls Token.new('FOO').match?('FOO')...

When converting IPv4 to/from IPv6, `IPAddr#set` generates incorrect mask value. This causes `IPAddr#include?` returns incorrect result. ```ruby ip4 = IPAddr.new('::ffff:127.0.0.1').native p [ip4.to_s, ip4.prefix] ip6 = IPAddr.new('127.0.0.1').ipv4_mapped p [ip6.to_s, ip6.prefix] ```...

bug

### Reproducible code ``` ruby irb(main):001:0> require 'resolv' irb(main):002:0> Resolv::DNS.new.getresources('google.com', Resolv::DNS::Resource::IN::TXT) ``` ### Expected result: Returns TXT records (see below) ### Actual result: ``` .../resolv.rb:898:in `recv_reply': undefined method `unpack' for...

RuboCop suggests confusing solution on following code: ``` ruby files = Dir[Rails.root.join('path/*')] ``` ## Expected behavior RuboCop suggests to rewrite `Dir[Rails.root.join(...)]` to `Rails.root.glob(...)` as autocorrection does. ## Actual behavior RuboCop...