softwear-lib 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/softwear/lib.rb +12 -1
- data/lib/softwear/lib/version.rb +1 -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: dc1b9c37e2033ee3e24f968020f68e529def8390
|
4
|
+
data.tar.gz: f68745dad08f66224b1a1f182ef24e90d6dcc02d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca84ab111fc07c81a1fcc961f60bfa7038318c3d1315ab3982234634802bf6829b1ad3b55dbbddf7069f9d16704c6b8514bded324ffdeedf31a02525a199cf3e
|
7
|
+
data.tar.gz: fad616f135138357f5b714d79a16ddc69d1eef8f85fdaa959e2f4d14fc3d121fca8deee183ee5414714deaa51616ec601ac4c56b79cf2ea83966f2d28f847ef4
|
data/lib/softwear/lib.rb
CHANGED
@@ -75,7 +75,18 @@ end
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
|
78
|
+
desc 'Signal the running rails app to restart'
|
79
|
+
task :restart do
|
80
|
+
on roles([:web, :app]), in: :sequence, wait: 5 do
|
81
|
+
execute :mkdir, '-p', "#{release_path}/tmp"
|
82
|
+
execute :touch, release_path.join('tmp/restart.txt')
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# This is no longer necessary
|
87
|
+
# before :updating, :update_softwear_lib
|
88
|
+
|
89
|
+
after :publishing, :restart
|
79
90
|
end
|
80
91
|
end
|
81
92
|
end
|
data/lib/softwear/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: softwear-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nigel Baillie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|