errata 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/errata.gemspec +2 -2
- data/lib/errata.rb +8 -0
- data/lib/erratum.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.8
|
data/errata.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{errata}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Seamus Abshere", "Andy Rossmeissl"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-05-05}
|
13
13
|
s.description = %q{Correct strings based on remote errata files}
|
14
14
|
s.email = %q{seamus@abshere.net}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/errata.rb
CHANGED
@@ -1,4 +1,12 @@
|
|
1
1
|
require 'active_support'
|
2
|
+
require 'active_support/version'
|
3
|
+
%w{
|
4
|
+
active_support/core_ext/module/delegation
|
5
|
+
active_support/core_ext/hash/keys
|
6
|
+
active_support/core_ext/hash/slice
|
7
|
+
}.each do |active_support_3_requirement|
|
8
|
+
require active_support_3_requirement
|
9
|
+
end if ActiveSupport::VERSION::MAJOR == 3
|
2
10
|
require 'remote_table'
|
3
11
|
require 'erratum'
|
4
12
|
require 'erratum/delete'
|
data/lib/erratum.rb
CHANGED
@@ -55,8 +55,8 @@ class Errata
|
|
55
55
|
def set_matching_expression(options = {})
|
56
56
|
if options[:x].blank?
|
57
57
|
@matching_expression = nil
|
58
|
-
elsif options[:x].
|
59
|
-
if options[:x].
|
58
|
+
elsif options[:x].start_with?('/')
|
59
|
+
if options[:x].end_with?('i')
|
60
60
|
ci = true
|
61
61
|
options[:x] = options[:x].chop
|
62
62
|
else
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 8
|
9
|
+
version: 0.1.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Seamus Abshere
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-05-05 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|