danno_scrabble 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +10 -0
- data/README.md +3 -3
- data/test/test_helper.rb +8 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22bf64b876da5d2c92d555d6aea9ed6264945f62
|
4
|
+
data.tar.gz: 30787f828936feb29fea23bfdcc8e7ac858a4eb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 666241c75ca047bd70d569b14a3641e2813c7afcbfa1ea98424375767184cf1d76e432edfd03e6a2dc8e4f7075215595b28874c0f7ba6ecb47298687351650f7
|
7
|
+
data.tar.gz: 64c74d03d6883e788a007f3faa5a0f0e3f814228f4eb28d45369c8de6071d9c46e6aae8d69a5d0c6cc94f0552ce110655a9e7cce989b10c842dc9c65ee16c6bb
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -6,13 +6,23 @@ PATH
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
+
codeclimate-test-reporter (0.4.8)
|
10
|
+
simplecov (>= 0.7.1, < 1.0.0)
|
11
|
+
docile (1.1.5)
|
12
|
+
json (1.8.3)
|
9
13
|
minitest (5.9.0)
|
10
14
|
rake (11.1.2)
|
15
|
+
simplecov (0.10.0)
|
16
|
+
docile (~> 1.1.0)
|
17
|
+
json (~> 1.8)
|
18
|
+
simplecov-html (~> 0.10.0)
|
19
|
+
simplecov-html (0.10.0)
|
11
20
|
|
12
21
|
PLATFORMS
|
13
22
|
ruby
|
14
23
|
|
15
24
|
DEPENDENCIES
|
25
|
+
codeclimate-test-reporter
|
16
26
|
danno_scrabble!
|
17
27
|
minitest
|
18
28
|
rake
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|____/[] \ ___ /[]
|
6
6
|
|
7
7
|
|
8
|
-
[![Build Status](https://travis-ci.org/Incredible0n3/scrabble.svg?branch=master)](https://travis-ci.org/Incredible0n3/scrabble)
|
8
|
+
[![Build Status](https://travis-ci.org/Incredible0n3/scrabble.svg?branch=master)](https://travis-ci.org/Incredible0n3/scrabble) | [![Code Climate](https://codeclimate.com/github/Incredible0n3/scrabble/badges/gpa.svg)](https://codeclimate.com/github/Incredible0n3/scrabble) | [![Test Coverage](https://codeclimate.com/github/Incredible0n3/scrabble/badges/coverage.svg)](https://codeclimate.com/github/Incredible0n3/scrabble/coverage) | [![Issue Count](https://codeclimate.com/github/Incredible0n3/scrabble/badges/issue_count.svg)](https://codeclimate.com/github/Incredible0n3/scrabble)
|
9
9
|
|
10
10
|
Scrabble has long been used to play on words. For example, you have a set of letters, these letters then make various
|
11
11
|
combinations of words. In the rules of scrabble those various combinations of words are compared against a valid scrabble
|
@@ -27,9 +27,9 @@ dictionary to see if it is a valid answer. This provides a list of all possible
|
|
27
27
|
# Using the Gem!
|
28
28
|
|
29
29
|
* `ruby -Ilib ./bin/scrabble {'scrabble'}` or `ruby -Ilib ./bin/scrabble {'asdfjkl'}` # if cloned
|
30
|
-
* `ruby -Ilib ~/.rvm/gems/ruby-2.2.3/gems/danno_scrabble_0.0.
|
30
|
+
* `ruby -Ilib ~/.rvm/gems/ruby-2.2.3/gems/danno_scrabble_0.0.6/bin/scrabble {'scrabble'}` # if installed via `gem install`
|
31
31
|
|
32
32
|
# Testing the Gem!
|
33
33
|
|
34
34
|
* `rake` # if cloned
|
35
|
-
* `cd ~/.rvm/gems/ruby-2.2.3/gems/danno_scrabble_0.0.
|
35
|
+
* `cd ~/.rvm/gems/ruby-2.2.3/gems/danno_scrabble_0.0.6` then `rake` # if installed via `gem install`
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
require "codeclimate-test-reporter"
|
2
|
+
require 'simplecov'
|
3
|
+
|
4
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[SimpleCov::Formatter::HTMLFormatter,CodeClimate::TestReporter::Formatter]
|
5
|
+
|
6
|
+
dir = File.join("..", "coverage")
|
7
|
+
SimpleCov.coverage_dir(dir)
|
8
|
+
SimpleCov.start CodeClimate::TestReporter.configuration.profile
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danno_scrabble
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danial Oberg
|
@@ -25,6 +25,7 @@ files:
|
|
25
25
|
- bin/scrabble
|
26
26
|
- lib/scrabble.rb
|
27
27
|
- lib/word_list.txt
|
28
|
+
- test/test_helper.rb
|
28
29
|
- test/test_scrabble.rb
|
29
30
|
homepage: http://rubygems.org/gems/danno_scrabble
|
30
31
|
licenses:
|