gclouder 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c51a16566fd44e711ff06dba3ba2d46d99703e5d
4
- data.tar.gz: 0ed2a9e15d3acc14057a64504bf06a4c617ff197
3
+ metadata.gz: baaf48f15c04779f8f78a2f4c1d50c6e1ea063f0
4
+ data.tar.gz: 479686e9f5e43fa962a7eac13f09cdc17fe06766
5
5
  SHA512:
6
- metadata.gz: 19b7dacb074c6718bcce0e521cde1e81c9e9158b00cf73032e9c081402433db12131dea7c9ec3708df7c19ed36badfc1c45f8c151c6e2c4053afd1c82437c067
7
- data.tar.gz: 0a045fe74bd9e3340ea7b08b2d061577f11b1fdcdd7c0b0d6a80956cb5636121c23de284c29504a8359a3d7a57cbb0cd6b7aa35ce699bd2c81664b37cfff011a
6
+ metadata.gz: ac0e7cf7f4e91c808625ec6ac98e9eb4e74c09428a9580b7dd3dd3f4e4cb4bc37ec2fb0eec50bc8dc052279b1777ce83f4deb986d09a587de63e67f279f0c596
7
+ data.tar.gz: a53b392ddb591f77f197d34f5c12e64df778eca9cacf488e0e8d84891f293e5606db949be872b3481ca6028095e8a0ccbc6b2cfc2286bace32b99cb896ed97c6
@@ -80,11 +80,9 @@ module GClouder
80
80
 
81
81
  next if skip
82
82
 
83
- YAML.load_file("assets/mappings/file.yml")
84
-
85
83
  # FIXME: this is so keys with partial matches work..
86
84
  file_mapping_key = path.join("::")
87
- file_mapping = YAML.load_file("assets/mappings/file.yml").fetch(file_mapping_key, nil)
85
+ file_mapping = YAML.load_file(File.join(File.dirname(__FILE__), "../../assets/mappings/file.yml")).fetch(file_mapping_key, nil)
88
86
 
89
87
  resource_representation_path = file_mapping.nil? ? path : file_mapping
90
88
 
@@ -98,7 +96,7 @@ module GClouder
98
96
  # FIXME: partial key matches here are bad.. i.e: [compute, networks] matches [compute, networks, subnetworks]
99
97
  # maps remote property names back to arguments
100
98
  property_mappings_key = path.join("::")
101
- property_mappings = YAML.load_file("assets/mappings/property.yml").fetch(property_mappings_key, [])
99
+ property_mappings = YAML.load_file(File.join(File.dirname(__FILE__), "../../assets/mappings/property.yml")).fetch(property_mappings_key, [])
102
100
 
103
101
  # Assume global, unless we can find or infer a region...
104
102
  region = "global"
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  module GClouder
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gclouder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Wilson