izanami 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzNiMmMzM2U2OGMzOTcxMWRhNWM1YmZlZDQyODJlNWRkNWIwNGVhMg==
4
+ NjFlMDQzZjI3ODA1ODJhZDA1MWQ0M2YwNWQ1M2Q0MmI1MmMzYjQyYw==
5
5
  data.tar.gz: !binary |-
6
- ZTEyNWZhZDI3MTViNmQ0ZTQ2YmEwOGRlYWE1OWZhZDRiY2E0YzBiMw==
6
+ ZTRlYjEwMjcwOTM5MWZkOWY2ZTU2YTc3YWM0YjcwZDY1MDIzYTk0MQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGJmYzMxOTc1NTViZTQ3YzcyYjRmYTRiYTA1NjlmNDYyMTU4MWJmMGU2MDM5
10
- ODBmMGI5ZDc1YzdmMDQ5MGY2M2EwZDIxM2Y5OTRkMTJkMWNlYmIwMGNhODcz
11
- MjBkMzI5ZjU5OTkyY2UxZTliZWFjOWE2OGM3YjNlNmEwYjdkNGQ=
9
+ NzUwNmQxYzdiODFkYjkxMmYzYjNhMGNjMjUyNjcyOThlOTlhYzJmMTJmMzU1
10
+ MWM4OTZlZDE3YTUxNjljNDMwMjU0ZGE1ZmU5Y2I5ZWU1YzY4NzQ5Mzg1ZDM0
11
+ NmNlYjFmODQ2OTA4Mzk5MzY0ODAyNGRkMTdjY2UxNGYwMmY3OWU=
12
12
  data.tar.gz: !binary |-
13
- NDJmNjk4MzJjMDQyZTY2YmJiZmI3NzYxODk0YTU2YWNhZjFmMzk0YmFkMjNk
14
- ODEwN2QyYzc1ZTUzNTMwMjQ0NjU3NmIyYzA0YWUwMWE3OWQ0NTEwYzAzNzU5
15
- ZWJhZmI2MDY2MWZlYWJhODA4YzI3YWI0YzkxZmI3NjI0OTBmNzY=
13
+ NTc2YWNlYjM4MjczYmE3OThmZDVmYzkzZGU2YmVkY2Y3ZGI5M2ZkZWU2YzI4
14
+ NDc1ZjFiM2JkYTk2NmEyOGNjZmQ2NDlmMmU3ZmY3MWUyZWVlZDg2MTQ1YTY1
15
+ ODFkMDkyM2U1YTNkMWFkNTAyMGE1OTk0ZTY5MzZlZjY4M2QxYjc=
data/.env.development CHANGED
@@ -2,5 +2,5 @@ RACK_ENV=development
2
2
  IZANAMI_USER=izanami
3
3
  IZANAMI_PASSWORD=izanami
4
4
  IZANAMI_REDIS_URL=redis://127.0.0.1:6379/0
5
- IZANAMI_SANDBOX=/Users/jhbabon/Code/projects/wuakitv/src/deploys
5
+ IZANAMI_SANDBOX=/path/to/capistrano/recipes
6
6
  IZANAMI_WATCHDOG_SLEEP_TIME=5
@@ -1,3 +1,3 @@
1
1
  module Izanami
2
- VERSION = "0.15.0"
2
+ VERSION = "0.16.0"
3
3
  end
@@ -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 {git} command.
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
- # {git} command for the updating.
47
+ # Shell commands to keep the repo updated.
48
48
  #
49
49
  # @return [String]
50
50
  def cmd
51
- 'git pull'
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.15.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-21 00:00:00.000000000 Z
11
+ date: 2013-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler