Commit Graph

10 Commits

Author SHA1 Message Date
Jean Boussier 070151f130 Fix require and include call style 2023-12-14 10:48:35 +01:00
Randy Stauner 91977e3f22
Guard against unsupported platforms so that code can still be loaded
With this change the test suite can finish on unsupported platforms.

131 runs, 22 assertions, 0 failures, 0 errors, 114 skips
2023-06-30 14:31:03 -07:00
Jean Boussier 4366d6b54d Return a special UNCOMPILABLE value instead of raising Uncompilable
Context: https://bugs.ruby-lang.org/issues/18492

Rescuing exceptions from a C-extension is complicated, and even seem
a bit broken on Windows.

It's much simpler to return a special unique value, and likely is more performant
too.
2022-01-14 17:35:11 +01:00
Jean Boussier b277e75e85 Cleanup the rubocop config
Go back to rubocop 0.80 for Ruby 2.3 support.
Stop depending on the company style guide, as it needs a newer
rubocop.
2022-01-13 10:05:10 +01:00
Jean Boussier cfe5b4b195 CompileCache::YAML add support for symbolize_names and freeze options 2020-09-11 15:25:13 +02:00
alebruck b720530584 Update minimum ruby version and fix rubocop 2019-10-12 17:23:16 +02:00
Burke Libbey 581bc3fa59 update style guide 2019-02-06 13:29:01 -05:00
Aaron Patterson aec3600b0d
Fix ununsed variable warnings
```
.......a.rb:1: warning: assigned but unused variable - a
...a.rb:1: warning: assigned but unused variable - a
..a.rb:1: warning: assigned but unused variable - a
.a.rb:1: warning: assigned but unused variable - a
..a.rb:1: warning: assigned but unused variable - a
.a.rb:1: warning: assigned but unused variable - a
..a.rb:1: warning: assigned but unused variable - a
..a.rb:1: warning: assigned but unused variable - a
a.rb:1: warning: assigned but unused variable - a
..a.rb:1: warning: assigned but unused variable - a
.......................
```
2017-08-04 10:47:13 -07:00
Burke Libbey b72c19d602
Replace xattr usage with a cache directory 2017-05-25 14:09:44 -04:00
Burke Libbey 47539a1c07
Initial public release 2017-03-31 11:38:33 -04:00