ss_manager 0.1.0 → 0.1.2
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 +4 -4
- data/README.md +43 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be849db3ea02fc9f96e7ce338fad3e123e477b84
|
4
|
+
data.tar.gz: 5bf3bc1a19dd39832761335f64939150129adc5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2d70760e329735388d4a51cd874219d5683b821e90f4fd26ab52e4d8dac0f00f6c92a20d0170e1c34eeebc325728a83b6e4e22c950c44bb3994436c2b3c2f49
|
7
|
+
data.tar.gz: ab914003d753597f9dcaa57409f16a84e4d123371acd71028d057fb1aade835f882235f6c0d0b3c684f484c085c50e06963e634df5dfb6ad4dfd100838b14802
|
data/README.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# SsManager
|
2
2
|
|
3
|
-
|
3
|
+
session manager for object-oriented manage session and destroy sessions by session destroyer on server start
|
4
4
|
|
5
|
-
|
5
|
+
recommend use with gem 'activerecord-session_store'
|
6
|
+
|
7
|
+
такой менеджер сессии - удобная штука на мой взгляд, если нужно много где инициализировать абстрактные материалы хранимые в сесии и всё такое, то объектно-ориентированный подход как нельзя кстати, к тому же это элегантно.
|
8
|
+
|
9
|
+
привет выживающим в россии, от выживающего в москве
|
6
10
|
|
7
11
|
## Installation
|
8
12
|
|
@@ -19,10 +23,46 @@ And then execute:
|
|
19
23
|
Or install it yourself as:
|
20
24
|
|
21
25
|
$ gem install ss_manager
|
26
|
+
|
27
|
+
to install magic files in your project
|
28
|
+
|
29
|
+
```bash
|
30
|
+
s_s_manager:install
|
31
|
+
```
|
32
|
+
|
33
|
+
|
34
|
+
before use recommended
|
35
|
+
```ruby
|
36
|
+
gem 'activerecord-session_store'
|
37
|
+
```
|
38
|
+
don't forget
|
39
|
+
```bash
|
40
|
+
rails g active_record:session_migration
|
41
|
+
```
|
42
|
+
|
43
|
+
check docs for it
|
44
|
+
http://www.rubydoc.info/gems/activerecord-session_store/1.0.0
|
45
|
+
|
22
46
|
|
23
47
|
## Usage
|
24
48
|
|
25
|
-
|
49
|
+
```bash
|
50
|
+
s_s_manager:install
|
51
|
+
```
|
52
|
+
|
53
|
+
after that u will see in config/initializers
|
54
|
+
session_manager.rb
|
55
|
+
|
56
|
+
so, write it up !
|
57
|
+
```ruby
|
58
|
+
$ss_manager
|
59
|
+
```
|
60
|
+
is your global Object-Oriented Friend !
|
61
|
+
and they defs - is command ad conquer on session on fields of controllers.
|
62
|
+
|
63
|
+
Let's do it !
|
64
|
+
|
65
|
+
|
26
66
|
|
27
67
|
## Development
|
28
68
|
|