activemodel 7.0.5 → 7.0.6

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: b1e260ee8a07b5c46bd04d84013855604516f92bd9d2305cd4108582963551e6
4
- data.tar.gz: '030858442b97869a031487982dbd29c709af654e01e0e63df48b6b95e20f900a'
3
+ metadata.gz: 88150733324b801dc2198570a32ef11184c4865a2cb3fbccd405ac31dad489a6
4
+ data.tar.gz: 6d7ce343da16108e59c8362526dc898adba71d6837cbe695a3fd8bd30ad2eb08
5
5
  SHA512:
6
- metadata.gz: fef75f5d7769575131c5409a80bc17b955b43e2695f3d6425a47f99a363c49a7991f2d5ab4d7eea8908f45e2af8033ce59cf6bd163c5c9193f345040aed9f646
7
- data.tar.gz: c1f480b1de01351da6701d5cd5452837de8a44ab01f7d5f196eaab5cb5a76b6bda7666cb4c8a79fa37743f087157431a71b2b9cd63e4609d4475c19d11d4d23f
6
+ metadata.gz: 6fee121b0166ed0a83926f5d575cc700d7267d4c5b87d0dc4cdbd5d0c5eed376e15688c5aa884af7375548a55a20138a16a2fc0c999289c5de0b1b49631213c8
7
+ data.tar.gz: c9d3ceceb28ed93fa597d1cd41d727ee63022e74849e79a9ee5f7a9202beeddb41e15e69103009768b46ce8be82cf5f43b84b06e88db32cc7fd82c4e3ffb1efe
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## Rails 7.0.6 (June 29, 2023) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 7.0.5.1 (June 26, 2023) ##
7
+
8
+ * No changes.
9
+
10
+
1
11
  ## Rails 7.0.5 (May 24, 2023) ##
2
12
 
3
13
  * No changes.
data/README.rdoc CHANGED
@@ -239,7 +239,7 @@ The latest version of Active Model can be installed with RubyGems:
239
239
 
240
240
  $ gem install activemodel
241
241
 
242
- Source code can be downloaded as part of the Rails project on GitHub
242
+ Source code can be downloaded as part of the \Rails project on GitHub
243
243
 
244
244
  * https://github.com/rails/rails/tree/main/activemodel
245
245
 
@@ -257,7 +257,7 @@ API documentation is at:
257
257
 
258
258
  * https://api.rubyonrails.org
259
259
 
260
- Bug reports for the Ruby on Rails project can be filed here:
260
+ Bug reports for the Ruby on \Rails project can be filed here:
261
261
 
262
262
  * https://github.com/rails/rails/issues
263
263
 
@@ -9,7 +9,7 @@ module ActiveModel
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
- TINY = 5
12
+ TINY = 6
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
@@ -15,7 +15,9 @@ module ActiveModel
15
15
  if value.is_a?(Data)
16
16
  value.to_s
17
17
  else
18
- super
18
+ value = super
19
+ value = value.b if ::String === value && value.encoding != Encoding::BINARY
20
+ value
19
21
  end
20
22
  end
21
23
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemodel
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.5
4
+ version: 7.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-24 00:00:00.000000000 Z
11
+ date: 2023-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.5
19
+ version: 7.0.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 7.0.5
26
+ version: 7.0.6
27
27
  description: A toolkit for building modeling frameworks like Active Record. Rich support
28
28
  for attributes, callbacks, validations, serialization, internationalization, and
29
29
  testing.
@@ -107,10 +107,10 @@ licenses:
107
107
  - MIT
108
108
  metadata:
109
109
  bug_tracker_uri: https://github.com/rails/rails/issues
110
- changelog_uri: https://github.com/rails/rails/blob/v7.0.5/activemodel/CHANGELOG.md
111
- documentation_uri: https://api.rubyonrails.org/v7.0.5/
110
+ changelog_uri: https://github.com/rails/rails/blob/v7.0.6/activemodel/CHANGELOG.md
111
+ documentation_uri: https://api.rubyonrails.org/v7.0.6/
112
112
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
113
- source_code_uri: https://github.com/rails/rails/tree/v7.0.5/activemodel
113
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.6/activemodel
114
114
  rubygems_mfa_required: 'true'
115
115
  post_install_message:
116
116
  rdoc_options: []
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubygems_version: 3.4.10
130
+ rubygems_version: 3.4.13
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: A toolkit for building modeling frameworks (part of Rails).