tty-cursor 0.6.0 → 0.6.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: 961939b5f85e33e484986352a87106166e0e09d2e885a6dc5b4c2544069a0a00
4
- data.tar.gz: 5a5a06e9a2224e4749f92022c20c32f771b7f3a395f57bf883adf4623e4e1d01
3
+ metadata.gz: 57fcf44408793c8b1b7b804e6dea8618b2dbc21e4fbe562c2d4b54e065dc8274
4
+ data.tar.gz: e7f8709d0d35f8f235357e000c4b90f4d783fc7b7bdf9dff5131939281319cbd
5
5
  SHA512:
6
- metadata.gz: faeda15b5d14114884321ecb85163000d638d543ca3d60fcecbe1d5966a58e61ef7013cfc661db3c16cb2671b6237ee767568f64217cc9455cf369ca3959ae95
7
- data.tar.gz: bddac1063b4d98d3a30c7ca5ec6bca650823eef378dc311c43e59fcd1ea68bc2f9dbf9df0d87af21806e1d3759f86d83637b348324f870c9b3cb5463d7b27ca7
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.0]: https://github.com/peter-murach/tty-cursor/compare/v0.5.0...v0.6.0
50
- [v0.5.0]: https://github.com/peter-murach/tty-cursor/compare/v0.4.0...v0.5.0
51
- [v0.4.0]: https://github.com/peter-murach/tty-cursor/compare/v0.3.0...v0.4.0
52
- [v0.3.0]: https://github.com/peter-murach/tty-cursor/compare/v0.2.0...v0.3.0
53
- [v0.2.0]: https://github.com/peter-murach/tty-cursor/compare/v0.1.0...v0.2.0
54
- [v0.1.0]: https://github.com/peter-murach/tty-cursor/compare/v0.1.0
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](https://badges.gitter.im/Join%20Chat.svg)][gitter]
6
+
2
7
  [![Gem Version](https://badge.fury.io/rb/tty-cursor.svg)][gem]
3
8
  [![Build Status](https://secure.travis-ci.org/piotrmurach/tty-cursor.svg?branch=master)][travis]
4
9
  [![Build status](https://ci.appveyor.com/api/projects/status/4k7cd69jscwg7fl7?svg=true)][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)](#2114-invisiblestream)
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-2018 Piotr Murach. See LICENSE for further details.
246
+ Copyright (c) 2015 Piotr Murach. See LICENSE for further details.
data/lib/tty-cursor.rb CHANGED
@@ -1 +1 @@
1
- require 'tty/cursor'
1
+ require_relative 'tty/cursor'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  module Cursor
5
- VERSION = '0.6.0'
5
+ VERSION = '0.6.1'
6
6
  end # Cursor
7
7
  end # TTY
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
3
  if RUBY_VERSION > '1.9' and (ENV['COVERAGE'] || ENV['TRAVIS'])
4
4
  require 'simplecov'
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe TTY::Cursor, '#clear_lines' do
4
4
  subject(:cursor) { described_class }
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe TTY::Cursor do
4
4
  subject(:cursor) { described_class }
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe TTY::Cursor, '#move' do
4
4
  subject(:cursor) { described_class }
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe TTY::Cursor, '#move_to' do
4
4
  subject(:cursor) { described_class }
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 = `git ls-files -z`.split("\x0")
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', '~> 1.6'
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.0
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: 2018-07-13 00:00:00.000000000 Z
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
@@ -1,14 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.bundle
11
- *.so
12
- *.o
13
- *.a
14
- mkmf.log
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --color
2
- --require spec_helper
3
- --warnings
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
@@ -1,13 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :development do
6
- gem 'benchmark-ips', '~> 2.0.0'
7
- end
8
-
9
- group :metrics do
10
- gem 'coveralls', '~> 0.8.9'
11
- gem 'simplecov', '~> 0.10.0'
12
- gem 'yardstick', '~> 0.9.9'
13
- end
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"