jets 1.5.6 → 1.5.7

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: 78f7c828b98a73bc10c82bcb361555a80d5214d783bf707c2adf697cdff7e57a
4
- data.tar.gz: 957cc34794897ab12e9768150324e8397eab906e216e540324201e1c8632c76b
3
+ metadata.gz: 3bab0cd3593c2f45ab542a7582ea50dd794d9cb1ca4cdd0dc802cc9bb224a0d3
4
+ data.tar.gz: 585235cc53e7948a10eaf1df4842df01148f6afd1164802ee66f3f1086523002
5
5
  SHA512:
6
- metadata.gz: 382f076831e7b1dd3b70cf9cfc71ae8ec341a200709ca48b985ecffc28395b0fd29005d6e88f26f7846d3ace749f8c591d116edd48ca61af5507ce6d60f8b83b
7
- data.tar.gz: c904a44e79f93b483cb66aaedcda735c638ce09207f8891cba4d7c63fa90dd84a3716399e4313c60bdc275524755c1e104f99f117b7b0192f3a2572c03371ead
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
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- jets (1.5.6)
14
+ jets (1.5.7)
15
15
  activerecord (>= 5.2.1)
16
16
  activesupport (>= 5.2.1)
17
17
  aws-sdk-apigateway
@@ -15,7 +15,7 @@ class Jets::Controller
15
15
  end
16
16
 
17
17
  def prepend_before_action(meth, options={})
18
- self.before_actions.unshift([meth, options])
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.unshift([meth, options])
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
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "1.5.6"
2
+ VERSION = "1.5.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.6
4
+ version: 1.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen