rails-archiver 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails-archiver/archiver.rb +2 -2
- data/rails-archiver.gemspec +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc1b521101d84755190144096b2d1d97ac2e66e7
|
4
|
+
data.tar.gz: bcf461951a3da9969bcbf8ab3b32edb776f20e6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d286d61a14be69f8d076e3a9e3cb0ffcda2492df14cd79945ee0ef16e282b73ed699ab81865def9fdc96be52e32f4d578a72aadebf65fb304ae27a5bea1541e
|
7
|
+
data.tar.gz: 7b53b02be218bedaba1eaef692d9a0a4ac05fda3135d39fec9f628d449a9e590e881a6d9c1c620e2226bc0559ddd81b9f00fb770059427c09807dfcc6b8ec015
|
@@ -148,8 +148,8 @@ module RailsArchiver
|
|
148
148
|
new_nodes = node.send(assoc.name)
|
149
149
|
next if new_nodes.blank?
|
150
150
|
|
151
|
-
if new_nodes.respond_to?(:
|
152
|
-
new_nodes.
|
151
|
+
if new_nodes.respond_to?(:find_each)
|
152
|
+
new_nodes.find_each { |n| _visit_association(n) }
|
153
153
|
else
|
154
154
|
_visit_association(new_nodes)
|
155
155
|
end
|
data/rails-archiver.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'rails-archiver'
|
3
3
|
s.require_paths = %w(. lib lib/rails-archiver)
|
4
|
-
s.version = '0.1.
|
5
|
-
s.date = '
|
4
|
+
s.version = '0.1.2'
|
5
|
+
s.date = '2018-05-03'
|
6
6
|
s.summary = 'Fully archive a Rails model'
|
7
7
|
s.description = <<-EOF
|
8
8
|
EOF
|
@@ -15,4 +15,4 @@ EOF
|
|
15
15
|
s.add_dependency 'rails', '>= 3.0'
|
16
16
|
s.add_dependency 'aws-sdk', '~> 2.6'
|
17
17
|
|
18
|
-
end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-archiver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Orner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.
|
77
|
+
rubygems_version: 2.6.14
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Fully archive a Rails model
|