glibrary 0.0.2 → 0.0.3

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/glibrary +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99520af72872599214ec5bc995ababd80d9e1557a9966e0e886c6b5d5ef320f5
4
- data.tar.gz: 94966cfd1928b47dab10e7c81f4dad7ae7242979913e4a179ed75e93998035e5
3
+ metadata.gz: 1ec7bddfc20d32bc1e5a85de36802b1a117697a97861ff4044eb7a3c4e895da8
4
+ data.tar.gz: b7f08c7313f7e954825de34a0659c4eeb61402fe072a5407d8b5f17dce93b689
5
5
  SHA512:
6
- metadata.gz: b7525e56cf43e82024810d4c46fabc472f48f41a2b6f02455c6da0a2a6b3709d662668afc50ae79786e426df9f845c2242492210c87ef1037a0d902cb9360dd5
7
- data.tar.gz: 94c0aa9604cde0400fe29dc11c6ff0bab7654caed0aafe37a8b6efbd6af9ed7443fbc9fc7f10f3b014bfac29001d2de63dad7315daf44516f4a4f1e52d3fba7e
6
+ metadata.gz: d86c45871f3607ea227baa5a6466b2d8a3218afc5856b6c589d9399f1b88a3dfcef0888ba465e184c9a139c8095046e0a5bfc621d79601a33dedf77fcee35e73
7
+ data.tar.gz: b865e923ba76499bc2f17b559021c5647e3c5557f70d63f2b051435a601502be553649648f5f7f1eba0d8a495d9456d80ba2cdd9cd166f0c453eb9f72ca5df87
data/bin/glibrary CHANGED
@@ -70,7 +70,7 @@ OptionParser.new do |opts|
70
70
  end.parse!
71
71
 
72
72
  #substitute \ for / if the machine is running windows
73
- filename.gsub!(/\//, '\\') if ENV.values.any? { |v| v =~ /C:\\Windows/i }
73
+ filename.gsub!(/\//, '\\') if ENV.values.any? { |v| v =~ /[A-Z]:\\Windows/i }
74
74
 
75
75
  # Create or load the library, depending on whether or not the file already exists.
76
76
  l = UserLibrary.new(filename)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glibrary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Engelbert