tty-editor 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/README.md +1 -1
- data/lib/tty/editor.rb +2 -2
- data/lib/tty/editor/version.rb +1 -1
- data/tty-editor.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c8b0f90f5fb1aa59d1958533101e0f5356b109e
|
4
|
+
data.tar.gz: 1e428a93f7c29dfd4514dc0f4c74146d46b15253
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 258d6caf6bb9e949c2904915b21019fa415f3d0467c8102ca376eedfff2a91912fe66fdf68d5f45eb4f426a06f34afc4ae04032de7b0651019cdf63fc1fa9ec4
|
7
|
+
data.tar.gz: 292d62648e65079364d1c0980c6b118362d62292ff32e66f3af778df52d0c7a4a3eb33b7ee405e3c852667708c1f64001022e41f5af4e51cd5959c1712ab5e16
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,19 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
-
## [v0.1.
|
3
|
+
## [v0.1.2] - 2017-02-06
|
4
|
+
|
5
|
+
### Fixed
|
6
|
+
* Fix File namespacing issue
|
7
|
+
|
8
|
+
## [v0.1.1] - 2017-01-01
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
* Fix gemspec summary
|
12
|
+
|
13
|
+
## [v0.1.0] - 2017-01-01
|
4
14
|
|
5
15
|
* Initial implementation and release
|
6
16
|
|
17
|
+
[v0.1.2]: https://github.com/piotrmurach/tty-editor/compare/v0.1.1...v0.1.2
|
18
|
+
[v0.1.1]: https://github.com/piotrmurach/tty-editor/compare/v0.1.0...v0.1.1
|
7
19
|
[v0.1.0]: https://github.com/piotrmurach/tty-editor/compare/v0.1.0
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
[coverage]: https://coveralls.io/github/piotrmurach/tty-editor
|
15
15
|
[inchpages]: http://inch-ci.org/github/piotrmurach/tty-editor
|
16
16
|
|
17
|
-
> Opens a file or text in
|
17
|
+
> Opens a file or text in the user's preferred editor.
|
18
18
|
|
19
19
|
**TTY::Editor** provides independent component for [TTY](https://github.com/piotrmurach/tty) toolkit.
|
20
20
|
|
data/lib/tty/editor.rb
CHANGED
@@ -85,7 +85,7 @@ module TTY
|
|
85
85
|
#
|
86
86
|
# @api private
|
87
87
|
def file_or_temp_path(filename)
|
88
|
-
FileTest.file?(filename) ? filename : tempfile_path(filename)
|
88
|
+
::FileTest.file?(filename) ? filename : tempfile_path(filename)
|
89
89
|
end
|
90
90
|
|
91
91
|
# Finds command using a configured command(s) or detected shell commands.
|
@@ -123,7 +123,7 @@ module TTY
|
|
123
123
|
#
|
124
124
|
# @api public
|
125
125
|
def windows?
|
126
|
-
File::ALT_SEPARATOR == "\\"
|
126
|
+
::File::ALT_SEPARATOR == "\\"
|
127
127
|
end
|
128
128
|
|
129
129
|
# Escape file path
|
data/lib/tty/editor/version.rb
CHANGED
data/tty-editor.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Piotr Murach"]
|
10
10
|
spec.email = [""]
|
11
11
|
|
12
|
-
spec.summary = %q{Opens a file or text in
|
13
|
-
spec.description = %q{Opens a file or text in
|
12
|
+
spec.summary = %q{Opens a file or text in the user's preferred editor.}
|
13
|
+
spec.description = %q{Opens a file or text in the user's preferred editor.}
|
14
14
|
spec.homepage = "https://piotrmurach.github.io/tty"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tty-editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.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-
|
11
|
+
date: 2017-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-prompt
|
@@ -86,7 +86,7 @@ dependencies:
|
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '3.0'
|
89
|
-
description: Opens a file or text in
|
89
|
+
description: Opens a file or text in the user's preferred editor.
|
90
90
|
email:
|
91
91
|
- ''
|
92
92
|
executables: []
|
@@ -138,5 +138,5 @@ rubyforge_project:
|
|
138
138
|
rubygems_version: 2.5.1
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
|
-
summary: Opens a file or text in
|
141
|
+
summary: Opens a file or text in the user's preferred editor.
|
142
142
|
test_files: []
|