actionview 7.1.5.1 → 7.1.6
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 +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/action_view/gem_version.rb +2 -2
- data/lib/action_view/helpers/date_helper.rb +8 -1
- metadata +26 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2234d202c8b6eeebd0c8d6fe0f1793f89f85ad8b6702f01453b965e3d724756f
|
|
4
|
+
data.tar.gz: 382574ea34dba4663b2b8037200b84c672f141b3add83ca0f3dabeca24bbc1f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a3be568cf3a688761acfba31030ea5ccd259a27ff2e7267b716b36aaa087d1869833c9d93cf7e3ff873199d19815e0c8f6aa7448cbbb62a5f01f165768b05e1
|
|
7
|
+
data.tar.gz: 85ee2fd8e57e29f9c625d6d18ec84bf967e44504b2ee16af7637833069fd3e913b429c76432b10da813ffde33a9af27eb2956cbd35ec59eed98222753ecd801f
|
data/CHANGELOG.md
CHANGED
|
@@ -136,8 +136,15 @@ module ActionView
|
|
|
136
136
|
from_year += 1 if from_time.month >= 3
|
|
137
137
|
to_year = to_time.year
|
|
138
138
|
to_year -= 1 if to_time.month < 3
|
|
139
|
-
|
|
139
|
+
|
|
140
|
+
leap_years = if from_year > to_year
|
|
141
|
+
0
|
|
142
|
+
else
|
|
143
|
+
fyear = from_year - 1
|
|
144
|
+
(to_year / 4 - to_year / 100 + to_year / 400) - (fyear / 4 - fyear / 100 + fyear / 400)
|
|
145
|
+
end
|
|
140
146
|
minute_offset_for_leap_year = leap_years * 1440
|
|
147
|
+
|
|
141
148
|
# Discount the leap year days when calculating year distance.
|
|
142
149
|
# e.g. if there are 20 leap year days between 2 dates having the same day
|
|
143
150
|
# and month then based on 365 days calculation
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actionview
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.1.
|
|
4
|
+
version: 7.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: activesupport
|
|
@@ -16,14 +15,28 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - '='
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 7.1.
|
|
18
|
+
version: 7.1.6
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - '='
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 7.1.
|
|
25
|
+
version: 7.1.6
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: cgi
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
27
40
|
- !ruby/object:Gem::Dependency
|
|
28
41
|
name: builder
|
|
29
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -86,28 +99,28 @@ dependencies:
|
|
|
86
99
|
requirements:
|
|
87
100
|
- - '='
|
|
88
101
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: 7.1.
|
|
102
|
+
version: 7.1.6
|
|
90
103
|
type: :development
|
|
91
104
|
prerelease: false
|
|
92
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
106
|
requirements:
|
|
94
107
|
- - '='
|
|
95
108
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: 7.1.
|
|
109
|
+
version: 7.1.6
|
|
97
110
|
- !ruby/object:Gem::Dependency
|
|
98
111
|
name: activemodel
|
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
|
100
113
|
requirements:
|
|
101
114
|
- - '='
|
|
102
115
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: 7.1.
|
|
116
|
+
version: 7.1.6
|
|
104
117
|
type: :development
|
|
105
118
|
prerelease: false
|
|
106
119
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
120
|
requirements:
|
|
108
121
|
- - '='
|
|
109
122
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: 7.1.
|
|
123
|
+
version: 7.1.6
|
|
111
124
|
description: Simple, battle-tested conventions and helpers for building web pages.
|
|
112
125
|
email: david@loudthinking.com
|
|
113
126
|
executables: []
|
|
@@ -245,12 +258,11 @@ licenses:
|
|
|
245
258
|
- MIT
|
|
246
259
|
metadata:
|
|
247
260
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
248
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.1.
|
|
249
|
-
documentation_uri: https://api.rubyonrails.org/v7.1.
|
|
261
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.1.6/actionview/CHANGELOG.md
|
|
262
|
+
documentation_uri: https://api.rubyonrails.org/v7.1.6/
|
|
250
263
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
251
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.1.
|
|
264
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.1.6/actionview
|
|
252
265
|
rubygems_mfa_required: 'true'
|
|
253
|
-
post_install_message:
|
|
254
266
|
rdoc_options: []
|
|
255
267
|
require_paths:
|
|
256
268
|
- lib
|
|
@@ -266,8 +278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
266
278
|
version: '0'
|
|
267
279
|
requirements:
|
|
268
280
|
- none
|
|
269
|
-
rubygems_version: 3.
|
|
270
|
-
signing_key:
|
|
281
|
+
rubygems_version: 3.6.9
|
|
271
282
|
specification_version: 4
|
|
272
283
|
summary: Rendering framework putting the V in MVC (part of Rails).
|
|
273
284
|
test_files: []
|