bingo_game 0.0.1 → 0.0.2

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: d154c487b76427ba87d2ff7aa1f043ed3305138e
4
- data.tar.gz: 3e162153ba961ccd1834f81f4ad818553c69cb10
3
+ metadata.gz: 8bc035846272789ceb1e70bddaa8baf73f716cd9
4
+ data.tar.gz: e49e937258ee1db64e8063074f05b1759fd61e71
5
5
  SHA512:
6
- metadata.gz: 443c89d12b52f47964bfb92a45eb69420ed0badfaa989e5d5072762fbd92d3194449fc95480a5279ed7341b960519116608581a0f3d27738424c82d82f237fa3
7
- data.tar.gz: 419d32fa1ec129083879dd777d9802053b87651382b6ef8575e644581e50019d03859577caa0638dcd727d562a8189af0278e115235450d4b56a788e0e90b145
6
+ metadata.gz: c21bc4a64776ddc39759dcfd1a9c8cd55298a73af85e77ffe7e705db670bb138a0aaca445d20894af84e9a07c7bdd7112dacb7de8646434ac25d5e123f45a5c1
7
+ data.tar.gz: 6544e800c134c0d4c8e6577b75f4731f53c7bf4a23922eef5780d7cf41eda012a19fa4d622ac96a4424fe7f5f009c4b9e80d780ae440eadf27abeb714bc2fabe
@@ -0,0 +1,96 @@
1
+ AllCops:
2
+ Exclude:
3
+ - "vendor/**/*"
4
+ - "db/schema.rb"
5
+ DisplayCopNames: true
6
+
7
+ Style/AndOr:
8
+ EnforcedStyle: conditionals
9
+
10
+ Style/AsciiComments:
11
+ Enabled: false
12
+
13
+ Style/BracesAroundHashParameters:
14
+ Enabled: false
15
+
16
+ Style/CollectionMethods:
17
+ PreferredMethods:
18
+ detect: "detect"
19
+ find: "detect"
20
+
21
+ Style/DeprecatedHashMethods:
22
+ Enabled: false
23
+
24
+ Style/Documentation:
25
+ Enabled: false
26
+
27
+ Style/DoubleNegation:
28
+ Enabled: false
29
+
30
+ Style/DotPosition:
31
+ EnforcedStyle: trailing
32
+
33
+ Style/EmptyElse:
34
+ EnforcedStyle: empty
35
+
36
+ Style/FormatString:
37
+ EnforcedStyle: percent
38
+
39
+ Style/GuardClause:
40
+ MinBodyLength: 5
41
+
42
+ Style/IfUnlessModifier:
43
+ Enabled: false
44
+
45
+ Style/IndentHash:
46
+ EnforcedStyle: consistent
47
+
48
+ Style/Lambda:
49
+ Enabled: false
50
+
51
+ Style/NumericLiterals:
52
+ MinDigits: 7
53
+
54
+ Style/PredicateName:
55
+ NamePrefixBlacklist:
56
+ - "is_"
57
+ - "have_"
58
+ NamePrefix:
59
+ - "is_"
60
+ - "have_"
61
+
62
+ Style/RedundantReturn:
63
+ AllowMultipleReturnValues: true
64
+
65
+ Style/SignalException:
66
+ EnforcedStyle: only_raise
67
+
68
+ Style/SpaceAroundOperators:
69
+ MultiSpaceAllowedForOperators:
70
+ - "="
71
+ - "=>"
72
+ - "||"
73
+
74
+ Style/SingleLineBlockParams:
75
+ Enabled: false
76
+
77
+ Style/TrailingComma:
78
+ EnforcedStyleForMultiline: comma
79
+
80
+ Lint/UnderscorePrefixedVariableName:
81
+ Enabled: false
82
+
83
+ Lint/UnusedMethodArgument:
84
+ Enabled: false
85
+
86
+ Metrics/AbcSize:
87
+ Max: 30
88
+
89
+ Metrics/CyclomaticComplexity:
90
+ Max: 10
91
+
92
+ Metrics/LineLength:
93
+ Max: 120
94
+
95
+ Metrics/PerceivedComplexity:
96
+ Max: 8
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # BingoGame
2
2
 
3
+ ![bingo](image/saikou.gif)
4
+
3
5
 
4
6
  ## Installation
5
7
 
Binary file
@@ -15,7 +15,9 @@ module BingoGame
15
15
  puts 'Success'
16
16
  else
17
17
  shutto_suruyatu
18
- flipper.call
18
+ v = flipper.call
19
+ puts v
20
+ exec("say #{v}")
19
21
  end
20
22
  end
21
23
 
@@ -29,6 +31,8 @@ module BingoGame
29
31
  gets # for stopping roulette
30
32
  Thread.kill(t)
31
33
  printf "\e[2A"
34
+ puts ' '
35
+ printf "\e[1A"
32
36
  end
33
37
 
34
38
  def random_number
@@ -11,7 +11,7 @@ module BingoGame
11
11
  n = loaded_seed.first
12
12
  update_seed
13
13
  store_seed(n)
14
- puts n
14
+ n
15
15
  end
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module BingoGame
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bingo_game
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ganmacs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-11 00:00:00.000000000 Z
11
+ date: 2015-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -64,6 +64,7 @@ extra_rdoc_files: []
64
64
  files:
65
65
  - ".gitignore"
66
66
  - ".rspec"
67
+ - ".rubocop.yml"
67
68
  - ".travis.yml"
68
69
  - Gemfile
69
70
  - README.md
@@ -72,6 +73,7 @@ files:
72
73
  - bin/console
73
74
  - bin/setup
74
75
  - bingo_game.gemspec
76
+ - image/saikou.gif
75
77
  - lib/bingo_game.rb
76
78
  - lib/bingo_game/cli.rb
77
79
  - lib/bingo_game/flipper.rb