cas-client 0.1.1 → 0.1.2.pre.p0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96baa1db33fae644eec3bfb28abaa0c3daf4fec7f462eac40a6e5507d9dec14d
4
- data.tar.gz: 89b8e77e15703e848475763d43758d6556ff6b36c4f2126ddcdf5cefc2282b4f
3
+ metadata.gz: be13c915ec8e9830807e7f52b3193dca4fb69da436d9704dddb95bd211de6abd
4
+ data.tar.gz: a920ff3fa29286744363e90e6b68a2a8851d642e830ed7a7de0f27fbf505313b
5
5
  SHA512:
6
- metadata.gz: 411c50fa37dcb0ffa14961af8205c49d2eb3bbf79617a4f498d096e6c89b199d62a5abde7a0c218b6e117b94d8e5745afb96ca878ebc15b8babe5ff2446dbe2b
7
- data.tar.gz: ac2ad4790bfe1d4bc4e901fd91a3c6d5601aa8bdd7e5fdbcaba9f4fe227b01957adc6778d4a0c37314660d07e50f33cf7323d990aad0551993de374c788b92c9
6
+ metadata.gz: 6ed89db4a849674014436b9f3e755bfb725d039147d2d19850807917dcf0f35cff0cd654f67e7cc074aa82c78caf14d4a9c04a05aeafdcc45d55a00e0658dcae
7
+ data.tar.gz: 0f3861ea3b1807bd1178065ad8bd4ef4aae85191708120e9e43a0611c87b9377e2981f3caa48e2cc729e17722673f7231284b19294ec07851d18ba7998e81f53
data/.gitignore CHANGED
@@ -6,6 +6,7 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ *.gem
9
10
 
10
11
  # rspec failure tracking
11
12
  .rspec_status
@@ -1,11 +1,11 @@
1
1
 
2
2
  lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "cas_client/version"
4
+ require "cas/client/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "cas-client"
8
- spec.version = CasClient::VERSION
8
+ spec.version = Cas::Client::VERSION
9
9
  spec.authors = ["Donavan White"]
10
10
  spec.email = ["donavan.white@americanfinancing.net"]
11
11
 
@@ -0,0 +1,22 @@
1
+ module Cas
2
+ module Client
3
+ class Rack
4
+ def initialize(app)
5
+ @app = app
6
+ end
7
+
8
+ def call(env)
9
+ puts "CAS Client Called from Rack!"
10
+ status, headers, response = @app.call(env)
11
+
12
+ response_body = ""
13
+ response.each { |part| response_body += part }
14
+ response_body += "CAS Client Called!!!"
15
+
16
+ headers["Content-Length"] = response_body.length.to_s
17
+
18
+ [status, headers, response_body]
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,5 @@
1
+ module Cas
2
+ module Client
3
+ VERSION = "0.1.2-p0"
4
+ end
5
+ end
data/lib/cas-client.rb ADDED
@@ -0,0 +1,6 @@
1
+ require 'client/version'
2
+
3
+ module Cas
4
+ module Client
5
+ end
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cas-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2.pre.p0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donavan White
@@ -69,9 +69,10 @@ files:
69
69
  - Rakefile
70
70
  - bin/console
71
71
  - bin/setup
72
- - cas_client.gemspec
73
- - lib/cas_client.rb
74
- - lib/cas_client/version.rb
72
+ - cas-client.gemspec
73
+ - lib/cas-client.rb
74
+ - lib/cas/client/rack.rb
75
+ - lib/cas/client/version.rb
75
76
  homepage: ''
76
77
  licenses:
77
78
  - MIT
@@ -87,9 +88,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
88
  version: '0'
88
89
  required_rubygems_version: !ruby/object:Gem::Requirement
89
90
  requirements:
90
- - - ">="
91
+ - - ">"
91
92
  - !ruby/object:Gem::Version
92
- version: '0'
93
+ version: 1.3.1
93
94
  requirements: []
94
95
  rubyforge_project:
95
96
  rubygems_version: 2.7.6
@@ -1,3 +0,0 @@
1
- module CasClient
2
- VERSION = "0.1.1"
3
- end
data/lib/cas_client.rb DELETED
@@ -1,5 +0,0 @@
1
- require "cas_client/middleware"
2
- require "cas_client/version"
3
-
4
- module CASClient
5
- end