rails 6.1.3.2 → 7.0.10
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/MIT-LICENSE +20 -0
- data/README.md +11 -18
- metadata +33 -48
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1456bdb7ead8a6d08691aec2c98e0e0689fb4c9ecf31a393160ef95aa2700d5c
|
|
4
|
+
data.tar.gz: 9a83be2bc7e1a9dfab32bfe2bd22ba1236f0059aaf0bb3f4afeb49048d42705e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9396406b041b6471f9b7c92b65d4403dbb5ccdbc6c470d582b9585d8625fcf4f00eecbf7518ebe3ae31b51204791a06b1719184dd662d41b525d064073a4c3d
|
|
7
|
+
data.tar.gz: 1e0e79d19a45d7407395dbf8e965d2f8fb53e367696ef4cfa5b0b662e868c4010e25ed6799e05478e20913ad9accd1b2f5bfa5ba3359b57adf48e63de3f7f1cc
|
data/MIT-LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright (c) 2005-2022 David Heinemeier Hansson
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<a href="https://rubyonrails.org/" target="_blank" rel="noopener noreferrer">
|
|
3
|
-
<img src="https://rubyonrails.org/images/rails-logo.svg" width="400">
|
|
4
|
-
</a>
|
|
5
|
-
</p>
|
|
6
|
-
|
|
7
1
|
# Welcome to Rails
|
|
8
2
|
|
|
9
3
|
## What's Rails?
|
|
@@ -28,6 +22,14 @@ Although most Rails models are backed by a database, models can also be ordinary
|
|
|
28
22
|
Ruby classes, or Ruby classes that implement a set of interfaces as provided by
|
|
29
23
|
the [Active Model](activemodel/README.rdoc) module.
|
|
30
24
|
|
|
25
|
+
## View layer
|
|
26
|
+
|
|
27
|
+
The _**View layer**_ is composed of "templates" that are responsible for providing
|
|
28
|
+
appropriate representations of your application's resources. Templates can
|
|
29
|
+
come in a variety of formats, but most view templates are HTML with embedded
|
|
30
|
+
Ruby code (ERB files). Views are typically rendered to generate a controller response
|
|
31
|
+
or to generate the body of an email. In Rails, View generation is handled by [Action View](actionview/README.rdoc).
|
|
32
|
+
|
|
31
33
|
## Controller layer
|
|
32
34
|
|
|
33
35
|
The _**Controller layer**_ is responsible for handling incoming HTTP requests and
|
|
@@ -38,14 +40,6 @@ In Rails, incoming requests are routed by Action Dispatch to an appropriate cont
|
|
|
38
40
|
controller classes are derived from `ActionController::Base`. Action Dispatch and Action Controller
|
|
39
41
|
are bundled together in [Action Pack](actionpack/README.rdoc).
|
|
40
42
|
|
|
41
|
-
## View layer
|
|
42
|
-
|
|
43
|
-
The _**View layer**_ is composed of "templates" that are responsible for providing
|
|
44
|
-
appropriate representations of your application's resources. Templates can
|
|
45
|
-
come in a variety of formats, but most view templates are HTML with embedded
|
|
46
|
-
Ruby code (ERB files). Views are typically rendered to generate a controller response
|
|
47
|
-
or to generate the body of an email. In Rails, View generation is handled by [Action View](actionview/README.rdoc).
|
|
48
|
-
|
|
49
43
|
## Frameworks and libraries
|
|
50
44
|
|
|
51
45
|
[Active Record](activerecord/README.rdoc), [Active Model](activemodel/README.rdoc), [Action Pack](actionpack/README.rdoc), and [Action View](actionview/README.rdoc) can each be used independently outside Rails.
|
|
@@ -78,8 +72,7 @@ and may also be used independently outside Rails.
|
|
|
78
72
|
|
|
79
73
|
Run with `--help` or `-h` for options.
|
|
80
74
|
|
|
81
|
-
4. Go to `http://localhost:3000` and you'll see
|
|
82
|
-
"Yay! You’re on Rails!"
|
|
75
|
+
4. Go to `http://localhost:3000` and you'll see the Rails bootscreen with your Rails and Ruby versions.
|
|
83
76
|
|
|
84
77
|
5. Follow the guidelines to start developing your application. You may find
|
|
85
78
|
the following resources handy:
|
|
@@ -93,10 +86,10 @@ We encourage you to contribute to Ruby on Rails! Please check out the
|
|
|
93
86
|
[Contributing to Ruby on Rails guide](https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html) for guidelines about how to proceed. [Join us!](https://contributors.rubyonrails.org)
|
|
94
87
|
|
|
95
88
|
Trying to report a possible security vulnerability in Rails? Please
|
|
96
|
-
check out our [security policy](https://rubyonrails.org/security
|
|
89
|
+
check out our [security policy](https://rubyonrails.org/security) for
|
|
97
90
|
guidelines about how to proceed.
|
|
98
91
|
|
|
99
|
-
Everyone interacting in Rails and its sub-projects' codebases, issue trackers, chat rooms, and mailing lists is expected to follow the Rails [code of conduct](https://rubyonrails.org/conduct
|
|
92
|
+
Everyone interacting in Rails and its sub-projects' codebases, issue trackers, chat rooms, and mailing lists is expected to follow the Rails [code of conduct](https://rubyonrails.org/conduct).
|
|
100
93
|
|
|
101
94
|
## License
|
|
102
95
|
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.10
|
|
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,168 +15,168 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - '='
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
18
|
+
version: 7.0.10
|
|
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:
|
|
25
|
+
version: 7.0.10
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: actionpack
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
30
29
|
requirements:
|
|
31
30
|
- - '='
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
32
|
+
version: 7.0.10
|
|
34
33
|
type: :runtime
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - '='
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
39
|
+
version: 7.0.10
|
|
41
40
|
- !ruby/object:Gem::Dependency
|
|
42
41
|
name: actionview
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
44
43
|
requirements:
|
|
45
44
|
- - '='
|
|
46
45
|
- !ruby/object:Gem::Version
|
|
47
|
-
version:
|
|
46
|
+
version: 7.0.10
|
|
48
47
|
type: :runtime
|
|
49
48
|
prerelease: false
|
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
50
|
requirements:
|
|
52
51
|
- - '='
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
|
-
version:
|
|
53
|
+
version: 7.0.10
|
|
55
54
|
- !ruby/object:Gem::Dependency
|
|
56
55
|
name: activemodel
|
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
|
58
57
|
requirements:
|
|
59
58
|
- - '='
|
|
60
59
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
60
|
+
version: 7.0.10
|
|
62
61
|
type: :runtime
|
|
63
62
|
prerelease: false
|
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
64
|
requirements:
|
|
66
65
|
- - '='
|
|
67
66
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
67
|
+
version: 7.0.10
|
|
69
68
|
- !ruby/object:Gem::Dependency
|
|
70
69
|
name: activerecord
|
|
71
70
|
requirement: !ruby/object:Gem::Requirement
|
|
72
71
|
requirements:
|
|
73
72
|
- - '='
|
|
74
73
|
- !ruby/object:Gem::Version
|
|
75
|
-
version:
|
|
74
|
+
version: 7.0.10
|
|
76
75
|
type: :runtime
|
|
77
76
|
prerelease: false
|
|
78
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
78
|
requirements:
|
|
80
79
|
- - '='
|
|
81
80
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
81
|
+
version: 7.0.10
|
|
83
82
|
- !ruby/object:Gem::Dependency
|
|
84
83
|
name: actionmailer
|
|
85
84
|
requirement: !ruby/object:Gem::Requirement
|
|
86
85
|
requirements:
|
|
87
86
|
- - '='
|
|
88
87
|
- !ruby/object:Gem::Version
|
|
89
|
-
version:
|
|
88
|
+
version: 7.0.10
|
|
90
89
|
type: :runtime
|
|
91
90
|
prerelease: false
|
|
92
91
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
92
|
requirements:
|
|
94
93
|
- - '='
|
|
95
94
|
- !ruby/object:Gem::Version
|
|
96
|
-
version:
|
|
95
|
+
version: 7.0.10
|
|
97
96
|
- !ruby/object:Gem::Dependency
|
|
98
97
|
name: activejob
|
|
99
98
|
requirement: !ruby/object:Gem::Requirement
|
|
100
99
|
requirements:
|
|
101
100
|
- - '='
|
|
102
101
|
- !ruby/object:Gem::Version
|
|
103
|
-
version:
|
|
102
|
+
version: 7.0.10
|
|
104
103
|
type: :runtime
|
|
105
104
|
prerelease: false
|
|
106
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
106
|
requirements:
|
|
108
107
|
- - '='
|
|
109
108
|
- !ruby/object:Gem::Version
|
|
110
|
-
version:
|
|
109
|
+
version: 7.0.10
|
|
111
110
|
- !ruby/object:Gem::Dependency
|
|
112
111
|
name: actioncable
|
|
113
112
|
requirement: !ruby/object:Gem::Requirement
|
|
114
113
|
requirements:
|
|
115
114
|
- - '='
|
|
116
115
|
- !ruby/object:Gem::Version
|
|
117
|
-
version:
|
|
116
|
+
version: 7.0.10
|
|
118
117
|
type: :runtime
|
|
119
118
|
prerelease: false
|
|
120
119
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
120
|
requirements:
|
|
122
121
|
- - '='
|
|
123
122
|
- !ruby/object:Gem::Version
|
|
124
|
-
version:
|
|
123
|
+
version: 7.0.10
|
|
125
124
|
- !ruby/object:Gem::Dependency
|
|
126
125
|
name: activestorage
|
|
127
126
|
requirement: !ruby/object:Gem::Requirement
|
|
128
127
|
requirements:
|
|
129
128
|
- - '='
|
|
130
129
|
- !ruby/object:Gem::Version
|
|
131
|
-
version:
|
|
130
|
+
version: 7.0.10
|
|
132
131
|
type: :runtime
|
|
133
132
|
prerelease: false
|
|
134
133
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
134
|
requirements:
|
|
136
135
|
- - '='
|
|
137
136
|
- !ruby/object:Gem::Version
|
|
138
|
-
version:
|
|
137
|
+
version: 7.0.10
|
|
139
138
|
- !ruby/object:Gem::Dependency
|
|
140
139
|
name: actionmailbox
|
|
141
140
|
requirement: !ruby/object:Gem::Requirement
|
|
142
141
|
requirements:
|
|
143
142
|
- - '='
|
|
144
143
|
- !ruby/object:Gem::Version
|
|
145
|
-
version:
|
|
144
|
+
version: 7.0.10
|
|
146
145
|
type: :runtime
|
|
147
146
|
prerelease: false
|
|
148
147
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
148
|
requirements:
|
|
150
149
|
- - '='
|
|
151
150
|
- !ruby/object:Gem::Version
|
|
152
|
-
version:
|
|
151
|
+
version: 7.0.10
|
|
153
152
|
- !ruby/object:Gem::Dependency
|
|
154
153
|
name: actiontext
|
|
155
154
|
requirement: !ruby/object:Gem::Requirement
|
|
156
155
|
requirements:
|
|
157
156
|
- - '='
|
|
158
157
|
- !ruby/object:Gem::Version
|
|
159
|
-
version:
|
|
158
|
+
version: 7.0.10
|
|
160
159
|
type: :runtime
|
|
161
160
|
prerelease: false
|
|
162
161
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
162
|
requirements:
|
|
164
163
|
- - '='
|
|
165
164
|
- !ruby/object:Gem::Version
|
|
166
|
-
version:
|
|
165
|
+
version: 7.0.10
|
|
167
166
|
- !ruby/object:Gem::Dependency
|
|
168
167
|
name: railties
|
|
169
168
|
requirement: !ruby/object:Gem::Requirement
|
|
170
169
|
requirements:
|
|
171
170
|
- - '='
|
|
172
171
|
- !ruby/object:Gem::Version
|
|
173
|
-
version:
|
|
172
|
+
version: 7.0.10
|
|
174
173
|
type: :runtime
|
|
175
174
|
prerelease: false
|
|
176
175
|
version_requirements: !ruby/object:Gem::Requirement
|
|
177
176
|
requirements:
|
|
178
177
|
- - '='
|
|
179
178
|
- !ruby/object:Gem::Version
|
|
180
|
-
version:
|
|
179
|
+
version: 7.0.10
|
|
181
180
|
- !ruby/object:Gem::Dependency
|
|
182
181
|
name: bundler
|
|
183
182
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -192,20 +191,6 @@ dependencies:
|
|
|
192
191
|
- - ">="
|
|
193
192
|
- !ruby/object:Gem::Version
|
|
194
193
|
version: 1.15.0
|
|
195
|
-
- !ruby/object:Gem::Dependency
|
|
196
|
-
name: sprockets-rails
|
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
|
198
|
-
requirements:
|
|
199
|
-
- - ">="
|
|
200
|
-
- !ruby/object:Gem::Version
|
|
201
|
-
version: 2.0.0
|
|
202
|
-
type: :runtime
|
|
203
|
-
prerelease: false
|
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
205
|
-
requirements:
|
|
206
|
-
- - ">="
|
|
207
|
-
- !ruby/object:Gem::Version
|
|
208
|
-
version: 2.0.0
|
|
209
194
|
description: Ruby on Rails is a full-stack web framework optimized for programmer
|
|
210
195
|
happiness and sustainable productivity. It encourages beautiful code by favoring
|
|
211
196
|
convention over configuration.
|
|
@@ -214,17 +199,18 @@ executables: []
|
|
|
214
199
|
extensions: []
|
|
215
200
|
extra_rdoc_files: []
|
|
216
201
|
files:
|
|
202
|
+
- MIT-LICENSE
|
|
217
203
|
- README.md
|
|
218
204
|
homepage: https://rubyonrails.org
|
|
219
205
|
licenses:
|
|
220
206
|
- MIT
|
|
221
207
|
metadata:
|
|
222
208
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
223
|
-
changelog_uri: https://github.com/rails/rails/releases/tag/
|
|
224
|
-
documentation_uri: https://api.rubyonrails.org/
|
|
209
|
+
changelog_uri: https://github.com/rails/rails/releases/tag/v7.0.10
|
|
210
|
+
documentation_uri: https://api.rubyonrails.org/v7.0.10/
|
|
225
211
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
226
|
-
source_code_uri: https://github.com/rails/rails/tree/
|
|
227
|
-
|
|
212
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.0.10
|
|
213
|
+
rubygems_mfa_required: 'true'
|
|
228
214
|
rdoc_options: []
|
|
229
215
|
require_paths:
|
|
230
216
|
- lib
|
|
@@ -232,15 +218,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
232
218
|
requirements:
|
|
233
219
|
- - ">="
|
|
234
220
|
- !ruby/object:Gem::Version
|
|
235
|
-
version: 2.
|
|
221
|
+
version: 2.7.0
|
|
236
222
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
237
223
|
requirements:
|
|
238
224
|
- - ">="
|
|
239
225
|
- !ruby/object:Gem::Version
|
|
240
226
|
version: 1.8.11
|
|
241
227
|
requirements: []
|
|
242
|
-
rubygems_version: 3.
|
|
243
|
-
signing_key:
|
|
228
|
+
rubygems_version: 3.6.9
|
|
244
229
|
specification_version: 4
|
|
245
230
|
summary: Full-stack web application framework.
|
|
246
231
|
test_files: []
|