g5_authentication_client 1.0.0.pre.1 → 1.0.0.pre.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: ec977846ba08302b591fe6ad9f7b14029df428da
4
- data.tar.gz: c4a075849add4076e9a11d8ca1eb9ad609c5b146
3
+ metadata.gz: e468551ead4c5635ac68c7bdf2641460e6239611
4
+ data.tar.gz: df7896686c5b47a340b2fe9b41c4ee54bfae7303
5
5
  SHA512:
6
- metadata.gz: 01163f1a683de2961d057164a3d43ae83c783ba2f23c4c26656458547d2fbd84dbaff09a26db98a74ef97e88dc542043d311f677bb416c22ba57d76e5f0044dc
7
- data.tar.gz: b00e09b45f75ed1aad18bf5c554d7b77fe79970ab0eea6be53920db1176810820a4a245bf4c9aba0f81eae7d20b23dbc9368f028e64ab31ad6f9624bb4165fb4
6
+ metadata.gz: 467e8456f1f216d10b9f73403c77e58331a072db5c0f0451d25a722b1b10c88a41c598ad1f306acfcbd3baadf54ea4ad23bae990554b5f7ded5fbf14c16f73ef
7
+ data.tar.gz: ba3302d4b55eb2d35c1cb71ba177bacc322f815bbe38dd9498e5bd5518de296dc51a91beeaa5c56c229456c21c651cad263ea2d1ef2d9e008ba1193daf4a137e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v1.0.0.pre.2 (2017-06-09)
2
+
3
+ * Enhancement: opt in to immutable string literals for ruby >= 2.3
4
+
1
5
  ## v1.0.0.pre.1 (2017-06-08)
2
6
 
3
7
  * **Backwards incompatible changes**
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
- source "http://rubygems.org"
1
+ # frozen_string_literal: true
2
+
3
+ source 'http://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in g5_authentication_client.gemspec
4
6
  gemspec
data/Rakefile CHANGED
@@ -1,9 +1,11 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
2
4
 
3
5
  require 'rspec/core/rake_task'
4
6
  RSpec::Core::RakeTask.new(:spec)
5
7
 
6
- task :default => :spec
8
+ task default: :spec
7
9
 
8
10
  namespace :doc do
9
11
  require 'yard'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module G5AuthenticationClient::AuthTokenHelper
2
4
  # Return response to 'yield'
3
5
  # Yield response should have a 'code' method for the http status code
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'addressable/uri'
2
4
 
3
5
  module G5AuthenticationClient
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'configlet'
2
4
  require 'logger'
3
5
 
@@ -1,5 +1,6 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module G5AuthenticationClient
2
4
  class Error < StandardError
3
-
4
5
  end
5
6
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'modelish'
2
4
 
3
5
  module G5AuthenticationClient
@@ -26,6 +28,5 @@ module G5AuthenticationClient
26
28
  validate!
27
29
  raise ArgumentError.new("URN required when type != '#{GLOBAL}'") if urn.nil? && type != GLOBAL
28
30
  end
29
-
30
31
  end
31
32
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'modelish'
2
4
 
3
5
  module G5AuthenticationClient
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'modelish'
2
4
  require 'g5_authentication_client/role'
3
5
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module G5AuthenticationClient
4
- VERSION = '1.0.0.pre.1'
4
+ VERSION = '1.0.0.pre.2'
5
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'oauth2'
2
4
  require 'g5_authentication_client/version'
3
5
  require 'g5_authentication_client/configuration'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe G5AuthenticationClient::AuthTokenHelper do
@@ -51,4 +53,4 @@ describe G5AuthenticationClient::AuthTokenHelper do
51
53
  end
52
54
  end
53
55
  end
54
- end
56
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
  require 'json'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe G5AuthenticationClient::Configuration do
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
 
3
3
  require 'spec_helper'
4
4
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe G5AuthenticationClient::TokenInfo do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe G5AuthenticationClient do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  shared_examples_for 'a module configured attribute' do |attribute_name,default_value|
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  # Requires the following to be defined in the surrounding context
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_authentication_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.1
4
+ version: 1.0.0.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Revels