tty-pager 0.9.0 → 0.10.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
  SHA1:
3
- metadata.gz: e2c1947e24364321ab077aa4a9426654ecba831c
4
- data.tar.gz: 86a316d617688d3e644802748ab991bd599eb8fd
3
+ metadata.gz: 5068805a1211cec15c39034ed548d2fbfcad5cbd
4
+ data.tar.gz: cd86b711c7bfed1c40847e0e501555229fd3a4f5
5
5
  SHA512:
6
- metadata.gz: 5d4a40162a5d370d66f70f6967e21b088ca09e7fc4b213d9b190e169b1111cf8cf2d37d0db421ad39372629f1213814ad6b6ceb524ee06a3c360bb6bee2865a2
7
- data.tar.gz: 9258e5ecba6052965b5336a932e38140c6bcb64d8ceffb8220ca73d131f331ab1752ac6a3b82ee29a6fece8cbc960036dd1501abc955563bbeb84999e92d66a7
6
+ metadata.gz: 3844899a4cb559a69bc3b34fc50e624ace2538d6b4c5ce75a346b0b775d77060d5ab881714df960ae3efd06a7066316cd68f0f4e8849ec54bf96c6079fac348f
7
+ data.tar.gz: f17e9f459947dd9cd937d0612afcb67e3cc6354b81d2c1015177404b4cd4dd2f31a8d851f109b58b0187a50177095fff350306139356f4c9292c7184da435ed4
@@ -5,7 +5,6 @@ cache: bundler
5
5
  bundler_args: --without yard benchmarks
6
6
  script: "bundle exec rake ci"
7
7
  rvm:
8
- - 1.9.3
9
8
  - 2.0.0
10
9
  - 2.1.10
11
10
  - 2.2.6
@@ -1,5 +1,12 @@
1
1
  # Change log
2
2
 
3
+ ## [v0.10.0] - 2017-10-29
4
+
5
+ ### Changed
6
+ * Change tty-screen dependency version
7
+ * Change gemspec to require Ruby >= 2.0.0
8
+ * Remove encoding comments
9
+
3
10
  ## [v0.9.0] - 2017-08-18
4
11
 
5
12
  ### Changed
@@ -62,6 +69,7 @@
62
69
  ### Changed
63
70
  * Change SystemPager to correctly paginate inside a process.
64
71
 
72
+ [v0.10.0]: https://github.com/peter-murach/tty-prompt/compare/v0.9.0...v0.10.0
65
73
  [v0.9.0]: https://github.com/peter-murach/tty-prompt/compare/v0.8.0...v0.9.0
66
74
  [v0.8.0]: https://github.com/peter-murach/tty-prompt/compare/v0.7.1...v0.8.0
67
75
  [v0.7.1]: https://github.com/peter-murach/tty-prompt/compare/v0.7.0...v0.7.1
@@ -9,7 +9,6 @@ test_script:
9
9
  - bundle exec rake ci
10
10
  environment:
11
11
  matrix:
12
- - ruby_version: "193"
13
12
  - ruby_version: "200"
14
13
  - ruby_version: "200-x64"
15
14
  - ruby_version: "21"
@@ -20,6 +19,3 @@ environment:
20
19
  - ruby_version: "23-x64"
21
20
  - ruby_version: "24"
22
21
  - ruby_version: "24-x64"
23
- matrix:
24
- allow_failures:
25
- - ruby_version: "193"
@@ -1,3 +1 @@
1
- # coding: utf-8
2
-
3
1
  require_relative 'tty/pager'
@@ -1,11 +1,9 @@
1
- # coding: utf-8
2
-
3
1
  require 'tty-screen'
4
2
 
5
- require_relative "pager/basic"
6
- require_relative "pager/null"
7
- require_relative "pager/system"
8
- require_relative "pager/version"
3
+ require_relative 'pager/basic'
4
+ require_relative 'pager/null'
5
+ require_relative 'pager/system'
6
+ require_relative 'pager/version'
9
7
 
10
8
  module TTY
11
9
  class Pager
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  # frozen_string_literal: true
3
2
 
4
3
  require 'verse'
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  # frozen_string_literal: true
3
2
 
4
3
  module TTY
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  # frozen_string_literal: true
3
2
 
4
3
  require 'tty-which'
@@ -1,7 +1,5 @@
1
- # encoding: utf-8
2
-
3
1
  module TTY
4
2
  class Pager
5
- VERSION = "0.9.0"
3
+ VERSION = "0.10.0"
6
4
  end # Pager
7
5
  end # TTY
@@ -1,5 +1,3 @@
1
- # coding: utf-8
2
-
3
1
  if RUBY_VERSION > '1.9' and (ENV['COVERAGE'] || ENV['TRAVIS'])
4
2
  require 'simplecov'
5
3
  require 'coveralls'
@@ -1,5 +1,3 @@
1
- # coding: utf-8
2
-
3
1
  RSpec.describe TTY::Pager::BasicPager, '.page' do
4
2
  let(:input) { StringIO.new }
5
3
  let(:output) { StringIO.new }
@@ -1,5 +1,3 @@
1
- # coding: utf-8
2
-
3
1
  RSpec.describe TTY::Pager::NullPager, '.page' do
4
2
  let(:output) { StringIO.new }
5
3
 
@@ -1,5 +1,3 @@
1
- # coding: utf-8
2
-
3
1
  RSpec.describe TTY::Pager, '.page' do
4
2
  let(:output) { StringIO.new }
5
3
 
@@ -1,5 +1,3 @@
1
- # coding: utf-8
2
-
3
1
  RSpec.describe TTY::Pager::SystemPager, '#available' do
4
2
  let(:execs) { ['less', 'more'] }
5
3
 
@@ -1,5 +1,3 @@
1
- # coding: utf-8
2
-
3
1
  RSpec.describe TTY::Pager::SystemPager, '#command_exists?' do
4
2
  subject(:pager) { described_class }
5
3
 
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  RSpec.describe TTY::Pager::SystemPager, '#new' do
4
2
  it "raises error if system paging is not supported" do
5
3
  allow(TTY::Pager::SystemPager).to receive(:available?).and_return(false)
@@ -1,5 +1,3 @@
1
- # coding: utf-8
2
-
3
1
  RSpec.describe TTY::Pager::SystemPager, '.page' do
4
2
  it "executes the pager command in a subprocess" do
5
3
  text = "I try all things, I achieve what I can.\n"
@@ -4,7 +4,7 @@ desc 'Load gem inside irb console'
4
4
  task :console do
5
5
  require 'irb'
6
6
  require 'irb/completion'
7
- require File.join(__FILE__, '../../lib/tty-pager')
7
+ require_relative '../lib/tty-pager'
8
8
  ARGV.clear
9
9
  IRB.start
10
10
  end
@@ -18,7 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'tty-screen', '~> 0.5.0'
21
+ spec.required_ruby_version = '>= 2.0.0'
22
+
23
+ spec.add_dependency 'tty-screen', '~> 0.6.0'
22
24
  spec.add_dependency 'tty-which', '~> 0.3.0'
23
25
  spec.add_dependency 'verse', '~> 0.5.0'
24
26
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty-pager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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: 2017-08-18 00:00:00.000000000 Z
11
+ date: 2017-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-screen
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.5.0
19
+ version: 0.6.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.5.0
26
+ version: 0.6.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: tty-which
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -151,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: '0'
154
+ version: 2.0.0
155
155
  required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="