tty-screen 0.6.5 → 0.7.0

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: 89fcd6a60c3f45d35bdac72b92058235e4d2e6a079dec7df5cf72c9880ab9434
4
- data.tar.gz: 3d4a4c4ea005c1668e135ede4d34a9d9e28e5d91bada65d66f4e011523948201
3
+ metadata.gz: 71cc4336951dca9f56757e9c395ea8d041b42e6ff865b7a4f7272fe7b23c84d2
4
+ data.tar.gz: 17eb2857e5d9cdf2f88fa95964fd823b8e852205866c5dada1a878f4b441a5cb
5
5
  SHA512:
6
- metadata.gz: 18d9d698f273dc15d7c158f7e02d7ae6edfa54ccb4d3c38cac63b226114d8ac7666632c8fc26689dec0357508674dfbb20d73ca1ddf9c16a15641074d024a52e
7
- data.tar.gz: 78aae86103441d21170a31ad2d8b012b4b9c1736adbe08bae311c321dc6acb700b0fe6a1c3924d3c80ebe17c6e97955a4a9596bf0896bbc62de50ee626255850
6
+ metadata.gz: 2c312cf2daabf31b388f3e8404f1a2db9d3ebe58561847d4ddc7030c40d7efed5fa304ae03fa48b14486aa6106f011c4f12f20cc1fb9a48ae7f737574ac0530c
7
+ data.tar.gz: 1232a37433b71681a1838ff124988bc51aabb6e81538d21ee93eaa173bf0c3c2576fd62d1aa9d120fe8c7b6a26d2141511792dcd3c0096874dbbf496528fd5e1
@@ -1,5 +1,11 @@
1
1
  # Change log
2
2
 
3
+ ## [v0.7.0] - 2019-05-19
4
+
5
+ ### Changed
6
+ * Change gemspec to load files directly without using git
7
+ * Change to relax development dependencies
8
+
3
9
  ## [v0.6.5] - 2018-07-13
4
10
 
5
11
  ### Changed
@@ -100,6 +106,7 @@
100
106
  ### Fixed
101
107
  * Fix bug with screen detection from_io_console by @luxflux
102
108
 
109
+ [v0.7.0]: https://github.com/piotrmurach/tty-screen/compare/v0.6.5...v0.7.0
103
110
  [v0.6.5]: https://github.com/piotrmurach/tty-screen/compare/v0.6.4...v0.6.5
104
111
  [v0.6.4]: https://github.com/piotrmurach/tty-screen/compare/v0.6.3...v0.6.4
105
112
  [v0.6.3]: https://github.com/piotrmurach/tty-screen/compare/v0.6.2...v0.6.3
data/README.md CHANGED
@@ -1,3 +1,7 @@
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::Screen [![Gitter](https://badges.gitter.im/Join%20Chat.svg)][gitter]
2
6
 
3
7
  [![Gem Version](https://badge.fury.io/rb/tty-screen.svg)][gem]
@@ -71,4 +75,4 @@ This project is intended to be a safe, welcoming space for collaboration, and co
71
75
 
72
76
  ## Copyright
73
77
 
74
- Copyright (c) 2014-2018 Piotr Murach. See LICENSE for further details.
78
+ Copyright (c) 2014 Piotr Murach. See LICENSE for further details.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  module Screen
5
- VERSION = '0.6.5'.freeze
5
+ VERSION = '0.7.0'.freeze
6
6
  end # Screen
7
7
  end # TTY
@@ -1,11 +1,13 @@
1
- if RUBY_VERSION > '1.9' and (ENV['COVERAGE'] || ENV['TRAVIS'])
1
+ # frozen_string_literal: true
2
+
3
+ if ENV['COVERAGE'] || ENV['TRAVIS']
2
4
  require 'simplecov'
3
5
  require 'coveralls'
4
6
 
5
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
7
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
6
8
  SimpleCov::Formatter::HTMLFormatter,
7
9
  Coveralls::SimpleCov::Formatter
8
- ]
10
+ ])
9
11
 
10
12
  SimpleCov.start do
11
13
  command_name 'spec'
@@ -6,20 +6,22 @@ Gem::Specification.new do |spec|
6
6
  spec.name = 'tty-screen'
7
7
  spec.version = TTY::Screen::VERSION
8
8
  spec.authors = ["Piotr Murach"]
9
- spec.email = [""]
9
+ spec.email = ["me@piotrmurach.com"]
10
10
  spec.summary = %q{Terminal screen size detection which works on Linux, OS X and Windows/Cygwin platforms and supports MRI, JRuby and Rubinius interpreters.}
11
11
  spec.description = %q{Terminal screen size detection which works on Linux, OS X and Windows/Cygwin platforms and supports MRI, JRuby and Rubinius interpreters.}
12
12
  spec.homepage = "https://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-screen.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{^(spec)/})
18
20
  spec.require_paths = ["lib"]
19
21
 
20
22
  spec.required_ruby_version = '>= 2.0.0'
21
23
 
22
- spec.add_development_dependency 'bundler', '>= 1.5.0', '< 2.0'
24
+ spec.add_development_dependency 'bundler', '>= 1.5.0'
23
25
  spec.add_development_dependency 'rspec', '~> 3.1'
24
- spec.add_development_dependency 'rake', '~> 10.0'
26
+ spec.add_development_dependency 'rake'
25
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty-screen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.7.0
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-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.5.0
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '2.0'
23
20
  type: :development
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.5.0
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '2.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: rspec
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -48,34 +42,28 @@ dependencies:
48
42
  name: rake
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
- - - "~>"
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
- version: '10.0'
47
+ version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
- - - "~>"
52
+ - - ">="
59
53
  - !ruby/object:Gem::Version
60
- version: '10.0'
54
+ version: '0'
61
55
  description: Terminal screen size detection which works on Linux, OS X and Windows/Cygwin
62
56
  platforms and supports MRI, JRuby and Rubinius interpreters.
63
57
  email:
64
- - ''
58
+ - me@piotrmurach.com
65
59
  executables: []
66
60
  extensions: []
67
61
  extra_rdoc_files: []
68
62
  files:
69
- - ".gitignore"
70
- - ".rspec"
71
- - ".travis.yml"
72
63
  - CHANGELOG.md
73
- - CODE_OF_CONDUCT.md
74
- - Gemfile
75
64
  - LICENSE.txt
76
65
  - README.md
77
66
  - Rakefile
78
- - appveyor.yml
79
67
  - lib/tty-screen.rb
80
68
  - lib/tty/screen.rb
81
69
  - lib/tty/screen/version.rb
@@ -105,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
93
  - !ruby/object:Gem::Version
106
94
  version: '0'
107
95
  requirements: []
108
- rubyforge_project:
109
- rubygems_version: 2.7.3
96
+ rubygems_version: 3.0.3
110
97
  signing_key:
111
98
  specification_version: 4
112
99
  summary: Terminal screen size detection which works on Linux, OS X and Windows/Cygwin
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
@@ -1,23 +0,0 @@
1
- ---
2
- language: ruby
3
- sudo: false
4
- cache: bundler
5
- before_install: "gem update bundler"
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
@@ -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 [email]. 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,9 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :metrics do
6
- gem 'coveralls', '~> 0.8.1'
7
- gem 'simplecov', '~> 0.10.0'
8
- gem 'yardstick', '~> 0.9.9'
9
- end
@@ -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"