yard 0.9.19 → 0.9.20

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of yard might be problematic. Click here for more details.

@@ -35,7 +35,7 @@ RSpec.describe "YARD::Handlers::Ruby::#{LEGACY_PARSER ? "Legacy::" : ""}Constant
35
35
  expect(obj.constants[0].value).to eq "42"
36
36
  expect(obj.constants[1].docstring).to eq 'Special constant (empty symbol)'
37
37
  expect(obj.constants[1].name).to eq :EMPTY
38
- expect(obj.constants[1].value).to eq ':""'
38
+ expect(obj.constants[1].value).to eq ":''"
39
39
  end
40
40
 
41
41
  it "turns Const = Struct.new('Name', :sym) into class Const with attr :sym" do
@@ -99,9 +99,9 @@ RSpec.describe YARD::Templates::Helpers::MethodHelper do
99
99
  foo, bar, baz = %w(Foo Bar Baz).map do |c|
100
100
  Registry.at("TestFmtConst::#{c}").value
101
101
  end
102
- expect(format_constant(foo)).to eq ":"""
102
+ expect(format_constant(foo)).to eq ":''"
103
103
  expect(format_constant(bar)).to eq ':BAR'
104
- expect(format_constant(baz)).to eq ":"B+z""
104
+ expect(format_constant(baz)).to eq ":'B+z'"
105
105
  end
106
106
  end
107
107
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.19
4
+ version: 0.9.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loren Segal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-02 00:00:00.000000000 Z
11
+ date: 2019-06-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  YARD is a documentation generation tool for the Ruby programming language.