scope_composer 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Zjg2M2ViZjVlMTlmNjk2ODg2ZjJkYjIyMjljZDNmZDJiYTU5YzBhOA==
4
+ YTUxOTViNDczMGU0MTRkYjEzNzUzNWVhZTkzNWNmYWYxYjAyNjZjZQ==
5
5
  data.tar.gz: !binary |-
6
- OTc0OTQwMGFlZjVkYzY0OTkzMTU3ZDAwMmZmMDgzYjQ3MGQ4MDVkMQ==
6
+ Yzg1NWNlZGRhM2I1YWZiM2ZiZWNkZDJiZmQ5ZTlmMmRiMThjZTkxNw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MDEyY2FkOTNmY2U1NWUxYjU4YjAwMDYxZDEyNmQ1ZmQzYTQ0NmM2ODZhNDdj
10
- NzFkODgwYzAxZmJkYTYwMWU5MzQ5ODE1ODg4YzY1ZWRkNTc1MjJmOWNmYWI0
11
- NDEwOTg0ZGRmNDI4MWIzODI3NWMxNDU3ZWVhNzk2NWI2ZjczZDM=
9
+ YmNmYzU5NDc0NzY5MTQxZmJlNTQ3Y2NlNTIyYmU2MzQ5OTFlNmIxYzdkMDI1
10
+ MzEyZjdkZjE3MGVmMjFjNzJjMjExZTM4Yjg4Njg4MzgwYjRlNGEyNTkzNTg3
11
+ N2I3Zjg1MjY1NmE2NWQwZGNiNTU1ZDg2OWQwOGU3ZDk0NmU4ZGU=
12
12
  data.tar.gz: !binary |-
13
- MDI5ODY2MTAyZTlhYTdmYTRmYjIzODg3YTQ0YjExNDAzOTdhOGQ5NDc3ZjE1
14
- YTVjNjQ5NDVmOTdiOWFjMDg1MjhkYzdmZTFhMGNjOWUwMzgwZGM0Yjk4NGEy
15
- YTNiNzQ2M2U5MmZjYmFkZmQ3NjFjYjEwMjVjYzFiNmRjZGQ5ODQ=
13
+ NjdkOTBkYTRhZjcxZmM1ZDFhZGQ4MTlmMzEwMWZiZWY0NjU5Zjk4ODAzZjgz
14
+ YzhjZDBlYWY4Y2I5YWE5Y2RmOGEyZmIyNzk3ZTA3MWFiMjIyMzIwMTUzYjA3
15
+ ODVlNjAwMDc3NTAzMzY1OGFjMTE4NjVmMjkxZjBjYmY5ZjIxMzk=
@@ -149,6 +149,7 @@ class Scope
149
149
  end
150
150
 
151
151
  def write_scope_attribute(key, values)
152
+ return unless values.compact.present?
152
153
  scope_attributes[key] = (values.count == 1) ? values.first : values
153
154
  end
154
155
 
@@ -1,3 +1,3 @@
1
1
  module ScopeComposer
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scope_composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Hilscher