culturecode_stagehand 0.7.6 → 0.7.7

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
  SHA1:
3
- metadata.gz: ef31ac1bdf3fa5e82de39bb047520c99cb6faf55
4
- data.tar.gz: 8f8454b533e4ecfb9603c9999199d45388e1ae54
3
+ metadata.gz: 1861fc3a02203ebab5d3564e539f075696507126
4
+ data.tar.gz: aa63f9de3c39afcea634c3b29797fdfde3e7cef6
5
5
  SHA512:
6
- metadata.gz: 668eb122732c4e0b528dec2e97c76c517941f744680cefd4bce66de43989ca37803b1d39e51c34058106d9cfa63c46cbe336e78a8a86073b35cadedd4d9e1b13
7
- data.tar.gz: 986c48486a2be7acdbac0ee1d2f145faa3da79d11df3d284e9fd3f86b00f2b92bded618bb812be75c6757f817588edb853ad5fcb559903bbb39729faba1356ba
6
+ metadata.gz: cabf6017f79933f3c395e1ba85601473c65a31f51e32003acd8af2615e32a65fd69b968238e4ad39f1c963c66024bc0fb271d77aa29da18447420845f10d5ba0
7
+ data.tar.gz: 45fcd03db08c98b81cac61d42cc7e1ef761f94d7c73f1259f1bf08feae3f7825c8e810baca4b25d785ef1e802070fd22bb51f7f51d0e6145ccb0bc3d93c9cd07
@@ -168,7 +168,8 @@ module Stagehand
168
168
  end
169
169
 
170
170
  def filter_entries(entries)
171
- @confirmation_filter ? entries.select {|entry| @confirmation_filter.call(entry.record) } : entries
171
+ return entries unless @confirmation_filter
172
+ return entries.select {|entry| @confirmation_filter.call(entry.record) if entry.record }
172
173
  end
173
174
  end
174
175
  end
@@ -1,3 +1,3 @@
1
1
  module Stagehand
2
- VERSION = "0.7.6"
2
+ VERSION = "0.7.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: culturecode_stagehand
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Jakobsen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-21 00:00:00.000000000 Z
12
+ date: 2016-06-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  requirements: []
110
110
  rubyforge_project:
111
- rubygems_version: 2.4.5.1
111
+ rubygems_version: 2.5.1
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Simplify the management of a sandbox database that can sync content to a