fishplate 7.0.0 → 7.0.1

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: f292c17488c535a30fdf086eae8d9798533a072e0a44c8a5620d45466ff8dbba
4
- data.tar.gz: fa788d1d5d376185b67aaf249228979c1975d9334e4c917ee58b3be9b32dda05
3
+ metadata.gz: 2431680113b62da1a71a17b8df3503b0c450781d28c09f4d6afec09dd2f2766e
4
+ data.tar.gz: cb0fdf35cba582737b649f6b516e67e088805c529697dfbc892d670f79a295db
5
5
  SHA512:
6
- metadata.gz: 9955fa782c4abcbcbc4f4490bb62474cf4d1cea76776521cfd81cba89103995d3a774f5e4acc7e74fe49e0b0096ee87d45985cbdc7bbbf1ecd1f8efcda34a03e
7
- data.tar.gz: 53705d4b34ea0aeb8d4ee999d321f5559b1fb047a3797979b39c2566cd3574b4a88d2d81ac664ac5ccb824a8065c89282e500418d168c2711749e206a6627cf6
6
+ metadata.gz: 9b4b827d28fc3d0e24a6b42ad4ee72e1c73de0394b2e84a0fcf02fc9474b74177d025b63cadd3a29b948801d95ae1a746f926b929ec2849d9a5316552414978a
7
+ data.tar.gz: 20137b02c380ae5da9a08bf0e68275e3fe5c562bad41554660b10c9eadb7d30a7b2796f6f2bede98300208d69d2244514d91301c39768b8925550a06888c4730
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.2.32
1
+ 2.3.5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fishplate (7.0.0)
4
+ fishplate (7.0.1)
5
5
  a9n (~> 1.0)
6
6
  activemodel (~> 7.0)
7
7
  activerecord (~> 7.0)
@@ -13,12 +13,12 @@ GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
15
  a9n (1.2.3)
16
- activemodel (7.0.0)
17
- activesupport (= 7.0.0)
18
- activerecord (7.0.0)
19
- activemodel (= 7.0.0)
20
- activesupport (= 7.0.0)
21
- activesupport (7.0.0)
16
+ activemodel (7.0.1)
17
+ activesupport (= 7.0.1)
18
+ activerecord (7.0.1)
19
+ activemodel (= 7.0.1)
20
+ activesupport (= 7.0.1)
21
+ activesupport (7.0.1)
22
22
  concurrent-ruby (~> 1.0, >= 1.0.2)
23
23
  i18n (>= 1.6, < 2)
24
24
  minitest (>= 5.1)
@@ -26,13 +26,13 @@ GEM
26
26
  ast (2.4.2)
27
27
  coderay (1.1.3)
28
28
  concurrent-ruby (1.1.9)
29
- diff-lcs (1.4.4)
29
+ diff-lcs (1.5.0)
30
30
  i18n (1.8.11)
31
31
  concurrent-ruby (~> 1.0)
32
32
  method_source (1.0.0)
33
33
  minitest (5.15.0)
34
34
  parallel (1.21.0)
35
- parser (3.0.3.2)
35
+ parser (3.1.0.0)
36
36
  ast (~> 2.4.1)
37
37
  pry (0.14.1)
38
38
  coderay (~> 1.1)
@@ -54,20 +54,20 @@ GEM
54
54
  diff-lcs (>= 1.2.0, < 2.0)
55
55
  rspec-support (~> 3.10.0)
56
56
  rspec-support (3.10.3)
57
- rubocop (1.23.0)
57
+ rubocop (1.24.1)
58
58
  parallel (~> 1.10)
59
59
  parser (>= 3.0.0.0)
60
60
  rainbow (>= 2.2.2, < 4.0)
61
61
  regexp_parser (>= 1.8, < 3.0)
62
62
  rexml
63
- rubocop-ast (>= 1.12.0, < 2.0)
63
+ rubocop-ast (>= 1.15.1, < 2.0)
64
64
  ruby-progressbar (~> 1.7)
65
65
  unicode-display_width (>= 1.4.0, < 3.0)
66
- rubocop-ast (1.15.0)
66
+ rubocop-ast (1.15.1)
67
67
  parser (>= 3.0.1.1)
68
68
  rubocop-rake (0.6.0)
69
69
  rubocop (~> 1.0)
70
- rubocop-rspec (2.6.0)
70
+ rubocop-rspec (2.7.0)
71
71
  rubocop (~> 1.19)
72
72
  ruby-progressbar (1.11.0)
73
73
  sqlite3 (1.4.2)
@@ -82,6 +82,7 @@ PLATFORMS
82
82
  x86_64-darwin-18
83
83
  x86_64-darwin-19
84
84
  x86_64-darwin-20
85
+ x86_64-darwin-21
85
86
  x86_64-linux
86
87
 
87
88
  DEPENDENCIES
@@ -96,4 +97,4 @@ DEPENDENCIES
96
97
  sqlite3
97
98
 
98
99
  BUNDLED WITH
99
- 2.2.29
100
+ 2.3.5
@@ -26,7 +26,7 @@ namespace :generate do
26
26
  | end
27
27
  |end
28
28
  CONTENT
29
- File.open(file_path, "w+") { |f| f.write(content.gsub(/( +\|)/, '')) }
29
+ File.write(file_path, content.gsub(/( +\|)/, ''))
30
30
  puts "Created migration file: #{relative_file_path}"
31
31
  end
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module Fishplate
2
- VERSION = "7.0.0".freeze
2
+ VERSION = "7.0.1".freeze
3
3
  end
data/lib/fishplate.rb CHANGED
@@ -55,10 +55,9 @@ module Fishplate
55
55
  private
56
56
 
57
57
  def configure_active_record
58
+ ActiveRecord.default_timezone = :utc
58
59
  ActiveRecord::Base.logger = logger
59
60
  ActiveRecord::Base.time_zone_aware_attributes = true
60
- ActiveRecord::Base.default_timezone = :utc
61
- ActiveRecord::Base.connection_handlers = { ActiveRecord::Base.writing_role => ActiveRecord::Base.default_connection_handler }
62
61
  ActiveRecord::Base.configurations = database_configuration
63
62
  end
64
63
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fishplate
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-17 00:00:00.000000000 Z
11
+ date: 2022-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: a9n
@@ -257,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  - !ruby/object:Gem::Version
258
258
  version: '0'
259
259
  requirements: []
260
- rubygems_version: 3.2.23
260
+ rubygems_version: 3.2.32
261
261
  signing_key:
262
262
  specification_version: 4
263
263
  summary: Fishplate is a library allowing running ActiveRecord without Railties.