nsrr 0.1.0 → 0.1.1

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: f2434e29a65b795fdc10746ad2e6124888f7a088
4
- data.tar.gz: 0a1f52560b8204d9977414d652b1d4346b13ef77
3
+ metadata.gz: 4f8c53c2659b9c4675815c8da96ac1c40eeb03da
4
+ data.tar.gz: 971bcc2bd566eaa7b1a7c9e55ac52630e3d69cc0
5
5
  SHA512:
6
- metadata.gz: e1db02628f393b7353be40e59711a80eff5de052672563da5131e6ef6edfbd117a8d7583e8022086d38ca0b65157ca442ba48541d63a5ccacebb2a89e9b9334d
7
- data.tar.gz: 86c15323a8d746142076e9ef345e96d89acd958fcd7d28a5660fdac36fdf7adbc0c83005625cac4b45fcd3ebbe6e259c9ddf5b36fe39eae5c76cff0e4363837e
6
+ metadata.gz: 8f09358a58b5a3d2581e20efff43ab614ae1934d5d331220566a0b1e4e3417ded013b8ec416a9da2b855b98d4256fe14e378f864ea4262a1d26fca82a6925294
7
+ data.tar.gz: 1ca8bff8d3f083e9031354d55507d7e1424cc6758f0e9f9811d6dd9d2dcfafc521a89316b74a20370361cb54a65dbb613cf5d5ccbaf38d999abaf45876ff48cf
@@ -1,3 +1,9 @@
1
+ ## 0.1.1 (October 23, 2014)
2
+
3
+ ### Enhancements
4
+ - User token input is now hidden to prevent discovery of tokens in console history
5
+ - Use of Ruby 2.1.3 is now recommended
6
+
1
7
  ## 0.1.0 (September 29, 2014)
2
8
 
3
9
  ### Enhancements
@@ -1,6 +1,7 @@
1
1
  require 'colorize'
2
2
  require 'fileutils'
3
3
  require 'irb'
4
+ require 'io/console'
4
5
 
5
6
  require 'nsrr/helpers/constants'
6
7
  require 'nsrr/helpers/hash_helper'
@@ -117,7 +118,8 @@ module Nsrr
117
118
  def set_download_token
118
119
  puts " Get your token here: " + "#{Nsrr::WEBSITE}/token".colorize( :blue ).on_white.underline
119
120
  print "Please enter your download token: "
120
- @download_token = STDIN.gets.chomp
121
+ @download_token = STDIN.noecho(&:gets).chomp
122
+ puts ""
121
123
  end
122
124
 
123
125
  end
@@ -2,7 +2,7 @@ module Nsrr
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 0
5
+ TINY = 1
6
6
  BUILD = nil # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nsrr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-29 00:00:00.000000000 Z
11
+ date: 2014-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.4.1
130
+ rubygems_version: 2.2.2
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: The official ruby gem to simplify file downloads and dataset integration