model_subsets 0.0.7 → 0.0.8

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.
data/lib/model_subsets.rb CHANGED
@@ -145,7 +145,7 @@ module ModelSubsets
145
145
  source_options = @subsets[source_subset].clone
146
146
  source_options.delete :template
147
147
  options = source_options.merge options
148
- options[:scopes] = [source_options[:scopes], options[:scopes]].flatten if source_options[:scopes]
148
+ options[:scopes] = [source_options[:scopes], options[:scopes]].flatten.uniq if source_options[:scopes]
149
149
  end
150
150
 
151
151
  # Include all opt-out fieldsets by default
@@ -1,3 +1,3 @@
1
1
  module ModelSubsets
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model_subsets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: