acpc_dealer 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 98f6adb8675cfc07f6f1ae6127ec9e7cb4d7c086
4
- data.tar.gz: 4b32b41c35fcf7dfe1ec46a5d4ed6133050ab7e5
3
+ metadata.gz: 374ade06952da1d17d263c1556a32917bfe6aba4
4
+ data.tar.gz: a92a63b02fd4b17f2001c20e9a8b68ea535000a7
5
5
  SHA512:
6
- metadata.gz: a8c8f1f9be89c69e9f4f5b00abf97d3905534ce7e9dd8b9f09ab9ea95adacd5f3e9de5669ccd548292be0756e64530c608d5abbd09d53c867b29d405b54b99bb
7
- data.tar.gz: 899d4cf1357ceeda5a207ae76d251b30380ace246dac77da25a3f7486ad2d8f3e308f503fd303acd22b0ea0f61d9f2f0538672edb1004f3315b36897faa1d5cc
6
+ metadata.gz: 8b1310a85c305b0bd1a02aa0504bf829bebf1d0e41dd342a665e2615984eded44521bdca189a18d0e830feed99de2cdfdb4e5c8585f14bc53449533dd694f7a0
7
+ data.tar.gz: ea02cfe5f8a4b5d4e457b6334b6c4fbe13a9f90128bd0c12d6e767dd71caa5b7c2951622a0f0ee130a6dfc9c176f4b3cee49d3d6844cafa4c5d5ab527502b2c4
data/Rakefile CHANGED
@@ -6,9 +6,16 @@ require 'rake/testtask'
6
6
  require File.expand_path('../lib/acpc_dealer/version', __FILE__)
7
7
 
8
8
  desc 'Build gem'
9
- task :default => :build
9
+ task :default => [:build, :test]
10
10
 
11
- task :build => :compile
11
+ desc 'Compile ACPC dealer'
12
+ task :dealer do
13
+ Dir.chdir(File.expand_path('../vendor/project_acpc_server', __FILE__)) do
14
+ sh "make"
15
+ end
16
+ end
17
+
18
+ task :build => [:clean, :compile, :dealer]
12
19
 
13
20
  Rake::TestTask.new do |t|
14
21
  t.libs << "lib" << 'spec/support'
@@ -22,4 +29,13 @@ def gemspec
22
29
  end
23
30
 
24
31
  Gem::PackageTask.new(gemspec) { |pkg| }
25
- Rake::ExtensionTask.new('hand_evaluator', gemspec)
32
+ Rake::ExtensionTask.new('hand_evaluator', gemspec)
33
+
34
+ task :clean do
35
+ sh "rm -f lib/hand_evaluator.so"
36
+
37
+ Dir.chdir(File.expand_path('../vendor/project_acpc_server', __FILE__)) do
38
+ sh "make clean"
39
+ end
40
+ end
41
+
@@ -1,3 +1,3 @@
1
1
  module AcpcDealer
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acpc_dealer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Morrill