cabbage_doc 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 8687ddb9c4feafb097fd54ea3b603ac6138d4e25
4
- data.tar.gz: 4e549353204ac6b35a41878eb62e353d5ddf33f8
3
+ metadata.gz: d500af17374277f3e7a36b2d000773dc06ef4e37
4
+ data.tar.gz: f9ab7ca1247ebb867b84f2c7d701c078f3f37feb
5
5
  SHA512:
6
- metadata.gz: 55aebe211b945f70ffcecf9f6e9539c68168d465cee6cdcdc4f3c2e1b76775f102663df6b02ed6b402d0cbbe60ba3587040d06925ae04dd050b136b34565ab5b
7
- data.tar.gz: 949cac1f4e673ec0ed97ca6acc05ee8c01c6bfd76c717370f59f5c4d9b4bf0794442efca37fca500b91872afe8c1e46a188bf13d4595d6a84cd939c9fa4d6cc2
6
+ metadata.gz: e07a23ec3d180fdfb1ff2ec5357f248c025e3109c19abedba7732b064071b150d244e3af48331e14ca5cf8166eeeca7e82e85028aef145545f65017a5ce4c4e0
7
+ data.tar.gz: bb9854e332f0c0b72f6584fb00be4dd188af9a87795605b4d53f4e9e824753727c9a069bd85dadadf67257f306dad7207edf1a452b866565407fd50991bcafb2
@@ -41,7 +41,7 @@ module CabbageDoc
41
41
  proc do
42
42
  arr = args.first
43
43
  arr = [args] unless arr.is_a?(Array)
44
- arr.map { |segs| Dir.glob(File.join(*segs)) }.flatten.sort.reverse
44
+ arr.map { |segs| Dir.glob(File.join(*Array(segs))) }.flatten.sort.reverse
45
45
  end
46
46
  end
47
47
  end
@@ -69,7 +69,7 @@ module CabbageDoc
69
69
  return unless config.tags.size > 1
70
70
 
71
71
  @_controllers.sort! do |controller|
72
- -config.tags.index(controller.tag)
72
+ -config.tags.index(controller.tag).to_i
73
73
  end
74
74
  end
75
75
 
@@ -1,3 +1,3 @@
1
1
  module CabbageDoc
2
- VERSION = "0.1.3".freeze
2
+ VERSION = "0.1.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cabbage_doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mihail Szabolcs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-03 00:00:00.000000000 Z
11
+ date: 2017-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redcarpet
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  version: '0'
228
228
  requirements: []
229
229
  rubyforge_project:
230
- rubygems_version: 2.6.12
230
+ rubygems_version: 2.5.1
231
231
  signing_key:
232
232
  specification_version: 4
233
233
  summary: Interactive API documentation generator.