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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f98bab385a665c7b78c6d94d82c4ba93c7f37354fcd801a87b7d4ca9f9cd14f
4
- data.tar.gz: 62265adbaae3b68b9b73e590a1a06df502577d669c67be39a1425515c1f30482
3
+ metadata.gz: ced352997dfe10cdccdabd33fd516fc3f338d6296f365e28b1c5e520e17d6e91
4
+ data.tar.gz: 89fdfdb47fae4a829a214341409b54441ca2758e94c4b3ed3e5da8ef60e18db0
5
5
  SHA512:
6
- metadata.gz: b6abcbe7ddc76d4856354221e6780ea0e502f28cd02bf79633d4584c05206d4629cf22cfd797a3457ffebc6454a3269a0481b34c5736005406cf6f334d101a2d
7
- data.tar.gz: 9f423088aa20776fbe529ed554025887320a71c203c247f97e068a03c8a650ce48fa5d91feb4e9e831f368177305db9b8025c62475eda4959232652c77d9e9a4
6
+ metadata.gz: 9eac9be8ab748ce5d2f0efca73ab900ccc18723a7b9370ed7c02f227755363d51578a6035e47499cc09be2163947079156e00e8824d8e21667a292fafa2faba3
7
+ data.tar.gz: 42b892aeb8fe566c6ba28c1eae57fc2fc07212d42bc699526aed4fcf40df5b40041f4acd03ddbbfbd1c8a20695c1df7f2110bd66502123bde87509da9a526244
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## [v0.3.1] - 2019-01-24
4
+
5
+ ### Fixed
6
+ * Fix references to File class constant by Taylor Thurlow (@taylorthurlow)
7
+
3
8
  ## [v0.3.0] - 2018-10-20
4
9
 
5
10
  ### Added
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://cdn.rawgit.com/piotrmurach/tty/master/images/tty.png" alt="tty logo" /></a>
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]
@@ -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))
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  class Config
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
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.0
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: 2018-10-20 00:00:00.000000000 Z
11
+ date: 2019-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler