fulmar 1.4.0 → 1.4.1
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 +4 -4
- data/lib/fulmar/domain/service/application_service.rb +12 -0
- data/lib/fulmar/infrastructure/service/transfer/base.rb +3 -1
- data/lib/fulmar/infrastructure/service/transfer/rsync.rb +3 -1
- data/lib/fulmar/infrastructure/service/transfer/rsync_with_versions.rb +3 -1
- data/lib/fulmar/service/helper/common_helper.rb +1 -1
- data/lib/fulmar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52617fe8010bc51b880d65e633ffb5c6c3d3bd98
|
4
|
+
data.tar.gz: 390d9b696a415bede59ece2b65e7d7eaf64b9aac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 536f2e948fdd848ddf4c8d8ae0f46948aa004fdd34b1f311ef097b24bd5f64ccbc01aa2f3b35944168dcfd658e55c8566a162262aef46a9c9df700b820ed2b56
|
7
|
+
data.tar.gz: 53fa20f8d0f38ae33ada880764a3d7c99c23dd0876bd11f832d6173b0596a780d86c164a799d99b210ce104a2c9ea97cdd002da08a871991e6cf1596e15e693c
|
@@ -46,6 +46,18 @@ module Fulmar
|
|
46
46
|
def fulmar_task_dir
|
47
47
|
File.expand_path(File.join(File.dirname(__FILE__), '..', 'task'))
|
48
48
|
end
|
49
|
+
|
50
|
+
def standard_rake_options
|
51
|
+
options = super
|
52
|
+
options.reject { |option| option[0] == '--version' }
|
53
|
+
options << ['--version', '-V',
|
54
|
+
'Display the program version.',
|
55
|
+
lambda { |_value|
|
56
|
+
puts "fulmar #{Fulmar::VERSION} (using rake, version #{RAKEVERSION})"
|
57
|
+
exit
|
58
|
+
}
|
59
|
+
]
|
60
|
+
end
|
49
61
|
end
|
50
62
|
end
|
51
63
|
end
|
@@ -18,8 +18,10 @@ module Fulmar
|
|
18
18
|
|
19
19
|
attr_accessor :config
|
20
20
|
|
21
|
+
# @param [Fulmar::Domain::Service::ConfigurationService] config
|
21
22
|
def initialize(config)
|
22
|
-
@config =
|
23
|
+
@config = config
|
24
|
+
@config.merge(DEFAULT_CONFIG)
|
23
25
|
|
24
26
|
# Remove trailing slashes
|
25
27
|
@config[:local_path] = @config[:local_path].chomp('/') if @config[:local_path]
|
@@ -18,8 +18,10 @@ module Fulmar
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
|
21
|
+
# @param [Fulmar::Domain::Service::ConfigurationService] config
|
21
22
|
def initialize(config)
|
22
|
-
@config =
|
23
|
+
@config = config
|
24
|
+
@config.merge(DEFAULT_CONFIG)
|
23
25
|
|
24
26
|
if @config[:rsync][:exclude_file].blank? && File.exist?(@config[:local_path] + '/.rsyncignore')
|
25
27
|
@config[:rsync][:exclude_file] = @config[:local_path] + '/.rsyncignore'
|
@@ -31,8 +31,10 @@ module Fulmar
|
|
31
31
|
shared: []
|
32
32
|
}
|
33
33
|
|
34
|
+
# @param [Fulmar::Domain::Service::ConfigurationService] config
|
34
35
|
def initialize(config)
|
35
|
-
@config =
|
36
|
+
@config = config
|
37
|
+
@config.merge(DEFAULT_CONFIG)
|
36
38
|
super(@config)
|
37
39
|
|
38
40
|
if @config[:rsync][:exclude_file].blank? && File.exist?(@config[:local_path] + '/.rsyncignore')
|
@@ -26,7 +26,7 @@ module Fulmar
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def remote_shell
|
29
|
-
storage['remote_shell'] ||= new_shell(configuration[:remote_path],
|
29
|
+
storage['remote_shell'] ||= new_shell(configuration[:remote_path], configuration.ssh_user_and_host)
|
30
30
|
end
|
31
31
|
|
32
32
|
def file_sync
|
data/lib/fulmar/version.rb
CHANGED