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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37ca79e3efbf4a14cf28e5f0f58185527cb4656e
4
- data.tar.gz: 37c45de124a821e40b36b96a610de74b0f8f8f4a
3
+ metadata.gz: 817b70a8f509f65b21718337e60446af0e9b4a74
4
+ data.tar.gz: 54d3e4a39576a577a8e6a5e21a43ac5f893d7407
5
5
  SHA512:
6
- metadata.gz: 5af91eb56ffc2c34602cbb9a1cf10a34ea493437df4d50e1a88e06b471b793a5973180faf8c4fab71c3ae69116127952dd44db94c7f984b0f778e3d4ebfe52b9
7
- data.tar.gz: 61e7f8de57f5e738a41091b50b13d4b4166d920534d0f89a455c374b4efd9ab4dc6d652a17d951fe19cf698a7a1d90b4cce0377f78ca64ad54b5e89d58a52f93
6
+ metadata.gz: 6743ef9de28d8ed56930dde738980b028af3021b770c218a18ae86b97a7fb7ab565fc408cbec2425f8531fe6922fdc02795c429cf4f79bbd5589538aa9fe3cfc
7
+ data.tar.gz: 507db95089fb399b6c91db9e4b8bfa1a175fdb59d52428bda5935c50542bbbe6873d207f15ca07b9d9403bc09aa4e3076cd18056186edf5af58a5ffa54c18699
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## 0.3.0
1
+ ## 0.3.0 (July 11, 2013)
2
2
 
3
3
  ### Enhancements
4
4
  - Tests now hide passing tests by default
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Dependency Status](https://gemnasium.com/sleepepi/spout.png)](https://gemnasium.com/sleepepi/spout)
5
5
  [![Code Climate](https://codeclimate.com/github/sleepepi/spout.png)](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 for further validations.
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 reasonable in length and not unreasonably long.
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-p0
1
+ ruby-2.0.0-p247
data/lib/spout/version.rb CHANGED
@@ -3,7 +3,7 @@ module Spout
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
5
  TINY = 0
6
- BUILD = "rc4" # nil, "pre", "rc", "rc2"
6
+ BUILD = nil # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
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.rc4
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-10 00:00:00.000000000 Z
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: 1.3.1
136
+ version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
139
  rubygems_version: 2.0.3