effective_resources 2.27.1 → 2.27.2

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: 1d52909384e6a9d45fbcf495a80d787bb591dea8c747c3367b9914b1c5531cd5
4
- data.tar.gz: 26cfa6478ebd8926c57d36b16f85b73e8e5670ba95140b23a773b96d1e137f13
3
+ metadata.gz: e5b623fa5ae2361f8fe20325bb79dfcf642276bee26ced89d888f4e541a89e60
4
+ data.tar.gz: 827f4e22ef3d2be53bcd8fc4946b435aca0e6c4166845b41ebd80c9d91e013ab
5
5
  SHA512:
6
- metadata.gz: 2f41a19c3ddb79fe0d96f832c27c44da160a4a62abe8ff52a3a053f69d2757445815190542963d5a6c6213bd6309e23b49741eac777a5e38d1a5e760be496773
7
- data.tar.gz: 11f4096cc86ea9b4067927ea604da57770b7a3468a0cd7550248930c3b4cb1add7b59a081091b71b43b9f3b6bbe764dae58ff54abc24276883e1f019266aaa45
6
+ metadata.gz: 4856dd227eea8142cb86bb3d43a492393c915d28570e5045c38574df5e755e5075de9f37d11b09c140c5d5408bd2e25af3281c68070cca2462caecc491b3d893
7
+ data.tar.gz: edd14cf74f7a02897302911fd5116e7900d7109f84efce723d541b0bd686fa7e1a589a3c66f978a35d124054b475ab2be97fe75fe5cdd32df39470c95b1c586b
@@ -52,7 +52,6 @@ module ActsAsArchived
52
52
  def acts_as_archived(klass)
53
53
  raise "klass does not implement acts_as_archived" unless klass.respond_to?(:acts_as_archived?)
54
54
 
55
- can([:bulk_archive, :bulk_unarchive], klass)
56
55
  can(:archive, klass) { |obj| !obj.archived? }
57
56
  can(:unarchive, klass) { |obj| obj.archived? }
58
57
  end
@@ -63,8 +62,6 @@ module ActsAsArchived
63
62
  concern :acts_as_archived do
64
63
  post :archive, on: :member
65
64
  post :unarchive, on: :member
66
- post :bulk_archive, on: :collection
67
- post :bulk_unarchive, on: :collection
68
65
  end
69
66
  end
70
67
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveResources
2
- VERSION = '2.27.1'.freeze
2
+ VERSION = '2.27.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.27.1
4
+ version: 2.27.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect