tramway-core 1.14.3.1 → 1.14.3.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 +15 -1
- data/config/locales/en/helpers.yml +6 -0
- data/config/locales/ru/helpers.yml +5 -0
- data/lib/tramway/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41b8714571b061188c54741750ce6ad4eceebc697eae2a0aeb37fe50ce17ee7c
|
4
|
+
data.tar.gz: 1c5733a543f3bd94a5f167a14b244d47a0ef642712ba725239e80481274d0b27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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` основным шрифтом для иконок.
|
data/lib/tramway/core/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: audited
|