active_archive 0.1.0 → 1.0.0

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: ec93dcaf2dd6ab61b15e9eb92855956144bfadf3
4
- data.tar.gz: 31fa6290e019bb71d717fdc8d0a6051d19e760f0
3
+ metadata.gz: 92531b5d862df3442eb6af8204caed114bca14fb
4
+ data.tar.gz: 43994d4a91dd6108160ff7bd30f098116414d14b
5
5
  SHA512:
6
- metadata.gz: ebb06526a83603e60d51f9d64d6dc9995ae8856ade8ecc5ae55fd5060a03c05daf111e8a4c86192c692d1ff2f710ba314792bc0ec45c504815c8a77f7d9d27f0
7
- data.tar.gz: 07044a0805397f2732b6fc68f2e357300efd121e9f8a9fc952291fe4a6a0b30c75469727e9ac3359a34b8909ecf3e8ca89f166d076dacf5c87b6c172a3ddbe60
6
+ metadata.gz: ec94e3a4b2ea0990e72dde146a339c1894d6ba22e7b761b91a21597db0bc246a66c86f986e4eba22c8d645c52d49d8e92f2e5ea7eb8a71f0586876c10c4a3e53
7
+ data.tar.gz: b1bbbb8347d054ec27bac5eb4b2ea0fffa9af076371207fda8437234da95d60693866c9cb4387cbbf0bf844e8c6087727127d687d29eb941014ef84d1cef475e
@@ -2,11 +2,11 @@ module ActiveArchive
2
2
  module Scopes
3
3
 
4
4
  def archived
5
- where(arel_table[:archived_at].not_eq(nil))
5
+ where.not(archived_at: nil)
6
6
  end
7
7
 
8
8
  def unarchived
9
- where(arel_table[:archived_at].eq(nil))
9
+ where(archived_at: nil)
10
10
  end
11
11
 
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveArchive
2
- VERSION = "0.1.0"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-10 00:00:00.000000000 Z
11
+ date: 2015-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord