gooddata 0.6.30 → 0.6.31

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: 005b043d3a2ee898d4002f1d4ad331515cd5500a
4
- data.tar.gz: 2be21b47914c33d28921820e862fee60b6f8b19f
3
+ metadata.gz: 50f4761558f7c34a1251027ca6d9a06d9509aa2e
4
+ data.tar.gz: 24e658280c506da6f2a6668f6341765222992ee8
5
5
  SHA512:
6
- metadata.gz: 6eaed1f722353155e2bd28510ef37a0cf76cb7727ab53f4008de32a5e17980e1bfaae31c06c81fee3cf24e3ef39592ab73ce1ac24cd46b9eb73685c89d6ee195
7
- data.tar.gz: f45253a211f415365541269c3b20affe5c6ec2b5375f03ff6b9b5ccdc4675e8c440c704d95b3273da1b8fcc7cbcee89f0e2d529aa26525b0bb32575fde5c4c0b
6
+ metadata.gz: 9c5945b527533a48a4deced2cde6ab7859ef500eef286e05d0cec3ca30652048e1e32ac778353490c4846397c9fbb0b7cc45c780af23936c0e99b31c644d5d75
7
+ data.tar.gz: 7217ea921d4bf30cad59f0f606b8da21cdba09b35f94e4dde55d7d0f088ff65146987af8775886b7567b17ade2809104d35cdfa148f926319269653744530185
@@ -1280,11 +1280,11 @@ module GoodData
1280
1280
  return [new_users, users_list] unless whitelist
1281
1281
 
1282
1282
  new_whitelist_proc = proc do |user|
1283
- whitelist.any? { |wl| wl.is_a?(Regexp) ? user[:login] =~ wl : user[:login].include?(wl) }
1283
+ whitelist.any? { |wl| wl.is_a?(Regexp) ? user[:login] =~ wl : (user[:login] && user[:login].include?(wl)) }
1284
1284
  end
1285
1285
 
1286
1286
  whitelist_proc = proc do |user|
1287
- whitelist.any? { |wl| wl.is_a?(Regexp) ? user.login =~ wl : user.login.include?(wl) }
1287
+ whitelist.any? { |wl| wl.is_a?(Regexp) ? user.login =~ wl : (user.login && user.login.include?(wl)) }
1288
1288
  end
1289
1289
 
1290
1290
  if mode == :include
@@ -6,7 +6,7 @@
6
6
 
7
7
  # GoodData Module
8
8
  module GoodData
9
- VERSION = '0.6.30'
9
+ VERSION = '0.6.31'
10
10
 
11
11
  class << self
12
12
  # Version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gooddata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.30
4
+ version: 0.6.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kolesnikov