user_space 0.3.0 → 0.3.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: a47784cae27012512f8cfe22ca5cbdf335fbde4b
4
- data.tar.gz: bcd6f5473cdb355967a04853baf664b29e9b4831
3
+ metadata.gz: 149e88ebcb48a9ca714ad14566702034e351b2a3
4
+ data.tar.gz: 0f235cd46600224046f4837c2569ddf07c1c01c5
5
5
  SHA512:
6
- metadata.gz: 485f80de2dae72ed5fe10b738e9c2c9ba94c5a1035d092709c37c90cb65d3906772b8f0a1cdfa8224acea3d4078e9dbb5eacb275290e1e66000a8e90f3062001
7
- data.tar.gz: f7bbcca7d6aee3dd00016c0bd52c1dae83813a0187b9df838cf5a5c2409c7b9789041b87bf4f2395778e5b770da212f2de460d7c9b1cf35b7c6bccf8ae656ef7
6
+ metadata.gz: e94d27a7b3eb42a40190310db8ec1a5814028edbe78e082257a10a2d7f21a0507ebb4cab42bb749420308a40f5f38bc8dca144a818f6f464bebfbec239b709ca
7
+ data.tar.gz: 4a366e41156a30c6956da85cd56e7695bd1c8866ba215eb5568e74b6e615bee31939e0445a0ba9786a174a3bb787eee5d549c93f822897abddca78c4da48c9ba
data/History.txt CHANGED
@@ -5,3 +5,5 @@
5
5
  c0014415ced058f3b79910f5c52bfe1e pkg/user_space-0.1.0.gem
6
6
  === 0.2.0 / 2014-01-02 10:12:47 -0800
7
7
  1cd8d6d59f08ff03b32c895ee254ca14 pkg/user_space-0.2.0.gem
8
+ === 0.3.0 / 2014-01-16 08:17:03 -0800
9
+ b2df08bdd1e6f0be634109602ef1c63e pkg/user_space-0.3.0.gem
@@ -48,7 +48,7 @@ module USER_SPACE
48
48
  raise "Not a directory: #{userdir}" unless File.directory?(userdir)
49
49
  # Pre-existing directory.
50
50
  # Return unless user wants to overwrite.
51
- return unless overwrite
51
+ next unless overwrite
52
52
  else
53
53
  Dir.mkdir(userdir, 0700)
54
54
  end
@@ -101,9 +101,9 @@ module USER_SPACE
101
101
  File.open(config_file_name, 'w', 0600){|fh| fh.puts options[:parser].pretty_generate obj}
102
102
  end
103
103
 
104
- def configures(hash, trace=nil)
105
- if config? # file exists
106
- config.each{|opt, value| hash[opt.to_sym] = value}
104
+ def configures(hash)
105
+ if self.config? # file exists
106
+ self.config.each{|opt, value| hash[opt.to_sym] = value}
107
107
  else
108
108
  trace.puts config_file_name if trace
109
109
  self.config = hash
@@ -1,3 +1,3 @@
1
1
  module USER_SPACE
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
data/test/user_space.rb CHANGED
@@ -18,7 +18,7 @@ class TestUserSpace < Test::Unit::TestCase
18
18
  include USER_SPACE
19
19
 
20
20
  def test_user_space_version
21
- assert_equal('0.3.0', VERSION)
21
+ assert_equal('0.3.1', VERSION)
22
22
  end
23
23
 
24
24
  def test_user_space_constants
data/user_space.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'user_space'
4
- s.version = '0.3.0'
4
+ s.version = '0.3.1'
5
5
 
6
6
  s.homepage = 'https://github.com/carlosjhr64/user_space'
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_space
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - CarlosJHR64