onelogin 0.1.0 → 1.0.0

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.
@@ -1,3 +1,3 @@
1
- module Onelogin
2
- VERSION = "0.1.0"
3
- end
1
+ module OneLogin
2
+ VERSION = "1.0.0"
3
+ end
data/lib/onelogin.rb CHANGED
@@ -1,5 +1 @@
1
- require "onelogin/version"
2
-
3
- module Onelogin
4
- # Your code goes here...
5
- end
1
+ require 'onelogin/api'
data/onelogin.gemspec CHANGED
@@ -1,27 +1,45 @@
1
1
  # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
2
+ lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'onelogin/version'
4
+ require "onelogin/version"
5
5
 
6
- Gem::Specification.new do |gem|
7
- gem.name = "onelogin"
8
- gem.version = Onelogin::VERSION
9
- gem.authors = ["cmthakur", "bivek"]
10
- gem.email = ["cmthakur.r2s@gmail.com", "bardan.rana@gmail.com"]
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "onelogin"
8
+ spec.version = OneLogin::VERSION
9
+ spec.platform = Gem::Platform::RUBY
10
+ spec.authors = ["OneLogin"]
11
+ spec.email = ["support@onelogin.com"]
12
+ spec.license = 'MIT'
13
+ spec.homepage = "https://github.com/onelogin/onelogin-ruby-sdk"
14
+ spec.rubyforge_project = %q{http://www.rubygems.org/gems/onelogin-ruby-sdk}
15
+ spec.summary = %q{OneLogin's Ruby SDK.}
16
+ spec.description = %q{OneLogin's Ruby SDK. Use this API client to interact with OneLogin's platform}
17
+ spec.extra_rdoc_files = [
18
+ "LICENSE",
19
+ "README.md"
20
+ ]
11
21
 
12
- gem.summary = %q{OneLogin Api wrapper}
13
- gem.description = %q{
14
- This Gem use OneLogin’s product API to interact with your organization’s data and to develop third-party apps that incorporate and build upon OneLogin’s core product features.
15
- For more info visit https://developers.onelogin.com/docs
16
- }
17
- gem.homepage = "https://github.com/cmthakur/onelogin"
18
- gem.license = "MIT"
19
- gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
- gem.bindir = "exe"
21
- gem.executables = gem.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
- gem.require_paths = ["lib"]
22
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
23
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
24
+ if spec.respond_to?(:metadata)
25
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
26
+ else
27
+ raise "RubyGems 2.0 or newer is required to protect against " \
28
+ "public gem pushes."
29
+ end
23
30
 
24
- gem.add_development_dependency "bundler", "~> 1.11"
25
- gem.add_development_dependency "rake", "~> 10.0"
26
- gem.add_development_dependency "rspec", "~> 3.0"
27
- end
31
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
32
+ f.match(%r{^(test|spec|features)/})
33
+ end
34
+ spec.bindir = "exe"
35
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
36
+ spec.require_paths = ["lib"]
37
+ spec.required_ruby_version = '>= 1.9.3'
38
+
39
+ spec.add_runtime_dependency('httparty', '>=0.13.7')
40
+ spec.add_runtime_dependency('nokogiri', '>=1.6.3.1')
41
+
42
+ spec.add_development_dependency "bundler", "~> 1.15"
43
+ spec.add_development_dependency "rake", "~> 10.0"
44
+ spec.add_development_dependency "rspec", "~> 3.0"
45
+ end
metadata CHANGED
@@ -1,30 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onelogin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - cmthakur
8
- - bivek
7
+ - OneLogin
9
8
  autorequire:
10
9
  bindir: exe
11
10
  cert_chain: []
12
- date: 2016-02-29 00:00:00.000000000 Z
11
+ date: 2017-10-03 00:00:00.000000000 Z
13
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.13.7
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.13.7
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.6.3.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.6.3.1
14
41
  - !ruby/object:Gem::Dependency
15
42
  name: bundler
16
43
  requirement: !ruby/object:Gem::Requirement
17
44
  requirements:
18
45
  - - "~>"
19
46
  - !ruby/object:Gem::Version
20
- version: '1.11'
47
+ version: '1.15'
21
48
  type: :development
22
49
  prerelease: false
23
50
  version_requirements: !ruby/object:Gem::Requirement
24
51
  requirements:
25
52
  - - "~>"
26
53
  - !ruby/object:Gem::Version
27
- version: '1.11'
54
+ version: '1.15'
28
55
  - !ruby/object:Gem::Dependency
29
56
  name: rake
30
57
  requirement: !ruby/object:Gem::Requirement
@@ -53,33 +80,56 @@ dependencies:
53
80
  - - "~>"
54
81
  - !ruby/object:Gem::Version
55
82
  version: '3.0'
56
- description: "\n This Gem use OneLogin’s product API to interact with your organization’s
57
- data and to develop third-party apps that incorporate and build upon OneLogin’s
58
- core product features.\n For more info visit https://developers.onelogin.com/docs\n
59
- \ "
83
+ description: OneLogin's Ruby SDK. Use this API client to interact with OneLogin's
84
+ platform
60
85
  email:
61
- - cmthakur.r2s@gmail.com
62
- - bardan.rana@gmail.com
86
+ - support@onelogin.com
63
87
  executables: []
64
88
  extensions: []
65
- extra_rdoc_files: []
89
+ extra_rdoc_files:
90
+ - LICENSE
91
+ - README.md
66
92
  files:
67
93
  - ".gitignore"
68
94
  - ".travis.yml"
69
95
  - CODE_OF_CONDUCT.md
70
96
  - Gemfile
71
- - LICENSE.txt
97
+ - LICENSE
72
98
  - README.md
73
99
  - Rakefile
74
100
  - bin/console
75
101
  - bin/setup
76
102
  - lib/onelogin.rb
103
+ - lib/onelogin/api.rb
104
+ - lib/onelogin/api/client.rb
105
+ - lib/onelogin/api/cursor.rb
106
+ - lib/onelogin/api/models.rb
107
+ - lib/onelogin/api/models/app.rb
108
+ - lib/onelogin/api/models/device.rb
109
+ - lib/onelogin/api/models/embed_app.rb
110
+ - lib/onelogin/api/models/event.rb
111
+ - lib/onelogin/api/models/event_type.rb
112
+ - lib/onelogin/api/models/group.rb
113
+ - lib/onelogin/api/models/mfa.rb
114
+ - lib/onelogin/api/models/onelogin_token.rb
115
+ - lib/onelogin/api/models/rate_limit.rb
116
+ - lib/onelogin/api/models/role.rb
117
+ - lib/onelogin/api/models/saml_endpoint_response.rb
118
+ - lib/onelogin/api/models/session_token_info.rb
119
+ - lib/onelogin/api/models/session_token_mfa_info.rb
120
+ - lib/onelogin/api/models/user.rb
121
+ - lib/onelogin/api/models/user_data.rb
122
+ - lib/onelogin/api/models/user_metadata.rb
123
+ - lib/onelogin/api/util.rb
124
+ - lib/onelogin/api/util/constants.rb
125
+ - lib/onelogin/api/util/url_builder.rb
77
126
  - lib/onelogin/version.rb
78
127
  - onelogin.gemspec
79
- homepage: https://github.com/cmthakur/onelogin
128
+ homepage: https://github.com/onelogin/onelogin-ruby-sdk
80
129
  licenses:
81
130
  - MIT
82
- metadata: {}
131
+ metadata:
132
+ allowed_push_host: https://rubygems.org
83
133
  post_install_message:
84
134
  rdoc_options: []
85
135
  require_paths:
@@ -88,16 +138,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
138
  requirements:
89
139
  - - ">="
90
140
  - !ruby/object:Gem::Version
91
- version: '0'
141
+ version: 1.9.3
92
142
  required_rubygems_version: !ruby/object:Gem::Requirement
93
143
  requirements:
94
144
  - - ">="
95
145
  - !ruby/object:Gem::Version
96
146
  version: '0'
97
147
  requirements: []
98
- rubyforge_project:
99
- rubygems_version: 2.4.8
148
+ rubyforge_project: http://www.rubygems.org/gems/onelogin-ruby-sdk
149
+ rubygems_version: 2.2.2
100
150
  signing_key:
101
151
  specification_version: 4
102
- summary: OneLogin Api wrapper
152
+ summary: OneLogin's Ruby SDK.
103
153
  test_files: []
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016 cmthakur
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.