torigoya_kit 0.0.7 → 0.0.8

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: 861c5a9f9f035efcdffa4f9e0daef540f6df8d75
4
- data.tar.gz: 7f6b9d783b48c4d70b40c30f0b2d2035031e727b
3
+ metadata.gz: 96d429d04e256d51935021f0b0b3a57b4a104855
4
+ data.tar.gz: cdf529ceb7f90bc719a57218e8e0b2ae61343875
5
5
  SHA512:
6
- metadata.gz: f68a3011ef05146c59ece8dc724a41d53c42d51f7b4986818a014ec12cec14ff27b2bfd1184a260d0a0f4304916c2d4c97feac82338738439ab03c95083fc7bf
7
- data.tar.gz: 43bb72275911ede3607c47bb40e937ec5a364fc1e76239c227987ac797cd3085f0c8ffe84be9fb1b1be6c836b2e8614f28599010bbbd02a6f5ebefb44ddcbfe1
6
+ metadata.gz: 2968853d435ec8dc14721c6c79d5247dfff485743ae63312b7f5b35c3ea8cf7f4bc9d7068d7291b20649d193c2c52c799d310e5e22546ef2dac11a1c1161c7ff
7
+ data.tar.gz: 6f73a01faf6679d04b108bb90018f282f623db68ebbc61321334471226bef94ae936c2855b9a8da87b292a6c00ed83324effee68097521dc9544d32a19aa8ccc
@@ -297,7 +297,9 @@ module TorigoyaKit
297
297
  @source_codes.each do |e|
298
298
  raise InvalidFormatError.new("type of element of source_codes must be SourceData") unless e.is_a?(SourceData)
299
299
  end
300
- raise InvalidFormatError.new("type of build_inst must be BuildInstruction") unless @build_inst.is_a?(BuildInstruction)
300
+ unless @build_inst.nil?
301
+ raise InvalidFormatError.new("type of build_inst must be BuildInstruction") unless @build_inst.is_a?(BuildInstruction)
302
+ end
301
303
  raise InvalidFormatError.new("type of run_inst must be RunInstruction") unless @run_inst.is_a?(RunInstruction)
302
304
  end
303
305
  end
@@ -1,3 +1,3 @@
1
1
  module TorigoyaKit
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torigoya_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - yutopp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-13 00:00:00.000000000 Z
11
+ date: 2014-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler