nsrr 0.1.0.beta4 → 0.1.0.beta5

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: 9e5739cb4683537e512b1b4463f237bbd70a3247
4
- data.tar.gz: 6059f16342f257f7282f40f78b6bc2fb7fe9464d
3
+ metadata.gz: cf83eed2a83df571696e324f97366ea87fc3e490
4
+ data.tar.gz: 5fcbd1b4d93c3cb2af3e3fbd9648ee4210d994c8
5
5
  SHA512:
6
- metadata.gz: 36389482d66a709f8fda17d9dfc0caa0e020fe947f67ddb8a1d3f9a6dafdbc35df6fd63470e62cc4f0e76ad400fd6dbdec986b239bd5a18362a1312e1d8bcc47
7
- data.tar.gz: b3823a0956ce76fc9077cfb7bee1fc8821021e9bbe3c203d9c922f339b0c3ea5888a46829f3916da6e9027997b964f440068608b567599104e6676b5188d3073
6
+ metadata.gz: 7a6db82a874e184a4a3ebedfa19ab0dce5e72aa59145a1b26629103d116b65c456714649cfbd61d85ae301e482895582e0faf8f93b76efd39458c09b094f6674
7
+ data.tar.gz: eeba970b058397bf73d0bc4557e5143490918fad258f279be6197e5054d08f9f5f9020afd7289fd784e0999c69e004e7a63087f33f8867322b9143e170242435
data/README.md CHANGED
@@ -8,11 +8,19 @@ The official ruby gem built to simplify file downloads and dataset integration t
8
8
 
9
9
  ## Prerequisites
10
10
 
11
- You must have [Ruby 2.0+ installed](https://github.com/remomueller/documentation/) on your system to use the NSRR gem.
11
+ You must have **Ruby 2.0+ installed** on your system to use the NSRR gem.
12
+
13
+ - [Install Ruby on Windows](http://rubyinstaller.org/)
14
+ - [Install Ruby on Mac](https://github.com/remomueller/documentation/blob/master/macosx/140-install-ruby.md)
15
+ - [Install Ruby on Linux (CentOS)](https://github.com/remomueller/documentation/blob/master/centos/140-install-ruby.md)
12
16
 
13
17
  ## Installation
14
18
 
15
- Add this line to your application's Gemfile:
19
+ Install it yourself as:
20
+
21
+ $ gem install nsrr --pre --no-ri --no-rdoc
22
+
23
+ Or add this line to your application's Gemfile:
16
24
 
17
25
  gem 'nsrr'
18
26
 
@@ -20,9 +28,6 @@ And then execute:
20
28
 
21
29
  $ bundle
22
30
 
23
- Or install it yourself as:
24
-
25
- $ gem install nsrr
26
31
 
27
32
  ## Usage
28
33
 
@@ -86,7 +86,7 @@ module Nsrr
86
86
 
87
87
  def download_helper(path, options)
88
88
  current_folder = ::File.join(self.slug.to_s, path.to_s)
89
- create_folder(current_folder)
89
+ create_folder(current_folder) if self.files(path).count > 0
90
90
 
91
91
  self.files(path).select{|f| f.is_file}.each do |file|
92
92
  result = file.download(options[:method], current_folder, @download_token)
data/lib/nsrr/version.rb CHANGED
@@ -3,7 +3,7 @@ module Nsrr
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
5
  TINY = 0
6
- BUILD = "beta4" # nil, "pre", "rc", "rc2"
6
+ BUILD = "beta5" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nsrr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.beta4
4
+ version: 0.1.0.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller