spout 0.10.0.beta2 → 0.10.0.beta3
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 +4 -4
- data/CHANGELOG.md +1 -0
- data/lib/spout/commands/importer.rb +1 -0
- data/lib/spout/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 68f5308e9b55f6c7a0dd6fd7184fa8643fa9ca1e
|
|
4
|
+
data.tar.gz: 6bb5a3e732fbfca9ea6a752b3e029b0d1581bace
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a152beb8154388704a261e95ff945e7b2eb95a84d30020d1ab9bf769d7fbde89765bad647507d4bbed67d53cd12c7350b2021f459bf2252d9fa84b43f0eb19d
|
|
7
|
+
data.tar.gz: 0a023ee991019318d3879066b870b3a52072ec9ea702dc72826a78344bd45b3c0a40e9930899a20af73693d7d69a584d88c64b15df9400c8e52fb166aa6009f1
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
- **Import Command**
|
|
5
5
|
- `spout import` now changes variables with all caps `display_name` to use title case instead
|
|
6
6
|
- Display names that use mixed case are unaffected
|
|
7
|
+
- `spout import --domains` now marks options as `"missing": true` if the option value starts with a dot `.` or a dash `-`
|
|
7
8
|
- **Testing Changes**
|
|
8
9
|
- Tests now include checks to assure that variable display_name fields don't exceed 255 length requirement
|
|
9
10
|
- `include Spout::Tests::VariableDisplayNameLength`
|
|
@@ -98,6 +98,7 @@ EOT
|
|
|
98
98
|
hash['value'] = row.delete('value').to_s
|
|
99
99
|
hash['display_name'] = row.delete('display_name').to_s
|
|
100
100
|
hash['description'] = row.delete('description').to_s
|
|
101
|
+
hash['missing'] = true if hash['value'].match(/^[\.-]/)
|
|
101
102
|
|
|
102
103
|
domains[domain_name]["options"] << hash
|
|
103
104
|
end
|
data/lib/spout/version.rb
CHANGED