jets 1.5.6 → 1.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/jets/controller/callbacks.rb +2 -2
- data/lib/jets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bab0cd3593c2f45ab542a7582ea50dd794d9cb1ca4cdd0dc802cc9bb224a0d3
|
4
|
+
data.tar.gz: 585235cc53e7948a10eaf1df4842df01148f6afd1164802ee66f3f1086523002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36fc0a1f15ff997815861f72419f7fe1cf7e212941a2e1ea5ce478c364780676cce408e379a1e5084aa3536c2b28c66e265b2b6950c4c84392a3280d59f4d15c
|
7
|
+
data.tar.gz: 4a2c2446d300b3f90faad8cc3beddf1e97b420a21b83512bf250c557e64c0c5b82b6bb3b840edfc2fa39e2bf046128c2d6b56d54c66ff9773374636e80b4b2d9
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [1.5.7]
|
7
|
+
- Fix prepend_* callbacks: These could modify a global callback array if used first
|
8
|
+
|
6
9
|
## [1.5.6]
|
7
10
|
- #149 from patchkit-net/feature/prepend-append-callbacks Add prepend/append_before_action and prepend/append_after_action callbacks
|
8
11
|
- #150 special s3 url for us-east-1
|
data/Gemfile.lock
CHANGED
@@ -15,7 +15,7 @@ class Jets::Controller
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def prepend_before_action(meth, options={})
|
18
|
-
self.before_actions
|
18
|
+
self.before_actions = [[meth, options]] + self.before_actions
|
19
19
|
end
|
20
20
|
|
21
21
|
alias_method :append_before_action, :before_action
|
@@ -25,7 +25,7 @@ class Jets::Controller
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def prepend_after_action(meth, options={})
|
28
|
-
self.after_actions
|
28
|
+
self.after_actions = [[meth, options]] + self.after_actions
|
29
29
|
end
|
30
30
|
|
31
31
|
alias_method :append_after_action, :after_action
|
data/lib/jets/version.rb
CHANGED