active_admin-duplicatable 0.3.0 → 0.4.0

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
- SHA1:
3
- metadata.gz: fb70dd281048047d1568dcb775b19aa46507ed41
4
- data.tar.gz: baff5ba471c1409a7cd10d7954c45c54598e9759
2
+ SHA256:
3
+ metadata.gz: 73d18e10664a0c9917fc84473a26377334e2aaf19148cece3773d85c0eb51131
4
+ data.tar.gz: 249fdd91038326760f0964afde02d3e3a8872edcfa6512328263da701fd00819
5
5
  SHA512:
6
- metadata.gz: 28623f63ac6b3877c16694ef73293f3837f3cd82c84a4618a305d8cbed9cef90f725ae04f04ad22115179e8aa4fdb3cce59527693b33ae92c42f47aad22d5c01
7
- data.tar.gz: 1163c61a02ba1d7d667c4c69c99766f40daa584571cdc11e5b83c68a5052a130ccf99ff7bbe0cacf867fc0b95532b50ef6e034499fe78091b09f7082febf5c18
6
+ metadata.gz: e9686a0349813494311ea7d8fae8baab68fd7cecff08c755a5c525f6ac135cb774cdb6e4c92bf014efb75f49245677b7a7d8fafd6fc400cf7a53a3f136e55141
7
+ data.tar.gz: afea3a534f16a421811f55163373ef60bcbae46571192a9fbea73d872f8395b9503d421d097e132fc633553f1ef694587e414abbd3167c6c72dd94d6b4827c0e
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.4.0] - 2018-07-18
8
+
9
+ ### Changed
10
+
11
+ - Switch from Rail's `before_filter` to `before_action`. The method
12
+ `before_filter` was deprecated in Rails 5.0 and removed in Rails 5.1.
13
+
7
14
  ## [0.3.0] - 2017-10-03
8
15
 
9
16
  ### Added
@@ -46,7 +46,7 @@ module ActiveAdmin
46
46
  end
47
47
 
48
48
  controller do
49
- before_filter only: :new do
49
+ before_action only: :new do
50
50
  if !params[:_source_id].blank?
51
51
  source = resource_class.find(params[:_source_id])
52
52
  @resource ||= source.amoeba_dup if source
@@ -1,5 +1,5 @@
1
1
  module Activeadmin
2
2
  module Duplicatable
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin-duplicatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Maresh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-03 00:00:00.000000000 Z
11
+ date: 2018-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  requirements: []
151
151
  rubyforge_project:
152
- rubygems_version: 2.5.2.1
152
+ rubygems_version: 2.7.6
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Simple duplication of ActiveAdmin resources