active_record_not 1.0.1 → 1.0.2
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 +15 -0
- data/README.md +2 -0
- data/lib/active_record_not/version.rb +1 -1
- metadata +6 -9
checksums.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
MTI4MmMwZmRlY2NkYWNjZTY5MzNiNjk4OThhMGRmNzM0ZjVhYTM0Ng==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
NTRmZTM0YzcyMWQ3YTljODk3MDUzMWQ4MjBhOTM1NDc4Y2UyNjNhMg==
|
|
7
|
+
!binary "U0hBNTEy":
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
MTU3ZjdlYTkxODRkMzhkMjNjN2ViMDA2YTVjZWQ1NzYzYTY5N2M4MzlhMzE2
|
|
10
|
+
YWFkNjA3OTdkN2UxZTE5ZjEwNWZiZTY3ODkyZWQzYmU5MGUxN2ZjNDYzZDEx
|
|
11
|
+
Y2VmZDAzNjQ3MmUyN2VkMmRjZTllNjU0MDY2YTdjNWUxNWUwNzA=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
ZDY3ZmE1ZGQxNWFhNDJiNTc2ODc1OGQ3ZjljZWNhNWJlZDE5MGU4NDQ0ZmNk
|
|
14
|
+
ZjMwMTVmOTI4MmRkNTVkYWMxYTMwOWE5MDQ2Mjg4YmU0MzRhMWFmY2Q3MWE0
|
|
15
|
+
NWE4ZTY1ZGZlN2RkMjk3NGJjMzYxMTRkNGViMzhlOTVjNTE4NWM=
|
data/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Adds #not to your ActiveRecord querying. This works similarly to #where, but inversed!
|
|
4
4
|
|
|
5
|
+
Note that this is supported natively in Rails 4, with slightly different syntax: http://blog.remarkablelabs.com/2012/12/not-equal-support-for-active-record-queries-rails-4-countdown-to-2013
|
|
6
|
+
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
9
|
`gem install active_record_not`, or add active_record_not to your Gemfile and `bundle install`.
|
metadata
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_record_not
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.0.2
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Alex Ghiculescu
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
11
|
+
date: 2013-06-24 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: activerecord
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
17
|
- - ! '>='
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
@@ -22,7 +20,6 @@ dependencies:
|
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
24
|
- - ! '>='
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
@@ -39,26 +36,26 @@ files:
|
|
|
39
36
|
- README.md
|
|
40
37
|
homepage: http://rubygems.org/gems/active_record_not
|
|
41
38
|
licenses: []
|
|
39
|
+
metadata: {}
|
|
42
40
|
post_install_message:
|
|
43
41
|
rdoc_options: []
|
|
44
42
|
require_paths:
|
|
45
43
|
- lib
|
|
46
44
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
47
|
-
none: false
|
|
48
45
|
requirements:
|
|
49
46
|
- - ! '>='
|
|
50
47
|
- !ruby/object:Gem::Version
|
|
51
48
|
version: '0'
|
|
52
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
|
-
none: false
|
|
54
50
|
requirements:
|
|
55
51
|
- - ! '>='
|
|
56
52
|
- !ruby/object:Gem::Version
|
|
57
53
|
version: '0'
|
|
58
54
|
requirements: []
|
|
59
55
|
rubyforge_project:
|
|
60
|
-
rubygems_version:
|
|
56
|
+
rubygems_version: 2.0.3
|
|
61
57
|
signing_key:
|
|
62
|
-
specification_version:
|
|
58
|
+
specification_version: 4
|
|
63
59
|
summary: ! 'Chain scopes with #not'
|
|
64
60
|
test_files: []
|
|
61
|
+
has_rdoc:
|