dronejob 1.1.4 → 1.1.5

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: d434990b6196f3a21e18bf8f9006f47d99af9d54
4
- data.tar.gz: 9f586f6d63dc383bfde059ae085049e03b1cec7d
3
+ metadata.gz: ae7806e5f1644e86be634c3c587fdb354075dacc
4
+ data.tar.gz: da43c3f71b21d32dccf8e650e23e23e64378decf
5
5
  SHA512:
6
- metadata.gz: fc20e3fea43fbcc093d91b81e97538d6598c5a50be3953de5ad231dfdc989cbfe9b73854856951dc53ed558553d58ae9d9944d9647a41100ce0c528940a30c3f
7
- data.tar.gz: 33a64c78b17bdc57ecd0cf03b3302d98394fb0c158ceb22815e6c2801e3b860ecf02f771879853f6124d464359141208ac7056082db389241e09e335e665b445
6
+ metadata.gz: a035f90c7a4e3fe196ccfaddd38cddad1d048410f270cd0219e301a0b90079d9846d365b8a8e6275ce223fdad3494f6ed464125e45f3ece92553c734b58a3947
7
+ data.tar.gz: 327ac3ad0c94628dfd36a2bc453b3e9d7c3be291a06a128a69ef16e039aa99ddee62fd3d838245a0db078eef778d1160826fac5b9a232c7deeaff7a0f6bfc6f0
@@ -1,3 +1,3 @@
1
1
  module Dronejob
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
@@ -63,6 +63,16 @@ module Dronejob
63
63
  entries
64
64
  end
65
65
 
66
+ def files(glob="*")
67
+ entries = []
68
+ Dir.chdir(to_s) do
69
+ Dir[glob].each do |path|
70
+ entries.push(file(path))
71
+ end
72
+ end
73
+ entries
74
+ end
75
+
66
76
  def each_dir(&block)
67
77
  children.each do |subdir|
68
78
  block.call(subdir)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dronejob
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-01 00:00:00.000000000 Z
11
+ date: 2016-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
244
244
  version: '2.4'
245
245
  requirements: []
246
246
  rubyforge_project:
247
- rubygems_version: 2.6.3
247
+ rubygems_version: 2.5.1
248
248
  signing_key:
249
249
  specification_version: 4
250
250
  summary: DroneJob Drone Factory