forked from pat/thinking-sphinx
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathginger_scenarios.rb
More file actions
28 lines (21 loc) · 806 Bytes
/
ginger_scenarios.rb
File metadata and controls
28 lines (21 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require 'ginger'
Ginger.configure do |config|
config.aliases["active_record"] = "activerecord"
config.aliases["active_support"] = "activesupport"
ar_1_2 = Ginger::Scenario.new # 1.2.6
ar_1_2[/^active_?support$/] = "1.4.4"
ar_1_2[/^active_?record$/] = "1.15.6"
ar_2_0 = Ginger::Scenario.new
ar_2_0[/^active_?support$/] = "2.0.5"
ar_2_0[/^active_?record$/] = "2.0.5"
ar_2_1 = Ginger::Scenario.new
ar_2_1[/^active_?support$/] = "2.1.2"
ar_2_1[/^active_?record$/] = "2.1.2"
ar_2_2 = Ginger::Scenario.new
ar_2_2[/^active_?support$/] = "2.2.3"
ar_2_2[/^active_?record$/] = "2.2.3"
ar_2_3 = Ginger::Scenario.new
ar_2_3[/^active_?support$/] = "2.3.8"
ar_2_3[/^active_?record$/] = "2.3.8"
config.scenarios << ar_1_2 << ar_2_0 << ar_2_1 << ar_2_2 << ar_2_3
end