boolean_timestamp 0.2.0 → 0.2.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: d21405437d75d25dba8e1cf2e1d603ec07566e51
4
- data.tar.gz: de877be8cd743e254a8ea588cc6dbfe5eb288646
3
+ metadata.gz: 63a477776a3b733822c338ce3081f213ab1f8f5f
4
+ data.tar.gz: 0a0d939425f2f96c4af728637542f828a86b0c9f
5
5
  SHA512:
6
- metadata.gz: f3221ee68e848abe810ecc12787469ede525da70db4a7e63ace8aaec3d4d1efb6242c26a24d6d42762bf853d7e8c43816f86b7b9d6227d18011b7d57e0b799f2
7
- data.tar.gz: 355fed7f3a1e01661149f71ff464b9f01a6d39448f195e6da2cfcc2c939a19442f55b65ca42de1bbaa169cda8e1d6de64f82139fb729d044f00d8b29dd68f05d
6
+ metadata.gz: 3126f84ae36f8859d9cced14c77d4d2f78432764f770ada154a40f9345609b56487b6490675e750b42b05735c79f5efd759c96be6cde417ea2513c177e991268
7
+ data.tar.gz: 17b98688580b5ffaeb5a8d6ccebecf2e713384c41136b28b2fa7abc4e5550cf1fe89e0b23a39e9517433ef081a0fca4f28c3d59d5f650245c81af572537825f0
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.2.1] - 2018-08-01
6
+ ### Fixed
7
+ - Remove over-eager check for column existence
8
+
5
9
  ## [0.2.0] - 2018-07-31
6
10
  ### Added
7
11
  - Support for Rails 4.x (in addition to 5.x)
@@ -12,5 +16,6 @@
12
16
  ### Added
13
17
  - Copy/paste of code from app where it was originally used
14
18
 
15
- [Unreleased]: https://github.com/molawson/boolean_timestamp/compare/v0.2.0...HEAD
19
+ [Unreleased]: https://github.com/molawson/boolean_timestamp/compare/v0.2.1...HEAD
20
+ [0.2.1]: https://github.com/molawson/boolean_timestamp/compare/v0.2.0...v0.2.1
16
21
  [0.2.0]: https://github.com/molawson/boolean_timestamp/compare/v0.1.0...v0.2.0
@@ -13,12 +13,6 @@ module BooleanTimestamp
13
13
  column_name = "#{method_name}_at"
14
14
  fully_qualified_column_name = "#{table_name}.#{column_name}"
15
15
 
16
- unless column_names.include?(column_name)
17
- raise(
18
- ArgumentError,
19
- "Can't build boolean methods from unknown column '#{fully_qualified_column_name}'",
20
- )
21
- end
22
16
  define_boolean_timestamp_scopes(method_name, fully_qualified_column_name)
23
17
  define_boolean_timestamp_accessors(method_name, column_name)
24
18
  end
@@ -1,3 +1,3 @@
1
1
  module BooleanTimestamp
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boolean_timestamp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mo Lawson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-31 00:00:00.000000000 Z
11
+ date: 2018-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal