gitlab_config 0.4.1 → 0.4.2

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: 155b8bd1d8f757dd59f318bc2c05716044a28b69
4
- data.tar.gz: c595a21eeaafa3c5f0574663d00f012db2b6aa42
3
+ metadata.gz: 844899bcb19e4dfb01e87f5cacc90a1207b33078
4
+ data.tar.gz: 85c0e166229a48bec89dbe71bdedbea8f1583331
5
5
  SHA512:
6
- metadata.gz: bb3cd0df7a152c2aa678545ee9e1ff8bdc2daa342f0e40e9645cd4246a5dfb1227d7fc6b79aed31cda8cf8b0f0690f8f7e2c8240d6e6fbb3fefba37a61154202
7
- data.tar.gz: 3f8b00c2289ae4e472ab7c77a0a458efe126c4dd64c0b28d39f769a0c0f077028ed09584d01f3ff00ba13240f5d1a931964214190207e4714d164e6eaafcc258
6
+ metadata.gz: ac349b07dc4032a1967c054a8a2ddff1451094d19fcb5fb1878c8f3bc9026211f0c8aeac3c76f304bf903fe58b9588d700dce6caf5cb030001386851a8070e77
7
+ data.tar.gz: 49ea6eb76e9956de4239afa04749b6ca468f46f00957c51e6b82974eecefc0367473d6200986b276cc0131967800cd5f04c233dbcf0d665928668385b5666619
@@ -45,7 +45,7 @@ module GitlabConfig
45
45
 
46
46
  # Validate that the options hash has the iam object enabled
47
47
  def has_iam?
48
- iam = @options.fetch(:iam)
48
+ iam = @options.fetch(:iam, nil)
49
49
  iam.respond_to?(:key) && iam.respond_to?(:secret)
50
50
  end
51
51
 
@@ -1,3 +1,3 @@
1
1
  module GitlabConfig
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: gitlab_config
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
  - Andrew Tarry