effective_trash 0.2.3 → 0.2.4

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
  SHA1:
3
- metadata.gz: 74550c4d1c0f1e096e3fa84cab3e66cd2599b60f
4
- data.tar.gz: 6348841841f51fda296e4b5074abbb188424f4ab
3
+ metadata.gz: c187394b357ac631f1d8a3bbed7aa2b0072197ce
4
+ data.tar.gz: 29898e1303d4711dd03b0bee4295902c81186b88
5
5
  SHA512:
6
- metadata.gz: c69bd045b99ff0b940a5e9d4a344d2d885220ad4515b7e6747b8f90b9fc15856ac0f7271b150f44c5f74eea005528cd154566f2e8b27ee1137c2cd5da8d8eae5
7
- data.tar.gz: cd3e883e13314508164b627f661d4d705a7017ab4a6e02d3e028c4ab0daea0ec9815d2da7429a4d42799862387debcd8594d48128ed6554cdd687c5065f8806e
6
+ metadata.gz: 84295c59078c2623778dd972965fffe5813b593b4f96b04bc2e1a5ee3ad079e7ea1e4f56f52ea8ab0e9c6efae707484204bf092b79cc0bc73a476e39fd97bb7a
7
+ data.tar.gz: fb15085f0ab301b0769787db592c055a572e8fe53dd7197fbcbc9274eea933d67c77dc769bbbe4dc69171fe1841b3aaba58b70d07accb6fb1f4554be7a57c330
@@ -14,7 +14,7 @@ module ActsAsTrashable
14
14
  end
15
15
 
16
16
  included do
17
- has_one :trash, as: :trashed, class_name: Effective::Trash
17
+ has_one :trash, as: :trashed, class_name: 'Effective::Trash'
18
18
 
19
19
  before_destroy do
20
20
  EffectiveTrash.trash!(self)
@@ -1,4 +1,3 @@
1
- require 'haml-rails'
2
1
  require 'effective_resources'
3
2
  require 'effective_trash/engine'
4
3
  require 'effective_trash/version'
@@ -1,3 +1,3 @@
1
1
  module EffectiveTrash
2
- VERSION = '0.2.3'.freeze
2
+ VERSION = '0.2.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_trash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-05 00:00:00.000000000 Z
11
+ date: 2017-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.0.0
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 2.0.0
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: effective_resources
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -80,20 +80,6 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: haml-rails
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :runtime
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
83
  description: Trash and Restore any Active Record object.
98
84
  email:
99
85
  - info@codeandeffect.com