entity_status 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/entity_status-0.1.0.gem +0 -0
- data/lib/entity_status.rb +1 -1
- data/lib/entity_status/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b34b605878c97d3c5d3cb32adba4deb0216d1f0
|
|
4
|
+
data.tar.gz: d6cae4013be0b051981732c4a64969d891a05bbf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3a1972f0a0e269658227fcb3546586ddb455433b376c6e445851b136590f75e6cb61a0eda1b3f31b735776bf65436d6e00c67854ef4ad54b0e3ab208c0dba6e
|
|
7
|
+
data.tar.gz: 9ef14908735369040520344409e02756b0dac1ac2487c3c944061d34f36ff94e41ed5b2d50e25cac25d62fabdecbacb320ce8ea818209bdc007828b16186f596
|
|
Binary file
|
data/lib/entity_status.rb
CHANGED
|
@@ -41,7 +41,7 @@ module EntityStatus
|
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
def set_default_scope(column_name,destroyed_status)
|
|
44
|
-
self.default_scope where.not(column_name.to_sym => destroyed_status)
|
|
44
|
+
self.default_scope {where.not(column_name.to_sym => destroyed_status)}
|
|
45
45
|
# klass = self.to_s
|
|
46
46
|
# metaclass.instance_eval do
|
|
47
47
|
# default_scope where.not(column_name.to_sym => destroyed_status)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: entity_status
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremy Bueler
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-10-
|
|
11
|
+
date: 2013-10-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -38,6 +38,7 @@ files:
|
|
|
38
38
|
- README.md
|
|
39
39
|
- entity_status-0.0.1.gem
|
|
40
40
|
- entity_status-0.0.4.gem
|
|
41
|
+
- entity_status-0.1.0.gem
|
|
41
42
|
- entity_status.gemspec
|
|
42
43
|
- lib/entity_status.rb
|
|
43
44
|
- lib/entity_status/version.rb
|