tramway-admin 1.14.1 → 1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -6
- data/app/helpers/tramway/admin/application_helper.rb +1 -0
- data/app/helpers/tramway/admin/cases_helper.rb +13 -0
- data/app/helpers/tramway/admin/russian_cases_helper.rb +1 -1
- data/config/locales/en/collections.yml +4 -0
- data/config/locales/en/date.yml +16 -0
- data/config/locales/en/locale.yml +11 -0
- data/config/locales/{ru.collections.yml → ru/collections.yml} +0 -0
- data/config/locales/{ru.date.yml → ru/date.yml} +0 -0
- data/config/locales/{ru.yml → ru/locale.yml} +0 -0
- data/lib/tramway/admin/version.rb +1 -1
- metadata +9 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cf845dbda8af54237e9ce7894ce89b207b4205cf872c74dbc7d0285a21d3930
|
4
|
+
data.tar.gz: e6736dc2c93fe3d6682f88e2f98bcd062a02b8556f4caabd31a348d9f16804a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64d48bc859377a33466fee90b9c9cba22dc6d392a86881b9a3f55502a5e68502a1b6cfbaf9784590023d6da999a65033eaa21e55247d0f842abe7d2c8e14df98
|
7
|
+
data.tar.gz: 4b745fb984fc04456b33bdbc0349e81d7a4fb0e2a28ee473218d46cb95fca966ab95f3b538b3d2ed8ee1923b66376b0088a82745b412b19bd296285e78d37d6d
|
data/README.md
CHANGED
@@ -1,12 +1,17 @@
|
|
1
1
|
# Tramway::Admin
|
2
2
|
Short description and motivation.
|
3
3
|
|
4
|
+
## English readme
|
5
|
+
|
6
|
+
coming soon...
|
7
|
+
|
8
|
+
## Russian readme
|
9
|
+
|
10
|
+
coming soon...
|
11
|
+
|
4
12
|
## Usage
|
5
13
|
How to use my plugin.
|
6
14
|
|
7
|
-
## Installation
|
8
|
-
Add this line to your application's Gemfile:
|
9
|
-
|
10
15
|
```ruby
|
11
16
|
gem 'tramway-admin'
|
12
17
|
```
|
@@ -16,9 +21,10 @@ And then execute:
|
|
16
21
|
$ bundle
|
17
22
|
```
|
18
23
|
|
19
|
-
|
20
|
-
|
21
|
-
|
24
|
+
*app/config/initializers/tramway.rb*
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
::Tramway::Admin.set_available_models
|
22
28
|
```
|
23
29
|
|
24
30
|
## Contributing
|
@@ -0,0 +1,16 @@
|
|
1
|
+
en:
|
2
|
+
defaults: &defaults
|
3
|
+
month_names:
|
4
|
+
[~, January, February, March, April, May, June, July, August, September, October, November, December]
|
5
|
+
formats:
|
6
|
+
default: "%B %d %Y"
|
7
|
+
short: "%m/%d/%Y"
|
8
|
+
date:
|
9
|
+
<<: *defaults
|
10
|
+
order:
|
11
|
+
- :day
|
12
|
+
- :month
|
13
|
+
- :year
|
14
|
+
time:
|
15
|
+
<<: *defaults
|
16
|
+
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: '1.15'
|
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-08
|
11
|
+
date: 2019-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-kaminari-views
|
@@ -242,6 +242,7 @@ files:
|
|
242
242
|
- app/controllers/tramway/export/application_controller.rb
|
243
243
|
- app/helpers/tramway/admin/additional_buttons_builder.rb
|
244
244
|
- app/helpers/tramway/admin/application_helper.rb
|
245
|
+
- app/helpers/tramway/admin/cases_helper.rb
|
245
246
|
- app/helpers/tramway/admin/focus_generator_helper.rb
|
246
247
|
- app/helpers/tramway/admin/inputs_helper.rb
|
247
248
|
- app/helpers/tramway/admin/navbar_helper.rb
|
@@ -272,9 +273,12 @@ files:
|
|
272
273
|
- app/views/tramway/admin/welcome/index.html.haml
|
273
274
|
- config/initializers/assets.rb
|
274
275
|
- config/initializers/ckeditor.rb
|
275
|
-
- config/locales/
|
276
|
-
- config/locales/
|
277
|
-
- config/locales/
|
276
|
+
- config/locales/en/collections.yml
|
277
|
+
- config/locales/en/date.yml
|
278
|
+
- config/locales/en/locale.yml
|
279
|
+
- config/locales/ru/collections.yml
|
280
|
+
- config/locales/ru/date.yml
|
281
|
+
- config/locales/ru/locale.yml
|
278
282
|
- config/routes.rb
|
279
283
|
- lib/tasks/tramway/admin_tasks.rake
|
280
284
|
- lib/tramway/admin.rb
|