tramway-core 1.14.3.1 → 1.14.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d03f667f8997dca0c570ae80b449a12d7130d00a9b16f1e5d8fe71d568ccb11b
4
- data.tar.gz: 95690cbe0b66318ea47033c0af50e88e0e3c8a4e84b7888572fe6afa002aed42
3
+ metadata.gz: 41b8714571b061188c54741750ce6ad4eceebc697eae2a0aeb37fe50ce17ee7c
4
+ data.tar.gz: 1c5733a543f3bd94a5f167a14b244d47a0ef642712ba725239e80481274d0b27
5
5
  SHA512:
6
- metadata.gz: b91f4f5fa16c36cee4dc62b4dd4eeece0263db623e977ab7b3918e2066c8f30e04326fac6bceaa3d153352b8d05c9d48a08168a90ffde32e65d5c1e80803ecd9
7
- data.tar.gz: 65158f90b686b43f971de927bbd99b34c66da556c2e759729eef98bed2e64639aca02010aa6ad0dd84749e226701dd9d5014a4a9e873522b124a5c695b40eff4
6
+ metadata.gz: c5b44f24790288d22365809ad3e3a109e456d6d227478dca60858961ca7fc5ac7396c7808be81431836089073b6c50b5a84f9827b0da69e48b07754a25011649
7
+ data.tar.gz: 9bac4146b38de71ba75212791e5d77049d840e75623ed3183acb27d98f83399dcbd384a6f8b20db7345286352499f76311cdca88f41a5f0bda891c9d5e809a26
data/README.md CHANGED
@@ -8,11 +8,25 @@ tramway-core - это ядро проекта [tramway](https://github.com/ulmic
8
8
 
9
9
  # Installation
10
10
 
11
+ *Gemfile*
12
+ ```ruby
13
+ gem 'tramway-core'
14
+ gem 'audited'
15
+ ```
16
+
11
17
  ```shell
12
- gem install tramway-core
13
18
  rails g tramway:core:install
14
19
  ```
15
20
 
21
+ *config/initializers/tramway.rb*
22
+ ```ruby
23
+ # Initialize application with name
24
+ Tramway::Core.initialize_application name: "Your application's name"
25
+
26
+ # Initialize application name with model_class. Model class must be a singlethon
27
+ Tramway::Core.initialize_application model_class: ::Tramway::Conference::Unity # example was taken from tramway-conference gem
28
+ ```
29
+
16
30
  # Базовые классы
17
31
 
18
32
  * ApplicationDecorator - Базовый класс декоратора. В него по умолчанию включены `ActionView::Helpers` и `ActionView::Context` и `FontAwesome5` (версия гема FontAwesome, которая поддерживает 5 версию шрифта). `FontAwesome` считается в `Tramway` основным шрифтом для иконок.
@@ -17,3 +17,9 @@ en:
17
17
  found: Found
18
18
  "yes": yes
19
19
  "no": no
20
+ tramway:
21
+ auth:
22
+ web:
23
+ sessions:
24
+ new:
25
+ title: Sign In
@@ -22,3 +22,8 @@ ru:
22
22
  welcome:
23
23
  index:
24
24
  title: Админка
25
+ auth:
26
+ web:
27
+ sessions:
28
+ new:
29
+ title: Авторизация
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Core
5
- VERSION = '1.14.3.1'
5
+ VERSION = '1.14.3.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.3.1
4
+ version: 1.14.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-22 00:00:00.000000000 Z
11
+ date: 2019-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: audited