tty-link 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5948d33fa21d9f739d69a6f3d405b463b83a1d81f5f149ab89ad274bbde77391
4
- data.tar.gz: 4d896455c178b312659b95ab51014b73e5b6682d82183e0ec62878fdb185cd08
3
+ metadata.gz: 34124696be1323e7ee9ace0870d5e3039790de3c6802d63e54e27ce8c9cfcc2f
4
+ data.tar.gz: 9391c73775b6b8e630f6949a25e846bd7f757f36f705ccf8997695d3d2f69fd4
5
5
  SHA512:
6
- metadata.gz: 5e28d2ad0b2c2bb811b6215baf52a6b3430cbaa40e9d7a7edcd7b97885a711f147d42985a2ed34bff2676b9fcba3db720eaa81ea5664ebde750121b141f1661b
7
- data.tar.gz: 71d07d587ec15527d9fc01a4d409a7406633393276c7aaafd1d4d2d3ed40c755d05824a33f7dd895b6a007c485f29d395fdf120a74cc4781aa5723082fc89051
6
+ metadata.gz: d3ca88361271eb978c36ae7da6ba7cb17d2b4744817478135bea33192931689409aa29ea7f25667ecf1e1e2d78fccd75ce03d74973d8f28002b114d87ac5c165
7
+ data.tar.gz: e0924a44d4b531aa5cbebbfcae82e072fb5ad1ee164bd9efc24cb5f7185c0fd927e33f7715c7fb30c487c6c07ca9453204333631d60436402487e288097beced
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## [v0.1.1] - 2020-01-25
4
+
5
+ ### Changed
6
+ * Change gemspec to add metadata and remove test artefacts
7
+
3
8
  ## [v0.1.0] - 2019-08-10
4
9
 
5
10
  * Initial implementation and release
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]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  module Link
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end # Link
7
7
  end # TTY
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.0
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: 2019-08-10 00:00:00.000000000 Z
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
- - me@piotrmurach.com
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
- - tasks/console.rake
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://piotrmurach.github.io/tty
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.0.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
@@ -1,12 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
- /Gemfile.lock
10
-
11
- # rspec failure tracking
12
- .rspec_status
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
@@ -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
@@ -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
@@ -1,12 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
4
-
5
- group :test do
6
- gem 'simplecov', '~> 0.16.1'
7
- gem 'coveralls', '~> 0.8.22'
8
- end
9
-
10
- group :metrics do
11
- gem 'yardstick', '~> 0.9.9'
12
- end
@@ -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:
@@ -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
@@ -1,8 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- FileList['tasks/**/*.rake'].each(&method(:import))
4
-
5
- desc 'Run all specs'
6
- task ci: %w[ spec ]
7
-
8
- task :default => :spec
@@ -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"
@@ -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
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- desc "Load gem inside irb console"
4
- task :console do
5
- require "irb"
6
- require "irb/completion"
7
- require File.join(__FILE__, "../../lib/tty-link")
8
- ARGV.clear
9
- IRB.start
10
- end
11
- task c: %w[ console ]
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- desc "Measure code coverage"
4
- task :coverage do
5
- begin
6
- original, ENV["COVERAGE"] = ENV["COVERAGE"], "true"
7
- Rake::Task["spec"].invoke
8
- ensure
9
- ENV["COVERAGE"] = original
10
- end
11
- end
@@ -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
@@ -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