access 2.0.47 → 2.0.48

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: 2798a5c18928d29bab031295be486ba147541654
4
- data.tar.gz: db2f9042c8ad58b6aee63d973589cb6913c210ae
3
+ metadata.gz: 737716e2a71b0455d12238dc54700e6f3e4232e4
4
+ data.tar.gz: 971e58bbf7d2a4b3ba156af9697bfcf0bb4de4e8
5
5
  SHA512:
6
- metadata.gz: a2ea9e1132caf6ee7959f8b024a9b8b5dba003924a349fab7479ff61b53e286cbefa2ff359e87e6e1b0c3d086861a14152f1a790b7928f2e42976a09fda46d97
7
- data.tar.gz: 06f48937c774a1c483614f56eaec1a6dcdb93324c49882272769d924de04eaa4d2a84d98bf6c01c19458bf8c3bf3c7c0983b54d529f7b78b07048bd394174fb5
6
+ metadata.gz: 6bfe2610cb3a34e35fd1ae0e29e16ca586dff2b5a969c254d7a83d63afe5f8b342559fc87df13572ecca16edb01047e652993782916e0eae07d2a0b5fea5b439
7
+ data.tar.gz: 8cfd9013f881ccb0597ebddeb1812c88453af1f91be59e3a34ea4990a0418bb6da02b947d0a7baa5f1191796e98c22494c0ca168bb63a0b1b8acfa12f0176fac
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- access (2.0.47)
4
+ access (2.0.48)
5
5
  hashie (~> 3.3.1)
6
6
  httparty (~> 0.13.3)
7
7
 
@@ -139,10 +139,10 @@ module Access
139
139
 
140
140
  class UserResponse < Response
141
141
  def process_data
142
- if @members
142
+ if @members && @members.any?
143
143
  @members = Access::Member.process_batch(@members)
144
144
  @users = @members.map {|x| x if x.user }.compact
145
- elsif @users
145
+ elsif @users && @users.any?
146
146
  @users = Access::User.process_batch(@users)
147
147
  end
148
148
  end
@@ -1,4 +1,4 @@
1
1
  module Access
2
- VERSION = "2.0.47"
2
+ VERSION = "2.0.48"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: access
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.47
4
+ version: 2.0.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-02-05 00:00:00.000000000 Z
13
+ date: 2016-02-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler