actionview 7.1.5.2 → 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 +5 -0
- data/lib/action_view/gem_version.rb +2 -2
- data/lib/action_view/helpers/date_helper.rb +8 -1
- metadata +24 -10
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,7 +1,7 @@
|
|
|
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
|
|
@@ -15,14 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 7.1.
|
|
18
|
+
version: 7.1.6
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
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'
|
|
26
40
|
- !ruby/object:Gem::Dependency
|
|
27
41
|
name: builder
|
|
28
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -85,28 +99,28 @@ dependencies:
|
|
|
85
99
|
requirements:
|
|
86
100
|
- - '='
|
|
87
101
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: 7.1.
|
|
102
|
+
version: 7.1.6
|
|
89
103
|
type: :development
|
|
90
104
|
prerelease: false
|
|
91
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
92
106
|
requirements:
|
|
93
107
|
- - '='
|
|
94
108
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: 7.1.
|
|
109
|
+
version: 7.1.6
|
|
96
110
|
- !ruby/object:Gem::Dependency
|
|
97
111
|
name: activemodel
|
|
98
112
|
requirement: !ruby/object:Gem::Requirement
|
|
99
113
|
requirements:
|
|
100
114
|
- - '='
|
|
101
115
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 7.1.
|
|
116
|
+
version: 7.1.6
|
|
103
117
|
type: :development
|
|
104
118
|
prerelease: false
|
|
105
119
|
version_requirements: !ruby/object:Gem::Requirement
|
|
106
120
|
requirements:
|
|
107
121
|
- - '='
|
|
108
122
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: 7.1.
|
|
123
|
+
version: 7.1.6
|
|
110
124
|
description: Simple, battle-tested conventions and helpers for building web pages.
|
|
111
125
|
email: david@loudthinking.com
|
|
112
126
|
executables: []
|
|
@@ -244,10 +258,10 @@ licenses:
|
|
|
244
258
|
- MIT
|
|
245
259
|
metadata:
|
|
246
260
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
247
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.1.
|
|
248
|
-
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/
|
|
249
263
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
250
|
-
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
|
|
251
265
|
rubygems_mfa_required: 'true'
|
|
252
266
|
rdoc_options: []
|
|
253
267
|
require_paths:
|