acpc_dealer 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +7 -2
- data/acpc_dealer.gemspec +4 -3
- data/lib/acpc_dealer/version.rb +1 -1
- data/spec/support/spec_helper.rb +2 -17
- metadata +16 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98f6adb8675cfc07f6f1ae6127ec9e7cb4d7c086
|
4
|
+
data.tar.gz: 4b32b41c35fcf7dfe1ec46a5d4ed6133050ab7e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8c8f1f9be89c69e9f4f5b00abf97d3905534ce7e9dd8b9f09ab9ea95adacd5f3e9de5669ccd548292be0756e64530c608d5abbd09d53c867b29d405b54b99bb
|
7
|
+
data.tar.gz: 899d4cf1357ceeda5a207ae76d251b30380ace246dac77da25a3f7486ad2d8f3e308f503fd303acd22b0ea0f61d9f2f0538672edb1004f3315b36897faa1d5cc
|
data/Rakefile
CHANGED
@@ -5,8 +5,6 @@ require 'rake/testtask'
|
|
5
5
|
|
6
6
|
require File.expand_path('../lib/acpc_dealer/version', __FILE__)
|
7
7
|
|
8
|
-
Rake::ExtensionTask.new('hand_evaluator')
|
9
|
-
|
10
8
|
desc 'Build gem'
|
11
9
|
task :default => :build
|
12
10
|
|
@@ -18,3 +16,10 @@ Rake::TestTask.new do |t|
|
|
18
16
|
t.verbose = false
|
19
17
|
t.warning = false
|
20
18
|
end
|
19
|
+
|
20
|
+
def gemspec
|
21
|
+
@clean_gemspec ||= eval(File.read(File.expand_path('../acpc_dealer.gemspec', __FILE__)))
|
22
|
+
end
|
23
|
+
|
24
|
+
Gem::PackageTask.new(gemspec) { |pkg| }
|
25
|
+
Rake::ExtensionTask.new('hand_evaluator', gemspec)
|
data/acpc_dealer.gemspec
CHANGED
@@ -9,16 +9,17 @@ Gem::Specification.new do |gem|
|
|
9
9
|
gem.description = %q{Annual Computer Poker Competition Dealer}
|
10
10
|
gem.summary = %q{Ruby interface to the Annual Computer Poker Competition's dealer program.}
|
11
11
|
gem.homepage = "https://github.com/dmorrill10/acpc_dealer"
|
12
|
+
gem.license = 'MIT'
|
13
|
+
gem.platform = Gem::Platform::RUBY
|
12
14
|
|
13
15
|
gem.add_dependency 'clive', '~> 1.2'
|
14
16
|
gem.add_dependency 'process_runner', '~> 0.0'
|
15
17
|
gem.add_dependency 'rake-compiler', '~> 0.8'
|
16
18
|
|
19
|
+
gem.add_development_dependency 'minitest', '~> 5.0.6'
|
17
20
|
gem.add_development_dependency 'mocha', '~> 0.13'
|
21
|
+
gem.add_development_dependency 'awesome_print', '~> 1.0'
|
18
22
|
gem.add_development_dependency 'simplecov', '~> 0.7'
|
19
|
-
gem.add_development_dependency 'minitest', '~> 4.7'
|
20
|
-
gem.add_development_dependency 'turn', '~> 0.9'
|
21
|
-
gem.add_development_dependency 'pry-rescue', '~> 1.1'
|
22
23
|
|
23
24
|
gem.files = Dir.glob("lib/**/*") + Dir.glob("ext/**/*") + Dir.glob('*.gemspec') +
|
24
25
|
%w(Rakefile README.md) + Dir.glob('spec/**/*') + Dir.glob("vendor/**/*")
|
data/lib/acpc_dealer/version.rb
CHANGED
data/spec/support/spec_helper.rb
CHANGED
@@ -2,32 +2,17 @@
|
|
2
2
|
require 'simplecov'
|
3
3
|
SimpleCov.start
|
4
4
|
|
5
|
+
require 'minitest/autorun'
|
5
6
|
require 'minitest/spec'
|
6
7
|
|
7
8
|
begin
|
8
|
-
require 'turn/autorun'
|
9
|
-
|
10
|
-
Turn.config do |c|
|
11
|
-
# use one of output formats:
|
12
|
-
# :outline - turn's original case/test outline mode [default]
|
13
|
-
# :progress - indicates progress with progress bar
|
14
|
-
# :dotted - test/unit's traditional dot-progress mode
|
15
|
-
# :pretty - new pretty reporter
|
16
|
-
# :marshal - dump output as YAML (normal run mode only)
|
17
|
-
# :cue - interactive testing
|
18
|
-
c.format = :dotted
|
19
|
-
# use humanized test names (works only with :outline format)
|
20
|
-
c.natural = true
|
21
|
-
end
|
22
|
-
|
23
9
|
require 'awesome_print'
|
24
10
|
module Minitest::Assertions
|
25
11
|
def mu_pp(obj)
|
26
12
|
obj.awesome_inspect
|
27
13
|
end
|
28
14
|
end
|
29
|
-
|
30
|
-
require 'pry-rescue/minitest'
|
15
|
+
require 'mocha/setup'
|
31
16
|
rescue LoadError
|
32
17
|
end
|
33
18
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acpc_dealer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dustin Morrill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clive
|
@@ -53,75 +53,61 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.8'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0.13'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0.13'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: simplecov
|
56
|
+
name: minitest
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - ~>
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
61
|
+
version: 5.0.6
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - ~>
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
68
|
+
version: 5.0.6
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
70
|
+
name: mocha
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - ~>
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
75
|
+
version: '0.13'
|
90
76
|
type: :development
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
80
|
- - ~>
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
82
|
+
version: '0.13'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
84
|
+
name: awesome_print
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
87
|
- - ~>
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0
|
89
|
+
version: '1.0'
|
104
90
|
type: :development
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
94
|
- - ~>
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0
|
96
|
+
version: '1.0'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
98
|
+
name: simplecov
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
101
|
- - ~>
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
103
|
+
version: '0.7'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
108
|
- - ~>
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
110
|
+
version: '0.7'
|
125
111
|
description: Annual Computer Poker Competition Dealer
|
126
112
|
email:
|
127
113
|
- morrill@ualberta.ca
|
@@ -179,7 +165,8 @@ files:
|
|
179
165
|
- vendor/project_acpc_server/README
|
180
166
|
- bin/acpc_dealer
|
181
167
|
homepage: https://github.com/dmorrill10/acpc_dealer
|
182
|
-
licenses:
|
168
|
+
licenses:
|
169
|
+
- MIT
|
183
170
|
metadata: {}
|
184
171
|
post_install_message:
|
185
172
|
rdoc_options: []
|