tty-which 0.4.0 → 0.4.1
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +4 -2
- data/Rakefile +2 -2
- data/lib/tty/which/version.rb +1 -1
- data/spec/unit/extensions_spec.rb +1 -1
- data/spec/unit/file_with_exec_ext_spec.rb +1 -1
- data/spec/unit/search_paths_spec.rb +1 -1
- data/spec/unit/which_spec.rb +1 -1
- data/tasks/console.rake +1 -0
- data/tty-which.gemspec +2 -2
- metadata +4 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28bb6c00cc9d895af4e45eff2515742d885e9802a818f4284e86d62e58349f7b
|
4
|
+
data.tar.gz: ca9edb0dcddcbe41a82c1051fc32d042bf7884cb110aed9587d5f53ba82bf8bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 699c7e3f38c4224c208d10a3606ec55225b1f5090aad687b5703d05eb34e71adf85f69762e33e34f171a0083559788d939a96110c8ac09624d23cf402492dca1
|
7
|
+
data.tar.gz: 81e2585a49a45366df93ff57b7e2f38ea8adeb0b1086ac39c00fb4b2b3b5ffa889b900a8d25d627e6e0b9b1b27ab028d6e6acf7828772cfd6d31a8159bb91554
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## [v0.4.1] - 2019-06-02
|
4
|
+
|
5
|
+
### Changed
|
6
|
+
* Change to relax bundler dependency version
|
7
|
+
|
3
8
|
## [v0.4.0] - 2018-10-13
|
4
9
|
|
5
10
|
### Added
|
@@ -45,6 +50,7 @@
|
|
45
50
|
|
46
51
|
* Initial implementation and release
|
47
52
|
|
53
|
+
[v0.4.1]: https://github.com/piotrmurach/tty-which/compare/v0.4.0...v0.4.1
|
48
54
|
[v0.4.0]: https://github.com/piotrmurach/tty-which/compare/v0.3.0...v0.4.0
|
49
55
|
[v0.3.0]: https://github.com/piotrmurach/tty-which/compare/v0.2.2...v0.3.0
|
50
56
|
[v0.2.2]: https://github.com/piotrmurach/tty-which/compare/v0.2.1...v0.2.2
|
data/README.md
CHANGED
@@ -63,7 +63,7 @@ TTY::Which.which('ruby', paths: ['/usr/local/bin', '/usr/bin', '/bin'])
|
|
63
63
|
# => '/usr/local/bin/ruby'
|
64
64
|
```
|
65
65
|
|
66
|
-
When you're only interesting in
|
66
|
+
When you're only interesting in knowing that an executable exists on the system use the `exist?` call:
|
67
67
|
|
68
68
|
```ruby
|
69
69
|
TTY::Which.exist?('ruby') # => true
|
@@ -71,6 +71,8 @@ TTY::Which.exist?('ruby') # => true
|
|
71
71
|
|
72
72
|
## Contributing
|
73
73
|
|
74
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/piotrmurach/tty-which. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
75
|
+
|
74
76
|
1. Fork it ( https://github.com/piotrmurach/tty-which/fork )
|
75
77
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
76
78
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
@@ -79,4 +81,4 @@ TTY::Which.exist?('ruby') # => true
|
|
79
81
|
|
80
82
|
## Copyright
|
81
83
|
|
82
|
-
Copyright (c) 2015
|
84
|
+
Copyright (c) 2015 Piotr Murach. See LICENSE for further details.
|
data/Rakefile
CHANGED
data/lib/tty/which/version.rb
CHANGED
data/spec/unit/which_spec.rb
CHANGED
data/tasks/console.rake
CHANGED
data/tty-which.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "tty-which"
|
7
7
|
spec.version = TTY::Which::VERSION
|
8
8
|
spec.authors = ["Piotr Murach"]
|
9
|
-
spec.email = [""]
|
9
|
+
spec.email = ["me@piotrmurach.com"]
|
10
10
|
spec.summary = %q{Platform independent implementation of Unix which command.}
|
11
11
|
spec.description = %q{Platform independent implementation of Unix which command.}
|
12
12
|
spec.homepage = "http://piotrmurach.github.io/tty/"
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.required_ruby_version = '>= 2.0.0'
|
23
23
|
|
24
|
-
spec.add_development_dependency 'bundler', '>= 1.5.0'
|
24
|
+
spec.add_development_dependency 'bundler', '>= 1.5.0'
|
25
25
|
spec.add_development_dependency 'rspec', '~> 3.1'
|
26
26
|
spec.add_development_dependency 'rake'
|
27
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tty-which
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Murach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.5.0
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '2.0'
|
23
20
|
type: :development
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 1.5.0
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '2.0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: rspec
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,7 +54,7 @@ dependencies:
|
|
60
54
|
version: '0'
|
61
55
|
description: Platform independent implementation of Unix which command.
|
62
56
|
email:
|
63
|
-
-
|
57
|
+
- me@piotrmurach.com
|
64
58
|
executables: []
|
65
59
|
extensions: []
|
66
60
|
extra_rdoc_files: []
|
@@ -102,8 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
96
|
- !ruby/object:Gem::Version
|
103
97
|
version: '0'
|
104
98
|
requirements: []
|
105
|
-
|
106
|
-
rubygems_version: 2.7.3
|
99
|
+
rubygems_version: 3.0.3
|
107
100
|
signing_key:
|
108
101
|
specification_version: 4
|
109
102
|
summary: Platform independent implementation of Unix which command.
|