hobby-devtools 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hobby-devtools.gemspec +3 -1
- data/lib/hobby/devtools/rspec.rb +9 -1
- metadata +31 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6889da7a729c93a0571281457f5009fceac88975
|
4
|
+
data.tar.gz: d59128271fa22641679d918123e55e93826c9a38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b8624a0f95769932830fd2134505e75a9e91db424084fb4ca48b164d3ed0ad006b102b76abd510f230628fb14c5afd7202e0467b20d3cfcc4052cc4caee013b
|
7
|
+
data.tar.gz: 0e430fa2f804b59edbd966edd01fc9e9fc50284004a744336956ebff307493a10bc645c5a423dbfdf4d570c36ad5de9232893f6365f4df1a13c61d156d14b8b9
|
data/hobby-devtools.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |g|
|
2
2
|
g.name = 'hobby-devtools'
|
3
3
|
g.files = `git ls-files`.split($/)
|
4
|
-
g.version = '0.0.
|
4
|
+
g.version = '0.0.9'
|
5
5
|
g.summary = 'My setup for development of Hobby-related projects.'
|
6
6
|
g.authors = ['Anatoly Chernow']
|
7
7
|
|
@@ -16,4 +16,6 @@ Gem::Specification.new do |g|
|
|
16
16
|
g.add_dependency 'awesome_print'
|
17
17
|
g.add_dependency 'puma'
|
18
18
|
g.add_dependency 'bgem'
|
19
|
+
g.add_dependency 'terminal-table'
|
20
|
+
g.add_dependency 'rainbow'
|
19
21
|
end
|
data/lib/hobby/devtools/rspec.rb
CHANGED
@@ -1,5 +1,13 @@
|
|
1
|
+
require 'terminal-table'
|
2
|
+
require 'rainbow'
|
3
|
+
|
1
4
|
module Hobby
|
2
5
|
module Devtools
|
6
|
+
::RSpec::Matchers.define :be_ok do
|
7
|
+
match &:ok?
|
8
|
+
failure_message &:to_s
|
9
|
+
end
|
10
|
+
|
3
11
|
class RSpec
|
4
12
|
def self.describe &block
|
5
13
|
new &block
|
@@ -31,7 +39,7 @@ module Hobby
|
|
31
39
|
after(:each) { `kill -9 #{@pid}` }
|
32
40
|
|
33
41
|
it 'works' do
|
34
|
-
|
42
|
+
expect(@report).to be_ok
|
35
43
|
end
|
36
44
|
end
|
37
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobby-devtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anatoly Chernow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hobby
|
@@ -164,6 +164,34 @@ dependencies:
|
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: terminal-table
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rainbow
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
167
195
|
description:
|
168
196
|
email:
|
169
197
|
executables: []
|
@@ -195,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
223
|
version: '0'
|
196
224
|
requirements: []
|
197
225
|
rubyforge_project:
|
198
|
-
rubygems_version: 2.
|
226
|
+
rubygems_version: 2.6.11
|
199
227
|
signing_key:
|
200
228
|
specification_version: 4
|
201
229
|
summary: My setup for development of Hobby-related projects.
|