yard-sketchup 1.6.0 → 1.6.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 +4 -4
- data/Gemfile +0 -8
- data/lib/yard-sketchup/patches/overload_tag.rb +16 -0
- data/lib/yard-sketchup/version.rb +3 -3
- data/lib/yard-sketchup.rb +1 -0
- data/yard-sketchup.gemspec +1 -1
- metadata +4 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff0c29389de6985ec08c5d5c4e21bb0441690f8da27a4e12041c168f89f0f680
|
|
4
|
+
data.tar.gz: 54e4df5e022306c12ab30c7d6de3abd8ff9ce60e7b4fbbc4e3c819a6bbbe1df0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28bee224118ca5716017ee62a820481740513f6d41745e87bbcd5b858c2beeb85a5a39f00d8ec077493e4f65b13799b0487e26f734fb7f57c501af27df619b9e
|
|
7
|
+
data.tar.gz: 238a5ec946e707d095802dc2c8f8930f67628b3c0fb392ae679f10b624e52e38b226032fc33aae13cfa7914bf7770bbb66030675737b059fa2243e997d3bd1d2
|
data/Gemfile
CHANGED
|
@@ -5,11 +5,3 @@ source 'https://rubygems.org'
|
|
|
5
5
|
gemspec
|
|
6
6
|
|
|
7
7
|
gem 'rake', '~> 12.0', require: false
|
|
8
|
-
|
|
9
|
-
group :tools do
|
|
10
|
-
gem 'colorize', '~> 0.0', require: false
|
|
11
|
-
gem 'git', '~> 1.3', require: false
|
|
12
|
-
gem 'git_diff_parser', '~> 2.3', require: false
|
|
13
|
-
gem 'thor', '~> 0.19', require: false
|
|
14
|
-
end
|
|
15
|
-
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
module SketchUpYARD
|
|
3
|
+
# YARD measures the indent of an @overload body with /\A(\s*)/, which also
|
|
4
|
+
# matches newlines. A blank line after the signature is then counted as
|
|
5
|
+
# indent, and one space is lost from nested text such as @example code.
|
|
6
|
+
# Removing the blank lines after the signature avoids this.
|
|
7
|
+
module OverloadTagPatch
|
|
8
|
+
private
|
|
9
|
+
|
|
10
|
+
def parse_tag(text)
|
|
11
|
+
super(text.sub(/\A(.*\n)(?:[ \t]*\n)+/, '\1'))
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
YARD::Tags::OverloadTag.prepend(SketchUpYARD::OverloadTagPatch)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module SketchUpYARD
|
|
2
|
-
VERSION = '1.6.
|
|
3
|
-
end
|
|
1
|
+
module SketchUpYARD
|
|
2
|
+
VERSION = '1.6.1'.freeze
|
|
3
|
+
end
|
data/lib/yard-sketchup.rb
CHANGED
|
@@ -6,6 +6,7 @@ require 'yard-sketchup/yard/handlers/class_enum_constants'
|
|
|
6
6
|
require 'yard-sketchup/yard/handlers/global_constants'
|
|
7
7
|
require 'yard-sketchup/yard/html_helper'
|
|
8
8
|
require 'yard-sketchup/patches/c_base_handler'
|
|
9
|
+
require 'yard-sketchup/patches/overload_tag'
|
|
9
10
|
|
|
10
11
|
module SketchUpYARD
|
|
11
12
|
|
data/yard-sketchup.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yard-sketchup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Trimble Inc, SketchUp Team
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: yard
|
|
@@ -45,9 +44,6 @@ dependencies:
|
|
|
45
44
|
- - ">="
|
|
46
45
|
- !ruby/object:Gem::Version
|
|
47
46
|
version: 1.15.0
|
|
48
|
-
- - "<"
|
|
49
|
-
- !ruby/object:Gem::Version
|
|
50
|
-
version: '3.0'
|
|
51
47
|
type: :development
|
|
52
48
|
prerelease: false
|
|
53
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -55,11 +51,7 @@ dependencies:
|
|
|
55
51
|
- - ">="
|
|
56
52
|
- !ruby/object:Gem::Version
|
|
57
53
|
version: 1.15.0
|
|
58
|
-
- - "<"
|
|
59
|
-
- !ruby/object:Gem::Version
|
|
60
|
-
version: '3.0'
|
|
61
54
|
description: SketchUp Ruby API YARD template.
|
|
62
|
-
email:
|
|
63
55
|
executables: []
|
|
64
56
|
extensions: []
|
|
65
57
|
extra_rdoc_files: []
|
|
@@ -67,6 +59,7 @@ files:
|
|
|
67
59
|
- Gemfile
|
|
68
60
|
- lib/yard-sketchup.rb
|
|
69
61
|
- lib/yard-sketchup/patches/c_base_handler.rb
|
|
62
|
+
- lib/yard-sketchup/patches/overload_tag.rb
|
|
70
63
|
- lib/yard-sketchup/stubs/autoload.rb
|
|
71
64
|
- lib/yard-sketchup/templates/apis/fulldoc/text/setup.rb
|
|
72
65
|
- lib/yard-sketchup/templates/changelog/fulldoc/text/setup.rb
|
|
@@ -110,7 +103,6 @@ homepage: https://github.com/SketchUp/sketchup-yard-template
|
|
|
110
103
|
licenses:
|
|
111
104
|
- MIT
|
|
112
105
|
metadata: {}
|
|
113
|
-
post_install_message:
|
|
114
106
|
rdoc_options: []
|
|
115
107
|
require_paths:
|
|
116
108
|
- lib
|
|
@@ -125,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
125
117
|
- !ruby/object:Gem::Version
|
|
126
118
|
version: '0'
|
|
127
119
|
requirements: []
|
|
128
|
-
rubygems_version:
|
|
129
|
-
signing_key:
|
|
120
|
+
rubygems_version: 4.0.10
|
|
130
121
|
specification_version: 4
|
|
131
122
|
summary: SketchUp Ruby API YARD template.
|
|
132
123
|
test_files: []
|