fixtures 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ BETA
2
+ ======
3
+
1
4
  How to use
2
5
  ======
3
6
 
@@ -14,6 +14,7 @@ def to_fixtures
14
14
  md5 = Digest::MD5.hexdigest(hash.to_s)
15
15
  string = "#{md5}:\n"
16
16
  hash.each do |key,value|
17
+ value.gsub!("\n","\n"+" "*4) if value.class == String
17
18
  string += " #{key.to_s}: #{value}\n" unless value.nil?
18
19
  end
19
20
  string += "\n"
@@ -1,3 +1,3 @@
1
1
  module Fixtures
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fixtures
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: