timestamp_as_boolean 1.0.0 → 1.0.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/lib/timestamp_as_boolean.rb +0 -3
- data/lib/timestamp_as_boolean/version.rb +1 -1
- data/timestamp_as_boolean.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e68ef30e700142c86eff9956cb4a72c9ed1d323a
|
4
|
+
data.tar.gz: d436c7b086d462784242d554db459bfb1f16935c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f87464db55c433edbbb0f636fc52a59d354edb191789440d004490a2a3f95559488941c1a4d3313b90b0ed8bc774fa5ab5b8384168f7bb30e784a0dad71c442a
|
7
|
+
data.tar.gz: f07b6275da5124adc052e9226687b88d548b75d21f9e73eead2c11ca7eec49ed48ac21e735d7621778963cf61268ff960e1e57d22b4051e0a2e6c318a9dec509
|
data/lib/timestamp_as_boolean.rb
CHANGED
@@ -7,9 +7,6 @@ module TimestampAsBoolean
|
|
7
7
|
extend ActiveSupport::Concern
|
8
8
|
|
9
9
|
module ClassMethods
|
10
|
-
# this should only be used with timestamps end in "_at"
|
11
|
-
# NEXT STEPS:
|
12
|
-
# add optional parameter to name the field instead of using magic
|
13
10
|
|
14
11
|
POSSIBLE_TRUTHY_VALUES = [true, '1', 't', 'true'].freeze
|
15
12
|
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{Treat timestamp as a boolean field}
|
13
13
|
spec.description = %q{Treat timestamp as a boolean field}
|
14
|
-
spec.homepage = "https://github.com/
|
14
|
+
spec.homepage = "https://github.com/SonderCollection/timestamp_as_boolean"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timestamp_as_boolean
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Walker
|
@@ -85,7 +85,7 @@ files:
|
|
85
85
|
- lib/timestamp_as_boolean.rb
|
86
86
|
- lib/timestamp_as_boolean/version.rb
|
87
87
|
- timestamp_as_boolean.gemspec
|
88
|
-
homepage: https://github.com/
|
88
|
+
homepage: https://github.com/SonderCollection/timestamp_as_boolean
|
89
89
|
licenses:
|
90
90
|
- MIT
|
91
91
|
metadata: {}
|