ifilter 0.0.3 → 0.0.4

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: b46b9723dc22534a3945fe302dd21e363d00da14
4
- data.tar.gz: 572a8e06fa2bc729222d1a4756441c9b688fe3f6
3
+ metadata.gz: c7e4cde2b995806bf2a780146335ad8e94877b4e
4
+ data.tar.gz: e7879569f0c8d8dca9f2b2244c88c7d929691586
5
5
  SHA512:
6
- metadata.gz: 7d0d7ee6e11ed9a0d79c98177b77f555ad3199e66b8c56397a3a624fea1d1222a92bb1193995e16856d634d75bad08a3682b63fa6f539ebcdfd36b7d364463f9
7
- data.tar.gz: 10f66a1b5091e9baddfaa3eeda4e12c65151d1a9a559e91149ac1112c58c50706117f4f9c606ea6e7f37e2b5aec395f67f2b480bc97db370515701524983d957
6
+ metadata.gz: 94e89319444b5ca2c17ea5914e68b96b45facd753400007140b84454cb3a63f5104156df073fcae5a56a9af2441d336f4c3aa7b1018853f4c22d4d5c3192ce94
7
+ data.tar.gz: 94b52882ecccee76ee079fab228734e917a305d1da31954da8e514b282282f346e947b763b488e42c9ce77b9d5dbfec9a67c5e885f316679c41f5e7a52065655
data/README.md CHANGED
@@ -10,16 +10,18 @@ In addition to using a executable file, it can be used as a module.
10
10
 
11
11
  ## Installation
12
12
 
13
- ```sh
14
- $ gem install ifilter
15
- ```
16
-
17
13
  Add this line to your application's Gemfile:
18
14
 
19
15
  ```ruby
20
16
  gem 'ifilter'
21
17
  ```
22
18
 
19
+ Or install it yourself as:
20
+
21
+ ```sh
22
+ $ gem install ifilter
23
+ ```
24
+
23
25
  ## Usage
24
26
 
25
27
  ### Executable File
data/Rakefile CHANGED
@@ -1,2 +1 @@
1
- require "bundler/gem_tasks"
2
-
1
+ require 'bundler/gem_tasks'
data/bin/ifilter CHANGED
@@ -11,7 +11,7 @@ isatty = STDIN.isatty
11
11
 
12
12
  unless isatty
13
13
  STDIN.each_line do |line|
14
- args << line.to_pure.chomp!
14
+ args << line.to_pure
15
15
  end
16
16
  STDIN.reopen('/dev/tty')
17
17
  end
data/lib/ifilter/input.rb CHANGED
@@ -19,7 +19,7 @@ module Ifilter
19
19
  end
20
20
 
21
21
  def to_regex
22
- /#{@text}/
22
+ /#{@text}/i
23
23
  rescue
24
24
  nil
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module Ifilter
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
data/lib/ifilter.rb CHANGED
@@ -1,4 +1,3 @@
1
- require 'ifilter/version'
2
1
  require 'ifilter/interface'
3
2
  require 'ifilter/input'
4
3
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ifilter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - kaihar4
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-14 00:00:00.000000000 Z
11
+ date: 2014-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses