fulmar 1.8.2 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fulmar/domain/service/configuration_service.rb +8 -0
- data/lib/fulmar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4f20366087c90f95047cb1e17e871b4f2ecf409
|
4
|
+
data.tar.gz: cb7610ab18209e6e8741a39ef097611130514984
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 832601dd36f99561cdd3a39c8edb5bfc786e8a99440c3eefce1928970f88acc8203780c15d4affd844c89c92f0a917131cbd718229a6a1474bfdf7d2c4ecdfb5
|
7
|
+
data.tar.gz: 0a0ba145501773e38736d4e6aeb2ebfc6171f5415baf74eca65a13d719e3c2f10f66bb0ec5f6a9d771a61d8f3a403673819bd2c2bc949efd78820f0609b3fe02
|
@@ -182,6 +182,7 @@ module Fulmar
|
|
182
182
|
prepare_dependencies
|
183
183
|
# Iterate over all environments and targets to prepare them
|
184
184
|
@config[:environments].delete(:all)
|
185
|
+
check_version
|
185
186
|
@config
|
186
187
|
end
|
187
188
|
|
@@ -211,6 +212,13 @@ module Fulmar
|
|
211
212
|
return if path[0,1] == '/'
|
212
213
|
@config[:environments][env][target][:local_path] = File.expand_path("#{base_path}/#{path}")
|
213
214
|
end
|
215
|
+
|
216
|
+
def check_version
|
217
|
+
return if @config[:project][:fulmar_version].nil?
|
218
|
+
unless Gem::Dependency.new('', @config[:project][:fulmar_version]).match?('', Fulmar::VERSION)
|
219
|
+
fail "Project requires a newer version of fulmar: #{@config[:project][:fulmar_version]}"
|
220
|
+
end
|
221
|
+
end
|
214
222
|
end
|
215
223
|
end
|
216
224
|
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.8.
|
4
|
+
version: 1.8.3
|
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-11-
|
12
|
+
date: 2015-11-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|