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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3dabbf5104350bdb4a7bb7855ac4571dc90ba1a
4
- data.tar.gz: 592d608e5e2fe6cfc6d73125f9731a84bf23d87c
3
+ metadata.gz: e4f20366087c90f95047cb1e17e871b4f2ecf409
4
+ data.tar.gz: cb7610ab18209e6e8741a39ef097611130514984
5
5
  SHA512:
6
- metadata.gz: c85ff037e699d0b28cc6e09ac6eddc5a35f073706a1c2a861e7f36eba4f989086281cf4035d6dd557f0a6337967e2fbe5998daa2fff474dc34977f68d164c699
7
- data.tar.gz: 2c07c922fc33f6a966ec68a635d905002709dcf8a8aef4568812d0555059b58d23466f05cfd43ad5a8b7bd3155ca621a4319b5d69f60ef6f84b309a94a3e6cbb
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
@@ -1,4 +1,4 @@
1
1
  # Provides a global version number
2
2
  module Fulmar
3
- VERSION = '1.8.2'
3
+ VERSION = '1.8.3'
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.8.2
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-02 00:00:00.000000000 Z
12
+ date: 2015-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler