textquery 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -0,0 +1,27 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'benchmark'
5
+ #require 'unprof'
6
+ require './lib/textquery.rb'
7
+
8
+
9
+ queries = []
10
+ queries << TextQuery.new("イケア OR イケヤ")
11
+ queries << TextQuery.new("obama 'health care' michel OR obama -tax")
12
+
13
+ text = ""
14
+ File.open('benchmark/sample.txt').each_line{ |s|
15
+ text << s
16
+ }
17
+
18
+ n = 10000
19
+ Benchmark.bm do |x|
20
+ x.report do
21
+ n.times do
22
+ queries.each do |q|
23
+ q.match?(text)
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,68 @@
1
+ Operation Tractable was the final offensive conducted by Canadian Army and Polish Army troops as part of the Battle of Normandy. The goal of this operation was to capture the strategically important French town of Falaise, and following that, the smaller towns of Trun and Chambois. This operation was undertaken by the Polish 1st Armoured Division and the First Canadian Army against the Wehrmacht's Army Group B, and it was a part of the largest encirclement on the German Western Front during World War II. Despite a slow start to the offensive that was marked by limited gains north of Falaise, innovative tactics by Polish 1st Armoured Division, under the command of Stanislaw Maczek during the drive for Chambois enabled the Falaise Gap to be partially closed by August 19, 1944, trapping about 150,000 German soldiers in the Falaise Pocket.
2
+ Although the Falaise Gap had been narrowed to a distance of several hundred yards, a protracted series of fierce assaults and defenses between two battlegroups of the Polish 1st Armoured Division and the 2nd SS Panzer Corps on Mont Ormel (Hill 262) prevented the Falaise Gap from being completely closed quickly, allowing thousands of German troops to escape from Normandy. During two days of nearly continuous fighting, Polish forces using artillery barrages and close-quarter fighting managed to hold off counterattacks by seven German divisions. On August 21, 1944, elements of the First Canadian Army relieved the Polish Army's survivors of this battle, and the Canadian Army was finally able close the Falaise Pocket by linking up with the troops of the American 3rd Army on the other side. This lead to the surrender and capture of the remaining units of the German Seventh Army which were trapped within the Falaise Pocket.
3
+
4
+ Following the American 1st Army's and American 3rd Army's breakout from the beachhead during the Battle of Normandy during Operation Cobra on July 25, 1944, Adolf Hitler ordered an immediate counterattack against Allied forces in the form of Operation Lüttich. General Omar Bradley, the commanding general of the American 12th Army Group, was notified of the counterattack in advance through signals intercepted via Ultra radio intercepts and deciphering, and thus prepared his troops and their commanders to defeat this counteroffensive, and to encircle and much of the Wehrmact force as possible.[1] By the afternoon of August 7, Operation Lüttich had been defeated by concerted, large-scale fighter-bomber air strikes against the German Panzers and trucks. In the process, forces of the German 7th Army became further enveloped by the Allied advance out of Normandy.[1]
5
+ Following these failed German offensives, the town of Falaise became a major objective of Commonwealth forces, since its capture would cut off virtually all of Generalfeldmarschall Günther von Kluge's Army Group B.[2] To achieve this, General Harry Crerar, commanding the newly-formed First Canadian Army, and Lieutenant-General Guy Simonds of the II Canadian Corps, planned an Anglo-Canadian offensive with the code name of Operation Totalize. This offensive was designed to break through the defenses in the Anglo-Canadian sector of the Normandy front.[3] Operation Totalize would rely on an innovative night attack using heavy bombers and the new Kangaroo armored personnel carriers to achieve a breakthrough of German defenses. Despite initial gains on Verrières Ridge and near Cintheaux, the Canadian Army's offensive stalled on August 9, with strong Wehrmacht counterattacks resulting in heavy casualties for the Canadian and Polish armoured and infantry divisions.[4] By August 10, Canadian troops had reached Hill 195, north of Falaise. However, they were unable to advance farther immediately, and they had been unable to capture Falaise itself.[4]
6
+ Offensive strategy
7
+
8
+
9
+
10
+ Allied gains during the Canadian offensives of Operations Totalize and Tractable
11
+ Operation Tractable incorporated lessons learned from Operation Totalize, notably the effectiveness of mechanized infantry units and tactical bombing raids by heavy bombers.[5] Unlike the previous operation, Tractable was launched in full daylight. An initial bombardment by medium bombers was to weaken German defenses, and was to be followed by an advance by the Canadian 4th Armoured Division on the western flank of Hill 195, while the Canadian 3rd Infantry Division attacked on the eastern flank with the Canadian 2nd Armoured Brigade in support. Their advance would be protected by a large smokescreen laid down by Canadian artillery.[5] Field Marshal Montgomery hoped that Canadian forces would achieve control of Falaise by midnight on August 14. From there, all three formations would advance towards Trun, 18 kilometres (11 mi) east of Falaise, with the additional assistance of the Polish 1st Armoured Division, numbering approximately 10,000 men.[6] Once in Trun, a linkup with the American 3rd Army at Chambois could be quickly accomplished.[7]
12
+ The main opposition to Simonds's force was the 12th SS Panzer Division, which included the remnants of two additional infantry divisions. In total, German forces within the Falaise Pocket approached 350,000 men.[8] Had surprise been achieved, the Canadians would likely have succeeded in a rapid break-through.[9] However, on the night of August 13, a Canadian officer lost his way while moving between divisional headquarters. He drove into enemy lines, and was promptly killed. The Germans discovered a copy of Simonds's orders on his body.[5] As a result, the 12th SS Division placed the bulk of its remaining strength — 500 grenadiers and 15 tanks, along with a dozen 88 mm anti-tank guns[10] — along the expected line of their enemy's approach.[5]
13
+ Initial drive for Falaise
14
+
15
+
16
+
17
+ Canadian troops with armour support advance cautiously through the streets of Falaise, encountering only light scattered resistance.
18
+ Operation Tractable began at 12:00 on August 14 when 800 Lancaster and Halifax bombers struck German positions along the front.[5] As with Totalize, many of the bombers mistakenly dropped short of their targets, causing 400 Polish and Canadian casualties.[5] Covered by a smokescreen laid down by their artillery, two Canadian divisions moved forwards.[5] Although their line of sight was reduced, German units still managed to inflict severe casualties on the 4th Canadian Armoured Division, which included its Armoured Brigade commander, Brigadier Leslie Booth, as the division moved southward towards Falaise.[5] Throughout the day, continual attacks by the 4th Canadian and Polish 1st Armoured Divisions managed to force a crossing of the Laison River. Limited access to the crossing points over the Dives River, however, allowed for counterattacks by the German 102nd SS Heavy Panzer Battalion.[5] The town of Potigny fell to Polish forces in the late afternoon.[11] By the end of the first day, elements of the 3rd and 4th Canadian Divisions had reached Point 159, directly north of Falaise, although they had been unable to break into the town itself. In order to bolster his offensive, Simonds ordered the 2nd Canadian Infantry Division to move towards the front, with the hope that this reinforcement would be sufficient to enable his divisions to capture the town.[12]
19
+ Although the first day's progress was slower than expected, Operation Tractable resumed on August 15; both armoured divisions pushed southeast towards Falaise.[13] The 2nd and 3rd Canadian Infantry Divisions, with the support of the 2nd Canadian (Armoured) Brigade, continued their drive south towards the town.[14] After harsh fighting, the 4th Armoured Division captured Soulangy, but the overall gains made were minimal as strong German resistance prevented an outright breakthrough to Trun.[15] On August 16, the 2nd Canadian Infantry Division broke into Falaise itself, encountering minor opposition from Waffen SS units and scattered pockets of German infantry.[12] Although it would take two more days to clear all resistance in the town, the first major objective of Operation Tractable had been achieved. Simonds began to reorganize the bulk of his armoured forces for a renewed push towards Trun to close the Falaise Pocket.[13]
20
+ August 16–19
21
+
22
+ Drives for Trun and Chambois
23
+
24
+
25
+ A Polish Bren Gun Carrier moving through Fontaine-les-Bassets, towards the final objective of Chambois
26
+ The drive for Trun by Polish and Canadian Armoured Divisions began on August 16, with preliminary attacks in preparation for an assault against Trun and Chambois. On August 17, both armoured divisions of the 1st Canadian Army advanced.[5] By the early afternoon of the same day, the Polish 1st Armoured Division had completely outflanked the 12th SS Panzer Division, enabling several Polish formations to both reach the 4th Armoured Division's objectives, and significantly expand the bridgehead northwest of Trun.[16] Stanisław Maczek, the Polish divisional commander, split his forces into four battlegroups.[16] One of these struck southwest, cutting off Trun and establishing itself on the high ground dominating the town and the Dives river valley, allowing for a powerful assault by the 4th Canadian Armoured Division on Trun. The town was liberated on the morning of August 18.[17]
27
+ As Canadian and Polish forces liberated Trun, Maczek's second armoured battlegroup maneuvered southeast, capturing Champeaux and anchoring future attacks against Chambois across a six-mile front.[16] At its closest, the front was four miles from forces of the US V Corps in the town. By the evening of August 18, all four of Maczek's battlegroups had established themselves directly north of Chambois (one outside of the town, one near Vimoutiers, and two at the foot of Hill 262).[18] With reinforcements quickly arriving from the 4th Canadian Armoured Division, Maczek was in an ideal position to close the gap the following day. The presence of the Polish Armoured Division, however, also alerted Field Marshal Model of the need to keep the pocket open.[18]
28
+ Closing the Gap
29
+ Early on August 19, General Simonds met with his divisional commanders to finalize plans for closing the gap. The 4th Armoured Division would attack towards Chambois, on the western flank of two battlegroups of the Polish 1st Armoured Division.[18] Two additional Polish battlegroups would strike eastward, securing Hill 262 to cover the eastern flanks of the assault.[15] The 2nd and 3rd Infantry Divisions would continue their grinding offensives against the northern extremities of the Falaise Pocket, inflicting heavy casualties on the now-exhausted 12th SS Panzer Division.[17] The assault began almost immediately after the meeting, with one battlegroup of the Polish 1st advancing towards Chambois, and "Currie Task Force" of the 4th Armoured Division covering their advance. Simultaneously, two Polish battlegroups moved for Hill 262. Despite heavy German resistance, Battlegroup Zgorzelski was able to secure Point 137, directly west of Hill 262.[19] By early afternoon, Battlegroup Stefanowicz had captured the hill itself, annihilating a German infantry company in the process. As a result of the fighting, Polish casualties accounted for nearly half those sustained by the 1st Canadian Army.[20]
30
+ By late afternoon of August 19, Canadian and Polish forces had linked up with the American 80th Division and 90th Division already stationed in the town. The Falaise Gap had been closed, trapping Model's forces. However, as the linkup occurred, Model's 2nd SS Panzer Corps had begun its counterattack against Polish forces on Hill 262, hoping to reopen the pocket.[21] With American and Canadian forces facing German counterattacks in their sectors, the Polish forces would have to defend against two veteran Panzer divisions to keep the gap closed.
31
+ August 20 counterattacks
32
+
33
+ St. Lambert-sur-Dives and Hill 117
34
+ On the morning of August 20, two German formations, the 2nd and 9th SS-Panzer Divisions, attacked Polish positions on Hill 262.[21] At the same time, the 16th Infantry and 12th SS Panzer divisions attacked American and Canadian forces from within the pocket, opening small channels through Allied positions. By mid-morning, 2,000 survivors of the German 2nd Fallschirmjäger Korps had managed to breach Canadian positions along the Dives River, as well as at Point 117.[22] At approximately noon, several units of the 10th SS, 12th SS, and 116th Panzer Divisions managed to break through these weakened positions.[23]
35
+
36
+
37
+ German counterattacks against Canadian-Polish positions on August 20, 1944
38
+ By mid afternoon, reinforcements from an armoured battlegroup under Major David Vivian Currie managed to reach St. Lambert-sur-Dives, denying two German armies evacuation of the pocket. Over the next 36 hours, the battlegroup repulsed almost continual attacks by German forces, destroying 7 German tanks, 12 88 mm antitank guns, and 40 vehicles. In the brutal fighting around Lambert-sur-Dives, Currie's battlegroup was able to inflict nearly 2,000 casualties on attacking German forces, including 300 killed and 1,100 captured.[24] By the evening of August 20, the Germans had exhausted their attack against St. Lambert-sur-Dives; the surviving members of the 84th Korps, commanded by General Elfeld, surrendered to Canadian and American forces near Chambois.[14] For his actions at St. Lambert-sur-Dives, Major Currie was awarded the Victoria Cross, the only Canadian so honoured for service in the Normandy Campaign.[24]
39
+ Hill 262 (Mont Ormel)
40
+ Main article: Hill 262
41
+ While Currie's force stalled German forces outside of St. Lambert, two battlegroups of Maczek's Polish 1st Armoured Division were engaged in a protracted battle with two well-trained SS Panzer divisions. Throughout the night of the 19th, Polish forces had entrenched themselves along the south, southwest, and northeastern lines of approach to Hill 262.[25] Directly southwest of Mont Ormel, German units moved along what would later become known as "The Corridor of Death", as the Polish inflicted heavy casualties on German forces moving towards Mont Ormel with a well-coordinated artillery barrage.[23]
42
+
43
+
44
+ Polish Infantry moving towards cover on Mont Ormel, August 20, 1944
45
+ From the northeast, the 2nd SS Panzer Division planned an assault in force against the four infantry battalions and two armoured regiments of the Polish 1st Armoured Division dug in on Hill 262.[23] The 9th SS Panzer Division would attack from the north, while simultaneously preventing Canadian units from reinforcing the Polish armoured division. Having managed to break out of the Falaise Pocket, the 12th SS, 10th SS, and 116th Panzer Divisions would then attack Hill 262 from the southwest. If this major obstacle could be cleared, German units could initiate a full withdrawal from the Falaise Pocket.[26]
46
+ The first attack against Polish positions was by the "Der Führer" Regiment of the 2nd SS Panzer Division. Although the Podhale Rifles battalion was able to repel the attack, it expended a substantial amount of its ammunition in doing so.[27] The second attack was devastating to the dwindling armoured forces of the Polish battlegroups. A single German tank, positioned on Point 239 (northeast of Mont Ormel), was able to destroy five Sherman tanks within two minutes.[22] At this time, the 3rd Parachute Division, along with an armoured regiment of the 1st SS Panzer Division, attacked Mont Ormel from inside the Falaise Pocket. This attack was repulsed by Polish artillery, which "massacred" German infantry and armour closing in on their positions.[28]
47
+ As the assault from the southwest ran out of steam, the 2nd SS Panzer Division resumed its attack on the northeast of the ridge. Since Polish units were now concentrated on the southern edges of the position, the 2nd SS Panzer Division was able to force a path through to the 3rd Parachute Division by noon, opening up a corridor out of the pocket.[28] By mid afternoon, upwards of 10,000 German troops had escaped through the corridor.[28] Despite being overwhelmed by strong counterattacks, Polish forces continued to hold the high ground on Mont Ormel, which they referred to as "The Mace" (Maczuga), exacting a deadly toll on passing German forces through the use of well-coordinated artillery fire.[29] Irritated by the presence of these units, which were exacting a heavy toll on his men, Colonel General Paul Hausser — commanding the Seventh Army — ordered the positions to be "eliminated".[28] Although substantial forces, including the 352nd Infantry Division and several battlegroups from the 2nd SS Panzer Division, inflicted heavy casualties on the 8th and 9th Battalions of the Polish 1st Armoured Division, the counterattack was ultimately fought off. The battle had cost the Poles almost all of their ammunition, leaving them in a precarious position.[29]
48
+ At 19:00 on August 20, 1944, a 20-minute ceasefire was arranged to allow German forces to evacuate a large convoy of medical vehicles. Immediately following the passage of these vehicles, the fighting resumed and intensified. Although the Germans were incapable of dislodging the Polish forces, the hill's defenders had reached the point of exhaustion.[22] With ammunition supplies at extremely low levels, the Poles were forced to watch as the remnants of the XLVII Panzer Corps escaped the pocket. Despite this, Polish artillery continued to bombard every German unit that entered the evacuation corridor. However, Stefanowicz, commander of the Polish battlegroups on Hill 262, was very skeptical of his force's chance of survival:[30]
49
+ "Gentlemen. Everything is lost. I do not believe [the] Canadians will manage to help us. We have only 110 men left, with 50 rounds per gun and 5 rounds per tank ... Fight to the end! To surrender to the SS is senseless, you know it well. Gentlemen! Good luck – tonight, we will die for Poland and civilization. We will fight to the last platoon, to the last tank, then to the last man."[30]
50
+ August 21, 1944
51
+
52
+
53
+
54
+ German forces surrendering in St. Lambert-sur-Dives on August 21, 1944
55
+ After the brutality of the combat that had occurred during the day, night was welcomed by both German and Polish forces surrounding Mont Ormel. Fighting was sporadic, as both sides avoided contact with one another. Frequent Polish artillery barrages interrupted German attempts to retreat from the sector.[29] By morning, German attacks on the position had resumed. Although not as coordinated as on the day before,[31] the attack still managed to reach the last of the Polish defenders on Mont Ormel. As the remaining Polish forces repelled the assault, their tanks were forced to use the last of their ammunition.[31] At approximately 12:00, the last SS remnants launched a final assault on the positions of the 9th Battalion. Polish forces defeated them at point-blank range. There would be no further attacks; the two battlegroups of the Polish 1st Armoured Division had survived the onslaught, despite being completely surrounded by German forces for three days. Both Reynolds and McGilvray place the Polish losses on the Maczuga at 351 killed and wounded and 11 tanks lost,[32][33] although Jarymowycz gives higher figures of 325 killed, 1,002 wounded, and 114 missing — approximately 20% of the division's combat strength.[23] Within an hour, The Canadian Grenadier Guards managed to link up with what remained of Stefanowicz's men.[15] By late afternoon, the remainder of the 2nd and 9th SS Panzer Divisions had begun their retreat to the Seine River.[34] The Falaise Gap had been permanently closed, with a large number of German forces still trapped in the pocket.[35]
56
+ Aftermath
57
+
58
+ By the evening of August 21, 1944, the vast majority of the German forces remaining in the Falaise Pocket had surrendered.[14] Nearly all of the strong German formations that had caused significant damage to the 1st Canadian Army throughout the Normandy campaign had been destroyed. Two Panzer Divisions—the Panzer Lehr and 9th SS—now existed in name only.[36] The formidable 12th SS Panzer Division had lost 94% of its armour, nearly all of its field-guns, and 70% of its vehicles. Several German units, notably the 2nd and 12th SS Panzer Divisions, had managed to escape eastward towards the Seine River, albeit without most of their motorised equipment. Conservative estimates for the number of German soldiers captured in the Falaise Pocket approach 50,000,[37] although some estimates put total German losses (killed and captured) in the Pocket as high as 200,000.[34]
59
+ By August 23, the remainder of the Wehrmacht's Seventh Army had entrenched itself along the Seine River,[36] in preparation for the defense of Paris. Simultaneously elements of Army Group G, including the German 15th Army and the 5th Panzer Army, moved to engage American forces in the south. In the following week, elements of the 1st Canadian Army repeatedly attacked these German units on the Seine in attempts to break through to the Channel Ports.[38] On the evening of August 23 1944, French and American Army units entered Paris.[39]
60
+ Casualties
61
+
62
+
63
+ German equipment destroyed near Mont Ormel
64
+ Due to the rapidity of successive offensives during early August, exact Canadian casualties for Operation Tractable are unknown. However, figures for the combined losses during Totalize and Tractable are put at 5,500 Canadian casualties.[40]
65
+ Exact German casualty figures during Operation Tractable are also uncertain. Although semi-reliable figures can be found for total casualties within the Falaise Pocket, no statistics are available for how many of these were taken as a result of Canadian operations during Tractable. In the aftermath of the Falaise Pocket, the German 7th Army was effectively annihilated, losing anywhere from 50,000–200,000 men in the pocket, as well as over 200 tanks, 1,000 guns, and 5,000 other vehicles.[36] In the fighting around Hill 262 alone, German casualties totaled 2,000 killed, 5,000 taken prisoner, in addition to 55 tanks, 44 guns and 152 armoured vehicles.[32]
66
+ By contrast, Polish casualty figures for Operation Tractable (until 22 August) are known. The Poles reported a total of 1,441 casualties during the operation. Of these, 325 were killed (including 21 officers), 1,002 were wounded (35 officers), and 114 missing.[32] This includes 263 men lost before the Chambois and Ormel actions on August 14–18.[21] Of the Polish losses, 50 were killed (and many dozens wounded) by American bombs during the second American bombing on 14 August.[citation needed]
67
+ Battle honours
68
+ In the British and Commonwealth system of battle honours, participation in Operation Tractable (included as part of the honour Falaise for service from 7 to 22 August) was recognized in 1957, 1958, and 1959 by the award of the battle honours Laison (or The Laison for Canadian units), for service on 14 to 17 August, Chambois from 18 to 22 August and St Lambert-sur-Dives from 19 to 22 August.[41]
@@ -1,4 +1,8 @@
1
+ require 'rubygems'
1
2
  require 'treetop'
3
+ require 'oniguruma'
4
+
5
+ include Oniguruma
2
6
 
3
7
  # make it utf-8 compatible
4
8
  if RUBY_VERSION < '1.9'
@@ -6,9 +10,16 @@ if RUBY_VERSION < '1.9'
6
10
  $KCODE = 'u'
7
11
  end
8
12
 
13
+ FUZZY = ORegexp.new('(\d)*(~)?([^~]+)(~)?(\d)*$')
14
+
9
15
  class WordMatch < Treetop::Runtime::SyntaxNode
16
+
17
+ @@regex ||= {}
18
+ @@regex_case ||= {}
19
+
10
20
  def eval(text, opt)
11
- fuzzy = query.match(/(\d)*(~)?([^~]+)(~)?(\d)*$/)
21
+
22
+ fuzzy = FUZZY.match(query)
12
23
 
13
24
  q = []
14
25
  q.push "." if fuzzy[2]
@@ -17,20 +28,23 @@ class WordMatch < Treetop::Runtime::SyntaxNode
17
28
  q.push "." if fuzzy[4]
18
29
  q.push fuzzy[5].nil? ? "*" : "{#{fuzzy[5]}}" if fuzzy[4]
19
30
  q = q.join
20
-
21
- regex = "^#{q}#{opt[:delim]}|#{opt[:delim]}#{q}#{opt[:delim]}|#{opt[:delim]}#{q}$|^#{q}$"
31
+
32
+ regex = "(^|#{opt[:delim]})#{q}(#{opt[:delim]}|$)"
33
+
34
+ unless @@regex[regex] then
35
+ @@regex[regex] = ORegexp.new(regex, :options => OPTION_IGNORECASE)
36
+ @@regex_case[regex] = ORegexp.new(regex, nil)
37
+ end
22
38
 
23
39
  if opt[:ignorecase]
24
- regex = Regexp.new(regex, Regexp::IGNORECASE, 'utf8')
40
+ not @@regex[regex].match(text).nil?
25
41
  else
26
- regex = Regexp.new(regex, nil, 'utf8')
42
+ not @@regex_case[regex].match(text).nil?
27
43
  end
28
-
29
- not text.match(regex).nil?
30
44
  end
31
-
45
+
32
46
  def query
33
- Regexp.escape(text_value)
47
+ ORegexp.escape(text_value)
34
48
  end
35
49
  end
36
50
 
@@ -73,6 +87,6 @@ class TextQuery
73
87
 
74
88
  def update_options(options)
75
89
  @options = {:delim => ' '}.merge(options)
76
- @options[:delim] = "(#{[@options[:delim]].flatten.map { |opt| Regexp.escape(opt) }.join("|")})"
90
+ @options[:delim] = "(#{[@options[:delim]].flatten.map { |opt| ORegexp.escape(opt) }.join("|")})"
77
91
  end
78
92
  end
data/lib/textquery.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  $:.unshift(File.dirname(__FILE__) + '/../lib')
2
4
 
3
5
  require "textquery/textquery.rb"
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: textquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 4
9
+ version: 0.1.4
5
10
  platform: ruby
6
11
  authors:
7
12
  - Ilya Grigorik
@@ -9,19 +14,21 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-01-05 00:00:00 -05:00
17
+ date: 2010-03-11 00:00:00 -05:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: treetop
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
23
29
  version: "0"
24
- version:
30
+ type: :runtime
31
+ version_requirements: *id001
25
32
  description: Evaluate any text against a collection of match rules
26
33
  email: ilya@igvita.com
27
34
  executables: []
@@ -35,6 +42,8 @@ files:
35
42
  - README.rdoc
36
43
  - Rakefile
37
44
  - VERSION
45
+ - benchmark/benchmark.rb
46
+ - benchmark/sample.txt
38
47
  - examples/web.rb
39
48
  - lib/textquery.rb
40
49
  - lib/textquery/textquery.rb
@@ -53,18 +62,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
53
62
  requirements:
54
63
  - - ">="
55
64
  - !ruby/object:Gem::Version
65
+ segments:
66
+ - 0
56
67
  version: "0"
57
- version:
58
68
  required_rubygems_version: !ruby/object:Gem::Requirement
59
69
  requirements:
60
70
  - - ">="
61
71
  - !ruby/object:Gem::Version
72
+ segments:
73
+ - 0
62
74
  version: "0"
63
- version:
64
75
  requirements: []
65
76
 
66
77
  rubyforge_project: textquery
67
- rubygems_version: 1.3.5
78
+ rubygems_version: 1.3.6
68
79
  signing_key:
69
80
  specification_version: 3
70
81
  summary: Evaluate any text against a collection of match rules