rugex 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/rugex +1 -0
- data/lib/rugex/string.rb +2 -2
- data/lib/rugex.rb +2 -2
- data/rugex.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/bin/rugex
CHANGED
data/lib/rugex/string.rb
CHANGED
data/lib/rugex.rb
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
require 'rubygems'
|
7
7
|
require 'thor'
|
8
|
-
require '
|
8
|
+
require 'rugex/string'
|
9
9
|
|
10
10
|
module Rugex
|
11
11
|
class Base < Thor
|
12
|
-
ARGV.
|
12
|
+
ARGV.unshift 'string' if (ARGV[0] =~ /-./) == nil
|
13
13
|
|
14
14
|
desc '<text> <regex>', 'show the match text using regular expression'
|
15
15
|
def string(text, regex_string)
|
data/rugex.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rugex}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
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"]
|
12
|
-
s.date = %q{2011-01-
|
12
|
+
s.date = %q{2011-01-31}
|
13
13
|
s.default_executable = %q{rugex}
|
14
14
|
s.description = %q{A CLI to test regular expressions on Ruby}
|
15
15
|
s.email = %q{lucascaton@gmail.com}
|
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:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Lucas Caton
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-01-
|
18
|
+
date: 2011-01-31 00:00:00 -02:00
|
19
19
|
default_executable: rugex
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|