scriptures 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,5 +15,22 @@ module Scriptures
15
15
 
16
16
  has n, :chapters
17
17
  belongs_to :volume
18
+
19
+ before :destroy do |i|
20
+ throw :halt
21
+ end
22
+
23
+ before :save do |i|
24
+ throw :halt
25
+ end
26
+
27
+ before :create do |i|
28
+ throw :halt
29
+ end
30
+
31
+ before :update do |i|
32
+ throw :halt
33
+ end
34
+
18
35
  end
19
36
  end
@@ -10,5 +10,22 @@ module Scriptures
10
10
 
11
11
  has n, :verses
12
12
  belongs_to :book
13
+
14
+ before :destroy do |i|
15
+ throw :halt
16
+ end
17
+
18
+ before :save do |i|
19
+ throw :halt
20
+ end
21
+
22
+ before :create do |i|
23
+ throw :halt
24
+ end
25
+
26
+ before :update do |i|
27
+ throw :halt
28
+ end
29
+
13
30
  end
14
31
  end
@@ -11,5 +11,22 @@ module Scriptures
11
11
  property :pilcrow, Boolean
12
12
 
13
13
  belongs_to :chapter
14
+
15
+ before :destroy do |i|
16
+ throw :halt
17
+ end
18
+
19
+ before :save do |i|
20
+ throw :halt
21
+ end
22
+
23
+ before :create do |i|
24
+ throw :halt
25
+ end
26
+
27
+ before :update do |i|
28
+ throw :halt
29
+ end
30
+
14
31
  end
15
32
  end
@@ -12,5 +12,22 @@ module Scriptures
12
12
  property :idx, String
13
13
 
14
14
  has n, :books
15
+
16
+ before :destroy do |i|
17
+ throw :halt
18
+ end
19
+
20
+ before :save do |i|
21
+ throw :halt
22
+ end
23
+
24
+ before :create do |i|
25
+ throw :halt
26
+ end
27
+
28
+ before :update do |i|
29
+ throw :halt
30
+ end
31
+
15
32
  end
16
33
  end
@@ -1,3 +1,3 @@
1
1
  module Scriptures
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scriptures
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: