rubu 0.0.7 → 0.0.8

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.
@@ -102,7 +102,7 @@
102
102
  </div>
103
103
 
104
104
  <div id="footer">
105
- Generated on Sat Sep 29 22:28:26 2018 by
105
+ Generated on Sun Oct 21 19:17:13 2018 by
106
106
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
107
  0.9.16 (ruby-2.5.1).
108
108
  </div>
@@ -517,6 +517,18 @@ module Rubu
517
517
  end
518
518
  end
519
519
 
520
+ # Create Move's for all in sources and register.
521
+ #
522
+ # This creates Moves without targets, i.e. it is suitable for
523
+ # example for cleanups.
524
+ #
525
+ # @param sources List of sources.
526
+ def self.useset( sources )
527
+ sources.map do |source|
528
+ self.new( source ).use
529
+ end
530
+ end
531
+
520
532
 
521
533
  attr_reader :sources
522
534
  attr_reader :targets
@@ -1,5 +1,5 @@
1
1
  module Rubu
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  def Rubu.version
4
4
  Rubu::VERSION
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tero Isannainen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-29 00:00:00.000000000 Z
11
+ date: 2018-10-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  Rubu (Re-Usable Build Utility) is a library for building