0.0
The project is in a healthy, maintained state
Custom RuboCop cops for Spinel compatibility.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 1.84, < 2.0
 Project Readme

RuboCop Spinel ci

Custom cop for Spinel, warns on Ruby code that is not (yet) supported by Spinel.

Installation

# add to Gemfile
gem "rubocop_spinel"
# add to rubocop.yml
plugins:
  - rubocop_spinel

Example Errors

class Example
  class << self
    def bad
      42
    end
  end
end

Thread.new { puts Example.bad }
sample.rb:2:3: C: Spinel/Unsupported: Spinel does not support singleton classes.
class << self ...
^^^^^^^^^^^^^
sample.rb:9:1: C: Spinel/Unsupported: Spinel does not support threads or mutexes.
Thread.new { puts Example.bad }
^^^^^^

Changelog

0.2.0 (May '26)

0.1.0 (Apr '26)

  • first release