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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bde18dd4c693f4750f9bda82cc31159cd5024aad
4
- data.tar.gz: 9e10ac7da01f7c0a1d6ac55db8cb4d5e071c0810
3
+ metadata.gz: d1647d87677113f39c9fac846e5da9b98dd3aac6
4
+ data.tar.gz: b3abe8dacef2b1dc1f77334988ce3db921a7effc
5
5
  SHA512:
6
- metadata.gz: 12386986ccefbcdbf33b710c2eb9fc2e78454d83559a2f70b91bc2066c72080340ec1baaa5778a4602a575460c46ae35c4ad1c4d90eec03f17d3155a7c4bf1e3
7
- data.tar.gz: 26469ff892ea035ac946e7145cdd09766263b6ebb1d9b61c34e68bb47b21d8de7fd470b400e4ef5ce5bf13c774a13c722109cbc18173ef3c9a20bf9c64406626
6
+ metadata.gz: 2c01e0daa5d20a7b7025e9fac618f72431f3f2e19859a7d70940bbe2393514948055f27a6c73516090271df0c954b0099ba638e57385b69b61a9158c302a106d
7
+ data.tar.gz: 8f6c947cec58beb663564ef29600020002a8cc13736714431728c0f01e68f23216ca1b1d39a038dda5bd19f6671e299923a8976519ab64c3c682e7bbab45e727
data/.semver CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  :major: 3
3
3
  :minor: 1
4
- :patch: 0
4
+ :patch: 1
5
5
  :special: ''
6
6
  :metadata: ''
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
  ------------------------
@@ -1,3 +1,7 @@
1
+ == v3.1.1 (05 October 2018)
2
+
3
+ * Add 'yarn:test' task
4
+
1
5
  == v3.1.0 (20 August 2018)
2
6
 
3
7
  * Add 'yarn:check' task
@@ -1,3 +1,3 @@
1
1
  module RakeNBake
2
- VERSION = '3.1.0'.freeze
2
+ VERSION = '3.1.1'.freeze
3
3
  end
@@ -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
- fail
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.0
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-08-20 00:00:00.000000000 Z
12
+ date: 2018-10-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake