rails 6.1.7 → 7.2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -0
- data/README.md +31 -26
- metadata +35 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8d773fae06b9758bd86cd9811d5d3f071437f89f34809aaadb1febb889f61b0
|
4
|
+
data.tar.gz: f51c02702f3f6081c73f283f2c32eb76846e2e65995117299e1f148f644e30d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b77e2d20ea05484654c41209afa8439cd19363f610ad8532138d11d1e048eb3a23d88f592c506d54b56800db55396c1a76c014f8e6b59fe2b7cb070ae4c326c9
|
7
|
+
data.tar.gz: 7ab7430d5cc96f53bbcc07922619f80625880f3d4a2ea970ac4463630f53b8dc8893b348fef29221cb104e8425f1415115ec8c0630db2f132cd47768642b8d47
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 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
@@ -22,6 +22,14 @@ Although most Rails models are backed by a database, models can also be ordinary
|
|
22
22
|
Ruby classes, or Ruby classes that implement a set of interfaces as provided by
|
23
23
|
the [Active Model](activemodel/README.rdoc) module.
|
24
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
|
+
|
25
33
|
## Controller layer
|
26
34
|
|
27
35
|
The _**Controller layer**_ is responsible for handling incoming HTTP requests and
|
@@ -32,48 +40,45 @@ In Rails, incoming requests are routed by Action Dispatch to an appropriate cont
|
|
32
40
|
controller classes are derived from `ActionController::Base`. Action Dispatch and Action Controller
|
33
41
|
are bundled together in [Action Pack](actionpack/README.rdoc).
|
34
42
|
|
35
|
-
## View layer
|
36
|
-
|
37
|
-
The _**View layer**_ is composed of "templates" that are responsible for providing
|
38
|
-
appropriate representations of your application's resources. Templates can
|
39
|
-
come in a variety of formats, but most view templates are HTML with embedded
|
40
|
-
Ruby code (ERB files). Views are typically rendered to generate a controller response
|
41
|
-
or to generate the body of an email. In Rails, View generation is handled by [Action View](actionview/README.rdoc).
|
42
|
-
|
43
43
|
## Frameworks and libraries
|
44
44
|
|
45
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.
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
46
|
+
|
47
|
+
In addition to that, Rails also comes with:
|
48
|
+
|
49
|
+
- [Action Mailer](actionmailer/README.rdoc), a library to generate and send emails
|
50
|
+
- [Action Mailbox](actionmailbox/README.md), a library to receive emails within a Rails application
|
51
|
+
- [Active Job](activejob/README.md), a framework for declaring jobs and making them run on a variety of queuing backends
|
52
|
+
- [Action Cable](actioncable/README.md), a framework to integrate WebSockets with a Rails application
|
53
|
+
- [Active Storage](activestorage/README.md), a library to attach cloud and local files to Rails applications
|
54
|
+
- [Action Text](actiontext/README.md), a library to handle rich text content
|
55
|
+
- [Active Support](activesupport/README.rdoc), a collection of utility classes and standard library extensions that are useful for Rails, and may also be used independently outside Rails
|
55
56
|
|
56
57
|
## Getting Started
|
57
58
|
|
58
59
|
1. Install Rails at the command prompt if you haven't yet:
|
59
60
|
|
60
|
-
|
61
|
+
```bash
|
62
|
+
$ gem install rails
|
63
|
+
```
|
61
64
|
|
62
65
|
2. At the command prompt, create a new Rails application:
|
63
66
|
|
64
|
-
|
67
|
+
```bash
|
68
|
+
$ rails new myapp
|
69
|
+
```
|
65
70
|
|
66
71
|
where "myapp" is the application name.
|
67
72
|
|
68
73
|
3. Change directory to `myapp` and start the web server:
|
69
74
|
|
70
|
-
|
71
|
-
|
72
|
-
|
75
|
+
```bash
|
76
|
+
$ cd myapp
|
77
|
+
$ bin/rails server
|
78
|
+
```
|
73
79
|
Run with `--help` or `-h` for options.
|
74
80
|
|
75
|
-
4. Go to `http://localhost:3000` and you'll see
|
76
|
-
"Yay! You’re on Rails!"
|
81
|
+
4. Go to `http://localhost:3000` and you'll see the Rails bootscreen with your Rails and Ruby versions.
|
77
82
|
|
78
83
|
5. Follow the guidelines to start developing your application. You may find
|
79
84
|
the following resources handy:
|
@@ -87,10 +92,10 @@ We encourage you to contribute to Ruby on Rails! Please check out the
|
|
87
92
|
[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)
|
88
93
|
|
89
94
|
Trying to report a possible security vulnerability in Rails? Please
|
90
|
-
check out our [security policy](https://rubyonrails.org/security
|
95
|
+
check out our [security policy](https://rubyonrails.org/security) for
|
91
96
|
guidelines about how to proceed.
|
92
97
|
|
93
|
-
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
|
98
|
+
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).
|
94
99
|
|
95
100
|
## License
|
96
101
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,168 +16,168 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 7.2.1.1
|
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:
|
26
|
+
version: 7.2.1.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: actionpack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 7.2.1.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 7.2.1.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: actionview
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 7.2.1.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 7.2.1.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: activemodel
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 7.2.1.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 7.2.1.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: activerecord
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 7.2.1.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 7.2.1.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: actionmailer
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 7.2.1.1
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 7.2.1.1
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: activejob
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 7.2.1.1
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 7.2.1.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: actioncable
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 7.2.1.1
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 7.2.1.1
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: activestorage
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 7.2.1.1
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 7.2.1.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: actionmailbox
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 7.2.1.1
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 7.2.1.1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: actiontext
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - '='
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 7.2.1.1
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - '='
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 7.2.1.1
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: railties
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - '='
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
173
|
+
version: 7.2.1.1
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - '='
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: 7.2.1.1
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: bundler
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,20 +192,6 @@ dependencies:
|
|
192
192
|
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
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
195
|
description: Ruby on Rails is a full-stack web framework optimized for programmer
|
210
196
|
happiness and sustainable productivity. It encourages beautiful code by favoring
|
211
197
|
convention over configuration.
|
@@ -214,18 +200,19 @@ executables: []
|
|
214
200
|
extensions: []
|
215
201
|
extra_rdoc_files: []
|
216
202
|
files:
|
203
|
+
- MIT-LICENSE
|
217
204
|
- README.md
|
218
205
|
homepage: https://rubyonrails.org
|
219
206
|
licenses:
|
220
207
|
- MIT
|
221
208
|
metadata:
|
222
209
|
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/
|
210
|
+
changelog_uri: https://github.com/rails/rails/releases/tag/v7.2.1.1
|
211
|
+
documentation_uri: https://api.rubyonrails.org/v7.2.1.1/
|
225
212
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
226
|
-
source_code_uri: https://github.com/rails/rails/tree/
|
213
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.2.1.1
|
227
214
|
rubygems_mfa_required: 'true'
|
228
|
-
post_install_message:
|
215
|
+
post_install_message:
|
229
216
|
rdoc_options: []
|
230
217
|
require_paths:
|
231
218
|
- lib
|
@@ -233,15 +220,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
233
220
|
requirements:
|
234
221
|
- - ">="
|
235
222
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
223
|
+
version: 3.1.0
|
237
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
225
|
requirements:
|
239
226
|
- - ">="
|
240
227
|
- !ruby/object:Gem::Version
|
241
228
|
version: 1.8.11
|
242
229
|
requirements: []
|
243
|
-
rubygems_version: 3.
|
244
|
-
signing_key:
|
230
|
+
rubygems_version: 3.5.16
|
231
|
+
signing_key:
|
245
232
|
specification_version: 4
|
246
233
|
summary: Full-stack web application framework.
|
247
234
|
test_files: []
|