rake-n-bake 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.semver +1 -1
- data/README.md +2 -0
- data/history.rdoc +4 -0
- data/lib/version.rb +1 -1
- data/tasks/yarn.rake +16 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1647d87677113f39c9fac846e5da9b98dd3aac6
|
4
|
+
data.tar.gz: b3abe8dacef2b1dc1f77334988ce3db921a7effc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c01e0daa5d20a7b7025e9fac618f72431f3f2e19859a7d70940bbe2393514948055f27a6c73516090271df0c954b0099ba638e57385b69b61a9158c302a106d
|
7
|
+
data.tar.gz: 8f6c947cec58beb663564ef29600020002a8cc13736714431728c0f01e68f23216ca1b1d39a038dda5bd19f6671e299923a8976519ab64c3c682e7bbab45e727
|
data/.semver
CHANGED
data/README.md
CHANGED
@@ -113,6 +113,8 @@ Runs [Traceroute](https://rubygems.org/gems/traceroute), a tool for finding unus
|
|
113
113
|
### :yarn
|
114
114
|
#### :check
|
115
115
|
Runs the yarn integrity check [Yarn](https://yarnpkg.com/lang/en/docs/cli/check/)
|
116
|
+
#### :test
|
117
|
+
Runs the yarn test
|
116
118
|
|
117
119
|
Handy Tips for new tasks
|
118
120
|
------------------------
|
data/history.rdoc
CHANGED
data/lib/version.rb
CHANGED
data/tasks/yarn.rake
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
begin
|
2
2
|
namespace :bake do
|
3
3
|
namespace :yarn do
|
4
|
+
desc 'Check coverage from Cucumber'
|
4
5
|
task :check do
|
5
6
|
RakeNBake::Baker.log_step 'Running yarn check'
|
6
7
|
check = system('yarn check --integrity')
|
@@ -10,7 +11,21 @@ begin
|
|
10
11
|
else
|
11
12
|
puts
|
12
13
|
RakeNBake::Baker.log_warn 'please run "yarn install"'
|
13
|
-
|
14
|
+
raise
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
desc 'Check coverage from Cucumber'
|
19
|
+
task :test do
|
20
|
+
RakeNBake::Baker.log_step 'Running yarn test'
|
21
|
+
check = system('yarn test')
|
22
|
+
|
23
|
+
if check
|
24
|
+
RakeNBake::Baker.log_passed 'All tests passed'
|
25
|
+
else
|
26
|
+
puts
|
27
|
+
RakeNBake::Baker.log_warn 'Fail'
|
28
|
+
raise
|
14
29
|
end
|
15
30
|
end
|
16
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-n-bake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Vickerstaff
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-10-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|