markdown_ruby_documentation 0.22.0 → 0.22.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02c84572f9faa898b291c1a78d07365a2fc7fdaa
4
- data.tar.gz: 190f670308fb4a9de7ee641aa78a1fd428e63bab
3
+ metadata.gz: 695ba171515dca96848ef72e45789206887dc79a
4
+ data.tar.gz: 61fa15d573018fb904c0477cefd000eff31159e7
5
5
  SHA512:
6
- metadata.gz: aca3be20490229c8a6351b1b639787c9ec12c02eccbf91cb08e71f760210f04773a57bec7a4e2dfab4af424531e38fa2ecff0df7a3c5a2a702d485d8e59c2ca0
7
- data.tar.gz: a6ba7cb14f17136e43282812d65f5ee66023f88fa6a6ca6332adac198ea5b8f6468e070e75723a07b1dc559a18b0d01ac27ed68da13e4761341b78743c7a4820
6
+ metadata.gz: 0f41b7f2e0141c918d1520a960034f706ada5e9d00da6d7692ea4393fdef632d77abcc7cc8472f8124660162b5f4c80fd6e076936e52ab737bdf4b0e13db40fa
7
+ data.tar.gz: 8a3ab64e1eeeccc0d74a8092b5b377608b68c46bb036b89bbade86b1b5f8fc6c6587c2070941fc649b591bb6300c51fe0183a72ee701bfc2d57b62688bbf1877
@@ -66,8 +66,8 @@ module MarkdownRubyDocumentation
66
66
  end
67
67
 
68
68
  def order_by_location(items)
69
- items.sort_by do |(_, hash)|
70
- hash[:method_object].source_location
69
+ items.sort_by do |(name, hash)|
70
+ hash[:method_object].source_location rescue name # NullMethod has no source_location
71
71
  end
72
72
  end
73
73
 
@@ -1,3 +1,3 @@
1
1
  module MarkdownRubyDocumentation
2
- VERSION = "0.22.0"
2
+ VERSION = "0.22.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_ruby_documentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.22.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler