granite 0.9.2 → 0.9.3

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: 1b2674022b2612547cab05e27f9c832300b8f7fd6a1c43b26961733e12e9d4aa
4
- data.tar.gz: 59247c53dadced6268e4d921dae1c2f4ba8522eecf11b0d544c639a784f79c60
3
+ metadata.gz: ba66fd44bba131b6543bfe848c33c7e41481123a570854cb95cc64112a19f870
4
+ data.tar.gz: 7512904ee6511334d194a117e0d87c55b7db8a6a160583c5a67be0ed0db9c9b6
5
5
  SHA512:
6
- metadata.gz: ecf502f37360a2c10312ec06e28e6d3a6d8f279874ead21e9c51ce8496b0b4c60028c68bfcb1118d0e60f643524eaa2fd0382caa4df7ecfc140397bf812de896
7
- data.tar.gz: 9b5052b9193ec8038d6184b33bf258ec63dc93157f7f0a4e66f58e6b687cb6fb75ef2068bf8344b41abcc43272ac1b46f8540b2d8a95db28be6dda41548dcaab
6
+ metadata.gz: 1513d6db074fabaedfbd33e1a9afd8b23ad891110d5424e812ea44ecf9cdf93b2b8b1a3674c8174fc4c59a4f7c606cb642fba7f04ce6ab096d7a3d6f45029e83
7
+ data.tar.gz: 2b6e1e9849484f49ea8f61cb01d0157977e81dd4f740f002ef5b87d62a2f37cebb61aba7eb0339df08f6f185f3a97145f647ac3de12c566f0d4daf2c108f9f13
@@ -92,8 +92,10 @@ module Granite
92
92
  private
93
93
 
94
94
  def perform_action(raise_errors: false, **options)
95
- apply_association_changes!
96
- result = run_callbacks(:execute_perform) { execute_perform!(options) }
95
+ result = run_callbacks(:execute_perform) do
96
+ apply_association_changes!
97
+ execute_perform!(options)
98
+ end
97
99
  @_action_performed = true
98
100
  result || true
99
101
  rescue *handled_exceptions => e
@@ -1,3 +1,3 @@
1
1
  module Granite
2
- VERSION = '0.9.2'.freeze
2
+ VERSION = '0.9.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,57 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: granite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkadiy Zabazhanov & friends
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-09 00:00:00.000000000 Z
11
+ date: 2019-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '5.1'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '6.1'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '5.1'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '6.1'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: active_data
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: 1.1.3
39
+ version: 1.1.5
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: 1.1.3
46
+ version: 1.1.5
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: activesupport
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - "~>"
51
+ - - ">="
46
52
  - !ruby/object:Gem::Version
47
53
  version: '5.1'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: '6.1'
48
57
  type: :runtime
49
58
  prerelease: false
50
59
  version_requirements: !ruby/object:Gem::Requirement
51
60
  requirements:
52
- - - "~>"
61
+ - - ">="
53
62
  - !ruby/object:Gem::Version
54
63
  version: '5.1'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: '6.1'
55
67
  - !ruby/object:Gem::Dependency
56
68
  name: memoist
57
69
  requirement: !ruby/object:Gem::Requirement
@@ -70,16 +82,22 @@ dependencies:
70
82
  name: activerecord
71
83
  requirement: !ruby/object:Gem::Requirement
72
84
  requirements:
73
- - - "~>"
85
+ - - ">="
74
86
  - !ruby/object:Gem::Version
75
87
  version: '5.0'
88
+ - - "<"
89
+ - !ruby/object:Gem::Version
90
+ version: '6.1'
76
91
  type: :development
77
92
  prerelease: false
78
93
  version_requirements: !ruby/object:Gem::Requirement
79
94
  requirements:
80
- - - "~>"
95
+ - - ">="
81
96
  - !ruby/object:Gem::Version
82
97
  version: '5.0'
98
+ - - "<"
99
+ - !ruby/object:Gem::Version
100
+ version: '6.1'
83
101
  - !ruby/object:Gem::Dependency
84
102
  name: capybara
85
103
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +132,14 @@ dependencies:
114
132
  requirements:
115
133
  - - "<"
116
134
  - !ruby/object:Gem::Version
117
- version: '1'
135
+ version: '2'
118
136
  type: :development
119
137
  prerelease: false
120
138
  version_requirements: !ruby/object:Gem::Requirement
121
139
  requirements:
122
140
  - - "<"
123
141
  - !ruby/object:Gem::Version
124
- version: '1'
142
+ version: '2'
125
143
  - !ruby/object:Gem::Dependency
126
144
  name: pry-byebug
127
145
  requirement: !ruby/object:Gem::Requirement
@@ -350,8 +368,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
350
368
  - !ruby/object:Gem::Version
351
369
  version: '0'
352
370
  requirements: []
353
- rubyforge_project:
354
- rubygems_version: 2.7.6
371
+ rubygems_version: 3.0.6
355
372
  signing_key:
356
373
  specification_version: 4
357
374
  summary: Another business actions architecture for Rails apps