spout 0.3.0.rc4 → 0.3.0
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 -1
- data/README.md +7 -9
- data/lib/spout/templates/ruby-version +1 -1
- data/lib/spout/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 817b70a8f509f65b21718337e60446af0e9b4a74
|
|
4
|
+
data.tar.gz: 54d3e4a39576a577a8e6a5e21a43ac5f893d7407
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6743ef9de28d8ed56930dde738980b028af3021b770c218a18ae86b97a7fb7ab565fc408cbec2425f8531fe6922fdc02795c429cf4f79bbd5589538aa9fe3cfc
|
|
7
|
+
data.tar.gz: 507db95089fb399b6c91db9e4b8bfa1a175fdb59d52428bda5935c50542bbbe6873d207f15ca07b9d9403bc09aa4e3076cd18056186edf5af58a5ffa54c18699
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://gemnasium.com/sleepepi/spout)
|
|
5
5
|
[](https://codeclimate.com/github/sleepepi/spout)
|
|
6
6
|
|
|
7
|
-
Turn your CSV data dictionary into a JSON repository. Collaborate with others to update the data dictionary in JSON format. Generate new Data Dictionary from the JSON repository. Test and validate your data dictionary using built-in tests, or add your own
|
|
7
|
+
Turn your CSV data dictionary into a JSON repository. Collaborate with others to update the data dictionary in JSON format. Generate new Data Dictionary from the JSON repository. Test and validate your data dictionary using built-in tests, or add your own tests and validations.
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
@@ -39,7 +39,7 @@ The CSV should contain at minimal the two column headers:
|
|
|
39
39
|
|
|
40
40
|
Other columns that will be interpreted include:
|
|
41
41
|
|
|
42
|
-
`display_name`: The variable name as it is presented to the user. The display name should be
|
|
42
|
+
`display_name`: The variable name as it is presented to the user. The display name should be fit on a single line.
|
|
43
43
|
|
|
44
44
|
`description`: A longer description of the variable.
|
|
45
45
|
|
|
@@ -110,6 +110,10 @@ class DictionaryTest < Test::Unit::TestCase
|
|
|
110
110
|
# Or only include certain tests
|
|
111
111
|
include Spout::Tests::JsonValidation
|
|
112
112
|
include Spout::Tests::VariableTypeValidation
|
|
113
|
+
include Spout::Tests::VariableNameUniqueness
|
|
114
|
+
include Spout::Tests::DomainExistenceValidation
|
|
115
|
+
include Spout::Tests::DomainFormat
|
|
116
|
+
include Spout::Tests::DomainNameUniqueness
|
|
113
117
|
end
|
|
114
118
|
```
|
|
115
119
|
|
|
@@ -118,7 +122,7 @@ Then run either `spout test` or `bundle exec rake` to run your tests.
|
|
|
118
122
|
|
|
119
123
|
### Create a CSV Data Dictionary from your JSON repository
|
|
120
124
|
|
|
121
|
-
Provide an optional version parameter to name the folder the CSVs will be generated in, defaults to 1.0.0
|
|
125
|
+
Provide an optional version parameter to name the folder the CSVs will be generated in, defaults to what is in `VERSION` file, or if that does not exist `1.0.0`.
|
|
122
126
|
|
|
123
127
|
```
|
|
124
128
|
spout export
|
|
@@ -130,12 +134,6 @@ You can optionally provide a version string
|
|
|
130
134
|
spout export [1.0.0]
|
|
131
135
|
```
|
|
132
136
|
|
|
133
|
-
or
|
|
134
|
-
|
|
135
|
-
```
|
|
136
|
-
bundle exec rake dd:create [VERSION=1.0.0]
|
|
137
|
-
```
|
|
138
|
-
|
|
139
137
|
|
|
140
138
|
### Export to the Hybrid Data Dictionary format from your JSON repository
|
|
141
139
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby-2.0.0-
|
|
1
|
+
ruby-2.0.0-p247
|
data/lib/spout/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spout
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.0
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Remo Mueller
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-07-
|
|
11
|
+
date: 2013-07-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -131,9 +131,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
131
131
|
version: '0'
|
|
132
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
requirements:
|
|
134
|
-
- - '
|
|
134
|
+
- - '>='
|
|
135
135
|
- !ruby/object:Gem::Version
|
|
136
|
-
version:
|
|
136
|
+
version: '0'
|
|
137
137
|
requirements: []
|
|
138
138
|
rubyforge_project:
|
|
139
139
|
rubygems_version: 2.0.3
|