databasion 0.2.2 → 0.2.3

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.
@@ -1,3 +1,6 @@
1
+ ### 0.2.3
2
+ * [FIXED] JSON-like data wasn't being properly formatted in the yaml_builder, resulting in the system bailing.
3
+
1
4
  ### 0.2.2
2
5
  * [FIXED] Template newline bug.
3
6
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ Jeweler::Tasks.new do |gem|
8
8
  gem.email = "mojobojo@gmail.com"
9
9
  gem.homepage = "http://github.com/boj/databasion"
10
10
  gem.authors = ["Brian Jones", "Istpika"]
11
- gem.version = "0.2.2"
11
+ gem.version = "0.2.3"
12
12
 
13
13
  gem.add_dependency('activerecord', '>= 3.0.3')
14
14
  gem.add_dependency('activesupport', '>= 2.3.5')
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{databasion}
8
- s.version = "0.2.2"
8
+ s.version = "0.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Brian Jones", "Istpika"]
12
- s.date = %q{2010-12-15}
12
+ s.date = %q{2010-12-22}
13
13
  s.default_executable = %q{databasion}
14
14
  s.email = %q{mojobojo@gmail.com}
15
15
  s.executables = ["databasion"]
@@ -56,9 +56,9 @@ module Databasion
56
56
  row.each_with_index do |col, index|
57
57
  next if data_hash['ignore_cols'].include?(index)
58
58
  if yaml_row.size == 0
59
- yaml_row += " - %s: %s\n" % [data_hash['fields'][index], col]
59
+ yaml_row += " - %s: '%s'\n" % [data_hash['fields'][index], col]
60
60
  else
61
- yaml_row += " %s: %s\n" % [data_hash['fields'][index], col]
61
+ yaml_row += " %s: '%s'\n" % [data_hash['fields'][index], col]
62
62
  end
63
63
  end
64
64
  yaml_output += "%s\n" % yaml_row
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: databasion
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Jones
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-12-15 00:00:00 +09:00
19
+ date: 2010-12-22 00:00:00 +09:00
20
20
  default_executable: databasion
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency