ruby-saml-bm 0.6.8 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -156,7 +156,8 @@ module Onelogin
156
156
  return true if options[:skip_conditions]
157
157
 
158
158
  if not_before = parse_time(conditions, "NotBefore")
159
- if Time.now.utc < not_before
159
+ # adding one minute offset to avoid possible time drift between ADFS server and Redmine's server.
160
+ if Time.now.utc + 60 < not_before
160
161
  return soft ? false : validation_error("Current time is earlier than NotBefore condition")
161
162
  end
162
163
  end
@@ -1,5 +1,5 @@
1
1
  module Onelogin
2
2
  module Saml
3
- VERSION = '0.6.8'
3
+ VERSION = '0.7.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ruby-saml-bm
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.8
5
+ version: 0.7.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Extreme Development