sr-scripts 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  module Sr
2
2
  module Scripts
3
- VERSION = "0.1.11"
3
+ VERSION = "0.1.12"
4
4
  end
5
5
  end
data/lib/sr-scripts.rb CHANGED
@@ -6,7 +6,7 @@ module SrScripts
6
6
  def self.get
7
7
  if File.exists? '.sr-scripts.yml'
8
8
  return YAML.load_file '.sr-scripts.yml'
9
- elsif File.exists? File.expand_path('~/.sr-scripts.yml')
9
+ elsif ENV["HOME"]
10
10
  return YAML.load_file File.expand_path('~/.sr-scripts.yml')
11
11
  elsif File.exists? '/etc/sr-scripts.yml'
12
12
  return YAML.load_file '/etc/sr-scripts.yml'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 11
9
- version: 0.1.11
8
+ - 12
9
+ version: 0.1.12
10
10
  platform: ruby
11
11
  authors:
12
12
  - Davy Campano
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-03-22 00:00:00 -04:00
17
+ date: 2012-03-25 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency