oa-casport 0.1.0 → 0.1.1

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.
data/README CHANGED
@@ -0,0 +1,30 @@
1
+ # oa-casport is a custom strategy for authentication with Casport that works with the OmniAuth gem
2
+
3
+ ## Examples:
4
+
5
+ You can see how to set it up and use it with a Rails 3 application at: [https://github.com/stevenhaddox/oa-casport-rails3](https://github.com/stevenhaddox/oa-casport-rails3)
6
+
7
+ \#TODO: You can see how to set it up and use it with a Sinatra application at: [https://github.com/stevenhaddox/oa-casport-sinatra](https://github.com/stevenhaddox/oa-casport-sinatra)
8
+
9
+ ## Configuration Parameters:
10
+
11
+ Configuration within the initializer for OmniAuth:
12
+
13
+ # @example Basic Usage
14
+ #
15
+ # use OmniAuth::Strategies::Casport, {
16
+ # :setup => true
17
+ # }
18
+ # @example Full Options Usage
19
+ #
20
+ # use OmniAuth::Strategies::Casport, {
21
+ # :setup => true,
22
+ # :cas_server => 'http://cas.slkdemos.com/users/',
23
+ # :format => 'json', 'xml', 'html', etc. || Defaults to 'xml'
24
+ # :format_header => 'application/xml',
25
+ # :ssl_ca_file => 'path/to/ca_file.crt',
26
+ # :pem_cert => '/path/to/cert.pem',
27
+ # :pem_cert_pass => 'keep it secret, keep it safe.'
28
+ # }
29
+
30
+
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Casport
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ module OmniAuth
18
18
  # use OmniAuth::Strategies::Casport, {
19
19
  # :setup => true,
20
20
  # :cas_server => 'http://cas.slkdemos.com/users/',
21
- # :format => 'xml',
21
+ # :format => 'json', 'xml', 'html', etc. || Defaults to 'xml'
22
22
  # :format_header => 'application/xml',
23
23
  # :ssl_ca_file => 'path/to/ca_file.crt',
24
24
  # :pem_cert => '/path/to/cert.pem',
@@ -7,9 +7,9 @@ Gem::Specification.new do |s|
7
7
  s.version = OmniAuth::Casport::VERSION
8
8
  s.authors = ["Jesus Jackson", "Steven Haddox"]
9
9
  s.email = ["jesusejackson@gmail.com", "stevenhaddox@shortmail.com"]
10
- s.homepage = "http://oa-casport.slkdemos.com"
10
+ s.homepage = "https://github.com/stevenhaddox/oa-casport"
11
11
  s.summary = %q{OmniAuth gem for internal casport server}
12
- s.description = %q{ Simple gem to enable rack powered Ruby apps to authenticate internally via CASPORT with ease}
12
+ s.description = %q{ Simple gem to enable rack powered Ruby apps to authenticate internally via casport with ease}
13
13
  s.rubyforge_project = "oa-casport"
14
14
 
15
15
  s.files = `git ls-files`.split("\n")
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: oa-casport
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jesus Jackson
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: "0"
48
48
  type: :runtime
49
49
  version_requirements: *id003
50
- description: " Simple gem to enable rack powered Ruby apps to authenticate internally via CASPORT with ease"
50
+ description: " Simple gem to enable rack powered Ruby apps to authenticate internally via casport with ease"
51
51
  email:
52
52
  - jesusejackson@gmail.com
53
53
  - stevenhaddox@shortmail.com
@@ -68,7 +68,7 @@ files:
68
68
  - lib/omniauth/strategies/casport.rb
69
69
  - oa-casport.gemspec
70
70
  has_rdoc: true
71
- homepage: http://oa-casport.slkdemos.com
71
+ homepage: https://github.com/stevenhaddox/oa-casport
72
72
  licenses: []
73
73
 
74
74
  post_install_message: