coaster 1.4.18 → 1.4.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2375ede6caac89a8fc38928222a8d1f69e054623183b5dd58c6b7d32a35568e1
4
- data.tar.gz: '098118e09439e6aa1f70237cd4464691560d443eb9a196a507756d43a58c220c'
3
+ metadata.gz: 49b5ac6ffe8b3a5353d578169f65736d410999c67d900bba84892afdf3f02b2e
4
+ data.tar.gz: 0f0714f6d68e15dd7aa965f73db60f5b0c954777b564e02e8269831102d9e524
5
5
  SHA512:
6
- metadata.gz: 39bea4db37ec0d25d6db9693904f16313f357e5c356497e9a1275171c04a722b2eab57c73618618fd65588763b553e7e5900e72d5b9575567b4af5c0d8a82b7e
7
- data.tar.gz: 5cfc9e5c91546d36721382252b1628bb97ded32882569696eca1435877a0fcc5418df53756c518795922cefc36155fda21db828cc6d4f51ef7607990a9524fb5
6
+ metadata.gz: f1496c1ab77e6a773ace2d257aeacc358f5e4da0ec8842bfef44157baba129a2b63ad2b9c07e82554135dddeaf198c5b039e7313a98f7109072954a270e1abda
7
+ data.tar.gz: 458b6a59e912bcf6efd7a9584f4ca6d9ae9df7881869184930510a47b349f541dd4167448c8b7309a01d80e4b69a32f1e4ad9dce711c7f186a390526b729ba68
@@ -1,2 +1,4 @@
1
1
  require 'coaster/rails_ext/backtrace_cleaner'
2
- require 'coaster/rails_ext/active_record/errors'
2
+ ActiveSupport.on_load(:active_record, yield: true) do
3
+ require 'coaster/rails_ext/active_record/errors'
4
+ end
@@ -92,7 +92,7 @@ module Coaster
92
92
  getter: Proc.new { |val| val.nil? ? nil : Time.zone.parse(val) },
93
93
  setter: Proc.new { |val|
94
94
  if val.is_a?(Time)
95
- val.respond_to?(:to_fs) ? val.to_fs(:default_tz) : val.to_s(:default_tz)
95
+ val.utc.iso8601(6)
96
96
  end
97
97
  },
98
98
  default: default
@@ -1,3 +1,3 @@
1
1
  module Coaster
2
- VERSION = '1.4.18'
2
+ VERSION = '1.4.20'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.18
4
+ version: 1.4.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - buzz jung
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-09 00:00:00.000000000 Z
11
+ date: 2024-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj
@@ -233,7 +233,7 @@ licenses:
233
233
  metadata:
234
234
  source_code_uri: https://github.com/frograms/coaster
235
235
  bug_tracker_uri: https://github.com/frograms/coaster/issues
236
- post_install_message:
236
+ post_install_message:
237
237
  rdoc_options: []
238
238
  require_paths:
239
239
  - lib
@@ -249,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  version: '0'
250
250
  requirements: []
251
251
  rubygems_version: 3.4.19
252
- signing_key:
252
+ signing_key:
253
253
  specification_version: 4
254
254
  summary: A little convenient feature for standard library
255
255
  test_files: