rake-n-bake 2.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.semver +2 -2
- data/Gemfile +1 -0
- data/history.rdoc +4 -0
- data/lib/version.rb +1 -1
- data/tasks/ok.rake +26 -0
- 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: 73bc97d43c32ef44abefbea3cfb9545b537b1c5c
|
4
|
+
data.tar.gz: 0b0d179282de4c8635e46d59de92e3ea2739c25c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 038451f4067322df6d2fa4552574a94588b0cbb7758c70f37211c17ab6e42354e92b769966e584374a47b1007a09dd429f423272c87d19c62c86f9ba5da1bb54
|
7
|
+
data.tar.gz: dbadac1b8355bfce536f44f3eb6ee13aaf655471ac5acf91aefd73f938f858c106c953c5692227949fbf485e2701b4b1d30184cf444264999f95c37431f500a2
|
data/.semver
CHANGED
data/Gemfile
CHANGED
data/history.rdoc
CHANGED
data/lib/version.rb
CHANGED
data/tasks/ok.rake
CHANGED
@@ -61,4 +61,30 @@ namespace :bake do
|
|
61
61
|
end
|
62
62
|
puts C.reset
|
63
63
|
end
|
64
|
+
|
65
|
+
begin
|
66
|
+
require 'terminal-notifier'
|
67
|
+
|
68
|
+
desc 'Show the test complete message using Terminal Notifier'
|
69
|
+
task :ok_term_notifier do
|
70
|
+
dir_name = File.basename(Dir.getwd)
|
71
|
+
TerminalNotifier.notify(
|
72
|
+
'All tests passed!',
|
73
|
+
title: "#{dir_name} build complete!",
|
74
|
+
group: dir_name,
|
75
|
+
appIcon: 'https://www.ruby-lang.org/images/header-ruby-logo.png',
|
76
|
+
)
|
77
|
+
end
|
78
|
+
|
79
|
+
rescue LoadError
|
80
|
+
tasks = %w[ ok_term_notifier ]
|
81
|
+
|
82
|
+
tasks.map(&:to_sym).each do |t|
|
83
|
+
desc 'Terminal Notifier is not available (gem not installed)'
|
84
|
+
task t do
|
85
|
+
RakeNBake::Baker.log_missing_gem 'terminal-notifier'
|
86
|
+
abort
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
64
90
|
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: 2.0
|
4
|
+
version: 2.1.0
|
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: 2016-11-
|
12
|
+
date: 2016-11-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|