tty-command 0.3.1 → 0.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed180134f9dab57b97a32b7cb028a60bc67a0bf3
4
- data.tar.gz: f636242c6db077f9c2c2df6e26d37d6e8cb79972
3
+ metadata.gz: 94f05c48b5dc4ffb259eed2cca53727acfa59f45
4
+ data.tar.gz: 5dcbf108c255ba4e743e2a12df20c81d98813c83
5
5
  SHA512:
6
- metadata.gz: 2885d83b4cd26a0b37f4e620aea498d743786a4f4926ce64120c42bcf049cacb8a825a8bf2d4cbf32a91c0eb5ebbd4833e8f21dd4a966f449795a510e6bf6976
7
- data.tar.gz: 542cdae297219bfa12c1c6993714de0b448e0849b76341c051b29e9daf8507da755de66d52860b60d3b8d322dac7fa8569d7b29f7264cfd7eeda18be3199cf61
6
+ metadata.gz: fb756ff22fcb8d4cc721b86f01955cbd880f69ec0780a43a3eeab3c46341f23d8e38fb911a42d5a98825e6144c55e69fbf734637db2545de15d088ffc59fbb7c
7
+ data.tar.gz: d812bd31345c16df4226f17d7edb0e7ff56dc5b5d7e3f706222e458c2b22ce66b255bafe33ce399065e7557a77ba4048d873138e46c44962171429bb60bde7b3
@@ -1,8 +1,13 @@
1
1
  # Change log
2
2
 
3
+ ## [v0.3.2] - 2017-02-06
4
+
5
+ ### Fixed
6
+ * Fix File namespacing
7
+
3
8
  ## [v0.3.1] - 2017-01-22
4
9
 
5
- ### fixed
10
+ ### Fixed
6
11
  * Fix top level File constant
7
12
 
8
13
  ## [v0.3.0] - 2017-01-13
@@ -28,6 +33,8 @@
28
33
 
29
34
  * Initial implementation and release
30
35
 
36
+ [v0.3.2]: https://github.com/piotrmurach/tty-command/compare/v0.3.1...v0.3.2
37
+ [v0.3.1]: https://github.com/piotrmurach/tty-command/compare/v0.3.0...v0.3.1
31
38
  [v0.3.0]: https://github.com/piotrmurach/tty-command/compare/v0.2.0...v0.3.0
32
39
  [v0.2.0]: https://github.com/piotrmurach/tty-command/compare/v0.1.0...v0.2.0
33
40
  [v0.1.0]: https://github.com/piotrmurach/tty-command/compare/v0.1.0
@@ -99,11 +99,11 @@ module TTY
99
99
  def convert_to_fd(object)
100
100
  return object if fd?(object)
101
101
 
102
- if object.is_a?(::String) && File.exists?(object)
102
+ if object.is_a?(::String) && ::File.exists?(object)
103
103
  return object
104
104
  end
105
105
 
106
- tmp = Tempfile.new(SecureRandom.uuid.split('-')[0])
106
+ tmp = ::Tempfile.new(::SecureRandom.uuid.split('-')[0])
107
107
 
108
108
  content = try_reading(object)
109
109
  tmp.write(content)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  class Command
5
- VERSION = '0.3.1'
5
+ VERSION = '0.3.2'
6
6
  end # Command
7
7
  end # TTY
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Murach
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-22 00:00:00.000000000 Z
11
+ date: 2017-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pastel