tty-link 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.travis.yml +23 -0
- data/CHANGELOG.md +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +12 -0
- data/ISSUE_TEMPLATE.md +23 -0
- data/LICENSE.txt +21 -0
- data/PULL_REQUEST_TEMPLATE.md +18 -0
- data/README.md +80 -0
- data/Rakefile +8 -0
- data/appveyor.yml +28 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/tty-link.rb +1 -0
- data/lib/tty/link.rb +74 -0
- data/lib/tty/link/version.rb +7 -0
- data/tasks/console.rake +11 -0
- data/tasks/coverage.rake +11 -0
- data/tasks/spec.rake +29 -0
- data/tty-link.gemspec +36 -0
- metadata +112 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5948d33fa21d9f739d69a6f3d405b463b83a1d81f5f149ab89ad274bbde77391
|
4
|
+
data.tar.gz: 4d896455c178b312659b95ab51014b73e5b6682d82183e0ec62878fdb185cd08
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5e28d2ad0b2c2bb811b6215baf52a6b3430cbaa40e9d7a7edcd7b97885a711f147d42985a2ed34bff2676b9fcba3db720eaa81ea5664ebde750121b141f1661b
|
7
|
+
data.tar.gz: 71d07d587ec15527d9fc01a4d409a7406633393276c7aaafd1d4d2d3ed40c755d05824a33f7dd895b6a007c485f29d395fdf120a74cc4781aa5723082fc89051
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
language: ruby
|
3
|
+
before_install: "gem install bundler -v '< 2.0'"
|
4
|
+
script: bundle exec rake ci
|
5
|
+
rvm:
|
6
|
+
- 2.0.0
|
7
|
+
- 2.1.10
|
8
|
+
- 2.2.10
|
9
|
+
- 2.3.8
|
10
|
+
- 2.4.6
|
11
|
+
- 2.5.5
|
12
|
+
- 2.6.3
|
13
|
+
- ruby-head
|
14
|
+
- jruby-9.2.6.0
|
15
|
+
- jruby-head
|
16
|
+
matrix:
|
17
|
+
allow_failures:
|
18
|
+
- rvm: ruby-head
|
19
|
+
- rvm: jruby-head
|
20
|
+
- rvm: jruby-9.2.6.0
|
21
|
+
fast_finish: true
|
22
|
+
branches:
|
23
|
+
only: master
|
data/CHANGELOG.md
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at me@piotrmurach.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/ISSUE_TEMPLATE.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
### Are you in the right place?
|
2
|
+
* For issues or feature requests file a GitHub issue in this repository
|
3
|
+
* For general questions or discussion post in [Gitter](https://gitter.im/piotrmurach/tty)
|
4
|
+
|
5
|
+
### Describe the problem
|
6
|
+
A brief description of the issue/feature.
|
7
|
+
|
8
|
+
### Steps to reproduce the problem
|
9
|
+
```
|
10
|
+
Your code here to reproduce the issue
|
11
|
+
```
|
12
|
+
|
13
|
+
### Actual behaviour
|
14
|
+
What happened? This could be a description, log output, error raised etc...
|
15
|
+
|
16
|
+
### Expected behaviour
|
17
|
+
What did you expect to happen?
|
18
|
+
|
19
|
+
### Describe your environment
|
20
|
+
|
21
|
+
* OS version:
|
22
|
+
* Ruby version:
|
23
|
+
* TTY::Link version:
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Piotr Murach
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
@@ -0,0 +1,18 @@
|
|
1
|
+
### Describe the change
|
2
|
+
What does this Pull Request do?
|
3
|
+
|
4
|
+
### Why are we doing this?
|
5
|
+
Any related context as to why is this is a desirable change.
|
6
|
+
|
7
|
+
### Benefits
|
8
|
+
How will the library improve?
|
9
|
+
|
10
|
+
### Drawbacks
|
11
|
+
Possible drawbacks applying this change.
|
12
|
+
|
13
|
+
### Requirements
|
14
|
+
Put an X between brackets on each line if you have done the item:
|
15
|
+
[] Tests written & passing locally?
|
16
|
+
[] Code style checked?
|
17
|
+
[] Rebased with `master` branch?
|
18
|
+
[] Documentation updated?
|
data/README.md
ADDED
@@ -0,0 +1,80 @@
|
|
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>
|
3
|
+
</div>
|
4
|
+
|
5
|
+
# TTY::Link
|
6
|
+
|
7
|
+
[![Gem Version](https://badge.fury.io/rb/tty-link.svg)][gem]
|
8
|
+
[![Build Status](https://secure.travis-ci.org/piotrmurach/tty-link.svg?branch=master)][travis]
|
9
|
+
[![Build status](https://ci.appveyor.com/api/projects/status/4vb3w6wmr9w9vfp7?svg=true)][appveyor]
|
10
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/3f8c368617c464238bf9/maintainability)][codeclimate]
|
11
|
+
[![Coverage Status](https://coveralls.io/repos/github/piotrmurach/tty-link/badge.svg)][coverage]
|
12
|
+
[![Inline docs](http://inch-ci.org/github/piotrmurach/tty-link.svg?branch=master)][inchpages]
|
13
|
+
|
14
|
+
[gitter]: https://gitter.im/piotrmurach/tty
|
15
|
+
[gem]: http://badge.fury.io/rb/tty-link
|
16
|
+
[travis]: http://travis-ci.org/piotrmurach/tty-link
|
17
|
+
[appveyor]: https://ci.appveyor.com/project/piotrmurach/tty-link
|
18
|
+
[codeclimate]: https://codeclimate.com/github/piotrmurach/tty-link/maintainability
|
19
|
+
[coverage]: https://coveralls.io/github/piotrmurach/tty-link
|
20
|
+
[inchpages]: http://inch-ci.org/github/piotrmurach/tty-link
|
21
|
+
|
22
|
+
> Hyperlinks in your terminal
|
23
|
+
|
24
|
+
**TTY::Link** allows you to test whether a terminal supports hyperlinks and print them to the console. It is a component in [TTY toolkit](https://github.com/piotrmurach/tty)
|
25
|
+
|
26
|
+
Terminal emulators such as `iTerm2` or `GNOME`, `XFCE` that use `VTE` widget support web style hyperlinks via `Ctrl+click` or `Cmd+click`.
|
27
|
+
|
28
|
+
## Installation
|
29
|
+
|
30
|
+
Add this line to your application's Gemfile:
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
gem 'tty-link'
|
34
|
+
```
|
35
|
+
|
36
|
+
And then execute:
|
37
|
+
|
38
|
+
$ bundle
|
39
|
+
|
40
|
+
Or install it yourself as:
|
41
|
+
|
42
|
+
$ gem install tty-link
|
43
|
+
|
44
|
+
## Usage
|
45
|
+
|
46
|
+
To print hyperlink in your terminal do:
|
47
|
+
|
48
|
+
```ruby
|
49
|
+
puts TTY::Link.link_to("TTY toolkit", "https://ttytoolkit.org")
|
50
|
+
# =>
|
51
|
+
# TTY toolkit
|
52
|
+
```
|
53
|
+
|
54
|
+
In cases when the terminal cannot support hyperlinks, an alternative is printed:
|
55
|
+
|
56
|
+
```ruby
|
57
|
+
# TTY toolkit -> https://ttytoolkit.org
|
58
|
+
```
|
59
|
+
|
60
|
+
## Development
|
61
|
+
|
62
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
63
|
+
|
64
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
65
|
+
|
66
|
+
## Contributing
|
67
|
+
|
68
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/piotrmurach/tty-link. 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.
|
69
|
+
|
70
|
+
## License
|
71
|
+
|
72
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
73
|
+
|
74
|
+
## Code of Conduct
|
75
|
+
|
76
|
+
Everyone interacting in the TTY::Link project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/piotrmurach/tty-link/blob/master/CODE_OF_CONDUCT.md).
|
77
|
+
|
78
|
+
## Copyright
|
79
|
+
|
80
|
+
Copyright (c) 2019 Piotr Murach. See LICENSE for further details.
|
data/Rakefile
ADDED
data/appveyor.yml
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
install:
|
3
|
+
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
4
|
+
- gem install bundler -v '< 2.0'
|
5
|
+
- bundle install
|
6
|
+
before_test:
|
7
|
+
- ruby -v
|
8
|
+
- gem -v
|
9
|
+
- bundle -v
|
10
|
+
build: off
|
11
|
+
test_script:
|
12
|
+
- bundle exec rake ci
|
13
|
+
environment:
|
14
|
+
matrix:
|
15
|
+
- ruby_version: "200"
|
16
|
+
- ruby_version: "200-x64"
|
17
|
+
- ruby_version: "21"
|
18
|
+
- ruby_version: "21-x64"
|
19
|
+
- ruby_version: "22"
|
20
|
+
- ruby_version: "22-x64"
|
21
|
+
- ruby_version: "23"
|
22
|
+
- ruby_version: "23-x64"
|
23
|
+
- ruby_version: "24"
|
24
|
+
- ruby_version: "24-x64"
|
25
|
+
- ruby_version: "25"
|
26
|
+
- ruby_version: "25-x64"
|
27
|
+
- ruby_version: "26"
|
28
|
+
- ruby_version: "26-x64"
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "tty/link"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/lib/tty-link.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require_relative "tty/link"
|
data/lib/tty/link.rb
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "link/version"
|
4
|
+
|
5
|
+
module TTY
|
6
|
+
module Link
|
7
|
+
class Error < StandardError; end
|
8
|
+
|
9
|
+
ESC = "\u001B["
|
10
|
+
OSC = "\u001B]"
|
11
|
+
BEL = "\u0007"
|
12
|
+
SEP = ";"
|
13
|
+
|
14
|
+
ITERM = /iTerm(\s*\d+){0,1}.app/x.freeze
|
15
|
+
|
16
|
+
# Parse version number
|
17
|
+
#
|
18
|
+
# @param [String] version
|
19
|
+
#
|
20
|
+
# @api private
|
21
|
+
def parse_version(version)
|
22
|
+
if (matches = version.match(/^(\d{1,2})(\d{2})$/))
|
23
|
+
major, minor, patch = 0, matches[1].to_i, matches[2].to_i
|
24
|
+
else
|
25
|
+
major, minor, patch = version.split(".").map(&:to_i)
|
26
|
+
end
|
27
|
+
{ major: major, minor: minor, patch: patch }
|
28
|
+
end
|
29
|
+
module_function :parse_version
|
30
|
+
|
31
|
+
# Check if link is supported
|
32
|
+
#
|
33
|
+
# @return [Boolean]
|
34
|
+
#
|
35
|
+
# @api public
|
36
|
+
def support_link?(output: $stdout)
|
37
|
+
return false unless output.tty?
|
38
|
+
|
39
|
+
if ENV["TERM_PROGRAM"] =~ ITERM
|
40
|
+
version = parse_version(ENV["TERM_PROGRAM_VERSION"])
|
41
|
+
|
42
|
+
return version[:major] > 3 || version[:major] == 3 && version[:minor] > 0
|
43
|
+
end
|
44
|
+
|
45
|
+
# uses VTE terminal
|
46
|
+
if ENV["VTE_VERSION"]
|
47
|
+
version = parse_version(ENV["VTE_VERSION"])
|
48
|
+
|
49
|
+
return version[:major] > 0 || version[:minor] > 50 ||
|
50
|
+
version[:minor] == 50 && version[:patch] > 0
|
51
|
+
end
|
52
|
+
|
53
|
+
return false
|
54
|
+
end
|
55
|
+
module_function :support_link?
|
56
|
+
|
57
|
+
# Render terminal link
|
58
|
+
#
|
59
|
+
# @param [String] name
|
60
|
+
# @param [String] url
|
61
|
+
#
|
62
|
+
# @return [String]
|
63
|
+
#
|
64
|
+
# @api public
|
65
|
+
def link_to(name, url)
|
66
|
+
if support_link?
|
67
|
+
[ OSC, "8", SEP, SEP, url, BEL, name, OSC, "8", SEP, SEP, BEL ].join("")
|
68
|
+
else
|
69
|
+
"#{name} -> #{url}"
|
70
|
+
end
|
71
|
+
end
|
72
|
+
module_function :link_to
|
73
|
+
end # Link
|
74
|
+
end # TTY
|
data/tasks/console.rake
ADDED
data/tasks/coverage.rake
ADDED
data/tasks/spec.rake
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
begin
|
4
|
+
require "rspec/core/rake_task"
|
5
|
+
|
6
|
+
desc "Run all specs"
|
7
|
+
RSpec::Core::RakeTask.new(:spec) do |task|
|
8
|
+
task.pattern = "spec/{unit,integration}{,/*/**}/*_spec.rb"
|
9
|
+
end
|
10
|
+
|
11
|
+
namespace :spec do
|
12
|
+
desc "Run unit specs"
|
13
|
+
RSpec::Core::RakeTask.new(:unit) do |task|
|
14
|
+
task.pattern = "spec/unit{,/*/**}/*_spec.rb"
|
15
|
+
end
|
16
|
+
|
17
|
+
desc "Run integration specs"
|
18
|
+
RSpec::Core::RakeTask.new(:integration) do |task|
|
19
|
+
task.pattern = "spec/integration{,/*/**}/*_spec.rb"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
rescue LoadError
|
24
|
+
%w[spec spec:unit spec:integration].each do |name|
|
25
|
+
task name do
|
26
|
+
$stderr.puts "In order to run #{name}, do `gem install rspec`"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
data/tty-link.gemspec
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "tty/link/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "tty-link"
|
7
|
+
spec.version = TTY::Link::VERSION
|
8
|
+
spec.authors = ["Piotr Murach"]
|
9
|
+
spec.email = ["me@piotrmurach.com"]
|
10
|
+
spec.summary = %q{Hyperlinks in your terminal}
|
11
|
+
spec.description = %q{Hyperlinks in your terminal}
|
12
|
+
spec.homepage = "https://piotrmurach.github.io/tty"
|
13
|
+
spec.license = "MIT"
|
14
|
+
if spec.respond_to?(:metadata=)
|
15
|
+
spec.metadata = {
|
16
|
+
"allowed_push_host" => "https://rubygems.org",
|
17
|
+
"bug_tracker_uri" => "https://github.com/piotrmurach/tty-link/issues",
|
18
|
+
"changelog_uri" => "https://github.com/piotrmurach/tty-link/blob/master/CHANGELOG.md",
|
19
|
+
"documentation_uri" => "https://www.rubydoc.info/gems/tty-link",
|
20
|
+
"homepage_uri" => spec.homepage,
|
21
|
+
"source_code_uri" => "https://github.com/piotrmurach/tty-link"
|
22
|
+
}
|
23
|
+
end
|
24
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
25
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
end
|
27
|
+
spec.bindir = "exe"
|
28
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
|
+
spec.require_paths = ["lib"]
|
30
|
+
|
31
|
+
spec.required_ruby_version = ">= 2.0.0"
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", ">= 1.5.0"
|
34
|
+
spec.add_development_dependency "rake"
|
35
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tty-link
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Piotr Murach
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-08-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.5.0
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.5.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
description: Hyperlinks in your terminal
|
56
|
+
email:
|
57
|
+
- me@piotrmurach.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".rspec"
|
64
|
+
- ".travis.yml"
|
65
|
+
- CHANGELOG.md
|
66
|
+
- CODE_OF_CONDUCT.md
|
67
|
+
- Gemfile
|
68
|
+
- ISSUE_TEMPLATE.md
|
69
|
+
- LICENSE.txt
|
70
|
+
- PULL_REQUEST_TEMPLATE.md
|
71
|
+
- README.md
|
72
|
+
- Rakefile
|
73
|
+
- appveyor.yml
|
74
|
+
- bin/console
|
75
|
+
- bin/setup
|
76
|
+
- lib/tty-link.rb
|
77
|
+
- lib/tty/link.rb
|
78
|
+
- lib/tty/link/version.rb
|
79
|
+
- tasks/console.rake
|
80
|
+
- tasks/coverage.rake
|
81
|
+
- tasks/spec.rake
|
82
|
+
- tty-link.gemspec
|
83
|
+
homepage: https://piotrmurach.github.io/tty
|
84
|
+
licenses:
|
85
|
+
- MIT
|
86
|
+
metadata:
|
87
|
+
allowed_push_host: https://rubygems.org
|
88
|
+
bug_tracker_uri: https://github.com/piotrmurach/tty-link/issues
|
89
|
+
changelog_uri: https://github.com/piotrmurach/tty-link/blob/master/CHANGELOG.md
|
90
|
+
documentation_uri: https://www.rubydoc.info/gems/tty-link
|
91
|
+
homepage_uri: https://piotrmurach.github.io/tty
|
92
|
+
source_code_uri: https://github.com/piotrmurach/tty-link
|
93
|
+
post_install_message:
|
94
|
+
rdoc_options: []
|
95
|
+
require_paths:
|
96
|
+
- lib
|
97
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 2.0.0
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0'
|
107
|
+
requirements: []
|
108
|
+
rubygems_version: 3.0.3
|
109
|
+
signing_key:
|
110
|
+
specification_version: 4
|
111
|
+
summary: Hyperlinks in your terminal
|
112
|
+
test_files: []
|