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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68f5308e9b55f6c7a0dd6fd7184fa8643fa9ca1e
4
- data.tar.gz: 6bb5a3e732fbfca9ea6a752b3e029b0d1581bace
3
+ metadata.gz: 2bab4f024a111656c228498e1b2ab2c5e071ffe6
4
+ data.tar.gz: 67c77820069e95591293bb933da5eb2c3b51be5d
5
5
  SHA512:
6
- metadata.gz: 9a152beb8154388704a261e95ff945e7b2eb95a84d30020d1ab9bf769d7fbde89765bad647507d4bbed67d53cd12c7350b2021f459bf2252d9fa84b43f0eb19d
7
- data.tar.gz: 0a023ee991019318d3879066b870b3a52072ec9ea702dc72826a78344bd45b3c0a40e9930899a20af73693d7d69a584d88c64b15df9400c8e52fb166aa6009f1
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
@@ -3,7 +3,7 @@ module Spout
3
3
  MAJOR = 0
4
4
  MINOR = 10
5
5
  TINY = 0
6
- BUILD = "beta3" # nil, "pre", "rc", "rc2"
6
+ BUILD = "beta4" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0.beta3
4
+ version: 0.10.0.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller