rbs 1.1.0 → 1.1.1

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: e7a862e1af5773b464ebf201344cf823512ca551df1f827825328863225a26c8
4
- data.tar.gz: 2853162048f342a1dad949b518887e82bc4ede46d79d57626fabb49e2edf920d
3
+ metadata.gz: 8d83588e6a5f96ce5953f7c94eaf6f745eddadd1446e91946f18d4b81efb70bc
4
+ data.tar.gz: 3d7c3148afbe2a6041de6c909ddf08d7991e17c6fa2cebd4393a920582539263
5
5
  SHA512:
6
- metadata.gz: 99fbc15297542d7d0bd952806556b128e071a7f31e0f175b573f77c00db3ec4a6ddd473f33aaf170f2a08f99991939cbcc0484d4287413c9e2b55dfbadc7dff0
7
- data.tar.gz: 3553c8cc89269a9579ccd52d3c9f61bd44f4f6117856da23726930c5c5b17f5aa5da7f1d69a9748fffc1b2fe62587149856a2c1ddee0fed79fb155be6aee6037
6
+ metadata.gz: e8a99b1a837a8cf4c7f1ce6b148c25e66433db2800d356a51ad58cc9b41280b097d3db7a3138679bc34f3c536415473a1b5423fac44f1048359d8556c938c298
7
+ data.tar.gz: 145caea219b5fb1d209e37f03ae0d4999f788895cf6a6dc4150d9ee4864be46ee7dc1126b95d0ddb0b1f1a4576c46f502c415aef56143900be61b726f81a291f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.1.1 (2021-03-12)
6
+
7
+ ### Signature updates
8
+
9
+ * rubygem ([#630](https://github.com/ruby/rbs/pull/630))
10
+
5
11
  ## 1.1.0 (2021-03-08)
6
12
 
7
13
  ### Summary
data/lib/rbs/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RBS
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
data/sig/types.rbs CHANGED
@@ -134,7 +134,13 @@ module RBS
134
134
  def self.build: (Symbol) -> Variable
135
135
  | (Array[Symbol]) -> Array[Variable]
136
136
 
137
- def self.fresh: (?Symbol) -> Variable
137
+ # Returns fresh type variable with prefix (if given.)
138
+ #
139
+ # Variable.fresh(:S) # => S@1
140
+ # Variable.fresh(:S) # => S@2
141
+ # Variable.fresh() # => T@3
142
+ #
143
+ def self.fresh: (?Symbol prefix) -> Variable
138
144
  end
139
145
 
140
146
  class ClassSingleton
@@ -338,7 +338,7 @@ module Gem
338
338
  #
339
339
  def self.find_unresolved_default_spec: (String path) -> Specification?
340
340
 
341
- def self.finish_resolve: (?RequestSet request_set) -> Array[Specification]
341
+ def self.finish_resolve: (?RequestSet request_set) -> void
342
342
 
343
343
  # GemDependencyAPI object, which is set when .use_gemdeps is called. This
344
344
  # contains all the information from the Gemfile.
@@ -417,7 +417,7 @@ module Gem
417
417
  #
418
418
  def self.marshal_version: () -> String
419
419
 
420
- def self.needs: () { (RequestSet) -> untyped } -> Array[Specification]
420
+ def self.needs: () { (RequestSet) -> void } -> void
421
421
 
422
422
  # Default options for gem commands for Ruby packagers.
423
423
  #
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.1.0
4
+ version: 1.1.1
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-03-08 00:00:00.000000000 Z
11
+ date: 2021-03-12 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.