Skip to content

Commit

Permalink
add tocversion to node, update to TWW
Browse files Browse the repository at this point in the history
  • Loading branch information
fx committed Sep 21, 2024
1 parent 5de5f51 commit 2b12620
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source 'https://rubygems.org'

# gem 'ruby_wasm', github: 'ruby/ruby.wasm'
gem 'ruby-lsp'

group :development do
gem 'rubocop'
Expand Down
11 changes: 11 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ GEM
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.1)
lumberjack (1.2.10)
method_source (1.1.0)
nenv (0.3.0)
Expand All @@ -47,6 +48,7 @@ GEM
parser (3.3.0.2)
ast (~> 2.4.1)
racc
prism (1.0.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
Expand All @@ -57,6 +59,8 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rbs (3.5.3)
logger
rdoc (6.7.0)
psych (>= 4.0.0)
regexp_parser (2.9.0)
Expand Down Expand Up @@ -89,6 +93,11 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
ruby-lsp (0.18.1)
language_server-protocol (~> 3.17.0)
prism (~> 1.0)
rbs (>= 3, < 4)
sorbet-runtime (>= 0.5.10782)
ruby-progressbar (1.13.0)
shellany (0.0.1)
simplecov (0.22.0)
Expand All @@ -97,6 +106,7 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sorbet-runtime (0.5.11577)
stringio (3.1.1)
thor (1.3.1)
unicode-display_width (2.5.0)
Expand All @@ -114,6 +124,7 @@ DEPENDENCIES
json_pure
rspec
rubocop
ruby-lsp
simplecov

BUNDLED WITH
Expand Down
5 changes: 4 additions & 1 deletion public/node.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

TOC_VERSION = 110_002

WOW_SPECS = {
blood_deathknight: 250,
frost_deathknight: 251,
Expand Down Expand Up @@ -243,6 +245,7 @@ def hide_ooc! # rubocop:disable Metrics/MethodLength
end

def as_json
{ load: load, triggers: triggers, actions: actions, conditions: conditions }
{ load: load, triggers: triggers, actions: actions, conditions: conditions,
tocversion: TOC_VERSION }
end
end
1 change: 0 additions & 1 deletion public/weak_aura.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def as_json # rubocop:disable Metrics/MethodLength
},
internalVersion: 70,
yOffset: 99.999755859375,
tocversion: 100_200,
id: id,
borderOffset: 4,
frameStrata: 1,
Expand Down
1 change: 0 additions & 1 deletion public/weak_aura/dynamic_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def as_json # rubocop:disable Metrics/MethodLength
uid: uid,
constantFactor: 'RADIUS',
borderOffset: 4,
tocversion: 100_200,
id: id,
rotation: 0,
frameStrata: 1,
Expand Down
1 change: 0 additions & 1 deletion public/weak_aura/group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def as_json # rubocop:disable Metrics/MethodLength
},
internalVersion: 70,
yOffset: 99.999755859375,
tocversion: 100_200,
id: id,
borderOffset: 4,
frameStrata: 1,
Expand Down
1 change: 0 additions & 1 deletion public/weak_aura/icon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def as_json # rubocop:disable Metrics/MethodLength
1,
1
],
tocversion: 100_200,
id: id,
config: [],
alpha: 1,
Expand Down

0 comments on commit 2b12620

Please sign in to comment.