minerva 0.1.33 → 0.1.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/minerva/state.rb +2 -0
- data/lib/minerva/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: dbb9f4f8c1012bc3d96b144f0b347befdd7e4c1d1aa17f462e77ebcc22ef946b
|
4
|
+
data.tar.gz: 8627ea19a16e83b13ecdff48d6a2af9ac3c36cd2e78b0d15af4d67fbe7d685e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfad56a6224c0133fd03b025793476e4fb98e7010d2d87240eac0f363e57a9c4fc17b892d3641f841c7a32b2fa597ad43ff51bc634012a9c3a75974fcf668e0b
|
7
|
+
data.tar.gz: 21939f663778b468d34921bc90127d7c0215b43858dcc74b6c8886369dbae0327836117a08063af21168dcf31746d711fe5db2591eb27c7ec4aa129fc23c526c
|
data/app/models/minerva/state.rb
CHANGED
@@ -9,6 +9,8 @@ module Minerva
|
|
9
9
|
|
10
10
|
before_destroy { |record| raise ActiveRecord::ReadOnlyRecord }
|
11
11
|
|
12
|
+
attr_accessor :message
|
13
|
+
|
12
14
|
def readonly?
|
13
15
|
# allow the creation, you can also use a more complex condition to allow updates under certain conditions
|
14
16
|
new_record? ? false : true
|
data/lib/minerva/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minerva
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Cliff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|