rubocop / rubocop-thread_safety

An extension of RuboCop focused on thread-safety checks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Time for a new release?

TastyPi opened this issue · comments

class Foo
  def self.bar
    define_method :baz do
      @x = 10
    end
  end
end
foo.rb:4:7: C: ThreadSafety/InstanceVariableInClassMethod: Avoid instance variables in class methods.
      @x = 10
      ^^

In the context of define_method instance variables are actual instance variables, not class instance variables.

Oh this has been fixed, there just hasn't been a release in so long that it isn't in the latest version (last released 1.5 years ago(!)).

When will there be a new release?

@mikegee since you seem to be the owner on rubygems.org

@mikegee Can you cut a new release? Or you will grant me release permission to rubygems.org and I can do it.

Oops. I don't keep up with my personal inbox during the week. Sorry.

I intend to both make a release and add @koic on rubygems this weekend.

I released 0.5.0.