parlour 5.0.0.beta.5 → 5.0.0.beta.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 954aae86deb14e48d6fd3e1491bfc90e511e06f2339697b41f06bb137f93ae84
4
- data.tar.gz: 5720e034546be195412725a2c5cb58dc14325485eb9720491db4b29b49e83026
3
+ metadata.gz: 1715bb17e55bec8c3c5e9879e2304b3357f4c56fa4969a7100e309be02c252a1
4
+ data.tar.gz: aea13230a97e42b09eed1b120d311d21e9b1deddf6530869a254e34b55745678
5
5
  SHA512:
6
- metadata.gz: c2ff5915c768f8fa5432b0fcb7f0ae89fb3385c6a500ab9f46dedab301f44084620203219e7bac044b48ec2659b9ca729b2d5f2ce0b15e6222c9d3ddec4ca2a2
7
- data.tar.gz: e0edbaf4e923f7b80956072ebc82e1ef1075e6791e8ef7e147da0b533709b62e421e786a0dbd36b8bd11473c59b5f302972deb91d7590d4acae69caebcac1887
6
+ metadata.gz: 2adc666069616d219bbdc22d817b6d26b3775f64be30c2fa889c50022979674f5c066b2eed71cb2427f6015dcab5bc4247d23e539ae8d91ec5196164524d7966
7
+ data.tar.gz: 5761fe954c1dd8bb2a6a17fa1b4a92b21d6d61ab2ad1478e0e5387f09e5918ce264acea38909c54dc89df77417301d26903a2697520a25101e1a154a4b3f0ddb
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5
5
 
6
+ ## [5.0.0.beta.6] - 2020-10-04
7
+ ### Fixed
8
+ - Fixed collection types sometimes generating as `T::::Array`
9
+
6
10
  ## [5.0.0.beta.5] - 2020-10-03
7
11
  ### Added
8
12
  - Added `Types::Generic` for user-defined generic types
@@ -256,7 +256,7 @@ module Parlour
256
256
 
257
257
  sig { override.returns(String) }
258
258
  def generate_rbs
259
- "#{collection_name}[#{element.generate_rbs}]"
259
+ "::#{collection_name}[#{element.generate_rbs}]"
260
260
  end
261
261
 
262
262
  sig { override.returns(String) }
@@ -269,7 +269,7 @@ module Parlour
269
269
  class Array < SingleElementCollection
270
270
  sig { override.returns(String) }
271
271
  def collection_name
272
- '::Array'
272
+ 'Array'
273
273
  end
274
274
 
275
275
  sig { params(other: Object).returns(T::Boolean) }
@@ -282,7 +282,7 @@ module Parlour
282
282
  class Set < SingleElementCollection
283
283
  sig { override.returns(String) }
284
284
  def collection_name
285
- '::Set'
285
+ 'Set'
286
286
  end
287
287
 
288
288
  sig { params(other: Object).returns(T::Boolean) }
@@ -295,7 +295,7 @@ module Parlour
295
295
  class Range < SingleElementCollection
296
296
  sig { override.returns(String) }
297
297
  def collection_name
298
- '::Range'
298
+ 'Range'
299
299
  end
300
300
 
301
301
  sig { params(other: Object).returns(T::Boolean) }
@@ -308,7 +308,7 @@ module Parlour
308
308
  class Enumerable < SingleElementCollection
309
309
  sig { override.returns(String) }
310
310
  def collection_name
311
- '::Enumerable'
311
+ 'Enumerable'
312
312
  end
313
313
 
314
314
  sig { params(other: Object).returns(T::Boolean) }
@@ -321,7 +321,7 @@ module Parlour
321
321
  class Enumerator < SingleElementCollection
322
322
  sig { override.returns(String) }
323
323
  def collection_name
324
- '::Enumerator'
324
+ 'Enumerator'
325
325
  end
326
326
 
327
327
  sig { params(other: Object).returns(T::Boolean) }
@@ -1,5 +1,5 @@
1
1
  # typed: strong
2
2
  module Parlour
3
3
  # The library version.
4
- VERSION = '5.0.0.beta.5'
4
+ VERSION = '5.0.0.beta.6'
5
5
  end
@@ -3,7 +3,7 @@ module Kernel
3
3
  end
4
4
 
5
5
  module Parlour
6
- VERSION = '5.0.0.beta.4'
6
+ VERSION = '5.0.0.beta.6'
7
7
 
8
8
  class ConflictResolver
9
9
  extend T::Sig
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parlour
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0.beta.5
4
+ version: 5.0.0.beta.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Christiansen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-03 00:00:00.000000000 Z
11
+ date: 2020-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime