tty-link 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/tty/link/version.rb +1 -1
- metadata +9 -22
- data/.gitignore +0 -12
- data/.rspec +0 -3
- data/.travis.yml +0 -23
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -12
- data/ISSUE_TEMPLATE.md +0 -23
- data/PULL_REQUEST_TEMPLATE.md +0 -18
- data/Rakefile +0 -8
- data/appveyor.yml +0 -28
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/tasks/console.rake +0 -11
- data/tasks/coverage.rake +0 -11
- data/tasks/spec.rake +0 -29
- data/tty-link.gemspec +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34124696be1323e7ee9ace0870d5e3039790de3c6802d63e54e27ce8c9cfcc2f
|
4
|
+
data.tar.gz: 9391c73775b6b8e630f6949a25e846bd7f757f36f705ccf8997695d3d2f69fd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3ca88361271eb978c36ae7da6ba7cb17d2b4744817478135bea33192931689409aa29ea7f25667ecf1e1e2d78fccd75ce03d74973d8f28002b114d87ac5c165
|
7
|
+
data.tar.gz: e0924a44d4b531aa5cbebbfcae82e072fb5ad1ee164bd9efc24cb5f7185c0fd927e33f7715c7fb30c487c6c07ca9453204333631d60436402487e288097beced
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
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
3
|
</div>
|
4
4
|
|
5
|
-
# TTY::Link
|
5
|
+
# TTY::Link [![Gitter](https://badges.gitter.im/Join%20Chat.svg)][gitter]
|
6
6
|
|
7
7
|
[![Gem Version](https://badge.fury.io/rb/tty-link.svg)][gem]
|
8
8
|
[![Build Status](https://secure.travis-ci.org/piotrmurach/tty-link.svg?branch=master)][travis]
|
data/lib/tty/link/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tty-link
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Murach
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -54,33 +54,20 @@ dependencies:
|
|
54
54
|
version: '3.0'
|
55
55
|
description: Hyperlinks in your terminal
|
56
56
|
email:
|
57
|
-
-
|
57
|
+
- piotr@piotrmurach.com
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
|
-
extra_rdoc_files:
|
60
|
+
extra_rdoc_files:
|
61
|
+
- README.md
|
62
|
+
- CHANGELOG.md
|
61
63
|
files:
|
62
|
-
- ".gitignore"
|
63
|
-
- ".rspec"
|
64
|
-
- ".travis.yml"
|
65
64
|
- CHANGELOG.md
|
66
|
-
- CODE_OF_CONDUCT.md
|
67
|
-
- Gemfile
|
68
|
-
- ISSUE_TEMPLATE.md
|
69
65
|
- LICENSE.txt
|
70
|
-
- PULL_REQUEST_TEMPLATE.md
|
71
66
|
- README.md
|
72
|
-
- Rakefile
|
73
|
-
- appveyor.yml
|
74
|
-
- bin/console
|
75
|
-
- bin/setup
|
76
67
|
- lib/tty-link.rb
|
77
68
|
- lib/tty/link.rb
|
78
69
|
- lib/tty/link/version.rb
|
79
|
-
|
80
|
-
- tasks/coverage.rake
|
81
|
-
- tasks/spec.rake
|
82
|
-
- tty-link.gemspec
|
83
|
-
homepage: https://piotrmurach.github.io/tty
|
70
|
+
homepage: https://ttytoolkit.org
|
84
71
|
licenses:
|
85
72
|
- MIT
|
86
73
|
metadata:
|
@@ -88,7 +75,7 @@ metadata:
|
|
88
75
|
bug_tracker_uri: https://github.com/piotrmurach/tty-link/issues
|
89
76
|
changelog_uri: https://github.com/piotrmurach/tty-link/blob/master/CHANGELOG.md
|
90
77
|
documentation_uri: https://www.rubydoc.info/gems/tty-link
|
91
|
-
homepage_uri: https://
|
78
|
+
homepage_uri: https://ttytoolkit.org
|
92
79
|
source_code_uri: https://github.com/piotrmurach/tty-link
|
93
80
|
post_install_message:
|
94
81
|
rdoc_options: []
|
@@ -105,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
92
|
- !ruby/object:Gem::Version
|
106
93
|
version: '0'
|
107
94
|
requirements: []
|
108
|
-
rubygems_version: 3.
|
95
|
+
rubygems_version: 3.1.2
|
109
96
|
signing_key:
|
110
97
|
specification_version: 4
|
111
98
|
summary: Hyperlinks in your terminal
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.travis.yml
DELETED
@@ -1,23 +0,0 @@
|
|
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/CODE_OF_CONDUCT.md
DELETED
@@ -1,74 +0,0 @@
|
|
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
DELETED
data/ISSUE_TEMPLATE.md
DELETED
@@ -1,23 +0,0 @@
|
|
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/PULL_REQUEST_TEMPLATE.md
DELETED
@@ -1,18 +0,0 @@
|
|
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/Rakefile
DELETED
data/appveyor.yml
DELETED
@@ -1,28 +0,0 @@
|
|
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
DELETED
@@ -1,14 +0,0 @@
|
|
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
DELETED
data/tasks/console.rake
DELETED
data/tasks/coverage.rake
DELETED
data/tasks/spec.rake
DELETED
@@ -1,29 +0,0 @@
|
|
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
DELETED
@@ -1,36 +0,0 @@
|
|
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
|