Tëma Bolshakov

Results 16 issues of Tëma Bolshakov

I'm trying to run `binging.pry` inside Ractor and it's failing with the following error: ``` ~/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/pry-0.13.1/lib/pry/env.rb:10:in `[]': can not access non-shareable objects in constant Pry::Env::ENV by non-main Ractor. (Ractor::IsolationError) from...

Inventory file: ```yml app: hosts: 127.0.0.1: rvm1_rubies: - "ruby-2.1.1" - "ruby-2.3.5" rvm1_default_ruby_version: "ruby-2.1.1" ``` My playbook looks like this: ```yml - hosts: app roles: - rvm_io.ruby - my_role ``` In...

Hi, @baweaver I really want #26 to be merged

```ruby HTTP_Matcher = Qo.create_pattern_match(branches: [ Qo.create_branch(name: 'success', precondition: Net::HTTPSuccess), Qo.create_branch(name: 'error', precondition: Net::HTTPError), Qo::Braches::ElseBranch ]) ``` actually you don't have to include else branch to branches, since it's already included...

It's like flat_map for failures ```ruby f = Fear.future { Float::INFINITY } Fear.future { 42/0 }.recover_with do |m| m.case(ZeroDivisionError) { f } end ```

## Describe the bug Using state effect resets all `Thread.current` variables. ## To Reproduce ``` include Dry::Effects::Handler.State(:updated_attributes) include Dry::Effects.State(:updated_attributes) def test puts "outside: #{Thread.current.keys}" clients_changes, result = with_updated_attributes(Hash.new { |hash,...

bug
help wanted

Not all systems have `which` executable available, so the call `#system_phantomjs_path` will fail silently on such systems. I replaced `which` with ruby implementation.

It generates right url for JS files loaded via `require.js`, but it generates url without prefix for `require.js` itself and main script. For example when `Rails.application.config.relative_url_root` set to `/sub-path` and...

This PR fixes the issue #514 The implementation of the whole `JSON::Util::URI` was not thread-safe. For instance, if you look at the `.parse` method. ```ruby def self.parse(uri) if uri.is_a?(Addressable::URI) uri.dup...

backwards-incompatible