Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/rake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
working-directory: ruby
run: |
pip install regex
bundle install --with=jsexec
bundle config set --local with jsexec
bundle install

- name: RSpec
working-directory: ruby
Expand Down
2 changes: 2 additions & 0 deletions lib/interscript/compiler/ruby.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# rubocop:disable Style/GlobalVars, Security/Eval -- map-evaluation context globals; eval runs generated map code
$main_binding = binding

class Interscript::Compiler::Ruby < Interscript::Compiler
Expand Down Expand Up @@ -264,3 +265,4 @@ def self.reset_debug_data
$map_debug = []
end
end
# rubocop:enable Style/GlobalVars, Security/Eval
3 changes: 3 additions & 0 deletions lib/interscript/utils/helpers.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# rubocop:disable Style/GlobalVars
# spec-support globals; deliberate process-level state
module Interscript::Utils
module Helpers
def document name = nil, &block
Expand Down Expand Up @@ -37,3 +39,4 @@ def parse(map_name, **kwargs)
end
end
end
# rubocop:enable Style/GlobalVars
Loading