access 2.1.0 → 2.1.1

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: 190c815f0a7b20f8a5d4619fe2313adaff7e6de4
4
- data.tar.gz: f9992621bf7b304a81c76ead57b5e97453dd113a
3
+ metadata.gz: bcfee6fba949b6f690c46a643dd6549bd14ffb0d
4
+ data.tar.gz: 86822828b5bd2863bd7c77fc17730e155ee2548f
5
5
  SHA512:
6
- metadata.gz: 6887426697922b8dce90212dbbd9607ec4d6628b191be94de508da481edd022893c9d054b48c40e6601fbe8c45ad648901317c2c8d8fad1f80384f94559f9f85
7
- data.tar.gz: bae6eceac3ee10cad3b2ae9b1cf5f7373d236ddf996c0f5c41c32ca179073bd13100ccc1b58b3e21f1be7db834c6e84e13612fec454adab888a38bb263b0796c
6
+ metadata.gz: 4b102099757e57fcfa7876e4b319d9e0b50f17ea6c4bd679a24b396a577bbdd56eb382b7a072635f637f6583ad6fe76058e852ac845e02a9029108197c5cdd3a
7
+ data.tar.gz: e7cc0f07e418b635773ae11368b4da798ef65f106f795c13bde6f98e2ac97f59c249477678c083e85c347ff1f51007bdbe7827e143e65f642d2f7a289c71e9c7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- access (2.1.0)
4
+ access (2.1.1)
5
5
  hashie (~> 3.3.1)
6
6
  httparty (~> 0.13.3)
7
7
 
@@ -111,6 +111,3 @@ DEPENDENCIES
111
111
  simplecov
112
112
  vcr
113
113
  webmock
114
-
115
- BUNDLED WITH
116
- 1.13.6
@@ -156,7 +156,7 @@ module Access
156
156
  def process_data
157
157
  if @members && @members.any?
158
158
  @members = Access::Member.process_batch(@members)
159
- @users = @members.map {|x| x if x.user }.compact
159
+ @users = @members.map {|x| x if x.try(:user) }.compact
160
160
  elsif @users && @users.any?
161
161
  @users = Access::User.process_batch(@users)
162
162
  end
@@ -1,4 +1,4 @@
1
1
  module Access
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
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.1.0
4
+ version: 2.1.1
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: 2017-01-16 00:00:00.000000000 Z
13
+ date: 2017-02-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -406,7 +406,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
406
406
  version: '0'
407
407
  requirements: []
408
408
  rubyforge_project:
409
- rubygems_version: 2.4.8
409
+ rubygems_version: 2.4.5
410
410
  signing_key:
411
411
  specification_version: 4
412
412
  summary: Ruby wrapper for Access API