sord 3.0.0.beta.2 → 3.0.0

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: 7a96fafb7c0a8a07c5462a5138b836837e65e2dd14f68d9f51ebd502170c84f9
4
- data.tar.gz: 8d82f8e1848f0422cdd4729933f867f78daffeeb226a54b826d5fd75660e73ac
3
+ metadata.gz: 6fce2fcb8629a399513abe70e01d8175fe57932cea68f3183efaaf5475b1d2a1
4
+ data.tar.gz: b47e6015b205134fb8687d8a81a1174978ed075fc66dcfd0574475756373abbd
5
5
  SHA512:
6
- metadata.gz: f885ba62dd5b528f63e644d6cc6d000b33f372ea07ec7f372b1231464f5989e5353db508d553d997cdb772dc5ad075cf8fc3d37ede901f16efaa031438b59474
7
- data.tar.gz: 859a054fdf1e1609035862c4f95d3b03622dcf7fe97c97afae120e80168102af0806dd8463aa00815f2e294cb0c895f511a9387b4f22e8464dc8aa9dc4f9a333
6
+ metadata.gz: e156fa5ee965a1def468b67a9a1945f6d5fb164b0c756b8c3813a99fc12438404b65976842f34e5806d90a6493c553491d87d3272abcd8703436457691d60c8e
7
+ data.tar.gz: 004b7eab6b52fa397cded80d1960b91aef104689d1567722de17fc116116998508c83faef5cb32fecc262ec80b1663d4f9d6601defb78fcf5c4ed233403189f6
@@ -3,12 +3,7 @@ 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
- ## [3.0.0.beta.2] - 2020-10-05
7
- ### Added
8
- - Sord is no longer limited to a known set of generics, and will instead
9
- generate `Parlour::Types::Generic` types for user-defined generics.
10
-
11
- ## [3.0.0.beta.1] - 2020-09-16
6
+ ## [3.0.0] - 2020-12-26
12
7
  ### Added
13
8
  - Sord now uses the Parlour 5 beta's RBS generation to generate RBS files!
14
9
  - Added `--rbi` and `--rbs` to select an output format to use (if neither given,
@@ -23,6 +18,32 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
23
18
  - `#return [nil]` no longer produces a union of zero types, instead becoming
24
19
  `void` for method returns or `untyped` for attributes.
25
20
 
21
+
22
+ <details>
23
+ <summary>3.0.0 pre-releases</summary>
24
+
25
+ ## [3.0.0.beta.2] - 2020-10-05
26
+ ### Added
27
+ - Sord is no longer limited to a known set of generics, and will instead
28
+ generate `Parlour::Types::Generic` types for user-defined generics.
29
+
30
+ ## [3.0.0.beta.1] - 2020-09-16
31
+ ### Added
32
+ - Sord now uses the Parlour 5 beta's RBS generation to generate RBS files!
33
+ - Added `--rbi` and `--rbs` to select an output format to use (if neither given,
34
+ tries to infer from file extension).
35
+
36
+ ### Changed
37
+ - `RbiGenerator` has been renamed to `Generator`.
38
+ - `TypeConverter#yard_to_sorbet` is now `TypeConverter#yard_to_parlour`, and
39
+ returns `Parlour::Types::Type` instances rather than strings.
40
+
41
+ ### Fixed
42
+ - `#return [nil]` no longer produces a union of zero types, instead becoming
43
+ `void` for method returns or `untyped` for attributes.
44
+
45
+ </details>
46
+
26
47
  ## [2.0.0] - 2020-03-16
27
48
  ### Added
28
49
  - Sord now supports generating `attr_accessor`, `attr_reader` and `attr_writer`
@@ -1,4 +1,4 @@
1
1
  # typed: strong
2
2
  module Sord
3
- VERSION = '3.0.0.beta.2'
3
+ VERSION = '3.0.0'
4
4
  end
@@ -1,6 +1,7 @@
1
1
  # typed: strong
2
+
2
3
  module Sord
3
- VERSION = T.let('3.0.0.beta.2', T.untyped)
4
+ VERSION = T.let('3.0.0', T.untyped)
4
5
 
5
6
  # Handles writing logs to stdout and any other classes which request them.
6
7
  module Logging
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency 'yard'
26
26
  spec.add_dependency 'sorbet-runtime'
27
27
  spec.add_dependency 'commander', '~> 4.5'
28
- spec.add_dependency 'parlour', '5.0.0.beta.6'
28
+ spec.add_dependency 'parlour', '~> 5.0'
29
29
 
30
30
  spec.add_development_dependency "bundler", "~> 2.0"
31
31
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sord
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta.2
4
+ version: 3.0.0
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-05 00:00:00.000000000 Z
11
+ date: 2020-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yard
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: parlour
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 5.0.0.beta.6
61
+ version: '5.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '='
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 5.0.0.beta.6
68
+ version: '5.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -181,9 +181,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
181
  version: '0'
182
182
  required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
- - - ">"
184
+ - - ">="
185
185
  - !ruby/object:Gem::Version
186
- version: 1.3.1
186
+ version: '0'
187
187
  requirements: []
188
188
  rubygems_version: 3.0.3
189
189
  signing_key: