regexp_union_hack_for_r186 0.0.1

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.
data/LICENSE ADDED
@@ -0,0 +1,16 @@
1
+
2
+ Copyright 2011 Toshiyuki Suzumura.
3
+
4
+ regexp_union_hack_for_r186 is free software: you can redistribute it and/or modify
5
+ it under the terms of the GNU Lesser General Public License as published by
6
+ the Free Software Foundation, either version 3 of the License, or
7
+ (at your option) any later version.
8
+
9
+ Castoro is distributed in the hope that it will be useful,
10
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ GNU Lesser General Public License for more details.
13
+
14
+ You should have received a copy of the GNU Lesser General Public License
15
+ along with Castoro. If not, see <http://www.gnu.org/licenses/>.
16
+
data/README ADDED
@@ -0,0 +1,8 @@
1
+ Regexp#unon hack for Ruby-1.8.6.
2
+ Copyright 2011 Toshiyuki Suzumura.
3
+ Twitter: @suzumura_ss
4
+ Facebook: http://www.facebook.com/profile.php?id=100001982869012
5
+
6
+ - Regexp#union に対して
7
+ Regexp.union(Array)
8
+ を実行可能にします。
@@ -0,0 +1,6 @@
1
+ class << Regexp
2
+ alias union_intn union
3
+ def union(*arg)
4
+ union_intn(*arg.flatten)
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: regexp_union_hack_for_r186
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Toshiyuki Suzumura
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-03-16 00:00:00 +09:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Regexp#union hack for Ruby-1.8.6..
23
+ email: suz.labo@ymail.plala.or.jp
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README
30
+ - LICENSE
31
+ files:
32
+ - LICENSE
33
+ - README
34
+ - lib/regexp_union_hack_for_r186.rb
35
+ has_rdoc: true
36
+ homepage:
37
+ licenses: []
38
+
39
+ post_install_message:
40
+ rdoc_options: []
41
+
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ hash: 3
50
+ segments:
51
+ - 0
52
+ version: "0"
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
62
+ requirements: []
63
+
64
+ rubyforge_project:
65
+ rubygems_version: 1.3.7
66
+ signing_key:
67
+ specification_version: 3
68
+ summary: Regexp#union hack for Ruby-1.8.6..
69
+ test_files: []
70
+