omniauth-canvas 0.0.4 → 0.1.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.
- checksums.yaml +7 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +0 -1
- data/README.md +1 -1
- data/lib/omniauth-canvas/version.rb +1 -1
- data/omniauth-canvas.gemspec +4 -4
- metadata +21 -26
- data/.rvmrc +0 -70
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 20271a619d9bef1970331e45661119a7af267285
|
4
|
+
data.tar.gz: 86df5ee1da81acb34eabf70d4a6fb0a723c92dec
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 683b6cee0a1bb5bdb544f1411421caed65aaff844b69bf6bfd682a7466269294ede004b0f48830f220a150935da8e0daff0484cb12ba94044688333fde47ec0d
|
7
|
+
data.tar.gz: c536efca2c7b75494093e0d577a16e32e6e7e9bc6a4457762f1ccacd06fcc2b2c0ec704aaedfa80b4ff22e815dc26893a07d0a621132df0cd55a8df51b432ab9
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
omniauthcanvas
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.2.2
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -29,7 +29,7 @@ authenticate with http://canvas.instructure.com. To dynamically set the canvas s
|
|
29
29
|
|
30
30
|
## License
|
31
31
|
|
32
|
-
Copyright (C) 2012 by Justin Ball and
|
32
|
+
Copyright (C) 2012-2015 by Justin Ball and Atomic Jolt.
|
33
33
|
|
34
34
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
35
35
|
of this software and associated documentation files (the "Software"), to deal
|
data/omniauth-canvas.gemspec
CHANGED
@@ -3,10 +3,10 @@ require File.expand_path('../lib/omniauth-canvas/version', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = "Justin Ball"
|
6
|
-
gem.email = "justin@
|
6
|
+
gem.email = "justin@atomicjolt.com"
|
7
7
|
gem.description = %q{OmniAuth Oauth2 strategy for Instructure Canvas.}
|
8
8
|
gem.summary = %q{OmniAuth Oauth2 strategy for Instructure Canvas.}
|
9
|
-
gem.homepage = "https://github.com/
|
9
|
+
gem.homepage = "https://github.com/atomicjolt/omniauth-canvas"
|
10
10
|
|
11
11
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
12
12
|
gem.files = `git ls-files`.split("\n")
|
@@ -15,6 +15,6 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = OmniAuth::Canvas::VERSION
|
17
17
|
|
18
|
-
gem.add_dependency 'omniauth', '~> 1.
|
19
|
-
gem.add_dependency 'omniauth-oauth2', '~> 1.0'
|
18
|
+
gem.add_dependency 'omniauth', '~> 1.2.2'
|
19
|
+
gem.add_dependency 'omniauth-oauth2', '~> 1.3.0'
|
20
20
|
end
|
metadata
CHANGED
@@ -1,57 +1,53 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-canvas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Justin Ball
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-05-18 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: omniauth
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: 1.2.2
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
26
|
+
version: 1.2.2
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: omniauth-oauth2
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
33
|
+
version: 1.3.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
40
|
+
version: 1.3.0
|
46
41
|
description: OmniAuth Oauth2 strategy for Instructure Canvas.
|
47
|
-
email: justin@
|
42
|
+
email: justin@atomicjolt.com
|
48
43
|
executables: []
|
49
44
|
extensions: []
|
50
45
|
extra_rdoc_files: []
|
51
46
|
files:
|
52
|
-
- .gitignore
|
53
|
-
- .rspec
|
54
|
-
- .
|
47
|
+
- ".gitignore"
|
48
|
+
- ".rspec"
|
49
|
+
- ".ruby-gemset"
|
50
|
+
- ".ruby-version"
|
55
51
|
- Gemfile
|
56
52
|
- Guardfile
|
57
53
|
- README.md
|
@@ -62,29 +58,28 @@ files:
|
|
62
58
|
- omniauth-canvas.gemspec
|
63
59
|
- spec/omniauth/strategies/canvas_spec.rb
|
64
60
|
- spec/spec_helper.rb
|
65
|
-
homepage: https://github.com/
|
61
|
+
homepage: https://github.com/atomicjolt/omniauth-canvas
|
66
62
|
licenses: []
|
63
|
+
metadata: {}
|
67
64
|
post_install_message:
|
68
65
|
rdoc_options: []
|
69
66
|
require_paths:
|
70
67
|
- lib
|
71
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
69
|
requirements:
|
74
|
-
- -
|
70
|
+
- - ">="
|
75
71
|
- !ruby/object:Gem::Version
|
76
72
|
version: '0'
|
77
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
-
none: false
|
79
74
|
requirements:
|
80
|
-
- -
|
75
|
+
- - ">="
|
81
76
|
- !ruby/object:Gem::Version
|
82
77
|
version: '0'
|
83
78
|
requirements: []
|
84
79
|
rubyforge_project:
|
85
|
-
rubygems_version:
|
80
|
+
rubygems_version: 2.4.6
|
86
81
|
signing_key:
|
87
|
-
specification_version:
|
82
|
+
specification_version: 4
|
88
83
|
summary: OmniAuth Oauth2 strategy for Instructure Canvas.
|
89
84
|
test_files:
|
90
85
|
- spec/omniauth/strategies/canvas_spec.rb
|
data/.rvmrc
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
# This is an RVM Project .rvmrc file, used to automatically load the ruby
|
4
|
-
# development environment upon cd'ing into the directory
|
5
|
-
|
6
|
-
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
|
7
|
-
environment_id="ruby-1.9.3@omniauth-canvas"
|
8
|
-
|
9
|
-
#
|
10
|
-
# Uncomment following line if you want options to be set only for given project.
|
11
|
-
#
|
12
|
-
# PROJECT_JRUBY_OPTS=( --1.9 )
|
13
|
-
#
|
14
|
-
# The variable PROJECT_JRUBY_OPTS requires the following to be run in shell:
|
15
|
-
#
|
16
|
-
# chmod +x ${rvm_path}/hooks/after_use_jruby_opts
|
17
|
-
#
|
18
|
-
|
19
|
-
#
|
20
|
-
# First we attempt to load the desired environment directly from the environment
|
21
|
-
# file. This is very fast and efficient compared to running through the entire
|
22
|
-
# CLI and selector. If you want feedback on which environment was used then
|
23
|
-
# insert the word 'use' after --create as this triggers verbose mode.
|
24
|
-
#
|
25
|
-
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
|
26
|
-
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
|
27
|
-
then
|
28
|
-
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
|
29
|
-
|
30
|
-
if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
|
31
|
-
then
|
32
|
-
. "${rvm_path:-$HOME/.rvm}/hooks/after_use"
|
33
|
-
fi
|
34
|
-
else
|
35
|
-
# If the environment file has not yet been created, use the RVM CLI to select.
|
36
|
-
if ! rvm --create "$environment_id"
|
37
|
-
then
|
38
|
-
echo "Failed to create RVM environment '${environment_id}'."
|
39
|
-
return 1
|
40
|
-
fi
|
41
|
-
fi
|
42
|
-
|
43
|
-
#
|
44
|
-
# If you use an RVM gemset file to install a list of gems (*.gems), you can have
|
45
|
-
# it be automatically loaded. Uncomment the following and adjust the filename if
|
46
|
-
# necessary.
|
47
|
-
#
|
48
|
-
# filename=".gems"
|
49
|
-
# if [[ -s "$filename" ]]
|
50
|
-
# then
|
51
|
-
# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
|
52
|
-
# fi
|
53
|
-
|
54
|
-
# If you use bundler, this might be useful to you:
|
55
|
-
# if [[ -s Gemfile ]] && ! command -v bundle >/dev/null
|
56
|
-
# then
|
57
|
-
# printf "The rubygem 'bundler' is not installed. Installing it now.\n"
|
58
|
-
# gem install bundler
|
59
|
-
# fi
|
60
|
-
# if [[ -s Gemfile ]] && command -v bundle
|
61
|
-
# then
|
62
|
-
# bundle install
|
63
|
-
# fi
|
64
|
-
|
65
|
-
if [[ $- == *i* ]] # check for interactive shells
|
66
|
-
then
|
67
|
-
echo "Using: $(tput setaf 2)$GEM_HOME$(tput sgr0)" # show the user the ruby and gemset they are using in green
|
68
|
-
else
|
69
|
-
echo "Using: $GEM_HOME" # don't use colors in interactive shells
|
70
|
-
fi
|