tty 0.3.1 → 0.3.2

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: ac2dfbf0d25e2d55e380d91b51d7c9d537fd8731
4
- data.tar.gz: 791dcbce01d61b1024e594e9c9b508da83bb597e
3
+ metadata.gz: 6ec0c23df4a798a97577d58b7abf0d31d2b81e0b
4
+ data.tar.gz: d47bc04c0179a27a56ef396325b3a10a1bc6399d
5
5
  SHA512:
6
- metadata.gz: ad8190ae188f0dd78af9cabb73e3340e53d860a257d6b8b5ac03995865f006cf4839f8fda66e7014bc822ba9d88e16e7337c5fc7fdcf6195e40d56f6b4540332
7
- data.tar.gz: 15a99ac29c07db059b17b839fa861c2e7ffa4c3576994a895e6c456b2d19d071aa72b0f1e980f2933131bc32f0d4eb2e1bb09f9ff04b589d76292e2489fe0989
6
+ metadata.gz: ea0097b23532a7dd13aba1e9bd242a3bae21417e2f664306439da6346f9c8e6d4097520994c82fa418dc0a3cb8ff8fd70a75bc3f90475c9e1f4ee008c78c4220
7
+ data.tar.gz: ba2c92a97d316a8a348a1a1c0a305227ec4bc362422f26124f1e1067474c063bb588f42173f296b17c8c35758f7c8f393ebe8ec8253d2a4e2a399ff7dd2302bc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ 0.3.2 (Nov 28, 2015)
2
+
3
+ * Add tty-cursor as a dependency
4
+ * Remove necromancer dependency
5
+
6
+ 0.3.1 (Nov 25, 2015)
7
+
8
+ * Add tty-prompt as actual dependency
9
+
1
10
  0.3.0 (Nov 24, 2015)
2
11
 
3
12
  * Extract prompting for user input as dependency on tty-prompt
data/lib/tty.rb CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'equatable'
4
4
  require 'pastel'
5
- require 'necromancer'
6
5
  require 'tty-pager'
7
6
  require 'tty-platform'
8
7
  require 'tty-progressbar'
data/lib/tty/vector.rb CHANGED
@@ -27,8 +27,7 @@ module TTY
27
27
  #
28
28
  # @api public
29
29
  def initialize(array = [])
30
- @converter = Necromancer.new
31
- @elements = @converter.convert(array).to(:array, strict: true)
30
+ @elements = Array(array)
32
31
  end
33
32
 
34
33
  # Return element at index.
data/lib/tty/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module TTY
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end # TTY
data/tty.gemspec CHANGED
@@ -17,6 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
+ gem.add_dependency 'tty-cursor', '~> 0.1.0'
20
21
  gem.add_dependency 'tty-pager', '~> 0.3.0'
21
22
  gem.add_dependency 'tty-platform', '~> 0.1.0'
22
23
  gem.add_dependency 'tty-progressbar', '~> 0.7.0'
@@ -26,7 +27,6 @@ Gem::Specification.new do |gem|
26
27
  gem.add_dependency 'tty-table', '~> 0.4.0'
27
28
  gem.add_dependency 'tty-which', '~> 0.1.0'
28
29
  gem.add_dependency 'equatable', '~> 0.5.0'
29
- gem.add_dependency 'necromancer', '~> 0.3.0'
30
30
  gem.add_dependency 'pastel', '~> 0.5.1'
31
31
 
32
32
  gem.add_development_dependency 'bundler', '~> 1.5'
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Murach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-25 00:00:00.000000000 Z
11
+ date: 2015-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tty-cursor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 0.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 0.1.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: tty-pager
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -136,20 +150,6 @@ dependencies:
136
150
  - - ~>
137
151
  - !ruby/object:Gem::Version
138
152
  version: 0.5.0
139
- - !ruby/object:Gem::Dependency
140
- name: necromancer
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ~>
144
- - !ruby/object:Gem::Version
145
- version: 0.3.0
146
- type: :runtime
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ~>
151
- - !ruby/object:Gem::Version
152
- version: 0.3.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: pastel
155
155
  requirement: !ruby/object:Gem::Requirement