tramway-admin 1.32.1 → 1.32.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -9
- data/Rakefile +6 -30
- data/lib/tramway/admin.rb +1 -0
- data/lib/tramway/admin/version.rb +1 -1
- metadata +58 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a1bea8f2efa7d5814d01ecbc9b1be1e0ce806a23e4d30468efed48977da8a39
|
4
|
+
data.tar.gz: 521deb526b82adb0bf8e12e637bd5110f43319e226647cead7782e3fff2690b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8af70fa074a7859b0f393b47c0e256a16d02f3b33146a9cd61220d2fe3a7b33d811debcc7aa1b066f46ef027e7497d758359dc9d1b558a3036852ff6b0eb0e48
|
7
|
+
data.tar.gz: 14debf20343bd4b96d7e157c93bd40f7a633fd6cadf674b4b9c712bf821dc9659db61e4121cd018b0ca0570626d7b892ad37ff23cf592540253a710e35b0a420
|
data/README.md
CHANGED
@@ -1,13 +1,6 @@
|
|
1
1
|
# Tramway::Admin
|
2
|
-
Short description and motivation.
|
3
2
|
|
4
|
-
|
5
|
-
|
6
|
-
*If you need translation of this Readme, please message us kalashnikov@ulmic.ru. We'll translate for you and post to this page*
|
7
|
-
|
8
|
-
## Russian readme
|
9
|
-
|
10
|
-
Готовая админка для проекта. Она подготовлена для работы со всеми tramway плагинами, а также поддерживает и ваши модели тоже.
|
3
|
+
Create admin panel for your application FAST!
|
11
4
|
|
12
5
|
## Usage
|
13
6
|
How to use my plugin.
|
@@ -138,13 +131,28 @@ end
|
|
138
131
|
|
139
132
|
Filters naming:
|
140
133
|
|
134
|
+
*Select filters*
|
135
|
+
|
136
|
+
```yaml
|
137
|
+
en:
|
138
|
+
tramway:
|
139
|
+
admin:
|
140
|
+
filters:
|
141
|
+
model_name:
|
142
|
+
filter_name: Your Filter
|
143
|
+
```
|
144
|
+
|
145
|
+
*Date filters*
|
146
|
+
|
141
147
|
```yaml
|
142
148
|
en:
|
143
149
|
tramway:
|
144
150
|
admin:
|
145
151
|
filters:
|
146
152
|
model_name:
|
147
|
-
|
153
|
+
date_filter_name:
|
154
|
+
begin_date: Your Begin date filter
|
155
|
+
end_date Your end date filter
|
148
156
|
```
|
149
157
|
|
150
158
|
#### 10. Add inheritance to YourModel
|
data/Rakefile
CHANGED
@@ -1,34 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
rescue LoadError
|
6
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
7
|
-
end
|
8
|
-
|
9
|
-
require 'rdoc/task'
|
3
|
+
require 'rake'
|
4
|
+
require 'rspec/core/rake_task'
|
10
5
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
rdoc.options << '--line-numbers'
|
15
|
-
rdoc.rdoc_files.include('README.md')
|
16
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
6
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
7
|
+
t.pattern = Dir.glob('spec/**/*_spec.rb')
|
8
|
+
t.rspec_opts = '--format documentation'
|
17
9
|
end
|
18
|
-
|
19
|
-
APP_RAKEFILE = File.expand_path('test/dummy/Rakefile', __dir__)
|
20
|
-
load 'rails/tasks/engine.rake'
|
21
|
-
|
22
|
-
load 'rails/tasks/statistics.rake'
|
23
|
-
|
24
|
-
require 'bundler/gem_tasks'
|
25
|
-
|
26
|
-
require 'rake/testtask'
|
27
|
-
|
28
|
-
Rake::TestTask.new(:test) do |t|
|
29
|
-
t.libs << 'test'
|
30
|
-
t.pattern = 'test/**/*_test.rb'
|
31
|
-
t.verbose = false
|
32
|
-
end
|
33
|
-
|
34
|
-
task default: :test
|
10
|
+
task default: :spec
|
data/lib/tramway/admin.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.32.1
|
4
|
+
version: 1.32.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: tramway-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.18.3.4
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.18.3.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: tramway-auth
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.0.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.0.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: tramway-user
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.1.3.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.1.3.2
|
13
55
|
- !ruby/object:Gem::Dependency
|
14
56
|
name: bootstrap-kaminari-views
|
15
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,6 +196,20 @@ dependencies:
|
|
154
196
|
- - '='
|
155
197
|
- !ruby/object:Gem::Version
|
156
198
|
version: '3.0'
|
199
|
+
- !ruby/object:Gem::Dependency
|
200
|
+
name: pg
|
201
|
+
requirement: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
type: :development
|
207
|
+
prerelease: false
|
208
|
+
version_requirements: !ruby/object:Gem::Requirement
|
209
|
+
requirements:
|
210
|
+
- - ">="
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: '0'
|
157
213
|
description: Engine for admin
|
158
214
|
email:
|
159
215
|
- kalashnikovisme@gmail.com
|