inventory-rake-tasks-yard 1.3.3 → 1.3.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: 7cfb2acd8a44a9e98e560b7961f4d6f605f36f74
4
- data.tar.gz: 4499363058455509f5ca2fa4c67a8808f4b21c72
3
+ metadata.gz: 05a39ebb9466676b45123c3b90d29f9fe535519f
4
+ data.tar.gz: 514155cd76700136abfa0dae88c4893d83c227ad
5
5
  SHA512:
6
- metadata.gz: b732194c8fbf208e8e0914c140e9577c36c72c9cdc5b79b0a7963494a581cb7779eb6fb69c23f5bd696f2beaa9f8a5535cb1add8589f0612be54dfa273bdb13c
7
- data.tar.gz: dbc0bc23550917b878ff907f154f14238c9db7748f884b1ba23885ac35b9706725c3f6192f397b83ff70f184738d0342323488c04c813255f645dde0983ac61e
6
+ metadata.gz: 3a6fc6d24976c54c5794407eae47c0a0589abb01d7c8058e5043dd2bf22bf829be3d77a5548829475d09dc034634cf90a5978328f4c05b484d12838b09982544
7
+ data.tar.gz: 1536baf93dad57cce5231fab9bbd25ee35db8b48b151e09922feb597adbb34443c50a79a0133b98a78b408081dc2dc4b7b5673d5b76486ddcb59a8ba1d24aa98
@@ -57,7 +57,11 @@ class Inventory::Rake::Tasks::YARD
57
57
  ['--markup', 'markdown'],
58
58
  '--no-stats'])
59
59
  self.inventory = options.fetch(:inventory, Inventory::Rake::Tasks.inventory)
60
- self.files = options.fetch(:files){ ENV.include?('FILES') ? FileList[ENV['FILES']] : inventory.lib_files }
60
+ self.files = options.fetch(:files){
61
+ ENV.include?('FILES') ?
62
+ FileList[ENV['FILES']] :
63
+ (n = 0; inventory.lib_files.sort_by{ |e| [e.count('/'), n += 1] })
64
+ }
61
65
  self.globals = options.fetch(:globals, {})
62
66
  yield self if block_given?
63
67
  define
@@ -3,7 +3,7 @@
3
3
  require 'inventory-1.0'
4
4
 
5
5
  class Inventory::Rake::Tasks::YARD
6
- Version = Inventory.new(1, 3, 3){
6
+ Version = Inventory.new(1, 3, 4){
7
7
  def dependencies
8
8
  super + Inventory::Dependencies.new{
9
9
  development 'lookout', 3, 0, 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inventory-rake-tasks-yard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolai Weibull
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-30 00:00:00.000000000 Z
11
+ date: 2013-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inventory
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  version: '0'
218
218
  requirements: []
219
219
  rubyforge_project:
220
- rubygems_version: 2.0.0
220
+ rubygems_version: 2.0.3
221
221
  signing_key:
222
222
  specification_version: 4
223
223
  summary: Inventory³.