pokerstats 2.0.19 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -0
- data/VERSION +1 -1
- data/bin/checkps +1 -1
- data/lib/pokerstats/poker-edge.rb +5 -5
- data/pokerstats.gemspec +5 -2
- metadata +12 -2
data/Rakefile
CHANGED
@@ -13,8 +13,10 @@ begin
|
|
13
13
|
gem.add_development_dependency "rspec"
|
14
14
|
gem.add_development_dependency "pluggable"
|
15
15
|
gem.add_dependency "pluggable"
|
16
|
+
gem.add_dependency "tzinfo"
|
16
17
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
17
18
|
end
|
19
|
+
Jeweler::GemcutterTasks.new
|
18
20
|
rescue LoadError
|
19
21
|
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
20
22
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0
|
1
|
+
2.1.0
|
data/bin/checkps
CHANGED
@@ -71,7 +71,7 @@ def dopsfile(file, players_shown)
|
|
71
71
|
puts "=" * file.size
|
72
72
|
STDOUT.sync = true
|
73
73
|
printf("Searching Poker-Edge: ")
|
74
|
-
players.
|
74
|
+
players.collect {|each| Thread.new{printf("%s ", each); search_poker_edge(each, players_shown) }}.collect{|each| printf("."); each.value}
|
75
75
|
printf("\n")
|
76
76
|
STDOUT.sync = false
|
77
77
|
puts "=" * file.size
|
@@ -47,11 +47,11 @@ module Pokerstats
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def report format = "%20s -- %s -- %s\n"
|
50
|
-
open("foo.html", "w+") do |file|
|
51
|
-
|
52
|
-
end
|
53
|
-
`open foo.html`
|
50
|
+
# open("foo.html", "w+") do |file|
|
51
|
+
# file.write(response)
|
52
|
+
# end
|
53
|
+
# `open foo.html`
|
54
54
|
printf(format, @screen_name, preflop_style, player_type)
|
55
55
|
end
|
56
56
|
end
|
57
|
-
end
|
57
|
+
end
|
data/pokerstats.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{pokerstats}
|
8
|
-
s.version = "2.0
|
8
|
+
s.version = "2.1.0"
|
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"]
|
12
|
-
s.date = %q{2009-11-
|
12
|
+
s.date = %q{2009-11-24}
|
13
13
|
s.default_executable = %q{checkps}
|
14
14
|
s.description = %q{a library for extracting, computing and reporting statistics of poker hands parsed from hand history files}
|
15
15
|
s.email = %q{wizardwerdna@gmail.com}
|
@@ -88,14 +88,17 @@ Gem::Specification.new do |s|
|
|
88
88
|
s.add_development_dependency(%q<rspec>, [">= 0"])
|
89
89
|
s.add_development_dependency(%q<pluggable>, [">= 0"])
|
90
90
|
s.add_runtime_dependency(%q<pluggable>, [">= 0"])
|
91
|
+
s.add_runtime_dependency(%q<tzinfo>, [">= 0"])
|
91
92
|
else
|
92
93
|
s.add_dependency(%q<rspec>, [">= 0"])
|
93
94
|
s.add_dependency(%q<pluggable>, [">= 0"])
|
94
95
|
s.add_dependency(%q<pluggable>, [">= 0"])
|
96
|
+
s.add_dependency(%q<tzinfo>, [">= 0"])
|
95
97
|
end
|
96
98
|
else
|
97
99
|
s.add_dependency(%q<rspec>, [">= 0"])
|
98
100
|
s.add_dependency(%q<pluggable>, [">= 0"])
|
99
101
|
s.add_dependency(%q<pluggable>, [">= 0"])
|
102
|
+
s.add_dependency(%q<tzinfo>, [">= 0"])
|
100
103
|
end
|
101
104
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pokerstats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew C. Greenberg
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-24 00:00:00 -08:00
|
13
13
|
default_executable: checkps
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -42,6 +42,16 @@ dependencies:
|
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: "0"
|
44
44
|
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: tzinfo
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
version:
|
45
55
|
description: a library for extracting, computing and reporting statistics of poker hands parsed from hand history files
|
46
56
|
email: wizardwerdna@gmail.com
|
47
57
|
executables:
|