globalize 6.0.1 → 6.3.0

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
  SHA256:
3
- metadata.gz: 232c58a035dbc34d1e513c552d3d0a52a7b349c414fb8c8126c74bfa94831e5e
4
- data.tar.gz: d25bd58906d809849ba3ef3ed393e80c599bab47e2115c25ff9f75e11d1a4c7c
3
+ metadata.gz: 34cc31a44c1d8b8a42380056f12b248c294b29f9f36354bf4c036bb9bc7647ee
4
+ data.tar.gz: ad2174d623ad46091f589fd02b3e8a3ead9dc38152abfcb993eb58adde31d59d
5
5
  SHA512:
6
- metadata.gz: 5c8d6cb1111dddd8f36e3baf3ec053a4db7f1b76b302694a631e41dcb849506d351dd5c5562e513e864912a129b030ae5cf6a0c6378460e534812a65651a60ea
7
- data.tar.gz: 43bafaeac8081685600f7201fb88ae5d2c4195ac0c5d40595d78d846deb578f6255c42c55a8b68aafc18dc76a32c0ac370330ecfc1ae3bc6a0379415edb65309
6
+ metadata.gz: 4648278f3dcfa69f1bf221672dc63469b8361e67787af443af114cb52baa86e471d7bc9c520019b14e85f1e7810381b7057871c1e8c16072c411e82cd33fb955
7
+ data.tar.gz: e759b5efe96786474e32e380109542695398bcbdffcb5bb121e6d2736dc01e4585cc6099b428126d2437524da9cdfa1c2a2e8f7b8ee62d68035c57366ddaf789
checksums.yaml.gz.sig CHANGED
Binary file
data/Appraisals CHANGED
@@ -6,6 +6,7 @@ RAILS_VERSIONS = %w[
6
6
  5.2.5
7
7
  6.0.3.6
8
8
  6.1.3.1
9
+ 7.0.1
9
10
  ]
10
11
 
11
12
  RAILS_VERSIONS.each do |version|
@@ -13,12 +14,12 @@ RAILS_VERSIONS.each do |version|
13
14
  gem 'activemodel', version
14
15
  gem 'activerecord', version
15
16
 
16
- if version =~ /^6/
17
- gem 'sqlite3', '~> 1.4', platforms: [:ruby, :rbx]
17
+ if version =~ /^4/
18
+ gem 'sqlite3', '~> 1.3.6', platforms: [:ruby, :rbx]
18
19
  elsif version =~ /^5/
19
20
  gem 'sqlite3', '~> 1.3', '>= 1.3.6', platforms: [:ruby, :rbx]
20
- else version =~ /^4/
21
- gem 'sqlite3', '~> 1.3.6', platforms: [:ruby, :rbx]
21
+ else
22
+ gem 'sqlite3', '~> 1.4', platforms: [:ruby, :rbx]
22
23
  end
23
24
 
24
25
  if !ENV['CI'] || %w(postgres postgresql).include?(ENV['DB'])
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Globalize Changelog
2
2
 
3
+ ## 6.3.0 (2023-10-22)
4
+
5
+ * Support ruby 3.2 rails 7.1 (#810)(https://github.com/globalize/globalize/pull/810) by [Shinichi Maeshima](https://github.com/willnet)
6
+
7
+ ## 6.2.1 (2022-05-24)
8
+
9
+ * Changed serialize method in Rails 6.1.0+ [#798](https://github.com/globalize/globalize/pull/798) by [Alex](https://github.com/oivoodoo)
10
+
11
+ ## 6.2.0 (2022-05-24)
12
+
13
+ * Fix asset precompile in docker build workflow [#799](https://github.com/globalize/globalize/pull/799) by [Diefferson Koderer Môro](https://github.com/djpremier)
14
+
15
+ ## 6.1.0 (2022-02-25)
16
+
17
+ * Patch ActiveSupport in Rails 7.0.0+ [#792](https://github.com/globalize/globalize/pull/792) by [Daniel Chan](https://github.com/mynameisdaniel) and [Artis Raugulis](https://github.com/artisr)
18
+
3
19
  ## 6.0.1 (2021-06-23)
4
20
 
5
21
  * Fix errors with Rails 6.1 and Ruby 3.0 [#778](https://github.com/globalize/globalize/pull/778) by [Andrew White](https://github.com/pixeltrix)
data/CONTRIBUTING.md CHANGED
@@ -4,7 +4,7 @@ Globalize is a community project, and would not be here today if it were not for
4
4
 
5
5
  ## Bugs
6
6
 
7
- If you find a bug or something is not working as expected, please search through the [github issues](https://github.com/globalize/globalize/issues) and on [stackoverflow](http://stackoverflow.com/questions/tagged/globalize) first. If you cannot find any answers related to your issue, post a new one and we will try to address it as soon as we can. Note that we prioritize Rails 4 issues (`master` branch) over Rails 3 issues (`3-0-stable` branch).
7
+ If you find a bug or something is not working as expected, please search through the [github issues](https://github.com/globalize/globalize/issues) and on [stackoverflow](http://stackoverflow.com/questions/tagged/globalize) first. If you cannot find any answers related to your issue, post a new one and we will try to address it as soon as we can. Note that we prioritize Rails 4 issues (`main` branch) over Rails 3 issues (`3-0-stable` branch).
8
8
 
9
9
  If you also have some idea how to fix the bug, then by all means post a pull request (see below).
10
10
 
@@ -12,11 +12,11 @@ If you also have some idea how to fix the bug, then by all means post a pull req
12
12
 
13
13
  Have an idea for a new feature? Great! Keep in mind though that we are trying to cut down on non-core functionality in the Globalize core and push it to separate extensions, such as [globalize-accessors](https://github.com/globalize/globalize-accessors). If you are proposing something like this, we would prefer you to create a separate repository and gem for it.
14
14
 
15
- If however your feature would improve the core functionality of Globalize, please do submit a PR, preferably to the `master` branch.
15
+ If however your feature would improve the core functionality of Globalize, please do submit a PR, preferably to the `main` branch.
16
16
 
17
17
  ## Refactoring
18
18
 
19
- Have some free time? Help us improve our [code climate score](https://codeclimate.com/github/globalize/globalize) by refactoring the codebase. If the tests still pass and the changes seem reasonable, we will happily merge them. As elsewhere, priority always goes to the Rails/AR 4 series (`master` branch).
19
+ Have some free time? Help us improve our [code climate score](https://codeclimate.com/github/globalize/globalize) by refactoring the codebase. If the tests still pass and the changes seem reasonable, we will happily merge them. As elsewhere, priority always goes to the Rails/AR 4 series (`main` branch).
20
20
 
21
21
  ## Documentation
22
22
 
@@ -32,7 +32,7 @@ Have a bug fix, code improvement or proposed feature? Do the following:
32
32
  4. Push to the branch: `git push origin my_new_feature`
33
33
  5. Submit a pull request.
34
34
 
35
- For pull requests to Rails/ActiveRecord 4 version of Globalize (v3.x), post to the `master` branch. For pull requests to the Rails/ActiveRecord 3.x version of Globalize (3.x), post to the `3-0-stable` branch.
35
+ For pull requests to Rails/ActiveRecord 4 version of Globalize (v3.x), post to the `main` branch. For pull requests to the Rails/ActiveRecord 3.x version of Globalize (3.x), post to the `3-0-stable` branch.
36
36
 
37
37
  When you submit the pull request, GitHub Actions will run the [test suite](https://github.com/globalize/globalize/actions) against your branch and will highlight any failures. Unless there is a good reason for it, we do not generally accept pull requests that take Globalize from green to red.
38
38
 
data/Gemfile.lock ADDED
@@ -0,0 +1,100 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ globalize (6.3.0)
5
+ activemodel (>= 4.2, < 7.2)
6
+ activerecord (>= 4.2, < 7.2)
7
+ request_store (~> 1.0)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ activemodel (7.1.1)
13
+ activesupport (= 7.1.1)
14
+ activerecord (7.1.1)
15
+ activemodel (= 7.1.1)
16
+ activesupport (= 7.1.1)
17
+ timeout (>= 0.4.0)
18
+ activesupport (7.1.1)
19
+ base64
20
+ bigdecimal
21
+ concurrent-ruby (~> 1.0, >= 1.0.2)
22
+ connection_pool (>= 2.2.5)
23
+ drb
24
+ i18n (>= 1.6, < 2)
25
+ minitest (>= 5.1)
26
+ mutex_m
27
+ tzinfo (~> 2.0)
28
+ ansi (1.5.0)
29
+ appraisal (2.5.0)
30
+ bundler
31
+ rake
32
+ thor (>= 0.14.0)
33
+ base64 (0.1.1)
34
+ bigdecimal (3.1.4)
35
+ builder (3.2.4)
36
+ coderay (1.1.3)
37
+ concurrent-ruby (1.2.2)
38
+ connection_pool (2.4.1)
39
+ database_cleaner (2.0.2)
40
+ database_cleaner-active_record (>= 2, < 3)
41
+ database_cleaner-active_record (2.1.0)
42
+ activerecord (>= 5.a)
43
+ database_cleaner-core (~> 2.0.0)
44
+ database_cleaner-core (2.0.1)
45
+ drb (2.1.1)
46
+ ruby2_keywords
47
+ i18n (1.14.1)
48
+ concurrent-ruby (~> 1.0)
49
+ m (1.6.2)
50
+ method_source (>= 0.6.7)
51
+ rake (>= 0.9.2.2)
52
+ method_source (1.0.0)
53
+ minitest (5.20.0)
54
+ minitest-reporters (1.6.1)
55
+ ansi
56
+ builder
57
+ minitest (>= 5.0)
58
+ ruby-progressbar
59
+ mutex_m (0.1.2)
60
+ mysql2 (0.5.5)
61
+ pg (1.5.4)
62
+ pry (0.14.2)
63
+ coderay (~> 1.1)
64
+ method_source (~> 1.0)
65
+ psych (5.1.1.1)
66
+ stringio
67
+ rack (3.0.8)
68
+ rake (13.0.6)
69
+ rdoc (6.5.0)
70
+ psych (>= 4.0.0)
71
+ request_store (1.5.1)
72
+ rack (>= 1.4)
73
+ ruby-progressbar (1.13.0)
74
+ ruby2_keywords (0.0.5)
75
+ sqlite3 (1.6.7-arm64-darwin)
76
+ stringio (3.0.8)
77
+ thor (1.3.0)
78
+ timeout (0.4.0)
79
+ tzinfo (2.0.6)
80
+ concurrent-ruby (~> 1.0)
81
+
82
+ PLATFORMS
83
+ arm64-darwin-22
84
+
85
+ DEPENDENCIES
86
+ appraisal
87
+ database_cleaner
88
+ globalize!
89
+ m
90
+ minitest
91
+ minitest-reporters
92
+ mysql2
93
+ pg
94
+ pry
95
+ rake
96
+ rdoc
97
+ sqlite3
98
+
99
+ BUNDLED WITH
100
+ 2.4.17
data/globalize.gemspec CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |s|
17
17
  s.require_path = 'lib'
18
18
  s.required_ruby_version = '>= 2.4.6'
19
19
 
20
- s.add_dependency 'activerecord', '>= 4.2', '< 7.0'
21
- s.add_dependency 'activemodel', '>= 4.2', '< 7.0'
20
+ s.add_dependency 'activerecord', '>= 4.2', '< 7.2'
21
+ s.add_dependency 'activemodel', '>= 4.2', '< 7.2'
22
22
  s.add_dependency 'request_store', '~> 1.0'
23
23
 
24
24
  s.add_development_dependency 'appraisal'
data/issue_template.rb CHANGED
@@ -7,7 +7,7 @@ require 'minitest/autorun'
7
7
  require 'logger'
8
8
 
9
9
  # Ensure backward compatibility with Minitest 4
10
- Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
10
+ Minitest::Test = Minitest::Unit::TestCase unless defined?(Minitest::Test)
11
11
 
12
12
  # This connection will do for database-independent bug reports.
13
13
  ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
@@ -41,7 +41,7 @@ module Globalize
41
41
  end
42
42
 
43
43
  begin
44
- if Globalize.rails_5? && table_exists? && translation_class.table_exists?
44
+ if Globalize.rails_5? && database_connection_possible?
45
45
  self.ignored_columns += translated_attribute_names.map(&:to_s)
46
46
  reset_column_information
47
47
  end
@@ -52,7 +52,8 @@ module Globalize
52
52
 
53
53
  def check_columns!(attr_names)
54
54
  # If tables do not exist or Rails version is greater than 5, do not warn about conflicting columns
55
- return unless Globalize.rails_42? && table_exists? && translation_class.table_exists?
55
+ return unless Globalize.rails_42? && database_connection_possible?
56
+
56
57
  if (overlap = attr_names.map(&:to_s) & column_names).present?
57
58
  ActiveSupport::Deprecation.warn(
58
59
  ["You have defined one or more translated attributes with names that conflict with column(s) on the model table. ",
@@ -124,6 +124,20 @@ module Globalize
124
124
  define_translations_reader(name)
125
125
  define_translations_writer(name)
126
126
  end
127
+
128
+ def database_connection_possible?
129
+ begin
130
+ # Without a connection tentative, the `connected?` function can responds with a false negative
131
+ ::ActiveRecord::Base.connection
132
+ rescue
133
+ # Ignore connection fail because in docker build hasn't a database connection
134
+ nil
135
+ end
136
+
137
+ ::ActiveRecord::Base.connected? &&
138
+ table_exists? &&
139
+ translation_class.table_exists?
140
+ end
127
141
  end
128
142
  end
129
143
  end
@@ -21,7 +21,7 @@ module Globalize
21
21
 
22
22
  # In Rails 5.2 we need to override *_assign_attributes* as it's called earlier
23
23
  # in the stack (before *assign_attributes*)
24
- # See https://github.com/rails/rails/blob/master/activerecord/lib/active_record/attribute_assignment.rb#L11
24
+ # See https://github.com/rails/rails/blob/5-2-stable/activerecord/lib/active_record/attribute_assignment.rb#L12
25
25
  def _assign_attributes(new_attributes)
26
26
  attributes = new_attributes.stringify_keys
27
27
  with_given_locale(attributes) { super(attributes.except("locale")) }
@@ -169,6 +169,8 @@ module Globalize
169
169
  # Create a hash containing the translated column names and their values.
170
170
  translated_attribute_names.inject(fields_to_update={}) do |f, name|
171
171
  f.update({name.to_sym => translated_record[name.to_s]})
172
+ # Remove attributes that will no longer be translated
173
+ translated_attribute_names.delete(name)
172
174
  end
173
175
 
174
176
  # Now, update the actual model's record with the hash.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Globalize
4
- Version = '6.0.1'
4
+ Version = '6.3.0'
5
5
  end
data/lib/globalize.rb CHANGED
@@ -6,6 +6,7 @@ require 'patches/active_record/relation'
6
6
  require 'patches/active_record/serialization'
7
7
  require 'patches/active_record/uniqueness_validator'
8
8
  require 'patches/active_record/persistence'
9
+ require 'patches/active_support/inflections'
9
10
 
10
11
  module Globalize
11
12
  autoload :ActiveRecord, 'globalize/active_record'
@@ -0,0 +1,22 @@
1
+ module Globalize
2
+ module AttributeMethods
3
+ module Serialization
4
+ def serialize(attr_name, class_name_or_coder = Object, **options)
5
+ super(attr_name, class_name_or_coder, **options)
6
+
7
+ coder = if class_name_or_coder == ::JSON
8
+ ::ActiveRecord::Coders::JSON
9
+ elsif [:load, :dump].all? { |x| class_name_or_coder.respond_to?(x) }
10
+ class_name_or_coder
11
+ else
12
+ ::ActiveRecord::Coders::YAMLColumn.new(attr_name, class_name_or_coder)
13
+ end
14
+
15
+ self.globalize_serialized_attributes = globalize_serialized_attributes.dup
16
+ self.globalize_serialized_attributes[attr_name] = coder
17
+ end
18
+ end
19
+ end
20
+ end
21
+
22
+ ActiveRecord::AttributeMethods::Serialization::ClassMethods.send(:prepend, Globalize::AttributeMethods::Serialization)
@@ -1,5 +1,7 @@
1
1
  if ::ActiveRecord.version < Gem::Version.new("5.1.0")
2
2
  require_relative 'rails4/serialization'
3
- else
3
+ elsif ::ActiveRecord.version < Gem::Version.new("6.1.0")
4
4
  require_relative 'rails5_1/serialization'
5
+ else
6
+ require_relative 'rails6_1/serialization'
5
7
  end
@@ -0,0 +1,14 @@
1
+ if ::ActiveSupport.version >= Gem::Version.new("7.0.0")
2
+ module Globalize
3
+ module Inflections
4
+ def instance_or_fallback(locale)
5
+ I18n.respond_to?(:fallbacks) && I18n.fallbacks[locale].each do |k|
6
+ return @__instance__[k] if @__instance__.key?(k)
7
+ end
8
+ instance(locale)
9
+ end
10
+ end
11
+ end
12
+
13
+ ActiveSupport::Inflector::Inflections.singleton_class.send :prepend, Globalize::Inflections
14
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: globalize
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 6.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Fuchs
@@ -16,31 +16,33 @@ bindir: bin
16
16
  cert_chain:
17
17
  - |
18
18
  -----BEGIN CERTIFICATE-----
19
- MIIEMjCCApqgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhnZW1z
20
- L0RDPXAvREM9YXJuZHQvREM9aW8wHhcNMjEwNjIzMDkyNzU2WhcNMjIwNjIzMDky
21
- NzU2WjAjMSEwHwYDVQQDDBhnZW1zL0RDPXAvREM9YXJuZHQvREM9aW8wggGiMA0G
22
- CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQD0CYnD37uLlJ3Urla2EnnUQ8S6s16k
23
- AGMpAzpmARo8YwSqtYMJVGyBzUeI7y93Fk9ncswhIFSH/hnh/Ouat/ki9flHlZ+w
24
- anv0M+9v3wCLyZSC5BQIWpoduFM/fuvLoDUJDWxL50RjwMS0qo2x2LvfQdHN8gn3
25
- JdSIV5WLJKIvlmIl9S3pw0JO5KRUGn1PcBO7C0S0SlbhVjRHtlao1ycWUULsX109
26
- hCh39MPGtnZpdCcxheh0TH/UA/jV0/du9/rQdoidkNHkaC24pPfBJ3nS+rAbWaHP
27
- WmP+0rjfk/XnGBu/HZpKvlnwQjP3QdK4UMtWl8zewqFMNcIiBRALQugnL/SfrP/4
28
- CSl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4n
37
+ 71tz39+MD2lIpLVVEQ69MIoUseppNUTCg0mNghSDYNwISMD/hoWwbJudBi56DbhE
38
+ xkulLbw8qtcEE+iilIKibe+eJF4platKScsOA7d1AuilR1/S245UzeqwwyI52/xK
39
+ dfoP928X9Tb/48+83lWUgAgCQOd6WdfCpgQ5H6R90lc8L7OfuDR/vgcmSOTsNVgG
40
+ 1TC3b2FISS0p0qfZsiS7BXh+ARoBKLXsV1a7WR36X0dUpajvk+zzBGrFCdbW43Gx
41
+ wmJzIksYnf9Ktg8Ux+FLcRBGw4qEIyWvqmS0obB1Hke68rTg0uNTFcKXsNw33XF5
42
+ fw1cbj95g7OPe0feGK8+afXh/L38vx/hIIOGlUEZ+HaWL2Dki/7vRGvda8dfOpG5
43
+ bJfaoyKbVsrK+gGKFJv860zsO8lg6BGLsUw=
42
44
  -----END CERTIFICATE-----
43
- date: 2021-06-23 00:00:00.000000000 Z
45
+ date: 2023-10-20 00:00:00.000000000 Z
44
46
  dependencies:
45
47
  - !ruby/object:Gem::Dependency
46
48
  name: activerecord
@@ -51,7 +53,7 @@ dependencies:
51
53
  version: '4.2'
52
54
  - - "<"
53
55
  - !ruby/object:Gem::Version
54
- version: '7.0'
56
+ version: '7.2'
55
57
  type: :runtime
56
58
  prerelease: false
57
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -61,7 +63,7 @@ dependencies:
61
63
  version: '4.2'
62
64
  - - "<"
63
65
  - !ruby/object:Gem::Version
64
- version: '7.0'
66
+ version: '7.2'
65
67
  - !ruby/object:Gem::Dependency
66
68
  name: activemodel
67
69
  requirement: !ruby/object:Gem::Requirement
@@ -71,7 +73,7 @@ dependencies:
71
73
  version: '4.2'
72
74
  - - "<"
73
75
  - !ruby/object:Gem::Version
74
- version: '7.0'
76
+ version: '7.2'
75
77
  type: :runtime
76
78
  prerelease: false
77
79
  version_requirements: !ruby/object:Gem::Requirement
@@ -81,7 +83,7 @@ dependencies:
81
83
  version: '4.2'
82
84
  - - "<"
83
85
  - !ruby/object:Gem::Version
84
- version: '7.0'
86
+ version: '7.2'
85
87
  - !ruby/object:Gem::Dependency
86
88
  name: request_store
87
89
  requirement: !ruby/object:Gem::Requirement
@@ -218,6 +220,7 @@ files:
218
220
  - CHANGELOG.md
219
221
  - CONTRIBUTING.md
220
222
  - Gemfile
223
+ - Gemfile.lock
221
224
  - LICENSE
222
225
  - README.md
223
226
  - Rakefile
@@ -248,11 +251,13 @@ files:
248
251
  - lib/patches/active_record/rails5/uniqueness_validator.rb
249
252
  - lib/patches/active_record/rails5_1/serialization.rb
250
253
  - lib/patches/active_record/rails5_1/uniqueness_validator.rb
254
+ - lib/patches/active_record/rails6_1/serialization.rb
251
255
  - lib/patches/active_record/rails6_1/uniqueness_validator.rb
252
256
  - lib/patches/active_record/relation.rb
253
257
  - lib/patches/active_record/serialization.rb
254
258
  - lib/patches/active_record/uniqueness_validator.rb
255
259
  - lib/patches/active_record/xml_attribute_serializer.rb
260
+ - lib/patches/active_support/inflections.rb
256
261
  homepage: http://github.com/globalize/globalize
257
262
  licenses:
258
263
  - MIT
@@ -272,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
277
  - !ruby/object:Gem::Version
273
278
  version: '0'
274
279
  requirements: []
275
- rubygems_version: 3.1.6
280
+ rubygems_version: 3.4.10
276
281
  signing_key:
277
282
  specification_version: 4
278
283
  summary: Rails I18n de-facto standard library for ActiveRecord model/data translation
metadata.gz.sig CHANGED
Binary file