text2048 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/text2048/board.rb +1 -1
- data/lib/text2048/monkey_patch/array/board.rb +1 -1
- data/lib/text2048/monkey_patch/hash/converter.rb +2 -4
- data/lib/text2048/version.rb +1 -1
- data/spec/spec_helper.rb +13 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3a9fa828625d47123e5b5da1f648bb3469f8238
|
4
|
+
data.tar.gz: 686ec778c882bfbf3f2c9ae667e39a3f1aba8825
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b668ba69fe2bc9ddaa776de2480b794eeedab09ed9bf3e4ef36fa9b5b579477d9f945a15422f7ed914fed1d869e10f6ce9be15137f1b54ac26359aa19eba8aa
|
7
|
+
data.tar.gz: a67611a3b78da79182004417ef90826b2d750fde61bd28b9cb206980469ddc055ab9ffe9f554960b9f03cf4ffaceeb2d6b02d17200b119e8877e7089db561e04
|
data/lib/text2048/board.rb
CHANGED
data/lib/text2048/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,12 +1,21 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
+
require 'codeclimate-test-reporter'
|
4
|
+
require 'coveralls'
|
5
|
+
require 'simplecov'
|
6
|
+
|
3
7
|
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
|
4
8
|
|
5
|
-
|
6
|
-
CodeClimate::TestReporter.start
|
9
|
+
formatters = [SimpleCov::Formatter::HTMLFormatter]
|
7
10
|
|
8
|
-
|
9
|
-
|
11
|
+
formatters << Coveralls::SimpleCov::Formatter if ENV['COVERALLS_REPO_TOKEN']
|
12
|
+
if ENV['CODECLIMATE_REPO_TOKEN']
|
13
|
+
formatters << CodeClimate::TestReporter::Formatter
|
14
|
+
end
|
15
|
+
|
16
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[*formatters]
|
17
|
+
|
18
|
+
SimpleCov.start
|
10
19
|
|
11
20
|
require 'rspec'
|
12
21
|
require 'rspec/given'
|