scopie_rails 0.9.0 → 0.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca85d081e530a2ac068173cd2a7fd4f852db701a
4
- data.tar.gz: c5831f1d5e0916bc2dbfb1cb24eaa70e4e57ca0e
3
+ metadata.gz: a4202305d302349a69d8ba5204a67bf56c2cd179
4
+ data.tar.gz: b4756f315531546cc97677d52792bffc32dfef04
5
5
  SHA512:
6
- metadata.gz: f4b8102f996e5385b37bef89361a31cc45fa3ec8bbe787a90f3b5335547866390bcc2b3e7d2c32cdd2bee57133572e173461e6ced53258d2bfb699a6ce9fff5c
7
- data.tar.gz: 8030201ad90dc31645ddaa363c2e9682b03fbb61375244868b367401b4e58c16f19aeb7af22b37b102fee525061c993c10ff57f72be764020b87fc3507e79e5c
6
+ metadata.gz: a481385ca18d95fc8803b00750f7b5e33d91f27a8e5b1dee276a9f169c40e38f6fdb3446af4462b49a688338765cf65fcc069a79b0c2f73bdd41a84789d0694b
7
+ data.tar.gz: 24226eab516434af4dbabc343880ae213721072b11465f18191a5dafc4536251061b0778f28d2b1ff3655e042134ebc102fb537b092b4a893e28786764caad8e
data/README.md CHANGED
@@ -21,10 +21,10 @@ class Graduation < ActiveRecord::Base
21
21
  scope :by_degree, -> (degree) { where(degree: degree) }
22
22
  scope :by_period, -> (started_at, ended_at) { where('started_at = ? AND ended_at = ?', started_at, ended_at) }
23
23
 
24
- scope :created_at_greater_than, ->(date) { where('entities.created_at >= ?', date.beginning_of_day) }
25
- scope :created_at_less_than, ->(date) { where('entities.created_at <= ?', date.end_of_day) }
26
- scope :updated_at_greater_than, ->(date) { where('entities.updated_at >= ?', date.beginning_of_day) }
27
- scope :updated_at_less_than, ->(date) { where('entities.updated_at <= ?', date.end_of_day) }
24
+ scope :created_at_greater_than, ->(date) { where('created_at >= ?', date.beginning_of_day) }
25
+ scope :created_at_less_than, ->(date) { where('created_at <= ?', date.end_of_day) }
26
+ scope :updated_at_greater_than, ->(date) { where('updated_at >= ?', date.beginning_of_day) }
27
+ scope :updated_at_less_than, ->(date) { where('updated_at <= ?', date.end_of_day) }
28
28
 
29
29
  end
30
30
  ```
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ScopieRails
4
- VERSION = '0.9.0'
4
+ VERSION = '0.9.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scopie_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Kotov