izanami 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/.env.development +1 -1
- data/lib/izanami/version.rb +1 -1
- data/lib/izanami/workers/watchdog.rb +8 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NjFlMDQzZjI3ODA1ODJhZDA1MWQ0M2YwNWQ1M2Q0MmI1MmMzYjQyYw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZTRlYjEwMjcwOTM5MWZkOWY2ZTU2YTc3YWM0YjcwZDY1MDIzYTk0MQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NzUwNmQxYzdiODFkYjkxMmYzYjNhMGNjMjUyNjcyOThlOTlhYzJmMTJmMzU1
|
|
10
|
+
MWM4OTZlZDE3YTUxNjljNDMwMjU0ZGE1ZmU5Y2I5ZWU1YzY4NzQ5Mzg1ZDM0
|
|
11
|
+
NmNlYjFmODQ2OTA4Mzk5MzY0ODAyNGRkMTdjY2UxNGYwMmY3OWU=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NTc2YWNlYjM4MjczYmE3OThmZDVmYzkzZGU2YmVkY2Y3ZGI5M2ZkZWU2YzI4
|
|
14
|
+
NDc1ZjFiM2JkYTk2NmEyOGNjZmQ2NDlmMmU3ZmY3MWUyZWVlZDg2MTQ1YTY1
|
|
15
|
+
ODFkMDkyM2U1YTNkMWFkNTAyMGE1OTk0ZTY5MzZlZjY4M2QxYjc=
|
data/.env.development
CHANGED
data/lib/izanami/version.rb
CHANGED
|
@@ -6,7 +6,7 @@ module Izanami
|
|
|
6
6
|
|
|
7
7
|
# Utility worker that watch the IZANAMI_SANDBOX repository
|
|
8
8
|
# and updates the content each IZANAMI_WATCHDOG_SLEEP_TIME time
|
|
9
|
-
# via {git}.
|
|
9
|
+
# via {git} and {bundler}.
|
|
10
10
|
class Watchdog
|
|
11
11
|
Izanami::Worker self
|
|
12
12
|
|
|
@@ -19,7 +19,7 @@ module Izanami
|
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
-
# Update the repo. Prints to $stdout the results of the
|
|
22
|
+
# Update the repo. Prints to $stdout the results of the shell commands.
|
|
23
23
|
def update_repo
|
|
24
24
|
Open3.popen2e(cmd, shell_options) do |stdin, stdout, thread|
|
|
25
25
|
while (line = stdout.gets)
|
|
@@ -44,14 +44,17 @@ module Izanami
|
|
|
44
44
|
{ chdir: ENV['IZANAMI_SANDBOX'] }
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
#
|
|
47
|
+
# Shell commands to keep the repo updated.
|
|
48
48
|
#
|
|
49
49
|
# @return [String]
|
|
50
50
|
def cmd
|
|
51
|
-
|
|
51
|
+
[
|
|
52
|
+
'git pull',
|
|
53
|
+
'bundle install',
|
|
54
|
+
].join('&&')
|
|
52
55
|
end
|
|
53
56
|
|
|
54
|
-
# Time to wait between each update
|
|
57
|
+
# Time to wait between each update.
|
|
55
58
|
#
|
|
56
59
|
# Can be configured with the ENV['IZANAMI_WATCHDOG_SLEEP_TIME'] variable.
|
|
57
60
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: izanami
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juan Hernández
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-08-
|
|
11
|
+
date: 2013-08-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|