tty-config 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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/tty/config.rb +3 -3
- data/lib/tty/config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ced352997dfe10cdccdabd33fd516fc3f338d6296f365e28b1c5e520e17d6e91
|
4
|
+
data.tar.gz: 89fdfdb47fae4a829a214341409b54441ca2758e94c4b3ed3e5da8ef60e18db0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9eac9be8ab748ce5d2f0efca73ab900ccc18723a7b9370ed7c02f227755363d51578a6035e47499cc09be2163947079156e00e8824d8e21667a292fafa2faba3
|
7
|
+
data.tar.gz: 42b892aeb8fe566c6ba28c1eae57fc2fc07212d42bc699526aed4fcf40df5b40041f4acd03ddbbfbd1c8a20695c1df7f2110bd66502123bde87509da9a526244
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<div align="center">
|
2
|
-
<a href="https://piotrmurach.github.io/tty" target="_blank"><img width="130" src="https://
|
2
|
+
<a href="https://piotrmurach.github.io/tty" target="_blank"><img width="130" src="https://github.com/piotrmurach/tty/raw/master/images/tty.png" alt="tty logo" /></a>
|
3
3
|
</div>
|
4
4
|
|
5
5
|
# TTY::Config [![Gitter](https://badges.gitter.im/Join%20Chat.svg)][gitter]
|
data/lib/tty/config.rb
CHANGED
@@ -600,13 +600,13 @@ module TTY
|
|
600
600
|
when *EXTENSIONS[:yaml]
|
601
601
|
load_read_dep('yaml', ext)
|
602
602
|
if YAML.respond_to?(:safe_load)
|
603
|
-
YAML.safe_load(File.read(file))
|
603
|
+
YAML.safe_load(::File.read(file))
|
604
604
|
else
|
605
|
-
YAML.load(File.read(file))
|
605
|
+
YAML.load(::File.read(file))
|
606
606
|
end
|
607
607
|
when *EXTENSIONS[:json]
|
608
608
|
load_read_dep('json', ext)
|
609
|
-
JSON.parse(File.read(file))
|
609
|
+
JSON.parse(::File.read(file))
|
610
610
|
when *EXTENSIONS[:toml]
|
611
611
|
load_read_dep('toml', ext)
|
612
612
|
TOML.load(::File.read(file))
|
data/lib/tty/config/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tty-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Murach
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|