seed_dump 3.3.0 → 3.3.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
  SHA256:
3
- metadata.gz: 6ad701d741d9d678ca2d18480816402ba57d0210ad05850f831071b97ee17dc2
4
- data.tar.gz: 2cddc929053a270b34504df28b864aedbd883cf33f05897541a663fe89794c7e
3
+ metadata.gz: b3ef68666d03715b3fb9f373025af97819527ce9f2cf2c68cca2237b9453901a
4
+ data.tar.gz: 444459b826e138ab26977b25d0b94439f42a3debbfbab922a40bb88a64a6e1d3
5
5
  SHA512:
6
- metadata.gz: c89bbe066ed9ebf63299cbb3d3b097c672e7f1ca2ea9897f52a07d152f2946e525715f7ba29eccedb7369601d70a38c261b55190be4175b2f6925a569fa27e52
7
- data.tar.gz: e316ce680fa0266bb1b6ee7ae85b76780812e23ef48ad1a72a78fe9a5ed6390d3db7f913bb9741def118850a8b15fd2a633faf552c0ca41a9c09ef306f4a7e10
6
+ metadata.gz: 526f868754d161d41ee9771502b35c1aa6658b695a7f7a8eca695b2515da5926f2fa02f6c1aff478cb5f5d07e0d1842ed1221d0900df4fe7f50267dace0de0a8
7
+ data.tar.gz: 0b6629fb2b2baea086bb16d76b36b02d659f77f1330b351d7a311b8658e4ad993f14121fd04267ba4d3eadc7b301c04092b776276317c74068ddb015bc83380e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.3.0
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
 
@@ -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.0 ruby lib
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.0"
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-04-20"
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.0
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-04-20 00:00:00.000000000 Z
12
+ date: 2018-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport