vanagon 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +130 -23
  3. data/bin/build +0 -4
  4. data/bin/build_host_info +21 -0
  5. data/bin/inspect +25 -0
  6. data/lib/vanagon/driver.rb +17 -8
  7. data/lib/vanagon/engine/base.rb +11 -2
  8. data/lib/vanagon/engine/docker.rb +21 -6
  9. data/lib/vanagon/engine/ec2.rb +75 -0
  10. data/lib/vanagon/engine/hardware.rb +20 -3
  11. data/lib/vanagon/engine/local.rb +18 -3
  12. data/lib/vanagon/engine/pooler.rb +22 -7
  13. data/lib/vanagon/extensions/hashable.rb +41 -0
  14. data/lib/vanagon/extensions/ostruct/json.rb +12 -0
  15. data/lib/vanagon/extensions/set/json.rb +12 -0
  16. data/lib/vanagon/extensions/string.rb +1 -1
  17. data/lib/vanagon/platform.rb +2 -0
  18. data/lib/vanagon/platform/dsl.rb +63 -0
  19. data/lib/vanagon/platform/osx.rb +6 -0
  20. data/lib/vanagon/project/dsl.rb +1 -1
  21. data/lib/vanagon/utilities.rb +10 -4
  22. data/resources/osx/uninstaller.tool.erb +24 -0
  23. data/resources/rpm/project.spec.erb +6 -0
  24. data/spec/lib/vanagon/driver_spec.rb +88 -0
  25. data/spec/lib/vanagon/engine/docker_spec.rb +6 -0
  26. data/spec/lib/vanagon/engine/ec2_spec.rb +33 -0
  27. data/spec/lib/vanagon/engine/hardware_spec.rb +4 -0
  28. data/spec/lib/vanagon/engine/local_spec.rb +5 -0
  29. data/spec/lib/vanagon/engine/pooler_spec.rb +5 -0
  30. data/spec/lib/vanagon/extensions/ostruct/json_spec.rb +16 -0
  31. data/spec/lib/vanagon/extensions/set/json_spec.rb +17 -0
  32. data/spec/lib/vanagon/extensions/string_spec.rb +30 -0
  33. data/spec/lib/vanagon/utilities_spec.rb +1 -1
  34. metadata +22 -6
  35. data/resources/windows/wix/componentgroup.wxs.erb +0 -33
  36. data/resources/windows/wix/project.wxs.erb +0 -34
  37. data/resources/windows/wix/registryEntries.wxs.erb +0 -47
@@ -1,47 +0,0 @@
1
- <?xml version='1.0' encoding='windows-1252'?>
2
- <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
3
-
4
- <!--
5
- Registry Entries
6
- This is a suggested set of entries that can be used to record the Installation Directory for upgrade installs.
7
- Any definitions in this will be over-ridden if the same file name is used in the Product Specific resouces directory.
8
- -->
9
- <Fragment>
10
- <ComponentGroup Id="RegistryComponentGroup">
11
- <Component
12
- Id="RegistryEntriesArchitectureDependent"
13
- Directory="TARGETDIR"
14
- Guid="*"
15
- Win64="<%= settings[:win64] %>"
16
- Permanent="yes">
17
-
18
- <RegistryKey
19
- Root="HKLM"
20
- Key="SOFTWARE\<%= settings[:company_name] %>\<%= settings[:product_name] %>"
21
- ForceCreateOnInstall="yes" >
22
-
23
- <RegistryValue
24
- Type="integer"
25
- Value="0"/>
26
- <%- if @platform.architecture == "x64" -%>
27
- <RegistryValue
28
- Name="RememberedInstallDir"
29
- Type="string"
30
- Value="[INSTALLDIR_X86]" />
31
- <RegistryValue
32
- Name="RememberedInstallDir64"
33
- Type="string"
34
- Value="[INSTALLDIR]"
35
- KeyPath="yes" />
36
- <%- else %>
37
- <RegistryValue
38
- Name="RememberedInstallDir"
39
- Type="string"
40
- Value="[INSTALLDIR]"
41
- KeyPath="yes" />
42
- <%- end -%>
43
- </RegistryKey>
44
- </Component>
45
- </ComponentGroup>
46
- </Fragment>
47
- </Wix>