rugex 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  h1. About
2
2
 
3
- Rugex is a simple tool for testing regular expressions from Ruby using the terminal.
3
+ Rugex is a simple tool for testing Ruby Regular Expressions using the terminal.
4
4
 
5
5
  It can be useful if you often use regular expressions or if you are learning it.
6
6
 
@@ -22,8 +22,8 @@ h2. For example:
22
22
  <pre><code>rugex aquarius /aqua/</code></pre>
23
23
  => *aqua* rius
24
24
 
25
- <pre><code>rugex aquarius ^a..a.+$</code></pre>
26
- => *aquarius*
25
+ <pre><code>rugex aquarius ^a.+u</code></pre>
26
+ => *aquariu* s
27
27
 
28
28
  <pre><code>rugex aquarius /a[qr]/</code></pre>
29
29
  => *aq* u *ar* ius
@@ -32,6 +32,7 @@ h1. TODO
32
32
 
33
33
  * File Suport
34
34
  * Regex Options (i, m, x, o)
35
+ * It does not work in Windows OS.
35
36
 
36
37
  h1. Contributing to Lucas Caton
37
38
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -5,7 +5,7 @@ module Rugex
5
5
  def print_colored_text
6
6
  colors = {
7
7
  :white => "\033[0;37m",
8
- :red => "\033[0;31m"
8
+ :red => "\033[0;31m\033[4m"
9
9
  }
10
10
  @text.gsub(@regex,"#{colors[:red]}\\&#{colors[:white]}")
11
11
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rugex}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Lucas Caton"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rugex
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lucas Caton