spout 0.12.0 → 0.12.1

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: eb6071323dfafb998ea0a3adf12947ce90c7df68
4
- data.tar.gz: 4bf035c7e345f4a21d981252cad82305aaa2564b
3
+ metadata.gz: 3b714b2cbb3e35b82c5dc6acde94423ead958e6f
4
+ data.tar.gz: 1bc6918aa8565d51dc49489c8b502d66e9c915ff
5
5
  SHA512:
6
- metadata.gz: 0d803f9b5f399c9271a3be86109a83172c2f0923e40f93aaa8a3211c23e027bb1eeaf8feedc0654d3ac48035ba3a7a6494621080865d62721d876fa52d38e006
7
- data.tar.gz: 20bba42947399d15bbbb4eee647f88df645d57411f6403f468770d1f800d7dffde4117ff0748a3a11361b613171916305e8bb8ee8292e801886dc6e8b8fb3ca0
6
+ metadata.gz: 066a9868c637823fe5016f024a52d6ffb14df7541553f0e29329f648c164eff4caca0b4849af2538f64a41bcb39b0a4491400c3e9573d0efb3e5f7c700803e9d
7
+ data.tar.gz: 9bd04ed7f2ff8fe8c24d17cae04a60cdbc57564ed4e6901eeda59a7a181518cc41d789cf40fe7e4711b23cf1feb10d05137bfb39d5e81d38c5228af2b76eafa9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.12.1 (April 3, 2017)
2
+
3
+ ### Bug Fix
4
+ - Fixed a bug that prevented `spout deploy` from uploading data dictionaries
5
+
1
6
  ## 0.12.0 (March 29, 2017)
2
7
 
3
8
  ### Enhancements
data/README.md CHANGED
@@ -178,11 +178,11 @@ valid unit type
178
178
 
179
179
  ```ruby
180
180
  class DictionaryTest < Minitest::Test
181
- # This line includes all default Spout Dictionary tests
181
+ # This line includes all default Spout Dictionary tests.
182
182
  include Spout::Tests
183
183
 
184
184
  # This line provides access to @variables, @forms, and @domains iterators
185
- # iterators that can be used to write custom tests
185
+ # that can be used to write custom tests.
186
186
  include Spout::Helpers::Iterators
187
187
 
188
188
  VALID_UNITS = ['minutes', 'hours']
@@ -284,7 +284,7 @@ module Spout
284
284
  require 'spout/commands/exporter'
285
285
  Spout::Commands::Exporter.new(@version, ['--quiet'])
286
286
 
287
- csv_files = Dir.glob("dd/#{@version}/*.csv")
287
+ csv_files = Dir.glob("exports/#{@version}/*.csv")
288
288
  csv_files.each_with_index do |csv_file, index|
289
289
  print "\r Dictionary Uploads: " + "#{index + 1} of #{csv_files.count}".colorize(:green)
290
290
  @created_folders << 'datasets'
@@ -2,17 +2,19 @@
2
2
 
3
3
  require 'test_helper'
4
4
 
5
- # Launches default Spout tests and custom tests for specific to this dictionary
5
+ # Launches default Spout tests and custom tests for specific to this dictionary.
6
6
  class DictionaryTest < Minitest::Test
7
- # This line includes all default Spout Dictionary tests
7
+ # This line includes all default Spout Dictionary tests.
8
8
  include Spout::Tests
9
9
 
10
10
  # This line provides access to @variables, @forms, and @domains iterators
11
- # iterators that can be used to write custom tests
11
+ # that can be used to write custom tests.
12
12
  include Spout::Helpers::Iterators
13
13
 
14
- # Example 1: Create custom tests to show that `integer` and `numeric` variables have a valid unit type
15
- # VALID_UNITS = ['minutes', 'hours'] # Add your own valid units to this array
14
+ # Example 1: Create custom tests to show that `integer` and `numeric`
15
+ # variables have a valid unit type.
16
+ # Add your own valid units to this array.
17
+ # VALID_UNITS = ['minutes', 'hours']
16
18
  # @variables.select { |v| %w(numeric integer).include?(v.type) }.each do |variable|
17
19
  # define_method("test_units: #{variable.path}") do
18
20
  # message = "\"#{variable.units}\"".colorize(:red) + " invalid units.\n" +
data/lib/spout/version.rb CHANGED
@@ -4,7 +4,7 @@ module Spout
4
4
  module VERSION #:nodoc:
5
5
  MAJOR = 0
6
6
  MINOR = 12
7
- TINY = 0
7
+ TINY = 1
8
8
  BUILD = nil # 'pre', 'rc', 'rc2', nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.').freeze
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.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-29 00:00:00.000000000 Z
11
+ date: 2017-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler