fulmar 1.2.0 → 1.2.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ddda32a4d9e3c7843c763f983ceb4e0aba8dcb1
|
|
4
|
+
data.tar.gz: af45f53450e669157ba9a389c3b73d0f7df096e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b11cf1ec6da68384117a78f4a143a2d49edfc7227a1e42f928ba4a2b3d1b9c408f714e65231b5bfba866d6de2052770d577c68341edab8e3adf899e8fbc52aa
|
|
7
|
+
data.tar.gz: 4819b51d5fc2b07adc59729f0e34ef521251108cd1dd846fbe3257825ca85d380e5de2951b7af78d4d4950e1ad1f5f682a56464898cae690e08c001fea551a4c
|
|
@@ -68,10 +68,10 @@ module Fulmar
|
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
def feature?(feature)
|
|
71
|
-
return configuration[:features]
|
|
71
|
+
return configuration[:features].include? feature.to_s unless configuration[:features].nil?
|
|
72
72
|
case feature
|
|
73
73
|
when :database
|
|
74
|
-
|
|
74
|
+
any? { |data| data[:type] == 'maria' }
|
|
75
75
|
else
|
|
76
76
|
false
|
|
77
77
|
end
|
|
@@ -8,6 +8,7 @@ module Fulmar
|
|
|
8
8
|
def initialize(shell, config)
|
|
9
9
|
@remote_shell = shell
|
|
10
10
|
@config = config
|
|
11
|
+
test_config
|
|
11
12
|
end
|
|
12
13
|
|
|
13
14
|
def cache_clear
|
|
@@ -36,6 +37,10 @@ module Fulmar
|
|
|
36
37
|
def export_filename
|
|
37
38
|
"export_#{Time.now.strftime('%Y-%m-%dT%H%M%S')}.xml"
|
|
38
39
|
end
|
|
40
|
+
|
|
41
|
+
def test_config
|
|
42
|
+
fail 'Neos environment is not set.' unless @config[:neos] && @config[:neos][:environment]
|
|
43
|
+
end
|
|
39
44
|
end
|
|
40
45
|
end
|
|
41
46
|
end
|
data/lib/fulmar/version.rb
CHANGED
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.2.
|
|
4
|
+
version: 1.2.1
|
|
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-
|
|
12
|
+
date: 2015-04-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|