ppl 1.21.0 → 1.22.0

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: 23ea84dcda4441890c0bb20f27fa04e5c6235706
4
- data.tar.gz: 609844a6af38ff976f7e4a1167b5ef581d755587
3
+ metadata.gz: 79637d676d43f3ea665175757a75c223a905ca14
4
+ data.tar.gz: 0d15db490e218c10fadce8645bdf1742e4b13fed
5
5
  SHA512:
6
- metadata.gz: 3df8d5dc16d1ba121e314fb70d80448f1394c6e4779a63f5b6f9f29450ed3a8d3115ce5854f752c7386d4614c88adc5f8c42da850be996c525db5d7bdd599482
7
- data.tar.gz: faf4b9f89b5892f3352a33a4818bb91b754ea526345b078df272658147fa549122ebe6175e5c8be295d03e0446a044de00571bf9cf73ea9e23baf94eb5f81cd9
6
+ metadata.gz: 8b7a614e6263f4a84369c40739f798dccb6450734fe21499f6a61d39b6ff2f98c81628e0feb2c5ddb71660d4624d535bc13c62123c7d1c59d16cc8d7e2a021a7
7
+ data.tar.gz: 31f74366a975ee52ca1210644df881da618df5a2d0bdd577df63cc65b0b18038bf5a27ea2462474090ba08ca6a2953e00d3f9228ade37d6a30cba96b7b7cff2d
@@ -56,14 +56,17 @@ class Ppl::Application::Configuration
56
56
  end
57
57
 
58
58
  def user_configuration
59
- filename = File.expand_path(USER_CONFIG)
60
- config = {}
59
+ unless @user_config.nil?
60
+ return @user_config
61
+ end
62
+ filename = File.expand_path(USER_CONFIG)
63
+ @user_config = {}
61
64
  if File.exists?(filename)
62
- config = IniFile::load(filename).to_h
65
+ @user_config = IniFile::load(filename).to_h
63
66
  elsif File.exists?(xdg_path)
64
- config = IniFile::load(xdg_path).to_h
67
+ @user_config = IniFile::load(xdg_path).to_h
65
68
  end
66
- return config
69
+ return @user_config
67
70
  end
68
71
 
69
72
  def repository_configuration
data/ppl.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |spec|
3
3
 
4
4
  spec.name = "ppl"
5
- spec.version = "1.21.0"
5
+ spec.version = "1.22.0"
6
6
  spec.date = "2013-04-20"
7
7
 
8
8
  spec.required_ruby_version = ">= 1.9.3"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ppl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henry Smith