comet-build 0.1.4 → 0.1.5

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: 7303f8c51c3dc470c603b2b76a1a7ae8c977436c
4
- data.tar.gz: df5145cf3bee6c201ccdcd65d6c3665c1d4dc738
3
+ metadata.gz: e6d1b9c646e5148cd226250a5eff737bc29c33b7
4
+ data.tar.gz: 1312bf7a715b183187680a19ffb11df391c3f287
5
5
  SHA512:
6
- metadata.gz: e0f0eab59f299b14b5d8624357fb9dd6f610e6dc4a80abf42c3b79967b1e508ea82569793ea350076158202b30ab8157d6a6ef194d59970281fa7b81a77f3c96
7
- data.tar.gz: 6e9a1e00d89165197ae2194d9dfc8d49ca92fd655462225f0a6cafba1e836ad6e728e6175a9072798f5f6306e78dfa86c02d143ac7be120609ddc871a7488349
6
+ metadata.gz: e32b6e0da93bdc14e78ef6ce41f5797de15438c179532f8d45f1e2d1f8cf17293cd03006f28cfdde2833d8bc6f1569e7aa46b08a4ae47ed834937234964460f2
7
+ data.tar.gz: 9061dad804552e02fc956ee5fb3ee0ddaf03bd016a08015bfea61f105402794119b88122e7425d5ae761e358f9bb943d81b7f7f7ae1bf05f94e6113f102e1d2c
@@ -12,6 +12,7 @@ module Comet
12
12
  if hardware_defined? name, targets
13
13
  raise "hardware `#{name}' redefined for `#{targets}'"
14
14
  end
15
+ raise "`#{name}' already used by software" if @software.key? name
15
16
  @hardware[name].push DSL::Hardware.new(name, targets: targets, &block)
16
17
  end
17
18
 
@@ -1,3 +1,3 @@
1
1
  module Comet
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.1.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comet-build
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Beneteau