masamune-ast 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bab89d9d8fea557f6a8e96309baf3cf8cf33f8847593c08e83add554e6b1905b
4
- data.tar.gz: 6a5f4980915a465f94a6521d3c254236568a176b06d1f57722aa1c731f1f7848
3
+ metadata.gz: 5a219314a174623dc030d59985862865ef8fb957e9c8c1712a5575e4e2baed5c
4
+ data.tar.gz: 51ba23a068694f8f6bce90ec4fcf9b371356e89519ae84fb2d69187fee4ac25c
5
5
  SHA512:
6
- metadata.gz: 779765359c5d320c9f18949f5ebd16ab0a09b206e3a3494957934f8a864730e0adce869b65a9dcb877f3417fc7958bf74ba3dafb0d1ff42d1c4ba1117714f932
7
- data.tar.gz: 13829190ab9f024aabbf29dc3a924bc02d3635a38a1b03e9925cb5436aef3a671887a19a5df55b08c20ad88690a725e388a674f73eb07011cc7cce7c74c5712f
6
+ metadata.gz: b5cb612d6444c600c09e920240e0f1d975259d27689a28024908808185279746fd434e7cf01618c220fb6d738170abddb3f407a7030edfeef4fc8277309a0eca
7
+ data.tar.gz: 3b53a97766d360c6963a9e584ffa665e7e64266344cec9e350673434ed3d909356bade69a4bdbf54a10ff4f8202a4dfbf25d32c484d0f2c92ca55621c1196666
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [2.0.2] - 2023-10-19
4
+
5
+ - Get location information directly from comment object in #68
6
+
7
+ ## [2.0.1] - 2023-10-18
8
+
9
+ - Fix results for the call node visitor #64.
10
+
3
11
  ## [2.0.0] - 2023-10-13
4
12
 
5
13
  - Migrate to Prism by @gazayas in #60
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- masamune-ast (2.0.1)
4
+ masamune-ast (2.0.2)
5
5
  activesupport
6
6
  prism (>= 0.14.0)
7
7
 
@@ -78,5 +78,10 @@ module Prism
78
78
  def comment? = true
79
79
  def token_location = location
80
80
  def token_value = location.slice
81
+ def start_line = location.start_line
82
+ def start_column = location.start_column
83
+ def end_line = location.end_line
84
+ def end_column = location.end_column
85
+ def line_number = start_line
81
86
  end
82
87
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Masamune
4
- VERSION = "2.0.1"
4
+ VERSION = "2.0.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: masamune-ast
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Zayas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-18 00:00:00.000000000 Z
11
+ date: 2023-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
- rubygems_version: 3.3.7
91
+ rubygems_version: 3.5.0.dev
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Masamune