monk-id 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MGI0YWFmMzVhYWI1NGFjMGZmYTdlMmI5ZDhkZDE2Yzc2OTdlOTg3MA==
5
- data.tar.gz: !binary |-
6
- ZTBmZDQ2ZGZkOGNkY2Q2NzRmNzNhZTM3ZTgxMzE2NDJmZDhiNzNjMA==
2
+ SHA1:
3
+ metadata.gz: 7974d940162b4d2c706194734eb0a4aeb77d95db
4
+ data.tar.gz: 0d6eb3cc41365baca7eb4c7dc6c96d5bac4e7274
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MmQzYTYwN2UwYjA0MWVjZGE3YTQxZTU1ZDg1NTdmY2NlOGY3OTg1MDA2NTg1
10
- YTVlMThmY2E1MTFhZjcyYzhjNDM1MjJhNmYwOTgyYjYwNDA0ODlkMWE3OGJj
11
- NDM4M2RhNDQyZmNjYTkzNGYxNWI0MDEyODA4ZWViODAwNDhmOGE=
12
- data.tar.gz: !binary |-
13
- ZWY1OGU2YWI0ZDY3NzFhYmFjYzhjMjFlMDQwMzc1MGZiZDg2OTFhOGFlYjUw
14
- YzQyMDcxNzllOTk0NTJlNTg0Yjg4M2U0NmJhYjVjMGVmOTk5M2ViMzg0MWQy
15
- Y2FkYjM1MjgyMmNhNDVhMDhlZDhmYTEwMzljOTBlY2VmMDY0MjY=
6
+ metadata.gz: 002e497e7bcc03e9e98b21ec33ebe47fb750a0e990c0be11a88ec504c9c384ff483d8738294112559b3f21b12c215cdac58ace20168ce432c633f8236ac41d3c
7
+ data.tar.gz: e8bb1c0aa9594655e9d95767af2a2abdcf9634ebb1340cfb4fcce0e151743935b4fe193b1a9d7d779a172f6ede19461f22ee3c99d4cb55a806545f23205ddc2c
@@ -0,0 +1 @@
1
+ --display-cop-names
@@ -1 +1,8 @@
1
1
  require: rubocop-rspec
2
+
3
+ RSpec/MessageChain:
4
+ Enabled: false
5
+ RSpec/NestedGroups:
6
+ MaxNesting: 4
7
+ Style/FrozenStringLiteralComment:
8
+ Enabled: false
@@ -1,6 +1,7 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 2.1.1
5
- - 2.0.0
6
- - 1.9.3
4
+ - 2.4.0
5
+ - 2.3.1
6
+
7
+ sudo: false
data/Gemfile CHANGED
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  source 'https://rubygems.org'
4
2
 
5
3
  # Specify dependencies in monk-id.gemspec.
data/Guardfile CHANGED
@@ -1,13 +1,11 @@
1
- # encoding: utf-8
2
-
3
1
  guard :rspec, cmd: 'bundle exec rspec' do
4
- watch(/^spec\/.+_spec\.rb$/)
5
- watch(/^lib\/(.+)\.rb$/) { |m| "spec/lib/#{m[1]}_spec.rb" }
6
- watch('spec/helpers.rb') { 'spec' }
2
+ watch(%r{^spec/.+_spec\.rb$})
3
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
4
+ watch('spec/helpers.rb') { 'spec' }
7
5
  watch('spec/spec_helper.rb') { 'spec' }
8
6
  end
9
7
 
10
8
  guard :rubocop do
11
9
  watch(/.+\.rb$/)
12
- watch(/(?:.+\/)?\.rubocop\.yml$/) { |m| File.dirname(m[0]) }
10
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
13
11
  end
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Monk Development, Inc.
1
+ Copyright (c) 2017 Monk Development, Inc.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person
4
4
  obtaining a copy of this software and associated documentation
@@ -19,4 +19,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
19
  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
20
  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
21
  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
- OTHER DEALINGS IN THE SOFTWARE.
22
+ OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  Monk ID Ruby
2
2
  ============
3
3
 
4
- [![Gem Version](https://badge.fury.io/rb/monk-id.png)](http://badge.fury.io/rb/monk-id)
5
- [![Build Status](https://travis-ci.org/MonkDev/monk-id-ruby.svg?branch=dev)](https://travis-ci.org/MonkDev/monk-id-ruby)
6
- [![Code Climate](https://codeclimate.com/github/MonkDev/monk-id-ruby.png)](https://codeclimate.com/github/MonkDev/monk-id-ruby)
7
- [![Coverage Status](https://coveralls.io/repos/MonkDev/monk-id-ruby/badge.png?branch=dev)](https://coveralls.io/r/MonkDev/monk-id-ruby?branch=dev)
8
- [![Inline docs](http://inch-ci.org/github/MonkDev/monk-id-ruby.png)](http://inch-ci.org/github/MonkDev/monk-id-ruby)
9
- [![Dependency Status](https://gemnasium.com/MonkDev/monk-id-ruby.svg)](https://gemnasium.com/MonkDev/monk-id-ruby)
4
+ [![Gem Version](https://img.shields.io/gem/v/monk-id.svg?style=flat)](http://badge.fury.io/rb/monk-id)
5
+ [![Build Status](https://img.shields.io/travis/MonkDev/monk-id-ruby/dev.svg?style=flat)](https://travis-ci.org/MonkDev/monk-id-ruby)
6
+ [![Code Climate](https://img.shields.io/codeclimate/github/MonkDev/monk-id-ruby.svg?style=flat)](https://codeclimate.com/github/MonkDev/monk-id-ruby)
7
+ [![Coverage Status](https://img.shields.io/coveralls/MonkDev/monk-id-ruby/dev.svg?style=flat)](https://coveralls.io/r/MonkDev/monk-id-ruby?branch=dev)
8
+ [![Dependency Status](https://img.shields.io/gemnasium/MonkDev/monk-id-ruby.svg?style=flat)](https://gemnasium.com/MonkDev/monk-id-ruby)
9
+ [![Inline docs](http://inch-ci.org/github/MonkDev/monk-id-ruby.svg?branch=dev&style=flat)](http://inch-ci.org/github/MonkDev/monk-id-ruby)
10
10
 
11
11
  Integrate Monk ID authentication and single sign-on for apps and websites on the
12
12
  server-side.
@@ -18,7 +18,7 @@ Overview
18
18
 
19
19
  Monk ID authentication and single sign-on works in the browser by integrating
20
20
  [Monk ID JS](https://github.com/MonkDev/monk-id-js). Only being able to check
21
- whether a user is signed in on the client-side is limiting, however, which is
21
+ whether a user is logged in on the client-side is limiting, however, which is
22
22
  where this library is helpful. It takes a payload from the client-side
23
23
  JavaScript and decodes it for access in your Ruby code. There is no Monk ID API
24
24
  that can be accessed on the server-side, so this library depends on client-side
@@ -79,10 +79,10 @@ Loading the payload must be done before trying to access any values stored in
79
79
  the payload. In Rails, this usually means placing it in a `before_action` in
80
80
  your `ApplicationController`.
81
81
 
82
- Once the payload is loaded, you can ask whether the user is signed in:
82
+ Once the payload is loaded, you can ask whether the user is logged in:
83
83
 
84
84
  ```ruby
85
- Monk::Id.signed_in?
85
+ Monk::Id.logged_in?
86
86
  ```
87
87
 
88
88
  Or for their ID and email:
@@ -92,7 +92,7 @@ Monk::Id.user_id
92
92
  Monk::Id.user_email
93
93
  ```
94
94
 
95
- `nil` is returned if the user isn't signed in or the payload can't be decoded
95
+ `nil` is returned if the user isn't logged in or the payload can't be decoded
96
96
  and verified.
97
97
 
98
98
  Development
@@ -101,7 +101,7 @@ Development
101
101
  [Bundler](http://bundler.io) is used heavily for development, so be sure to have
102
102
  it installed along with a version of Ruby.
103
103
 
104
- Once those are installed and working, installing the development dependencies:
104
+ Once those are installed and working, install the development dependencies:
105
105
 
106
106
  ```bash
107
107
  $ bundle
@@ -140,12 +140,11 @@ $ rake spec
140
140
  code coverage report to the `coverage` directory on every run of the test suite.
141
141
 
142
142
  Continuous integration is setup through [Travis CI](https://travis-ci.org/MonkDev/monk-id-ruby)
143
- to run the tests against Ruby v1.9.3, v2.0.0, and v2.1.1.
144
- ([Circle CI](https://circleci.com/gh/MonkDev/monk-id-ruby) is also setup to run
145
- the tests against Ruby v1.9.3, but is backup for now until multiple versions can
146
- easily be specified.) The SimpleCov results are sent to [Coveralls](https://coveralls.io/r/MonkDev/monk-id-ruby)
147
- during CI for tracking over time. Badges for both are dispayed at the top of
148
- this README.
143
+ to run the tests against Ruby v2.3 and v2.4. ([Circle CI](https://circleci.com/gh/MonkDev/monk-id-ruby)
144
+ is also setup to run the tests against Ruby v2.3, but is backup for now until
145
+ multiple versions can easily be specified.) The SimpleCov results are sent to
146
+ [Coveralls](https://coveralls.io/r/MonkDev/monk-id-ruby) during CI for tracking
147
+ over time. Badges for both are dispayed at the top of this README.
149
148
 
150
149
  #### Manual
151
150
 
data/Rakefile CHANGED
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'bundler/gem_tasks'
4
2
  require 'rspec/core/rake_task'
5
3
  require 'rubocop/rake_task'
data/circle.yml CHANGED
@@ -1,6 +1,10 @@
1
1
  machine:
2
2
  ruby:
3
- version: 1.9.3-p448
3
+ version: 2.3.1
4
+
5
+ general:
6
+ artifacts:
7
+ - "coverage"
4
8
 
5
9
  test:
6
10
  override:
@@ -0,0 +1,4 @@
1
+ #!/bin/bash
2
+
3
+ gem install bundler
4
+ bundle install
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'base64'
4
2
  require 'json'
5
3
  require 'openssl'
@@ -78,29 +76,32 @@ module Monk
78
76
  @payload = valid ? payload : {}
79
77
  end
80
78
 
81
- # Get the signed in user's UUID.
79
+ # Get the logged in user's UUID.
82
80
  #
83
- # @return [String] If signed in user.
84
- # @return [nil] If no signed in user.
81
+ # @return [String] If logged in user.
82
+ # @return [nil] If no logged in user.
85
83
  def user_id
86
84
  payload_user(:id)
87
85
  end
88
86
 
89
- # Get the signed in user's email address.
87
+ # Get the logged in user's email address.
90
88
  #
91
- # @return [String] If signed in user.
92
- # @return [nil] If no signed in user.
89
+ # @return [String] If logged in user.
90
+ # @return [nil] If no logged in user.
93
91
  def user_email
94
92
  payload_user(:email)
95
93
  end
96
94
 
97
- # Check whether there's a signed in user.
95
+ # Check whether there's a logged in user.
98
96
  #
99
- # @return [Boolean] Whether there's a signed in user.
100
- def signed_in?
97
+ # @return [Boolean] Whether there's a logged in user.
98
+ def logged_in?
101
99
  !user_id.nil?
102
100
  end
103
101
 
102
+ # @deprecated Since v1.2.0. Use {#logged_in?}.
103
+ alias signed_in? logged_in?
104
+
104
105
  protected
105
106
 
106
107
  # Loaded config values.
@@ -146,9 +147,9 @@ module Monk
146
147
  # @raise [RuntimeError] If invalid.
147
148
  # @return [true] If valid.
148
149
  def valid_config?(config)
149
- fail 'no config loaded' unless config
150
- fail 'no `app_id` config value' unless config['app_id']
151
- fail 'no `app_secret` config value' unless config['app_secret']
150
+ raise 'no config loaded' unless config
151
+ raise 'no `app_id` config value' unless config['app_id']
152
+ raise 'no `app_secret` config value' unless config['app_secret']
152
153
 
153
154
  true
154
155
  end
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  # Global Monk namespace.
4
2
  module Monk
5
3
  # Integrate Monk ID on the server-side by accessing payloads from the
@@ -8,6 +6,6 @@ module Monk
8
6
  # @author Monk Development, Inc.
9
7
  module Id
10
8
  # Current version of the library.
11
- VERSION = '1.1.1'.freeze
9
+ VERSION = '1.2.0'.freeze
12
10
  end
13
11
  end
@@ -1,9 +1,8 @@
1
- # encoding: utf-8
2
-
3
1
  lib = File.expand_path('../lib', __FILE__)
4
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
3
  require 'monk/id/version'
6
4
 
5
+ # rubocop:disable Metrics/BlockLength
7
6
  Gem::Specification.new do |spec|
8
7
  spec.name = 'monk-id'
9
8
  spec.version = Monk::Id::VERSION.dup
@@ -16,23 +15,24 @@ Gem::Specification.new do |spec|
16
15
  spec.license = 'MIT'
17
16
 
18
17
  spec.files = `git ls-files -z`.split("\x0")
19
- spec.executables = spec.files.grep(/^bin\//) { |f| File.basename(f) }
20
- spec.test_files = spec.files.grep(/^(test|spec|features)\//)
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
21
20
  spec.require_paths = ['lib']
22
21
 
23
22
  spec.required_ruby_version = '>= 1.9.3'
24
23
 
25
24
  spec.add_development_dependency 'bundler', '~> 1.6'
26
- spec.add_development_dependency 'coveralls', '~> 0.7'
27
- spec.add_development_dependency 'gem-release', '~> 0.7'
28
- spec.add_development_dependency 'guard', '~> 2.6'
29
- spec.add_development_dependency 'guard-rspec', '~> 4.3'
30
- spec.add_development_dependency 'guard-rubocop', '~> 1.1'
31
- spec.add_development_dependency 'rake', '~> 10.3'
32
- spec.add_development_dependency 'redcarpet', '~> 3.1'
33
- spec.add_development_dependency 'rspec', '~> 3.0'
34
- spec.add_development_dependency 'rubocop', '~> 0.25'
35
- spec.add_development_dependency 'rubocop-rspec', '~> 1.2'
36
- spec.add_development_dependency 'simplecov', '~> 0.9'
37
- spec.add_development_dependency 'yard', '~> 0.8'
25
+ spec.add_development_dependency 'coveralls', '~> 0.8.17'
26
+ spec.add_development_dependency 'gem-release', '~> 0.7.4'
27
+ spec.add_development_dependency 'guard', '~> 2.14.0'
28
+ spec.add_development_dependency 'guard-rspec', '~> 4.7.3'
29
+ spec.add_development_dependency 'guard-rubocop', '~> 1.2.0'
30
+ spec.add_development_dependency 'rake', '~> 12.0.0'
31
+ spec.add_development_dependency 'redcarpet', '~> 3.4.0'
32
+ spec.add_development_dependency 'rspec', '~> 3.5.0'
33
+ spec.add_development_dependency 'rubocop', '~> 0.46.0'
34
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.9.1'
35
+ spec.add_development_dependency 'simplecov', '~> 0.12.0'
36
+ spec.add_development_dependency 'yard', '~> 0.9.5'
38
37
  end
38
+ # rubocop:enable Metrics/BlockLength
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  # Helpers that are included in every spec.
4
2
  module Helpers
5
3
  def spec_path
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'spec_helper'
4
2
 
5
3
  describe Monk::Id do
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'spec_helper'
4
2
 
5
3
  describe Monk::Id do
@@ -26,7 +24,7 @@ describe Monk::Id do
26
24
  end
27
25
 
28
26
  context 'when a config is not loaded' do
29
- before(:each) { reset_config }
27
+ before { reset_config }
30
28
  after(:all) { load_config }
31
29
 
32
30
  it 'loads a config from the environment' do
@@ -38,7 +36,7 @@ describe Monk::Id do
38
36
  end
39
37
 
40
38
  describe '.load_config' do
41
- before(:each) { reset_config }
39
+ before { reset_config }
42
40
  after(:all) { load_config }
43
41
 
44
42
  describe '(path)' do
@@ -99,8 +97,8 @@ describe Monk::Id do
99
97
  end
100
98
 
101
99
  context 'when the environment is Rails' do
102
- before(:each) { mock_rails }
103
- after(:each) { remove_rails }
100
+ before { mock_rails }
101
+ after { remove_rails }
104
102
 
105
103
  context 'when the path is not specified' do
106
104
  it 'loads ::CONFIG_FILE relative to Rails' do
@@ -118,8 +116,8 @@ describe Monk::Id do
118
116
  end
119
117
 
120
118
  context 'when the environment is Sinatra' do
121
- before(:each) { mock_sinatra }
122
- after(:each) { remove_sinatra }
119
+ before { mock_sinatra }
120
+ after { remove_sinatra }
123
121
 
124
122
  context 'when the path is not specified' do
125
123
  it 'loads ::CONFIG_FILE relative to Sinatra' do
@@ -156,7 +154,7 @@ describe Monk::Id do
156
154
  end
157
155
 
158
156
  describe '.load_payload' do
159
- before(:each) { reset_payload }
157
+ before { reset_payload }
160
158
  after(:all) { reset_payload }
161
159
 
162
160
  context 'when the payload is valid' do
@@ -191,12 +189,12 @@ describe Monk::Id do
191
189
  end
192
190
  end
193
191
 
194
- context 'when signed in' do
192
+ context 'when logged in' do
195
193
  before(:all) { described_class.load_payload(valid_payload) }
196
194
  after(:all) { reset_payload }
197
195
 
198
- describe '.signed_in?' do
199
- it { expect(described_class.signed_in?).to be }
196
+ describe '.logged_in?' do
197
+ it { expect(described_class.logged_in?).to eq(true) }
200
198
  end
201
199
 
202
200
  describe '.user_email' do
@@ -213,9 +211,9 @@ describe Monk::Id do
213
211
  end
214
212
  end
215
213
 
216
- context 'when signed out' do
217
- describe '.signed_in?' do
218
- it { expect(described_class.signed_in?).not_to be }
214
+ context 'when logged out' do
215
+ describe '.logged_in?' do
216
+ it { expect(described_class.logged_in?).to eq(false) }
219
217
  end
220
218
 
221
219
  describe '.user_email' do
@@ -226,4 +224,10 @@ describe Monk::Id do
226
224
  it { expect(described_class.user_id).to be_nil }
227
225
  end
228
226
  end
227
+
228
+ describe '.signed_in?' do
229
+ it 'is deprecated in favor of .logged_in?' do
230
+ expect(described_class.signed_in?).to eq(described_class.logged_in?)
231
+ end
232
+ end
229
233
  end
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'helpers'
4
2
  require 'simplecov'
5
3
  require 'coveralls'
metadata CHANGED
@@ -1,197 +1,197 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monk-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Monk Development, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-03 00:00:00.000000000 Z
11
+ date: 2017-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coveralls
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.7'
33
+ version: 0.8.17
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.7'
40
+ version: 0.8.17
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: gem-release
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.7'
47
+ version: 0.7.4
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.7'
54
+ version: 0.7.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: guard
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.6'
61
+ version: 2.14.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.6'
68
+ version: 2.14.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: guard-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '4.3'
75
+ version: 4.7.3
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '4.3'
82
+ version: 4.7.3
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: guard-rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.1'
89
+ version: 1.2.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.1'
96
+ version: 1.2.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '10.3'
103
+ version: 12.0.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '10.3'
110
+ version: 12.0.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: redcarpet
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '3.1'
117
+ version: 3.4.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '3.1'
124
+ version: 3.4.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '3.0'
131
+ version: 3.5.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '3.0'
138
+ version: 3.5.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rubocop
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0.25'
145
+ version: 0.46.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '0.25'
152
+ version: 0.46.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop-rspec
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ~>
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '1.2'
159
+ version: 1.9.1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ~>
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '1.2'
166
+ version: 1.9.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ~>
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '0.9'
173
+ version: 0.12.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ~>
178
+ - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '0.9'
180
+ version: 0.12.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: yard
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ~>
185
+ - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '0.8'
187
+ version: 0.9.5
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ~>
192
+ - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '0.8'
194
+ version: 0.9.5
195
195
  description: Integrate Monk ID authentication and single sign-on for apps and websites
196
196
  on the server-side.
197
197
  email:
@@ -200,13 +200,14 @@ executables: []
200
200
  extensions: []
201
201
  extra_rdoc_files: []
202
202
  files:
203
- - .editorconfig
204
- - .gitattributes
205
- - .gitignore
206
- - .rspec
207
- - .rubocop.yml
208
- - .travis.yml
209
- - .yardopts
203
+ - ".editorconfig"
204
+ - ".gitattributes"
205
+ - ".gitignore"
206
+ - ".rspec"
207
+ - ".rubocop"
208
+ - ".rubocop.yml"
209
+ - ".travis.yml"
210
+ - ".yardopts"
210
211
  - Gemfile
211
212
  - Guardfile
212
213
  - LICENSE
@@ -214,6 +215,7 @@ files:
214
215
  - Rakefile
215
216
  - circle.yml
216
217
  - config/monk_id.sample.yml
218
+ - development.sh
217
219
  - lib/monk/id.rb
218
220
  - lib/monk/id/version.rb
219
221
  - monk-id.gemspec
@@ -234,17 +236,17 @@ require_paths:
234
236
  - lib
235
237
  required_ruby_version: !ruby/object:Gem::Requirement
236
238
  requirements:
237
- - - ! '>='
239
+ - - ">="
238
240
  - !ruby/object:Gem::Version
239
241
  version: 1.9.3
240
242
  required_rubygems_version: !ruby/object:Gem::Requirement
241
243
  requirements:
242
- - - ! '>='
244
+ - - ">="
243
245
  - !ruby/object:Gem::Version
244
246
  version: '0'
245
247
  requirements: []
246
248
  rubyforge_project:
247
- rubygems_version: 2.2.2
249
+ rubygems_version: 2.5.1
248
250
  signing_key:
249
251
  specification_version: 4
250
252
  summary: Integrate Monk ID authentication and single sign-on for apps and websites
@@ -257,4 +259,3 @@ test_files:
257
259
  - spec/lib/monk/id/version_spec.rb
258
260
  - spec/lib/monk/id_spec.rb
259
261
  - spec/spec_helper.rb
260
- has_rdoc: