rbs 1.0.2 → 1.0.3

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: f770aaafebf7f9377990a42eb6d3bb32e733166ecd86407ffc62d386839f9cf0
4
- data.tar.gz: c6421b9f56d6041e63862147656e1f369d9cc057e3ee35b140fe8fccab0101a4
3
+ metadata.gz: 036100021b0cbb49dd861874f559cf64e038d283bf6dbcb6068db71fc9900a69
4
+ data.tar.gz: 9bdf796be6710ae9f9a7c1ab50e7ce1871d86e34b9712fb03fa7418652499e25
5
5
  SHA512:
6
- metadata.gz: 49dea6bbe71560ffd16a38d66716cc0e7f00293d0bb1c4be9951c65185df5286cab8ca0e49a1d2d13cd1b05f97d8695e9242f3e4a356ad3db6225b3bfc4bfbba
7
- data.tar.gz: 57ad2767f7d652ba5fda881d5fcb8f67dc6a7f631a13369026946df9a5f70c72c6497d9fdaa9a540b128285ba4d83a5fcdd1548c0ee9542048e09835e153abc2
6
+ metadata.gz: c70a2e6caa836c06d8136806b45d307f46b40e5cb21a6d4b4eaf49850fa884be0b240e1c8617e3f5d2cca75be25d91cfb0573613fff5ad8c945d0f9f45f8bdb0
7
+ data.tar.gz: fdc96f11d612bdc16672620fd135360a0ff31cb6d32d181aa70785a0b15bf63d13588be95ade7a702d1c64091f22378c1a864a80dbcdf81c129dcdbb091f5afe
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.0.3 (2021-01-28)
6
+
7
+ * Set up `#ancestors` and `#location` of `RecursiveAncestorError` ([#583](https://github.com/ruby/rbs/pull/583))
8
+
5
9
  ## 1.0.2 (2021-01-28)
6
10
 
7
11
  * Signature Updates
@@ -40,6 +40,9 @@ module RBS
40
40
  attr_reader :location
41
41
 
42
42
  def initialize(ancestors:, location:)
43
+ @ancestors = ancestors
44
+ @location = location
45
+
43
46
  names = ancestors.map do |ancestor|
44
47
  case ancestor
45
48
  when Definition::Ancestor::Singleton
@@ -1,3 +1,3 @@
1
1
  module RBS
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-27 00:00:00.000000000 Z
11
+ date: 2021-01-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: RBS is the language for type signatures for Ruby and standard library
14
14
  definitions.