archivable 1.2.0 → 1.3.1

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: f51d192891c093ea405c31b4b3e4256f644400ca
4
- data.tar.gz: 98de047351c4b19dacf615c2d9658cad023b8b04
3
+ metadata.gz: 8a581532e3571dad19eb5bb88dc17e41172a7fff
4
+ data.tar.gz: 355cd234b2a7fdb59f66efa7b16f23287b3259fa
5
5
  SHA512:
6
- metadata.gz: e942a202168bb847d6da589a16505f10c6e97790a2eef84ed116b0790ebcd5f1b71c6e682ba2f946f43c043a64d7e9c7ef37c8d555e398687893dc88498661ba
7
- data.tar.gz: aa6a451e0e982c8898d4b8bffc8f66fbec3089efdee681074f632459d20e373654ead3fa8828f2cfed5ef18ca63c260fd25253f3ecc5c32380e8ecc233e2d676
6
+ metadata.gz: 13f5da9d6cb18338324e2980b97791ac3052e16a127da3604c82226a0f1ff2c7997fb5098729019ee14e57e73602972bf486fb62e989ba3d41d4b841b9c471e4
7
+ data.tar.gz: bf2b3328d0877ea513a0360f9c673f16a34f0a435a2db668037ff5eca30ee07094e28778868b8861a620bf010956102731a3ccbb65d53913300dc8de5b64abe8
@@ -18,9 +18,9 @@ module Archivable
18
18
  archived
19
19
  end
20
20
 
21
- def archive!
21
+ def archive!(save_args = {})
22
22
  self.archived = true
23
- save
23
+ save(save_args)
24
24
  end
25
25
 
26
26
  def unarchive!
@@ -1,3 +1,3 @@
1
1
  module Archivable
2
- VERSION = '1.2.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: archivable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Otander
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-02 00:00:00.000000000 Z
11
+ date: 2015-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.4.5.1
139
+ rubygems_version: 2.4.3
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Archive your Rails models rather than delete them.
@@ -144,3 +144,4 @@ test_files:
144
144
  - spec/archivable_controller_spec.rb
145
145
  - spec/archivable_model_spec.rb
146
146
  - spec/spec_helper.rb
147
+ has_rdoc: