motor-admin 0.3.0 → 0.3.1

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: 1a15345e4f0be22dda572c79266ae05e856362e2725850cd15e94689b2ce47f8
4
- data.tar.gz: 523971a3051bc7fb09597187cc30cd1c643ae64307208d8391ea33915c858745
3
+ metadata.gz: 06b1fd64e0fbf089820c31f81a32a51b83322aef9c402001acebc32fd4d5599f
4
+ data.tar.gz: 5b30706be8e0a505fadcbab04b591f12a89733ca365e1570753757a6ec68839f
5
5
  SHA512:
6
- metadata.gz: a1e695cbcba7f1d0b3d5eac466b3b3c56f2a69ee4a1a1cf0f0f335fa7db5bf3ee16c4e9a7db4e3914fa90a65c16bd2951914f1d9e1f6aa777f869d5864495f82
7
- data.tar.gz: 22e36131c24fbd2a97cc7650a10a7158546a857b6b2ecfcf391c471176e5d827d23469815ae65ebdfe58cbfe02cafa7b26122b69176c889e9e6115fcdf49ca16
6
+ metadata.gz: add8941a7c206d6331428029fa075a30e1f4ed10fdd35c11047302e5322771f3bf555112b4431002392172ee5ed524b5afe35fcfc88b2cd65cfc79478d9e05a0
7
+ data.tar.gz: 4d9a8058d8aa3688f3915554ac01dc40e8c28192f91f09c8db45784e6d5ddebd78d3e623d94e991269c293be66d35e8a209c78202206e86861f14d7b12e884ea
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Low-code Admin panel and Business intelligence Rails engine **(no DSL - configurable from the UI)**.
8
8
 
9
- 🤓 [Demo App](https://motor-admin.herokuapp.com/demo) | 👀 [Features overview](https://www.youtube.com/watch?v=ngVoci8Hll4&list=PLu7llEMh0KcOkR3Uy_RJT0cXPZQKAYVsq&index=1) | ⭐ [Pro](https://www.getmotoradmin.com/rails)
9
+ 🤓 [Demo App](https://motor-admin.herokuapp.com/demo) | 👀 [Features overview](https://www.youtube.com/watch?v=ngVoci8Hll4&list=PLu7llEMh0KcOkR3Uy_RJT0cXPZQKAYVsq&index=1) | ⭐ [Pro](https://www.getmotoradmin.com/ruby-on-rails)
10
10
  </div>
11
11
 
12
12
  [![Admin Panel](https://user-images.githubusercontent.com/5418788/119318538-1f30e300-bc82-11eb-94a4-107c31c93b13.png)](https://motor-admin.herokuapp.com/demo)
@@ -45,7 +45,7 @@ $ rails motor:install && rake db:migrate
45
45
  * [Configurations sync between environments](#configurations-sync)
46
46
  * [Authentication](#authentication)
47
47
 
48
- ## [Pro](https://www.getmotoradmin.com/rails)
48
+ ## [Pro](https://www.getmotoradmin.com/ruby-on-rails)
49
49
 
50
50
  * Multiple databases support
51
51
  * Audit log
@@ -55,7 +55,7 @@ $ rails motor:install && rake db:migrate
55
55
  * Personalized report alerts via Slack
56
56
  * Full-text search
57
57
  * Shareable forms and reports
58
- * [learn more](https://www.getmotoradmin.com/rails)
58
+ * [learn more](https://www.getmotoradmin.com/ruby-on-rails)
59
59
 
60
60
  ### Customizable CRUD
61
61
 
@@ -26,6 +26,10 @@ module Motor
26
26
 
27
27
  key += Motor::DefineArModels.defined_models_schema_md5.to_s if defined?(Motor::DefineArModels)
28
28
 
29
+ if Rails.env.development?
30
+ key += Digest::MD5.hexdigest(ActiveRecord::Base.descendants.map(&:object_id).sort.join)
31
+ end
32
+
29
33
  key
30
34
  end
31
35
 
data/lib/motor/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Motor
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motor-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Matsyburka