session_config 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 +4 -4
- data/lib/session_config.rb +0 -1
- data/lib/session_config/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e980f1a3cc50cc0f6eb6a009e0aad4cedf814a5e
|
4
|
+
data.tar.gz: 75dc71c69d211e1167c93a0508c9a5bf687194ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b7c1b63c52f34a9349b509988fd3a1d2198964afce6a250176d7a94c4be13259a3bc6bbd93cfbf89a8437916825c1794502882e6907d74a49fadc61657488e8
|
7
|
+
data.tar.gz: 5a69fc0c4c325794a7a765457fd879e5fb8acedd5236704cdc8a81b265c412e38a9a5596d7d210c86f2e12694101218b6d7b7611cbaf8962f5926465488197a8
|
data/lib/session_config.rb
CHANGED
@@ -16,7 +16,6 @@ module SessionConfig
|
|
16
16
|
conf = {}
|
17
17
|
Dir.mkdir(session_config_dir) unless Dir.exists?(session_config_dir)
|
18
18
|
conf = YAML.load_file(conf_file_path) if File.exists?(conf_file_path)
|
19
|
-
puts "Changing #{key} to #{val}" unless conf[key].nil?
|
20
19
|
conf[key] = val
|
21
20
|
File.open(conf_file_path, 'w'){|f| f.write(conf.to_yaml) }
|
22
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: session_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alan Moran
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.6.6
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Lets you store and consume configurations from a hidden file in your home
|