concerto_identity 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1967cf84f81c92bd7ebb1fba801e7a98c630c894
4
+ data.tar.gz: 2563f565362f29558998590c7a193c2c828600b6
5
+ SHA512:
6
+ metadata.gz: 81d713a25c90431be6399371dde7916c5653d33bc8c97279295e805fb39f19644daafb7322bd0e441c71f8616b54af91e2f123ef30d88672acc60c143e2e5479
7
+ data.tar.gz: 0dfeafbea0903d36c1232da0cc721f8ac16d8ab096c6c91243a762e3b066b9a73c013a795970e29261ae2110a46dd6be83415aff530afb2b7f1f93a909556ca4
data/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright 2014 Concerto Authors
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
data/README.md ADDED
@@ -0,0 +1,6 @@
1
+ ConcertoIdentity
2
+ ================
3
+
4
+ This Rails plugin provides the abstraction layer between single sign on identities and Concerto users.
5
+
6
+ This allows Concerto users to sign on using multiple SSO methods.
data/Rakefile ADDED
@@ -0,0 +1,34 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'ConcertoIdentity'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.rdoc')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+ APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18
+ load 'rails/tasks/engine.rake'
19
+
20
+
21
+
22
+ Bundler::GemHelper.install_tasks
23
+
24
+ require 'rake/testtask'
25
+
26
+ Rake::TestTask.new(:test) do |t|
27
+ t.libs << 'lib'
28
+ t.libs << 'test'
29
+ t.pattern = 'test/**/*_test.rb'
30
+ t.verbose = false
31
+ end
32
+
33
+
34
+ task default: :test
@@ -0,0 +1,4 @@
1
+ module ConcertoIdentity
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -0,0 +1,7 @@
1
+ module ConcertoIdentity
2
+ class Identity < ActiveRecord::Base
3
+
4
+ belongs_to :user
5
+
6
+ end
7
+ end
@@ -0,0 +1,11 @@
1
+ class CreateConcertoIdentities < ActiveRecord::Migration
2
+ def change
3
+ create_table :concerto_identities do |t|
4
+ t.integer :user_id
5
+ t.string :external_id
6
+ t.string :provider
7
+
8
+ t.timestamps
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,15 @@
1
+ module ConcertoIdentity
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace ConcertoIdentity
4
+ engine_name 'concerto_identity'
5
+
6
+ # Define plugin information for the Concerto application to read.
7
+ # Do not modify @plugin_info outside of this static configuration block.
8
+ def plugin_info(plugin_info_class)
9
+ @plugin_info ||= plugin_info_class.new do
10
+
11
+ add_route("concerto_identity", ConcertoIdentity::Engine)
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,3 @@
1
+ module ConcertoIdentity
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,4 @@
1
+ require "concerto_identity/engine"
2
+
3
+ module ConcertoIdentity
4
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :concerto_cas_auth do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: concerto_identity
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Kenley Cheung
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.9
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.9
27
+ description: Provides an abstraction between multiple single sign on identities and
28
+ Concerto users
29
+ email:
30
+ - ken@lordkenthegreat.com
31
+ executables: []
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - app/helpers/concerto_identity/application_helper.rb
36
+ - app/models/concerto_identity/identity.rb
37
+ - db/migrate/20140717191020_create_concerto_identities.rb
38
+ - lib/concerto_identity/engine.rb
39
+ - lib/concerto_identity/version.rb
40
+ - lib/concerto_identity.rb
41
+ - lib/tasks/concerto_cas_auth_tasks.rake
42
+ - LICENSE
43
+ - Rakefile
44
+ - README.md
45
+ homepage: http://concerto-signage.org
46
+ licenses:
47
+ - Apache-2.0
48
+ metadata: {}
49
+ post_install_message:
50
+ rdoc_options: []
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - '>='
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ requirements: []
64
+ rubyforge_project:
65
+ rubygems_version: 2.0.14
66
+ signing_key:
67
+ specification_version: 4
68
+ summary: Abstract identity layer for Concerto
69
+ test_files: []