wizardwerdna-pokerstats 1.0.7 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/pokerstats/hand_statistics.rb +21 -0
- data/pokerstats.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.9
|
@@ -242,6 +242,27 @@ class HandStatistics
|
|
242
242
|
return prefix + middle + suffix
|
243
243
|
end
|
244
244
|
|
245
|
+
def self.hand_statistics_migration_data
|
246
|
+
HAND_REPORT_SPECIFICATION.inject do |string, each|
|
247
|
+
string + "t.#{each[1]}\t#{each[0].inspect}\n"
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
def self.player_statistics_migration_data
|
252
|
+
plugin_factory.inject("") do |string, each_plugin|
|
253
|
+
string + "#\t#{each_plugin.inspect}\n"
|
254
|
+
each_plugin.report_specification do |each_datum|
|
255
|
+
string + "t.#{each_datum[0]}\t#{each[1].inspect}\n"
|
256
|
+
end
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
def self.player_statistics_migration_data
|
261
|
+
HAND_REPORT_SPECIFICATION.inject("") do |string, each|
|
262
|
+
string + "t.#{each[1]}\t#{each[0].inspect}\n"
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
245
266
|
def self.rails_generator_command_line_for_hand_data
|
246
267
|
HAND_REPORT_SPECIFICATION.inject("") do |string, each|
|
247
268
|
string + "#{each[0]}:#{each[1]} "
|
data/pokerstats.gemspec
CHANGED