manifest-dl 0.1.1 → 0.1.2

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: cc716ceae8c6a8d54cd5c4156fd0702ee4536f2e
4
- data.tar.gz: 232fe98b96f4beb249b2077c6c9fd309a7012116
3
+ metadata.gz: 7d0909e30fbb630b94110abb57a3cc759ff5b069
4
+ data.tar.gz: c066226429779f5c8851dd9a9893c83b5c4907e0
5
5
  SHA512:
6
- metadata.gz: cf2e8d4e8a3860be0e750804cd96eea75a624a6fbe94920499257c1eaab80e7ac86369cfb4fe3e410262ea4095f0ed5a59f2831478c5cdb85679fa1ec2d55d68
7
- data.tar.gz: 64ed81694a1acdcad6fe0ebc496e32b213563d97309e823b57997a55f5211c2acd3ca90ddc6b3efdce65bca74cbe222725cc51a0224ac3d48e227f6f43072a1b
6
+ metadata.gz: 4e2713c8884d522bc0aaa512f4d2581f1703c388a00582797ee32e9406711f0bb1c158c40f141ca2861edada28a267df5d8f8215a511c33e752477e67e0f86b8
7
+ data.tar.gz: 5eb8d162544af73bdbd19de274645c3374ce3cdcce019f850b3e93b55a04fcedaed0ab81a5ac35199c0006c362836bbec3e9dadc2d2461c6ae3d4af4de1254e9
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Date : 2014-10-20
6
6
 
7
7
  Copyright : Copyright (C) 2014 Felix C. Stegerman
8
- Version : v0.1.1
8
+ Version : v0.1.2
9
9
 
10
10
  []: }}}1
11
11
 
@@ -67,6 +67,13 @@ require 'manifest-rb'
67
67
  ManifestRB.run!
68
68
  ```
69
69
 
70
+ ### Rake
71
+
72
+ ```ruby
73
+ require 'manifest-dl/rake'
74
+ ManifestDL::Rake.define_tasks
75
+ ```
76
+
70
77
  []: }}}1
71
78
 
72
79
  ## Specs & Docs
@@ -52,7 +52,10 @@ module ManifestDL
52
52
 
53
53
  # download, verify, mv file
54
54
  def self._dl!(item, quiet, cache_dir)
55
- $stderr.puts "==> #{item['path']}" unless quiet
55
+ unless quiet
56
+ $stderr.puts "==> #{item['path']}"
57
+ $stderr.puts " ( #{item['url']} )"
58
+ end
56
59
  Dir.mktmpdir do |dir|
57
60
  tempfile = Pathname.new(dir).join('dl').to_s
58
61
  _curl! item['url'], tempfile, quiet
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # File : manifest-dl/rails.rb
4
4
  # Maintainer : Felix C. Stegerman <flx@obfusk.net>
5
- # Date : 2014-10-16
5
+ # Date : 2014-10-20
6
6
  #
7
7
  # Copyright : Copyright (C) 2014 Felix C. Stegerman
8
8
  # Licence : LGPLv3+
@@ -11,10 +11,10 @@
11
11
 
12
12
  require 'rails'
13
13
 
14
- require 'manifest-dl'
14
+ require 'manifest-dl/rake'
15
15
 
16
16
  # namespace
17
- module LocalConfig
17
+ module ManifestDL
18
18
 
19
19
  # railtie that adds the rake tasks
20
20
  class Railtie < Rails::Railtie
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # File : manifest-dl/rake.rb
4
4
  # Maintainer : Felix C. Stegerman <flx@obfusk.net>
5
- # Date : 2014-10-16
5
+ # Date : 2014-10-20
6
6
  #
7
7
  # Copyright : Copyright (C) 2014 Felix C. Stegerman
8
8
  # Licence : LGPLv3+
@@ -14,7 +14,7 @@ require 'rake/dsl_definition'
14
14
  require 'manifest-dl'
15
15
 
16
16
  # namespace
17
- module LocalConfig
17
+ module ManifestDL
18
18
 
19
19
  # rake tasks
20
20
  module Rake
@@ -1,4 +1,4 @@
1
1
  module ManifestDL
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  DATE = '2014-10-20'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manifest-dl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix C. Stegerman