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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd199cdd4311e3d262025eeda9e151ffddbce485
4
- data.tar.gz: b2143029806eb5b3214fa0c7428764a0ebdea2cc
3
+ metadata.gz: cc1b521101d84755190144096b2d1d97ac2e66e7
4
+ data.tar.gz: bcf461951a3da9969bcbf8ab3b32edb776f20e6f
5
5
  SHA512:
6
- metadata.gz: 1a99a0efcef10110ed36aac1e93b3fdd5219d8dbec69a99711364ede7021f75c8e06c1f26097120e10a9c1d4b47172064bcdc4edfadadfec3266a7e2c7e3e2a4
7
- data.tar.gz: 25d64f7b324d2207d4cd74b6d5d8b9a04a110a2e901269faee97fb4e45558dd3c60f0cd07da3bffa26aca6dca801f8833eed90476a0f69fb4945c1681324f357
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?(:each)
152
- new_nodes.each { |n| _visit_association(n) }
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
@@ -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.1'
5
- s.date = '2016-03-19'
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.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: 2016-03-19 00:00:00.000000000 Z
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.5.2
77
+ rubygems_version: 2.6.14
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: Fully archive a Rails model