tty-which 0.4.0 → 0.4.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: 71d6ccf2525833dd1fdedffa1690452661db9ab64dc7a7b090c925ec4307b84f
4
- data.tar.gz: 7253c7d63d82fdb131156df0df2dd7317df52a5197484f2e50b2bf4c66aa746d
3
+ metadata.gz: 28bb6c00cc9d895af4e45eff2515742d885e9802a818f4284e86d62e58349f7b
4
+ data.tar.gz: ca9edb0dcddcbe41a82c1051fc32d042bf7884cb110aed9587d5f53ba82bf8bc
5
5
  SHA512:
6
- metadata.gz: 4ac727c081a34d3daa6129a1c1c64d7b1fda940896929a05622c2f351aa3a83f2fb4965984bba43896e3a6ccc47e70bc2ad9c638b5da02b318b65972857b2c25
7
- data.tar.gz: e4c39f2b23493180e21ab1fd80a31b9fd0a892ea775d52c91747e6941de03a6dff456ff06c73f2b2117ed50bf6e166972586a62c467210a4e77b31440ac1c49f
6
+ metadata.gz: 699c7e3f38c4224c208d10a3606ec55225b1f5090aad687b5703d05eb34e71adf85f69762e33e34f171a0083559788d939a96110c8ac09624d23cf402492dca1
7
+ data.tar.gz: 81e2585a49a45366df93ff57b7e2f38ea8adeb0b1086ac39c00fb4b2b3b5ffa889b900a8d25d627e6e0b9b1b27ab028d6e6acf7828772cfd6d31a8159bb91554
@@ -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 knowning that an executable exists on the system use the `exist?` call:
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-2018 Piotr Murach. See LICENSE for further details.
84
+ Copyright (c) 2015 Piotr Murach. See LICENSE for further details.
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
- # coding: utf-8
2
-
3
1
  require 'bundler/gem_tasks'
4
2
 
5
3
  FileList['tasks/**/*.rake'].each(&method(:import))
6
4
 
7
5
  desc 'Run all specs'
8
6
  task ci: %w[ spec ]
7
+
8
+ task default: :spec
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  module Which
5
- VERSION = "0.4.0"
5
+ VERSION = "0.4.1"
6
6
  end # Which
7
7
  end # TTY
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe TTY::Which, '#extensions' do
4
4
  it "provides extensions" do
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe TTY::Which, "#file_with_exec_ext?" do
4
4
  it "detects executable extension" do
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe TTY::Which, '#search_paths' do
4
4
  it "defauls search paths" do
@@ -1,4 +1,4 @@
1
- # coding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe TTY::Which, '#which' do
4
4
 
@@ -8,3 +8,4 @@ task :console do
8
8
  ARGV.clear
9
9
  IRB.start
10
10
  end
11
+ task c: %w[ console ]
@@ -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', '< 2.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.0
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: 2018-10-13 00:00:00.000000000 Z
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
- rubyforge_project:
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.