spout 0.10.0.beta3 → 0.10.0.beta4
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 -1
- 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: 2bab4f024a111656c228498e1b2ab2c5e071ffe6
|
|
4
|
+
data.tar.gz: 67c77820069e95591293bb933da5eb2c3b51be5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0351250643bfde710a823939b8b2420b3f98c04bb2429c2bfd61d8010da7dc8a742d769c70b8ff19b60c0ed27bc09c1486819e7ac181d2b4da5486a008445d7
|
|
7
|
+
data.tar.gz: 92665851afdc9b02509340f5d611834ea05f774884a1cbf68a6769e81ea844633adf9b3faf9351db6327fceff0410be10bad977a4a59d20dc8528638ec3714a9
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
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
7
|
- `spout import --domains` now marks options as `"missing": true` if the option value starts with a dot `.` or a dash `-`
|
|
8
|
+
- Display names for values are also changed to title case if they are all caps
|
|
8
9
|
- **Testing Changes**
|
|
9
10
|
- Tests now include checks to assure that variable display_name fields don't exceed 255 length requirement
|
|
10
11
|
- `include Spout::Tests::VariableDisplayNameLength`
|
|
@@ -96,7 +96,7 @@ EOT
|
|
|
96
96
|
|
|
97
97
|
hash = {}
|
|
98
98
|
hash['value'] = row.delete('value').to_s
|
|
99
|
-
hash['display_name'] = row.delete('display_name').to_s
|
|
99
|
+
hash['display_name'] = tenderize(row.delete('display_name').to_s)
|
|
100
100
|
hash['description'] = row.delete('description').to_s
|
|
101
101
|
hash['missing'] = true if hash['value'].match(/^[\.-]/)
|
|
102
102
|
|
data/lib/spout/version.rb
CHANGED