seed_dump 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/seed_dump/dump_methods.rb +1 -1
- data/seed_dump.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3ef68666d03715b3fb9f373025af97819527ce9f2cf2c68cca2237b9453901a
|
4
|
+
data.tar.gz: 444459b826e138ab26977b25d0b94439f42a3debbfbab922a40bb88a64a6e1d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 526f868754d161d41ee9771502b35c1aa6658b695a7f7a8eca695b2515da5926f2fa02f6c1aff478cb5f5d07e0d1842ed1221d0900df4fe7f50267dace0de0a8
|
7
|
+
data.tar.gz: 0b6629fb2b2baea086bb16d76b36b02d659f77f1330b351d7a311b8658e4ad993f14121fd04267ba4d3eadc7b301c04092b776276317c74068ddb015bc83380e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.1
|
@@ -21,7 +21,7 @@ class SeedDump
|
|
21
21
|
# We select only string attribute names to avoid conflict
|
22
22
|
# with the composite_primary_keys gem (it returns composite
|
23
23
|
# primary key attribute names as hashes).
|
24
|
-
record.attributes.select {|key| key.is_a?(String) }.each do |attribute, value|
|
24
|
+
record.attributes.select {|key| key.is_a?(String) || key.is_a?(Symbol) }.each do |attribute, value|
|
25
25
|
attribute_strings << dump_attribute_new(attribute, value, options) unless options[:exclude].include?(attribute.to_sym)
|
26
26
|
end
|
27
27
|
|
data/seed_dump.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: seed_dump 3.3.
|
5
|
+
# stub: seed_dump 3.3.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "seed_dump".freeze
|
9
|
-
s.version = "3.3.
|
9
|
+
s.version = "3.3.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Rob Halff".freeze, "Ryan Oblak".freeze]
|
14
|
-
s.date = "2018-
|
14
|
+
s.date = "2018-05-08"
|
15
15
|
s.description = "Dump (parts) of your database to db/seeds.rb to get a headstart creating a meaningful seeds.rb file".freeze
|
16
16
|
s.email = "rroblak@gmail.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seed_dump
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Halff
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-05-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|