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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ddbe2c814881305faa4e8adf490bf83df0e006df71cf745732a298d82392180
4
- data.tar.gz: c5b4e0e3cba79a120d5e63c9ee8b3ad480023eb7b7a586ddbd19d8240abdded7
3
+ metadata.gz: dbb9f4f8c1012bc3d96b144f0b347befdd7e4c1d1aa17f462e77ebcc22ef946b
4
+ data.tar.gz: 8627ea19a16e83b13ecdff48d6a2af9ac3c36cd2e78b0d15af4d67fbe7d685e6
5
5
  SHA512:
6
- metadata.gz: 8a1ebd02e55f9be0fcba3b48378441e524d476e1f69a0ef199ad9f5cd43249d57ea54b300a8bcd5fd306a9a8b3aec725a91b25d293cba717d6b627645268e338
7
- data.tar.gz: ce9346d6469d3c64357e7f6a3db75f3596c7966cc1185e841f404c66d42e29a9c94ffea388e75190c5254562a8f02806c650f14523958a0db51a469ed268e3f1
6
+ metadata.gz: bfad56a6224c0133fd03b025793476e4fb98e7010d2d87240eac0f363e57a9c4fc17b892d3641f841c7a32b2fa597ad43ff51bc634012a9c3a75974fcf668e0b
7
+ data.tar.gz: 21939f663778b468d34921bc90127d7c0215b43858dcc74b6c8886369dbae0327836117a08063af21168dcf31746d711fe5db2591eb27c7ec4aa129fc23c526c
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Minerva
2
- VERSION = '0.1.33'
2
+ VERSION = '0.1.35'
3
3
  end
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.33
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-01-19 00:00:00.000000000 Z
11
+ date: 2021-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails