spout 0.1.0.rc4 → 0.1.0.rc5

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: 0c5fac793330920925f6176e7b2a144ca5a04505
4
- data.tar.gz: 4485db1c267cc2faeec9d274fa8c8868fdf96621
3
+ metadata.gz: b04fd8296276c57cd273d55e56167745933ef6b4
4
+ data.tar.gz: b50eeddbfe57c6592fb2932d7aec4824470d0879
5
5
  SHA512:
6
- metadata.gz: 47bfc0d07ef95612a8474a7c8346b3f66415d93746f268f780b69e8d2d18843fb633baa844925546e50deb54ecdc4e8425dfc083bb45d03e02b9e22239a395a5
7
- data.tar.gz: a8a28bdc8b993a3ed53d7e909995470d280fa2c47bba5de073630736456677a2378d228c3a6f9addb3c0456809708e6fbadfb25bac457d0e1c5013b05dc111de
6
+ metadata.gz: 910d28fb9890d03513a4db761b759b02e1fa806789fbfdc2099d24e154ffd8bc74a85124f3967911c1892e0c7ff6f791d397b29129070004d833bf042881b5db
7
+ data.tar.gz: f9caf4d259699c2ebfee3ef520bbb8ddf020ef2ca99e042a546389c527d7d1ea2c6583ba3372251b2db9b71fac2b19724a08bf044715223a5535608c629bf2a1
data/lib/spout/actions.rb CHANGED
@@ -89,7 +89,7 @@ EOT
89
89
  directory 'test'
90
90
  copy_file 'test/dictionary_test.rb'
91
91
  copy_file 'test/test_helper.rb'
92
- puts " run".colorize( :green ) + " bundle install".colorize( :blue )
92
+ puts " run".colorize( :green ) + " bundle install".colorize( :light_cyan )
93
93
  Dir.chdir(@full_path)
94
94
  system "bundle install"
95
95
  end
@@ -51,14 +51,14 @@ namespace :dd do
51
51
 
52
52
  desc 'Initialize JSON repository from a CSV file: CSV=datadictionary.csv'
53
53
  task :import do
54
- additional_csv_info = "\n\nFor additional information on specifying CSV column headers before import see:\n\n " + "https://github.com/sleepepi/spout#generate-a-new-repository-from-an-existing-csv-file".colorize( :blue ).underline + "\n\n"
54
+ additional_csv_info = "\n\nFor additional information on specifying CSV column headers before import see:\n\n " + "https://github.com/sleepepi/spout#generate-a-new-repository-from-an-existing-csv-file".colorize( :light_cyan ) + "\n\n"
55
55
 
56
56
  puts ENV['CSV'].inspect
57
57
  if File.exists?(ENV['CSV'].to_s)
58
58
  CSV.parse( File.open(ENV['CSV'].to_s, 'r:iso-8859-1:utf-8'){|f| f.read}, headers: true ) do |line|
59
59
  row = line.to_hash
60
60
  if not row.keys.include?('id')
61
- puts "\nMissing column header `id` in data dictionary.".colorize( :red ) + additional_csv_info
61
+ puts "\nMissing column header `".colorize( :red ) + "id".colorize( :light_cyan ) + "` in data dictionary.".colorize( :red ) + additional_csv_info
62
62
  exit(1)
63
63
  end
64
64
  next if row['id'] == ''
data/lib/spout/version.rb CHANGED
@@ -3,7 +3,7 @@ module Spout
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
5
  TINY = 0
6
- BUILD = "rc4" # nil, "pre", "rc", "rc2"
6
+ BUILD = "rc5" # 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.1.0.rc4
4
+ version: 0.1.0.rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller