sequel_paranoia 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ODFlOWMzYTYxMzE4YjQ0YjMwOTM4ODYwOTc4ZTRkYTJjNTU5ZGViMQ==
5
- data.tar.gz: !binary |-
6
- NzcxN2IxMWUwYzk3YjhlYTA2ZWMwMjY3NDZiMjRlZDk5OGQ4YTNlYg==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- OGE1YjNjNDAwMTExZjlkNjQ1NDMyMjY3ZTRjM2YxMjBmZDJhMDY3NmU3NDRh
10
- ZGY4NWQ4ZDYxNDZhNjY5ODMzOGEwMmI0YWYwMTNjZDE1NjU2ZDkwNjgwMjk1
11
- MzRjYzE5NDAzY2UzZTkwYzEzZmMzNWJkNDQwNGZjMjcyOGYwY2E=
12
- data.tar.gz: !binary |-
13
- ZmEyYWU5NDM3YjdlOTgxNmY1YWVjZjRhZDA2ZDYzNjkwNTA1NjUzMTgzODA2
14
- MGNmNTJlYTVmODAzYzdiOWQ4YWQ4MjdlODY1ZjZkZDZhZmQyNmY0M2ZlMDdl
15
- OWE3ZmE0NWVhMTQ1YzA5NGJkOTliY2I1YmNhOWQ2NDZjYzQ2ZDE=
2
+ SHA1:
3
+ metadata.gz: 859b8ddb3885242a1c82981991bf4917d124353e
4
+ data.tar.gz: 6abfce12008116bf47306f369fe4cdc8efda53ff
5
+ SHA512:
6
+ metadata.gz: 96f4107618469b74010ae7e465f5439f442e2d5a11bf96187c886c6b62c4d2e003bb85c133842deed5ff52680ed4b776496ec4aaada4e07ec912502f5c8a9218
7
+ data.tar.gz: 3ef08658aa186115748cf6cfd0900298bae01d8434280eb06f2f777345455574c810309702361416374e2a10b58bebc208884591b62ea106b193b09cd994f8cf
@@ -74,7 +74,7 @@ module Sequel
74
74
  if respond_to?(field) && respond_to?(meth) && (model.deleted_timestamp_overwrite? || send(field).nil?)
75
75
  self.send(meth, time||=Sequel.datetime_class.now)
76
76
  after_set_deleted_timestamp if respond_to? :after_set_deleted_timestamp
77
- self.save
77
+ self.save :validate => false
78
78
  end
79
79
  end
80
80
  end
@@ -1,3 +1,3 @@
1
1
  module SequelParanoia
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel_paranoia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Misha Conway
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-10 00:00:00.000000000 Z
11
+ date: 2013-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -17,40 +17,33 @@ dependencies:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
+ type: :development
21
+ prerelease: false
20
22
  version_requirements: !ruby/object:Gem::Requirement
21
23
  requirements:
22
24
  - - ~>
23
25
  - !ruby/object:Gem::Version
24
26
  version: '1.3'
25
- type: :development
26
- prerelease: false
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
+ type: :development
35
+ prerelease: false
34
36
  version_requirements: !ruby/object:Gem::Requirement
35
37
  requirements:
36
- - - ! '>='
38
+ - - '>='
37
39
  - !ruby/object:Gem::Version
38
40
  version: '0'
39
- type: :development
40
- prerelease: false
41
- description: ! ' Works like ActiveRecord''s acts_as_paranoid, but for sequel.
42
-
41
+ description: |2+
42
+ Works like ActiveRecord's acts_as_paranoid, but for sequel.
43
43
  -
44
+ I am not the original author of this plugin. I merely took the source, fixed one minor bug, and put it up on rubygems because I found it so useful.
45
+ The original author is at https://gist.github.com/bgentry. To automatically use deleted_at as as a soft delete field, simply setup as such: Sequel::Model.plugin :paranoia.
44
46
 
45
- I am not the original author of this plugin. I merely took the source, fixed one
46
- minor bug, and put it up on rubygems because I found it so useful.
47
-
48
- The original author is at https://gist.github.com/bgentry. To automatically use
49
- deleted_at as as a soft delete field, simply setup as such: Sequel::Model.plugin
50
- :paranoia.
51
-
52
-
53
- '
54
47
  email:
55
48
  - MishaAConway@gmail.com
56
49
  executables: []
@@ -75,12 +68,12 @@ require_paths:
75
68
  - lib
76
69
  required_ruby_version: !ruby/object:Gem::Requirement
77
70
  requirements:
78
- - - ! '>='
71
+ - - '>='
79
72
  - !ruby/object:Gem::Version
80
73
  version: '0'
81
74
  required_rubygems_version: !ruby/object:Gem::Requirement
82
75
  requirements:
83
- - - ! '>='
76
+ - - '>='
84
77
  - !ruby/object:Gem::Version
85
78
  version: '0'
86
79
  requirements: []
@@ -88,9 +81,9 @@ rubyforge_project:
88
81
  rubygems_version: 2.0.3
89
82
  signing_key:
90
83
  specification_version: 4
91
- summary: ! 'Works like ActiveRecord''s acts_as_paranoid, but for sequel. I am not
92
- the original author of this plugin. I merely took the source, fixed one minor bug,
93
- and put it up on rubygems because I found it so useful. The original author is at
94
- https://gist.github.com/bgentry. To automatically use deleted_at as as a soft delete
95
- field, simply setup as such: Sequel::Model.plugin :paranoia.'
84
+ summary: 'Works like ActiveRecord''s acts_as_paranoid, but for sequel. I am not the
85
+ original author of this plugin. I merely took the source, fixed one minor bug, and
86
+ put it up on rubygems because I found it so useful. The original author is at https://gist.github.com/bgentry.
87
+ To automatically use deleted_at as as a soft delete field, simply setup as such:
88
+ Sequel::Model.plugin :paranoia.'
96
89
  test_files: []