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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 570d718040558cf7d64387744e53377dc2af975f
4
- data.tar.gz: 2d523c01a2cfa6683d6eeb9897244481413e598a
3
+ metadata.gz: 1c725051b5bf4e8474118d1f792588efa1b808a5
4
+ data.tar.gz: f99a3fa82e819162717afc9b4833c499c889ab03
5
5
  SHA512:
6
- metadata.gz: 7506252df04c06ade066876f27ac80871fa54bd376551889c3d92c96abe40f9f45d7d23d5e32e070e279193fad5e5a51d85db55c5d5abc224a567b68cbef1f19
7
- data.tar.gz: ca4fbede7b90605ba47b62e496f83a31d82d0781bed65535271a99ff32b2a6d53da18b024ca5c2f0dc4b36d71c85c90bc6493ef8495653da918159e24f0d68bd
6
+ metadata.gz: 361a080f5eb4182874507b274c8abd93f009996c8ef35218489e2ad78e1874427fba45f255f981de3d1bf8accdfaf195e674ea093124c21faff1eccf32ba40a0
7
+ data.tar.gz: 9439bca45889b6ebfa0a9c9a6ffe654c35b81e7143cd5f3799f37a8cb0862c5980f2a9bff598a9b1674f643f2782cfb7d23f6373ee5128aa2607af0a1e668600
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
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
@@ -1 +1,6 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new :spec
5
+
6
+ task :default => :spec
data/exe/pepin CHANGED
File without changes
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Pepin
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/pepin.gemspec CHANGED
@@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.10'
24
24
  spec.add_development_dependency 'rake', '~> 10.0'
25
+ spec.add_development_dependency 'rspec', '~> 3.3.0'
25
26
  end
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.0
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-01 00:00:00.000000000 Z
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