pepin 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/README.md +2 -0
- data/Rakefile +6 -1
- data/exe/pepin +0 -0
- data/lib/pepin/curses_view.rb +2 -1
- data/lib/pepin/version.rb +1 -1
- data/pepin.gemspec +1 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c725051b5bf4e8474118d1f792588efa1b808a5
|
4
|
+
data.tar.gz: f99a3fa82e819162717afc9b4833c499c889ab03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 361a080f5eb4182874507b274c8abd93f009996c8ef35218489e2ad78e1874427fba45f255f981de3d1bf8accdfaf195e674ea093124c21faff1eccf32ba40a0
|
7
|
+
data.tar.gz: 9439bca45889b6ebfa0a9c9a6ffe654c35b81e7143cd5f3799f37a8cb0862c5980f2a9bff598a9b1674f643f2782cfb7d23f6373ee5128aa2607af0a1e668600
|
data/.rspec
ADDED
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Pepin
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/hibariya/pepin.svg?branch=master)](https://travis-ci.org/hibariya/pepin)
|
4
|
+
|
3
5
|
Pepin is a Percol and Peco like, interactive filtering tool for CLI written in Ruby.
|
4
6
|
`Pepin.search` Launches interactive window for filtering, and returns the filtered item.
|
5
7
|
|
data/Rakefile
CHANGED
data/exe/pepin
CHANGED
File without changes
|
data/lib/pepin/curses_view.rb
CHANGED
@@ -15,6 +15,8 @@ module Pepin
|
|
15
15
|
@window = Curses::Window.new(height, width, y, x)
|
16
16
|
@cursor = cursor_range.first
|
17
17
|
|
18
|
+
@window.keypad true
|
19
|
+
|
18
20
|
@query.add_observer -> { render }, :call
|
19
21
|
end
|
20
22
|
|
@@ -105,7 +107,6 @@ module Pepin
|
|
105
107
|
def launch
|
106
108
|
@window = Curses.init_screen
|
107
109
|
|
108
|
-
@window.keypad true
|
109
110
|
Curses.raw
|
110
111
|
Curses.noecho
|
111
112
|
|
data/lib/pepin/version.rb
CHANGED
data/pepin.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pepin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hibariya
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.3.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 3.3.0
|
55
69
|
description:
|
56
70
|
email:
|
57
71
|
- hibariya@gmail.com
|
@@ -61,6 +75,7 @@ extensions: []
|
|
61
75
|
extra_rdoc_files: []
|
62
76
|
files:
|
63
77
|
- ".gitignore"
|
78
|
+
- ".rspec"
|
64
79
|
- ".travis.yml"
|
65
80
|
- CODE_OF_CONDUCT.md
|
66
81
|
- Gemfile
|