gsterndale-warrant 0.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.
@@ -0,0 +1,4 @@
1
+ ---
2
+ :patch: 0
3
+ :major: 0
4
+ :minor: 0
@@ -0,0 +1 @@
1
+ require 'warrant/app/controllers/application_controller'
@@ -0,0 +1,28 @@
1
+ module Warrant
2
+ module Test
3
+ module TestHelper
4
+
5
+ def self.included(test_helper)
6
+ test_helper.class_eval do
7
+
8
+ # def sign_in_as(user = nil)
9
+ # unless user
10
+ # user = Factory(:registered_user)
11
+ # user.confirm_email!
12
+ # end
13
+ # @request.session[:user_id] = user.id
14
+ # @request.session[:salt] = user.salt
15
+ # return user
16
+ # end
17
+ #
18
+ # def sign_out
19
+ # @request.session[:user_id] = nil
20
+ # @request.session[:salt] = nil
21
+ # end
22
+
23
+ end
24
+ end
25
+
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ require 'test/unit'
3
+ require 'shoulda'
4
+ require 'mocha'
5
+
6
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
7
+ require 'warrant'
8
+
9
+ class Test::Unit::TestCase
10
+ end
@@ -0,0 +1,7 @@
1
+ require File.dirname(__FILE__) + '/test_helper'
2
+
3
+ class WarrantTest < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gsterndale-warrant
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Greg Sterndale
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-01-23 00:00:00 -08:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: authorization and attribute obfuscation
17
+ email: gsterndale@gmail.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
24
+ files:
25
+ - VERSION.yml
26
+ - lib/warrant
27
+ - lib/warrant/app
28
+ - lib/warrant/app/controllers
29
+ - lib/warrant/app/controllers/application_controller.rb
30
+ - lib/warrant/test
31
+ - lib/warrant/test/functional
32
+ - lib/warrant/test/test_helper.rb
33
+ - lib/warrant.rb
34
+ - test/test_helper.rb
35
+ - test/warrant_test.rb
36
+ has_rdoc: true
37
+ homepage: http://github.com/gsterndale/warrant
38
+ post_install_message:
39
+ rdoc_options:
40
+ - --inline-source
41
+ - --charset=UTF-8
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: "0"
49
+ version:
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: "0"
55
+ version:
56
+ requirements: []
57
+
58
+ rubyforge_project:
59
+ rubygems_version: 1.2.0
60
+ signing_key:
61
+ specification_version: 2
62
+ summary: authorization and attribute obfuscation
63
+ test_files: []
64
+