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 CHANGED
@@ -1 +1 @@
1
- 1.0.7
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pokerstats}
8
- s.version = "1.0.7"
8
+ s.version = "1.0.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrew C. Greenberg"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wizardwerdna-pokerstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew C. Greenberg