console-blackjack 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'simplecov'
4
+ SimpleCov.start do
5
+ add_filter %r{/spec/}
6
+ end
7
+
8
+ require 'coveralls'
9
+ Coveralls.wear!
10
+
11
+ Dir.glob(File.join(File.dirname(__FILE__),
12
+ '..' + File::SEPARATOR + 'lib', '**',
13
+ '*.rb'), &method(:require))
14
+
15
+ require 'factory_bot'
16
+ require 'pry'
17
+
18
+ ENV['CLEAR_TERM'] = '0'
19
+
20
+ RSpec.configure do |config|
21
+ config.include FactoryBot::Syntax::Methods
22
+
23
+ config.before(:suite) do
24
+ FactoryBot.find_definitions
25
+ end
26
+
27
+ config.expect_with :rspec do |expectations|
28
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
29
+ end
30
+
31
+ config.mock_with :rspec do |mocks|
32
+ mocks.verify_partial_doubles = true
33
+ end
34
+
35
+ config.shared_context_metadata_behavior = :apply_to_host_groups
36
+ end
metadata ADDED
@@ -0,0 +1,75 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: console-blackjack
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Greg Donald
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-11-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Blackjack for your console, full version.
14
+ email: gdonald@gmail.com
15
+ executables:
16
+ - console-blackjack
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - Gemfile
21
+ - Gemfile.lock
22
+ - LICENSE
23
+ - README.md
24
+ - Rakefile
25
+ - bin/console-blackjack
26
+ - bj.png
27
+ - bj.txt
28
+ - console-blackjack.gemspec
29
+ - lib/blackjack.rb
30
+ - lib/blackjack/card.rb
31
+ - lib/blackjack/dealer_hand.rb
32
+ - lib/blackjack/hand.rb
33
+ - lib/blackjack/player_hand.rb
34
+ - lib/blackjack/shoe.rb
35
+ - spec/factories/blackjack_factory.rb
36
+ - spec/factories/card_factory.rb
37
+ - spec/factories/dealer_hand_factory.rb
38
+ - spec/factories/hand_factory.rb
39
+ - spec/factories/player_hand_factory.rb
40
+ - spec/factories/shoe_factory.rb
41
+ - spec/lib/blackjack/card_spec.rb
42
+ - spec/lib/blackjack/dealer_hand_spec.rb
43
+ - spec/lib/blackjack/hand_spec.rb
44
+ - spec/lib/blackjack/player_hand_spec.rb
45
+ - spec/lib/blackjack/shoe_spec.rb
46
+ - spec/lib/blackjack_spec.rb
47
+ - spec/spec_helper.rb
48
+ homepage: https://github.com/gdonald/console-blackjack-ruby
49
+ licenses:
50
+ - MIT
51
+ metadata:
52
+ source_code_uri: https://github.com/gdonald/console-blackjack-ruby
53
+ post_install_message: |2+
54
+
55
+ Type `console-blackjack` to run!
56
+
57
+ rdoc_options: []
58
+ require_paths:
59
+ - lib
60
+ required_ruby_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ requirements: []
71
+ rubygems_version: 3.0.3
72
+ signing_key:
73
+ specification_version: 4
74
+ summary: Console Blackjack
75
+ test_files: []