yard-aggredator 1.0.6 → 1.0.7

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: 867117aeeb58550f839e27b47609f5d49a2a494318ee25f67eeb2e3f55d8d2da
4
- data.tar.gz: f601c9cf165ecaceed674ec338c6c65d6a82af75382b7f7914e7d39994db39a6
3
+ metadata.gz: acb9b52ae6e1c9e98226fa28b988954d3c7da791a5903012c27bdf3de917cc92
4
+ data.tar.gz: eb4ea279130164f026741912bf93ed69a39a014997c6ead0bbe6e2a778f1aac7
5
5
  SHA512:
6
- metadata.gz: 74013f6b0f99768eaa5d32b77772c459818e1c1ced1d4be8af9ade6fde1696e8a16ad050b195d17f54ca00b7e9122756eeef9e1c6e2a6b40fe0a2accf7cb9b36
7
- data.tar.gz: 38241dd4f4ae90374ace57788078b3224bf5d7767e3f91417b898e2635f3ed5b5462a2df5621191206db90d61f3132f928a75c8e04442ef5afce389253059e2c
6
+ metadata.gz: f4e22b1bafa1fedb7e76e1bae5d72d8b4ecc5b804eb37619f72d068e692ad5bd544a454c3b0b8bd59b407b9988155c80365171f821de788d7299e5142a0f9a8e
7
+ data.tar.gz: 31721db0cdff951fb556e38e9b736ba859404a753b0b83b1f52c5738e77a484e9e2cc399a5d3ae5089fdddc7658c2300a98c43cb8bd526b00ee9883e8774593d
@@ -99,12 +99,6 @@ module YARD
99
99
  end
100
100
 
101
101
  def linkify(*args)
102
- $d = false
103
- if args.any?{|a| a.to_s['lib/aggredator/api/v3/README']}
104
- $d = true
105
- puts args.inspect
106
- end
107
-
108
102
  if args.first.is_a?(String) && /^link:file:(\S+)/.match(args.first)
109
103
  file = ::Regexp.last_match(1)
110
104
  relpath = File.relative_path(Dir.pwd, File.expand_path(file))
@@ -115,24 +109,9 @@ module YARD
115
109
  # Это генерация динамики. Например `yard server`
116
110
  link_file(relpath, args[1])
117
111
  end
118
- elsif args.first.is_a?(String) && /^file:(\S+)/.match(args.first)
119
- file = ::Regexp.last_match(1)
120
- relpath = File.relative_path(Dir.pwd, File.expand_path(file))
121
- if File.file?(relpath)
122
- if (serializer.class == YARD::Serializers::FileSystemSerializer)
123
- # Это генерация статики. Например `yardoc` или `yard doc`
124
- super
125
- else
126
- puts "SER2: #{args}" if $d
127
- link_file(relpath, args[1])
128
- end
129
- else
130
- super
131
- end
132
112
  elsif args.first.is_a?(String) && /^include:file:(\S+)/.match(args.first)
133
113
  file = ::Regexp.last_match(1)
134
114
  root = YARD::Registry.send(:thread_local_store).file.to_s
135
- puts "linkify 2: #{relpath}" if $d
136
115
  if root['.yardoc']
137
116
  file1 = root.sub('.yardoc', file)
138
117
  file2 = file1.sub('/doc/', '/gems/')
@@ -142,7 +121,6 @@ module YARD
142
121
  end
143
122
  super
144
123
  else
145
- puts "linkify 3: #{args}" if $d
146
124
  super
147
125
  end
148
126
  end
@@ -1,5 +1,5 @@
1
1
  module YARD
2
2
  module Aggredator
3
- VERSION = '1.0.6'
3
+ VERSION = '1.0.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard-aggredator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoilenko Yuri