ss_manager 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a004427df871dd9940fd617c8d1f3b05a2e36a07
4
- data.tar.gz: 22b9828eaa7d9d626a612e848cf2d56b4278bd58
3
+ metadata.gz: be849db3ea02fc9f96e7ce338fad3e123e477b84
4
+ data.tar.gz: 5bf3bc1a19dd39832761335f64939150129adc5a
5
5
  SHA512:
6
- metadata.gz: 05e96fd24d5730c64eca77525e0c85db8a9af58f0c74d590300b88b12efa7df2e1a9f10cfd1959e89b097c12f0d7ae6cb1b8c360273159434cc703950487192d
7
- data.tar.gz: 702db049c8497f300120b3c67e9d56badd0a8234bf4fb1b3a73515596680a4f84acb0aae424467eff9a92541cc4653125b9b7c742ed5ce33ab1a630da205599d
6
+ metadata.gz: f2d70760e329735388d4a51cd874219d5683b821e90f4fd26ab52e4d8dac0f00f6c92a20d0170e1c34eeebc325728a83b6e4e22c950c44bb3994436c2b3c2f49
7
+ data.tar.gz: ab914003d753597f9dcaa57409f16a84e4d123371acd71028d057fb1aade835f882235f6c0d0b3c684f484c085c50e06963e634df5dfb6ad4dfd100838b14802
data/README.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # SsManager
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ss_manager`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ session manager for object-oriented manage session and destroy sessions by session destroyer on server start
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
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
- TODO: Write usage instructions here
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ss_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolay Martynov AKA Fearlessstar