tty-cursor 0.6.0 → 0.6.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 +12 -6
- data/README.md +7 -2
- data/lib/tty-cursor.rb +1 -1
- data/lib/tty/cursor/version.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/unit/clear_lines_spec.rb +1 -1
- data/spec/unit/cursor_spec.rb +1 -1
- data/spec/unit/move_spec.rb +1 -1
- data/spec/unit/move_to_spec.rb +1 -1
- data/tty-cursor.gemspec +5 -3
- metadata +5 -11
- data/.gitignore +0 -14
- data/.rspec +0 -3
- data/.travis.yml +0 -23
- data/CODE_OF_CONDUCT.md +0 -49
- data/Gemfile +0 -13
- data/appveyor.yml +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57fcf44408793c8b1b7b804e6dea8618b2dbc21e4fbe562c2d4b54e065dc8274
|
4
|
+
data.tar.gz: e7f8709d0d35f8f235357e000c4b90f4d783fc7b7bdf9dff5131939281319cbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a2894c83345b6392d66fe9addefebfe1e8e982106ddd683ddfc24ac7f4e5de4e76a7e98a50d74a9118378c477155ed52961aeb9f0ed93244338be25190c4e10
|
7
|
+
data.tar.gz: 614ce96b7fd55b37d85e3bd957fe3adef839f71751414c686c4aeae8edcb904ad7e5b43a0cc5890fbc5dd815a9fe619e476bf22b99f9e3d87dbafa16b696ef08
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## [v0.6.1] - 2019-02-28
|
4
|
+
|
5
|
+
### Changed
|
6
|
+
* Change gemspec to load files without git
|
7
|
+
|
3
8
|
## [v0.6.0] - 2018-07-13
|
4
9
|
|
5
10
|
### Changed
|
@@ -46,9 +51,10 @@
|
|
46
51
|
|
47
52
|
* Initial implementation and release
|
48
53
|
|
49
|
-
[v0.6.
|
50
|
-
[v0.
|
51
|
-
[v0.
|
52
|
-
[v0.
|
53
|
-
[v0.
|
54
|
-
[v0.
|
54
|
+
[v0.6.1]: https://github.com/piotrmurach/tty-cursor/compare/v0.6.0...v0.6.1
|
55
|
+
[v0.6.0]: https://github.com/piotrmurach/tty-cursor/compare/v0.5.0...v0.6.0
|
56
|
+
[v0.5.0]: https://github.com/piotrmurach/tty-cursor/compare/v0.4.0...v0.5.0
|
57
|
+
[v0.4.0]: https://github.com/piotrmurach/tty-cursor/compare/v0.3.0...v0.4.0
|
58
|
+
[v0.3.0]: https://github.com/piotrmurach/tty-cursor/compare/v0.2.0...v0.3.0
|
59
|
+
[v0.2.0]: https://github.com/piotrmurach/tty-cursor/compare/v0.1.0...v0.2.0
|
60
|
+
[v0.1.0]: https://github.com/piotrmurach/tty-cursor/compare/v0.1.0
|
data/README.md
CHANGED
@@ -1,4 +1,9 @@
|
|
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
|
+
|
1
5
|
# TTY::Cursor [][gitter]
|
6
|
+
|
2
7
|
[][gem]
|
3
8
|
[][travis]
|
4
9
|
[][appveyor]
|
@@ -57,7 +62,7 @@ Or install it yourself as:
|
|
57
62
|
* [2.2 Cursor Visibility](#22-cursor-visibility)
|
58
63
|
* [2.2.1 show](#221-show)
|
59
64
|
* [2.2.2 hide](#222-hide)
|
60
|
-
* [2.2.3 invisible(stream)](#
|
65
|
+
* [2.2.3 invisible(stream)](#223-invisiblestream)
|
61
66
|
* [2.3 Text Modification](#23-text-modification)
|
62
67
|
* [2.3.1 clear_char(n)](#231-clear_charn)
|
63
68
|
* [2.3.2 clear_line](#232-clear_line)
|
@@ -238,4 +243,4 @@ This project is intended to be a safe, welcoming space for collaboration, and co
|
|
238
243
|
|
239
244
|
## Copyright
|
240
245
|
|
241
|
-
Copyright (c) 2015
|
246
|
+
Copyright (c) 2015 Piotr Murach. See LICENSE for further details.
|
data/lib/tty-cursor.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
require_relative 'tty/cursor'
|
data/lib/tty/cursor/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/spec/unit/cursor_spec.rb
CHANGED
data/spec/unit/move_spec.rb
CHANGED
data/spec/unit/move_to_spec.rb
CHANGED
data/tty-cursor.gemspec
CHANGED
@@ -6,18 +6,20 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'tty-cursor'
|
7
7
|
spec.version = TTY::Cursor::VERSION
|
8
8
|
spec.authors = ["Piotr Murach"]
|
9
|
-
spec.email = [""]
|
9
|
+
spec.email = ["me@piotrmurach.com"]
|
10
10
|
spec.summary = %q{Terminal cursor positioning, visibility and text manipulation.}
|
11
11
|
spec.description = %q{The purpose of this library is to help move the terminal cursor around and manipulate text by using intuitive method calls.}
|
12
12
|
spec.homepage = 'http://piotrmurach.github.io/tty/'
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
15
|
-
spec.files =
|
15
|
+
spec.files = Dir['{lib,spec}/**/*.rb']
|
16
|
+
spec.files += Dir['tasks/*', 'tty-cursor.gemspec']
|
17
|
+
spec.files += Dir['README.md', 'CHANGELOG.md', 'LICENSE.txt', 'Rakefile']
|
16
18
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
20
|
spec.require_paths = ["lib"]
|
19
21
|
|
20
|
-
spec.add_development_dependency 'bundler', '
|
22
|
+
spec.add_development_dependency 'bundler', '>= 1.6'
|
21
23
|
spec.add_development_dependency 'rspec', '~> 3.1'
|
22
24
|
spec.add_development_dependency 'rake'
|
23
25
|
end
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tty-cursor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.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-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.6'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -55,21 +55,15 @@ dependencies:
|
|
55
55
|
description: The purpose of this library is to help move the terminal cursor around
|
56
56
|
and manipulate text by using intuitive method calls.
|
57
57
|
email:
|
58
|
-
-
|
58
|
+
- me@piotrmurach.com
|
59
59
|
executables: []
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
-
- ".gitignore"
|
64
|
-
- ".rspec"
|
65
|
-
- ".travis.yml"
|
66
63
|
- CHANGELOG.md
|
67
|
-
- CODE_OF_CONDUCT.md
|
68
|
-
- Gemfile
|
69
64
|
- LICENSE.txt
|
70
65
|
- README.md
|
71
66
|
- Rakefile
|
72
|
-
- appveyor.yml
|
73
67
|
- lib/tty-cursor.rb
|
74
68
|
- lib/tty/cursor.rb
|
75
69
|
- lib/tty/cursor/version.rb
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.travis.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
---
|
2
|
-
language: ruby
|
3
|
-
sudo: false
|
4
|
-
cache: bundler
|
5
|
-
bundler_args: --without yard benchmarks
|
6
|
-
script: "bundle exec rake ci"
|
7
|
-
rvm:
|
8
|
-
- 2.0.0
|
9
|
-
- 2.1.10
|
10
|
-
- 2.2.9
|
11
|
-
- 2.3.6
|
12
|
-
- 2.4.4
|
13
|
-
- 2.5.1
|
14
|
-
- ruby-head
|
15
|
-
- jruby-9.1.5.0
|
16
|
-
- jruby-head
|
17
|
-
matrix:
|
18
|
-
allow_failures:
|
19
|
-
- rvm: ruby-head
|
20
|
-
- rvm: jruby-head
|
21
|
-
fast_finish: true
|
22
|
-
branches:
|
23
|
-
only: master
|
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, and in the interest of
|
4
|
-
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
-
contribute through reporting issues, posting feature requests, updating
|
6
|
-
documentation, submitting pull requests or patches, and other activities.
|
7
|
-
|
8
|
-
We are committed to making participation in this project a harassment-free
|
9
|
-
experience for everyone, regardless of level of experience, gender, gender
|
10
|
-
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
-
body size, race, ethnicity, age, religion, or nationality.
|
12
|
-
|
13
|
-
Examples of unacceptable behavior by participants include:
|
14
|
-
|
15
|
-
* The use of sexualized language or imagery
|
16
|
-
* Personal attacks
|
17
|
-
* Trolling or insulting/derogatory comments
|
18
|
-
* Public or private harassment
|
19
|
-
* Publishing other's private information, such as physical or electronic
|
20
|
-
addresses, without explicit permission
|
21
|
-
* Other unethical or unprofessional conduct
|
22
|
-
|
23
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
-
threatening, offensive, or harmful.
|
28
|
-
|
29
|
-
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
-
fairly and consistently applying these principles to every aspect of managing
|
31
|
-
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
-
Conduct may be permanently removed from the project team.
|
33
|
-
|
34
|
-
This code of conduct applies both within project spaces and in public spaces
|
35
|
-
when an individual is representing the project or its community.
|
36
|
-
|
37
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
-
reported by contacting a project maintainer at [email]. All
|
39
|
-
complaints will be reviewed and investigated and will result in a response that
|
40
|
-
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
-
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
-
incident.
|
43
|
-
|
44
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
-
version 1.3.0, available at
|
46
|
-
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
-
|
48
|
-
[homepage]: http://contributor-covenant.org
|
49
|
-
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
DELETED
data/appveyor.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
---
|
2
|
-
install:
|
3
|
-
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
4
|
-
- ruby --version
|
5
|
-
- gem --version
|
6
|
-
- bundle install
|
7
|
-
build: off
|
8
|
-
test_script:
|
9
|
-
- bundle exec rake ci
|
10
|
-
environment:
|
11
|
-
matrix:
|
12
|
-
- ruby_version: "200"
|
13
|
-
- ruby_version: "200-x64"
|
14
|
-
- ruby_version: "21"
|
15
|
-
- ruby_version: "21-x64"
|
16
|
-
- ruby_version: "22"
|
17
|
-
- ruby_version: "22-x64"
|
18
|
-
- ruby_version: "23"
|
19
|
-
- ruby_version: "23-x64"
|
20
|
-
- ruby_version: "24"
|
21
|
-
- ruby_version: "24-x64"
|
22
|
-
- ruby_version: "25"
|
23
|
-
- ruby_version: "25-x64"
|