yard-sig 0.1.0 → 0.2.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: f35a0b2f65d1d710a4e41c9d8a40c2f0d70fc00d05e2dc6562c34342d53fb66d
4
- data.tar.gz: 688ec18293586b50e61dbb2bfb2a9a9f99c00bbc0f31786861a99f31dbb687ea
3
+ metadata.gz: 0222c39af762e8f0c74f9ab32b00810f1fef82130f7fce31055a3d213dc7004c
4
+ data.tar.gz: aeaaa149c7de85e02fcc489ad8797c5d72d598d144916b5311f6e3e63fc2c437
5
5
  SHA512:
6
- metadata.gz: 30c4739f18458e18084c42ed9836a33923ed389939db04caeebd73f2ca7f39fa9f9fdb3206800f544eb0828547d08a550766f79e753f2cb61856218abd10c04b
7
- data.tar.gz: 19fc367e95f0447f3e387580d4f8ce62f16771d2f4b1e8ced043bda3e7ea1c65e19d1fee462e593500a91c69b4868ce8441acdd41dbeabf528966e185fca87f5
6
+ metadata.gz: d0680c7d050b65311197c39cc0bb5fe6aaf68fd696f5631c45fe08f65206805bab33d3e5786270a58bddbcc0589405d4e38be82b97b37625cd7ebdd1eabf93ce
7
+ data.tar.gz: c148870b2939b3258014f22bb8309f0bacfc948ab61c57a74db8d3cd44d82e76fcb4458b020a80a59c297e264ca1cdde5e91eafc7200ab0302592b4c315b4a0a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [0.1.0] - 2023-06-17
3
+ ## [0.2.0] - 2023-07-07
4
+
5
+ - feat: support [AaronC81/sord](https://github.com/AaronC81/sord)
6
+
7
+ ## [0.1.0] - 2023-07-06
4
8
 
5
9
  - Initial release
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module YardSig
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
data/lib/yard-sig.rb CHANGED
@@ -12,6 +12,8 @@ module YardSig
12
12
  class SigDirective < ::YARD::Tags::Directive
13
13
  # @!sig () -> void
14
14
  def call
15
+ return unless object
16
+
15
17
  validate_arguments_forwarding!
16
18
 
17
19
  sig = Sig.new(tag.text, object.parameters, object.namespace.path)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard-sig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takumi Shotoku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-06 00:00:00.000000000 Z
11
+ date: 2023-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbs
@@ -63,8 +63,8 @@ licenses:
63
63
  - MIT
64
64
  metadata:
65
65
  homepage_uri: https://github.com/sinsoku/yard-sig
66
- source_code_uri: https://github.com/sinsoku/yard-sig/blob/v0.1.0/CHANGELOG.md
67
- changelog_uri: https://github.com/sinsoku/yard-sig/tree/v0.1.0
66
+ source_code_uri: https://github.com/sinsoku/yard-sig/blob/v0.2.0/CHANGELOG.md
67
+ changelog_uri: https://github.com/sinsoku/yard-sig/tree/v0.2.0
68
68
  post_install_message:
69
69
  rdoc_options: []
70
70
  require_paths: