sixarm_ruby_sign_out 1.1.5 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c39431191e3abecf200ff0d967ad399540f7375
4
- data.tar.gz: 9e301d75b1cfd9e6822e8f743aa7f5dae7a52eb7
3
+ metadata.gz: 873a118c9814c6ae066103120e99fbab663cc8e9
4
+ data.tar.gz: dc6336446c599db30d6e4519670ea0fdbf41dd63
5
5
  SHA512:
6
- metadata.gz: 61394aa86809472115313c5599abd1611d742ab861525fbbf4b531da6d26aa6b7184ff30506b4060c391f59a0be0a41ca996fe1f8b18e698650900933d1dd806
7
- data.tar.gz: 116a21398b9d4416c7f94a43c0623211686ab75946de0c259e4cd1927cc2408905f539a9ed7d55649b7b6454d0fb0e8b4a738cc0b6d867e47ed2aa915495cb82
6
+ metadata.gz: '099d8670686011f8fda1369642e84d5d69bf94d8b1348838025d76386674f1652a0bf8c7df6913abc8f4217ed1cf28c50d34cb9e6cbcf944fd51c820143f2e29'
7
+ data.tar.gz: 7f20751e843fa94ef62a091d7b3f17a44b14f87c049909e46da39b14eb34bceb88b201ceecc94439e07daffe7a98f9cb5d42b4d8ddd42bf34f8242891728cbfc
Binary file
data.tar.gz.sig CHANGED
Binary file
data/Rakefile CHANGED
@@ -2,33 +2,10 @@
2
2
  require "rake"
3
3
  require "rake/testtask"
4
4
 
5
+ task :default => [:test]
6
+
5
7
  Rake::TestTask.new(:test) do |t|
6
- t.libs << 'lib' << 'test'
7
- t.pattern = 'test/*.rb'
8
+ t.libs.push("lib", "test")
9
+ t.pattern = "test/**/*.rb"
8
10
  end
9
11
  task :default => [:test]
10
- task :default => [:test]
11
- task :default => [:test]
12
- task :default => [:test]
13
- task :default => [:test]
14
- task :default => [:test]
15
- task :default => [:test]
16
- task :default => [:test]
17
- task :default => [:test]
18
- task :default => [:test]
19
- task :default => [:test]
20
- task :default => [:test]
21
- task :default => [:test]
22
- task :default => [:test]
23
- task :default => [:test]
24
- task :default => [:test]
25
- task :default => [:test]
26
- task :default => [:test]
27
- task :default => [:test]
28
- task :default => [:test]
29
- task :default => [:test]
30
- task :default => [:test]
31
- task :default => [:test]
32
- task :default => [:test]
33
- task :default => [:test]
34
- task :default => [:test]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sixarm_ruby_sign_out
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SixArm
@@ -44,30 +44,119 @@ cert_chain:
44
44
  2AC9FOGkybW6DJEFSFFMlNk0IILsa/gNp8ufGuTVLWF9FUUdMNK+TMbghnifT8/1
45
45
  n+ES/gQPOnvmVkLDGw==
46
46
  -----END CERTIFICATE-----
47
- date: 2015-07-09 00:00:00.000000000 Z
48
- dependencies: []
47
+ date: 2017-08-13 00:00:00.000000000 Z
48
+ dependencies:
49
+ - !ruby/object:Gem::Dependency
50
+ name: minitest
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 5.7.0
56
+ - - "<"
57
+ - !ruby/object:Gem::Version
58
+ version: '6'
59
+ type: :development
60
+ prerelease: false
61
+ version_requirements: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 5.7.0
66
+ - - "<"
67
+ - !ruby/object:Gem::Version
68
+ version: '6'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sixarm_ruby_minitest_extensions
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 1.0.5
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.5
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">"
88
+ - !ruby/object:Gem::Version
89
+ version: 10.4.2
90
+ - - "<"
91
+ - !ruby/object:Gem::Version
92
+ version: '11'
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">"
98
+ - !ruby/object:Gem::Version
99
+ version: 10.4.2
100
+ - - "<"
101
+ - !ruby/object:Gem::Version
102
+ version: '11'
103
+ - !ruby/object:Gem::Dependency
104
+ name: simplecov
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: 0.10.0
110
+ - - "<"
111
+ - !ruby/object:Gem::Version
112
+ version: '2'
113
+ type: :development
114
+ prerelease: false
115
+ version_requirements: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: 0.10.0
120
+ - - "<"
121
+ - !ruby/object:Gem::Version
122
+ version: '2'
123
+ - !ruby/object:Gem::Dependency
124
+ name: coveralls
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: 0.8.2
130
+ - - "<"
131
+ - !ruby/object:Gem::Version
132
+ version: '2'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: 0.8.2
140
+ - - "<"
141
+ - !ruby/object:Gem::Version
142
+ version: '2'
49
143
  description: Sign Out abstraction for a typical web app user
50
144
  email: sixarm@sixarm.com
51
145
  executables: []
52
146
  extensions: []
53
147
  extra_rdoc_files: []
54
148
  files:
55
- - ".gemtest"
56
- - CHANGES.md
57
- - CONTRIBUTING.md
58
- - LICENSE.md
59
- - README.md
60
149
  - Rakefile
61
- - VERSION
62
150
  - lib/sixarm_ruby_sign_out.rb
63
151
  - test/sixarm_ruby_sign_out_test.rb
64
152
  homepage: http://sixarm.com/
65
153
  licenses:
66
- - BSD
67
- - GPL
154
+ - Apache-2.0
155
+ - Artistic-2.0
156
+ - BSD-3-Clause
157
+ - GPL-3.0
68
158
  - MIT
69
- - PAL
70
- - Various
159
+ - MPL-2.0
71
160
  metadata: {}
72
161
  post_install_message:
73
162
  rdoc_options: []
@@ -85,9 +174,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
174
  version: '0'
86
175
  requirements: []
87
176
  rubyforge_project:
88
- rubygems_version: 2.4.8
177
+ rubygems_version: 2.6.12
89
178
  signing_key:
90
179
  specification_version: 4
91
- summary: SixArm.com » Ruby » Sign Out
180
+ summary: SixArm.com Ruby Sign Out
92
181
  test_files:
93
182
  - test/sixarm_ruby_sign_out_test.rb
metadata.gz.sig CHANGED
Binary file
data/.gemtest DELETED
File without changes
data/CHANGES.md DELETED
@@ -1,4 +0,0 @@
1
- # Changes
2
-
3
- * 2015-07-07 1.1.5 Update gemspec to use file manifest
4
- * 2012-03-14 1.1.4 Update docs, tests
@@ -1,28 +0,0 @@
1
- # Contributing
2
-
3
- Thank you for contributing!
4
-
5
- If you would like to contribute a donation, an easy way is to use PayPal to sixarm@sixarm.com.
6
-
7
- If you would like to contribute help, the next section is for you.
8
-
9
-
10
- ## Contributing to the source
11
-
12
- We love pull requests for improvments to the source code and documentation.
13
-
14
- There are three easy steps:
15
-
16
- 1. Fork the repo.
17
-
18
- * Before you do any work please run our existing tests to make sure the code runs cleanly.
19
-
20
- 2. Work as you like.
21
-
22
- * Please create tests. This helps us know that all your code runs cleanly.
23
-
24
- 3. Push to your fork and submit a pull request.
25
-
26
- * We'll take a look as soon as we can; this is typically within a business day.
27
-
28
- Thank you again!
data/LICENSE.md DELETED
@@ -1,28 +0,0 @@
1
- # License
2
-
3
- You may choose any of these open source licenses:
4
-
5
- * Apache License
6
- * BSD License
7
- * CreativeCommons License, Non-commercial Share Alike
8
- * GNU Affero General Public License (AGPL)
9
- * GNU General Public License Version (GPL)
10
- * GNU Lesser General Public License (LGPL)
11
- * MIT License
12
- * Perl Artistic License
13
- * Ruby License
14
-
15
- The software is provided "as is", without warranty of any kind,
16
- express or implied, including but not limited to the warranties of
17
- merchantability, fitness for a particular purpose and noninfringement.
18
-
19
- In no event shall the authors or copyright holders be liable for any
20
- claim, damages or other liability, whether in an action of contract,
21
- tort or otherwise, arising from, out of or in connection with the
22
- software or the use or other dealings in the software.
23
-
24
- This license is for the included software that is created by SixArm.
25
- Some of the included software may have its own licenses, copyrights,
26
- authors, etc. and these may take precedence over the SixArm license.
27
-
28
- Copyright (c) Joel Parker Henderson
data/README.md DELETED
@@ -1,91 +0,0 @@
1
- # SixArm.com » Ruby » <br> SignOut interface for typical Rails user sign out
2
-
3
- [![Code Climate](https://codeclimate.com/github/SixArm/sixarm_ruby_sign_out.png)](https://codeclimate.com/github/SixArm/sixarm_ruby_sign_out)
4
- [![Build Status](https://travis-ci.org/SixArm/sixarm_ruby_sign_out.png)](https://travis-ci.org/SixArm/sixarm_ruby_sign_out)
5
-
6
- * Doc: <http://sixarm.com/sixarm_ruby_sign_out/doc>
7
- * Gem: <http://rubygems.org/gems/sixarm_ruby_sign_out>
8
- * Repo: <http://github.com/sixarm/sixarm_ruby_sign_out>
9
- * Email: Joel Parker Henderson, <joel@sixarm.com>
10
-
11
-
12
- ## Introduction
13
-
14
- Sign Out simple abstract framework.
15
-
16
- You can include this module in your application controller,
17
- then your controller can define any of these concrete methods.
18
-
19
- For docs go to <http://sixarm.com/sixarm_ruby_sign_out/doc>
20
-
21
- Want to help? We're happy to get pull requests.
22
-
23
-
24
- ## Install quickstart
25
-
26
- Install:
27
-
28
- gem install sixarm_ruby_sign_out
29
-
30
- Bundler:
31
-
32
- gem "sixarm_ruby_sign_out", ">=1.1.5", "<2"
33
-
34
- Require:
35
-
36
- require "sixarm_ruby_sign_out"
37
-
38
-
39
- ## Install with security (optional)
40
-
41
- To enable high security for all our gems:
42
-
43
- wget http://sixarm.com/sixarm.pem
44
- gem cert --add sixarm.pem
45
- gem sources --add http://sixarm.com
46
-
47
- To install with high security:
48
-
49
- gem install sixarm_ruby_sign_out --trust-policy HighSecurity
50
-
51
-
52
- ## Details
53
-
54
- This provides one top-level method:
55
-
56
- sign_out(options=nil) => true for success, false for failure
57
-
58
- The top level method will call mid-level methods
59
- that you will define in your own controller.
60
-
61
- sign_out calls:
62
-
63
- sign_out_attempt(options=nil), e.g. unset the current user
64
- sign_out_success(options=nil), e.g. redirect to a goodbye page
65
- sign_out_failure(options=nil), e.g. flash warning help message
66
-
67
-
68
- ## AuthLogic Example
69
-
70
- AuthLogic provides this example:
71
-
72
- def destroy
73
- current_user_session.destroy
74
- redirect_to new_user_session_url
75
- end
76
-
77
- The same example written using Sign Out to provide better structure and security:
78
-
79
- def sign_out_attempt
80
- current_user_session.destroy
81
- current_user_session.frozen? or raise SecurityError, "Problem with sign out ... ", caller
82
- end
83
-
84
- def sign_out_success
85
- redirect_to new_user_session_url
86
- end
87
-
88
- def sign_out_failure
89
- # The AuthLogic example doesn't handle this case unfortunately;
90
- # we should handle it because it indicates something is amiss.
91
- end
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.1.5