starting_blocks 0.2.1 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6e135f4612703400b5917807b46d8781740453b8
4
+ data.tar.gz: 2a1784884a61ad2a2e2d5e2670b67fc1c1db5f3a
5
+ SHA512:
6
+ metadata.gz: 1c5388582f72d3c7ecd7c10ade41219e6ab393fd922657b3957f6ae6efade2cfe5a4f19f9983f42909c150c8b336a401a617d7fe148448efcc975c35f393d185
7
+ data.tar.gz: 4d9a597fc7d8ea6e84e1c8f758b7141efb699bebcf93c4cbaef9b31db2e98ce2675b74e359fb21a9817548ec043a01c3fb6624152e01ef9f9babc7eb0eff415f
data/bin/sb CHANGED
@@ -30,5 +30,10 @@ if ARGV.include? '--watch'
30
30
  elsif ARGV.include? '--off'
31
31
  StartingBlocks::Extensions::BlinkyLighting.turn_off!
32
32
  else
33
- run_all_specs options
33
+ results = run_all_specs options
34
+
35
+ parsed_results = StartingBlocks::Publisher.result_parser.parse(results)
36
+ success = parsed_results[:color] == :green
37
+
38
+ exit success
34
39
  end
@@ -1,3 +1,3 @@
1
1
  module StartingBlocks
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.1"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -1,10 +1,6 @@
1
- require 'coveralls'
2
- Coveralls.wear!
3
-
4
1
  require File.expand_path(File.dirname(__FILE__) + '/../lib/starting_blocks')
5
2
  require 'minitest/autorun'
6
3
  require 'minitest/spec'
7
- require 'minitest/pride'
8
4
  require 'contrast'
9
5
  require 'subtle'
10
6
  require 'mocha/setup'
@@ -23,6 +23,5 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "contrast"
24
24
  spec.add_development_dependency "subtle"
25
25
  spec.add_development_dependency "mocha"
26
- spec.add_development_dependency 'coveralls'
27
26
  spec.add_runtime_dependency 'listen', '~> 1.3.1', '>= 1.0', '< 2.0'
28
27
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: starting_blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
5
- prerelease:
4
+ version: 0.3.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Darren Cauthon
@@ -14,7 +13,6 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,92 +27,67 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: contrast
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: subtle
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: mocha
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
95
- name: coveralls
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
80
+ - - '>='
108
81
  - !ruby/object:Gem::Version
109
82
  version: '0'
110
83
  - !ruby/object:Gem::Dependency
111
84
  name: listen
112
85
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
86
  requirements:
115
87
  - - ~>
116
88
  - !ruby/object:Gem::Version
117
89
  version: 1.3.1
118
- - - ! '>='
90
+ - - '>='
119
91
  - !ruby/object:Gem::Version
120
92
  version: '1.0'
121
93
  - - <
@@ -124,12 +96,11 @@ dependencies:
124
96
  type: :runtime
125
97
  prerelease: false
126
98
  version_requirements: !ruby/object:Gem::Requirement
127
- none: false
128
99
  requirements:
129
100
  - - ~>
130
101
  - !ruby/object:Gem::Version
131
102
  version: 1.3.1
132
- - - ! '>='
103
+ - - '>='
133
104
  - !ruby/object:Gem::Version
134
105
  version: '1.0'
135
106
  - - <
@@ -167,33 +138,26 @@ files:
167
138
  homepage: http://www.github.com/darrencauthon/starting_blocks
168
139
  licenses:
169
140
  - MIT
141
+ metadata: {}
170
142
  post_install_message:
171
143
  rdoc_options: []
172
144
  require_paths:
173
145
  - lib
174
146
  required_ruby_version: !ruby/object:Gem::Requirement
175
- none: false
176
147
  requirements:
177
- - - ! '>='
148
+ - - '>='
178
149
  - !ruby/object:Gem::Version
179
150
  version: '0'
180
- segments:
181
- - 0
182
- hash: 4386760652791413549
183
151
  required_rubygems_version: !ruby/object:Gem::Requirement
184
- none: false
185
152
  requirements:
186
- - - ! '>='
153
+ - - '>='
187
154
  - !ruby/object:Gem::Version
188
155
  version: '0'
189
- segments:
190
- - 0
191
- hash: 4386760652791413549
192
156
  requirements: []
193
157
  rubyforge_project:
194
- rubygems_version: 1.8.25
158
+ rubygems_version: 2.1.11
195
159
  signing_key:
196
- specification_version: 3
160
+ specification_version: 4
197
161
  summary: One command to run all tests, test watcher, etc.
198
162
  test_files:
199
163
  - spec/spec_helper.rb