include_date_scopes 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -51
- data/include_date_scopes.gemspec +1 -1
- data/lib/include_date_scopes/date_scopes.rb +14 -203
- data/lib/include_date_scopes/define_common_scopes.rb +45 -0
- data/lib/include_date_scopes/define_date_scopes.rb +31 -0
- data/lib/include_date_scopes/define_timestamp_scopes.rb +92 -0
- data/lib/include_date_scopes/version.rb +1 -1
- data/spec/lib/date_scopes_spec.rb +14 -0
- data/spec/support/date_scope_examples.rb +197 -131
- data/spec/support/timestamp_scope_examples.rb +250 -321
- metadata +6 -3
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: include_date_scopes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Todd
|
8
|
+
- Katharina Peter
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-09-22 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: activerecord
|
@@ -102,6 +103,9 @@ files:
|
|
102
103
|
- lib/include_date_scopes.rb
|
103
104
|
- lib/include_date_scopes/active_record.rb
|
104
105
|
- lib/include_date_scopes/date_scopes.rb
|
106
|
+
- lib/include_date_scopes/define_common_scopes.rb
|
107
|
+
- lib/include_date_scopes/define_date_scopes.rb
|
108
|
+
- lib/include_date_scopes/define_timestamp_scopes.rb
|
105
109
|
- lib/include_date_scopes/version.rb
|
106
110
|
- lib/railtie.rb
|
107
111
|
- spec/config/database.yml
|
@@ -140,4 +144,3 @@ test_files:
|
|
140
144
|
- spec/support/date_scope_examples.rb
|
141
145
|
- spec/support/post.rb
|
142
146
|
- spec/support/timestamp_scope_examples.rb
|
143
|
-
has_rdoc:
|