Commit c241dc8

mo khan <mo@mokhan.ca>
2021-05-09 18:27:56
refactor: rename file to hcl.rb
1 parent 526f53b
Changed files (2)
lib
spandx
terraform
parsers
spec
unit
terraform
lib/spandx/terraform/parsers/parse_tree.rb → lib/spandx/terraform/parsers/hcl.rb
@@ -3,7 +3,7 @@
 module Spandx
   module Terraform
     module Parsers
-      class ParseTree < Parslet::Parser
+      class HCL < Parslet::Parser
         rule(:anything) { match('.').repeat }
         rule(:alpha) { match['a-zA-Z'] }
         rule(:assign) { str('=') }
spec/unit/terraform/parsers/parse_tree_spec.rb → spec/unit/terraform/parsers/hcl_spec.rb
@@ -1,6 +1,6 @@
 # frozen_string_literal: true
 
-RSpec.describe Spandx::Terraform::Parsers::ParseTree do
+RSpec.describe Spandx::Terraform::Parsers::HCL do
   subject(:parser) { described_class.new }
 
   describe '#parse' do