fulmar 1.4.2 → 1.5.0

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: 838899dcc08ac147dd594bc64d102c36c23202a4
4
- data.tar.gz: b90b0af757fd3e0c1e4d5c73f9eeddfbdca3408a
3
+ metadata.gz: 357303751bffb6928eeef9a6ede80d964c80e7d4
4
+ data.tar.gz: 1000737110dfedacbed455ae92ecc2557f014fa1
5
5
  SHA512:
6
- metadata.gz: a92526dd266e9b820fb48e0e384103746b8e5b61473a7e9dd0eddbd30fdef7e811261fdf039e142334488bd86418123a45db50ffdf60baa21b5a53e5f97cf7b8
7
- data.tar.gz: ea91d52ccec62ba8beabb5e68acd5d2e703b79005cfcf90743e986c59444c0bf87943ca3e0a62b75b4c68f274d1e762e561bf0845ad7f35129ff6eea6bd44005
6
+ metadata.gz: fcda7ec398917e283da2cfdeb71149f5d0d8c8ea6461a64bb324155653e31e51feca87a04a61a7bcf48ca52a08531fc4a3565c9de872d0b7f74965734560111b
7
+ data.tar.gz: ad6e857457b377865895199132479c49fdd602fee73e6e2e4c600c4df0a11749fd508f293c4ab4355c98ad07289840a224836d5fe3170247a81152ec747d39d7
@@ -0,0 +1,7 @@
1
+ desc 'Open an interactive terminal within fulmar'
2
+ task :console do
3
+ require 'irb'
4
+ require 'irb/completion'
5
+ ARGV.clear
6
+ IRB.start
7
+ end
@@ -35,7 +35,7 @@ def create_update_tasks(db_configs)
35
35
  end
36
36
  end
37
37
 
38
- if db_configs.any?
38
+ if configuration.feature?(:database) && db_configs.any?
39
39
  namespace :database do
40
40
  create_update_tasks(db_configs) if db_configs.count > 1
41
41
  end
@@ -173,7 +173,9 @@ module Fulmar
173
173
  def add_shared
174
174
  commands = [] # Collect all remote commands first, then execute them in one step to avoid reconnecting very often
175
175
  @config[:shared].each do |dir|
176
- if remote_dir_exists?("#{release_dir}/#{dir}") && !remote_dir_exists?("#{@config[:shared_dir]}/#{dir}")
176
+ commands << "mkdir -p \"#{release_dir}/#{dir}\""
177
+
178
+ unless remote_dir_exists?("#{@config[:shared_dir]}/#{dir}")
177
179
  commands << "mkdir -p \"#{@config[:shared_dir]}/#{File.dirname(dir)}\""
178
180
  commands << "cp -r \"#{release_dir}/#{dir}\" \"#{@config[:shared_dir]}/#{File.dirname(dir)}\""
179
181
  end
@@ -1,4 +1,4 @@
1
1
  # Provides a global version number
2
2
  module Fulmar
3
- VERSION = '1.4.2'
3
+ VERSION = '1.5.0'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fulmar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Siegl
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-15 00:00:00.000000000 Z
12
+ date: 2015-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -144,6 +144,7 @@ files:
144
144
  - lib/fulmar/domain/service/file_sync_service.rb
145
145
  - lib/fulmar/domain/service/initialization_service.rb
146
146
  - lib/fulmar/domain/task/base.rake
147
+ - lib/fulmar/domain/task/console.rake
147
148
  - lib/fulmar/domain/task/database_sync.rake
148
149
  - lib/fulmar/domain/task/environment.rake
149
150
  - lib/fulmar/domain/task/versions.rake