rails 5.2.7.1 → 7.0.2.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rails might be problematic. Click here for more details.

Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -44
  3. metadata +53 -33
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6b0494348381e3ce1c54286e5c681a2daedb8d19eb6a8d00004e958eefeeabf
4
- data.tar.gz: 42104f64a0cb68cf2166c390dfdc019bdbf6bf8b06f6e7dffe2e3f7b111b7c13
3
+ metadata.gz: b783da6b99f6426dcf3310dc93dcb1063d0d7dce26f3d069c6f032b7b54259b4
4
+ data.tar.gz: 439abc91df39b8b9b308ab71b2900c2accb13f76b338f7f7146cc37d32447391
5
5
  SHA512:
6
- metadata.gz: 335b1c5d357d90c3c802af2494cd0baf10f26663fcbd4a0b7cd5c305b72fbef317b0dd8d3d67cfd334bc67510f08d0e851d9bd1b6b0d8be334788450fa230ec1
7
- data.tar.gz: 4401fd83508754ed4b55036f9016a3444a86c0079fc53f5fa9d79a463ce3fa8c7c36e0c75ad86ee47cade115798135558c52e04a1adaf6065560adb64419c573
6
+ metadata.gz: 2f2899cd9ed32f1e73864bae929ffe0d89a3065e72bd55f6900c1b293e35efe1d209ef49fa3cea407134f1f0cbc09b7cc86b94a8d51d1a44dae5789e06c9d71b
7
+ data.tar.gz: 7fd1366e50c429742f26c26288c1b139f3e53cc51934cfc73e47b6a4a0967da9557b7d8715421717185795c210f2c97f04a26fc810a0d827a6014813606d3f10
data/README.md CHANGED
@@ -1,48 +1,55 @@
1
1
  # Welcome to Rails
2
2
 
3
+ ## What's Rails?
4
+
3
5
  Rails is a web-application framework that includes everything needed to
4
6
  create database-backed web applications according to the
5
- [Model-View-Controller (MVC)](http://en.wikipedia.org/wiki/Model-view-controller)
7
+ [Model-View-Controller (MVC)](https://en.wikipedia.org/wiki/Model-view-controller)
6
8
  pattern.
7
9
 
8
10
  Understanding the MVC pattern is key to understanding Rails. MVC divides your
9
- application into three layers, each with a specific responsibility.
11
+ application into three layers: Model, View, and Controller, each with a specific responsibility.
12
+
13
+ ## Model layer
10
14
 
11
- The _Model layer_ represents your domain model (such as Account, Product,
12
- Person, Post, etc.) and encapsulates the business logic that is specific to
15
+ The _**Model layer**_ represents the domain model (such as Account, Product,
16
+ Person, Post, etc.) and encapsulates the business logic specific to
13
17
  your application. In Rails, database-backed model classes are derived from
14
- `ActiveRecord::Base`. Active Record allows you to present the data from
18
+ `ActiveRecord::Base`. [Active Record](activerecord/README.rdoc) allows you to present the data from
15
19
  database rows as objects and embellish these data objects with business logic
16
- methods. You can read more about Active Record in its [README](activerecord/README.rdoc).
20
+ methods.
17
21
  Although most Rails models are backed by a database, models can also be ordinary
18
22
  Ruby classes, or Ruby classes that implement a set of interfaces as provided by
19
- the Active Model module. You can read more about Active Model in its [README](activemodel/README.rdoc).
23
+ the [Active Model](activemodel/README.rdoc) module.
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
+
33
+ ## Controller layer
20
34
 
21
- The _Controller layer_ is responsible for handling incoming HTTP requests and
22
- providing a suitable response. Usually this means returning HTML, but Rails controllers
35
+ The _**Controller layer**_ is responsible for handling incoming HTTP requests and
36
+ providing a suitable response. Usually, this means returning HTML, but Rails controllers
23
37
  can also generate XML, JSON, PDFs, mobile-specific views, and more. Controllers load and
24
38
  manipulate models, and render view templates in order to generate the appropriate HTTP response.
25
39
  In Rails, incoming requests are routed by Action Dispatch to an appropriate controller, and
26
40
  controller classes are derived from `ActionController::Base`. Action Dispatch and Action Controller
27
- are bundled together in Action Pack. You can read more about Action Pack in its
28
- [README](actionpack/README.rdoc).
29
-
30
- The _View layer_ is composed of "templates" that are responsible for providing
31
- appropriate representations of your application's resources. Templates can
32
- come in a variety of formats, but most view templates are HTML with embedded
33
- Ruby code (ERB files). Views are typically rendered to generate a controller response,
34
- or to generate the body of an email. In Rails, View generation is handled by Action View.
35
- You can read more about Action View in its [README](actionview/README.rdoc).
36
-
37
- Active Record, Active Model, Action Pack, and Action View can each be used independently outside Rails.
38
- In addition to that, Rails also comes with Action Mailer ([README](actionmailer/README.rdoc)), a library
39
- to generate and send emails; Active Job ([README](activejob/README.md)), a
40
- framework for declaring jobs and making them run on a variety of queueing
41
- backends; Action Cable ([README](actioncable/README.md)), a framework to
42
- integrate WebSockets with a Rails application;
43
- Active Storage ([README](activestorage/README.md)), a library to attach cloud
44
- and local files to Rails applications;
45
- and Active Support ([README](activesupport/README.rdoc)), a collection
41
+ are bundled together in [Action Pack](actionpack/README.rdoc).
42
+
43
+ ## Frameworks and libraries
44
+
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
+ In addition to that, Rails also comes with [Action Mailer](actionmailer/README.rdoc), a library
47
+ to generate and send emails; [Action Mailbox](actionmailbox/README.md), a library to receive emails within a Rails application;
48
+ [Active Job](activejob/README.md), a framework for declaring jobs and making them run on a variety of queuing
49
+ backends; [Action Cable](actioncable/README.md), a framework to
50
+ integrate WebSockets with a Rails application; [Active Storage](activestorage/README.md), a library to attach cloud
51
+ and local files to Rails applications; [Action Text](actiontext/README.md), a library to handle rich text content;
52
+ and [Active Support](activesupport/README.rdoc), a collection
46
53
  of utility classes and standard library extensions that are useful for Rails,
47
54
  and may also be used independently outside Rails.
48
55
 
@@ -61,36 +68,28 @@ and may also be used independently outside Rails.
61
68
  3. Change directory to `myapp` and start the web server:
62
69
 
63
70
  $ cd myapp
64
- $ rails server
71
+ $ bin/rails server
65
72
 
66
73
  Run with `--help` or `-h` for options.
67
74
 
68
- 4. Using a browser, go to `http://localhost:3000` and you'll see:
69
- "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.
70
76
 
71
77
  5. Follow the guidelines to start developing your application. You may find
72
78
  the following resources handy:
73
- * [Getting Started with Rails](http://guides.rubyonrails.org/getting_started.html)
74
- * [Ruby on Rails Guides](http://guides.rubyonrails.org)
75
- * [The API Documentation](http://api.rubyonrails.org)
76
- * [Ruby on Rails Tutorial](https://www.railstutorial.org/book)
79
+ * [Getting Started with Rails](https://guides.rubyonrails.org/getting_started.html)
80
+ * [Ruby on Rails Guides](https://guides.rubyonrails.org)
81
+ * [The API Documentation](https://api.rubyonrails.org)
77
82
 
78
83
  ## Contributing
79
84
 
80
- [![Code Triage Badge](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails)
81
-
82
85
  We encourage you to contribute to Ruby on Rails! Please check out the
83
- [Contributing to Ruby on Rails guide](http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html) for guidelines about how to proceed. [Join us!](http://contributors.rubyonrails.org)
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)
84
87
 
85
88
  Trying to report a possible security vulnerability in Rails? Please
86
- check out our [security policy](http://rubyonrails.org/security/) for
89
+ check out our [security policy](https://rubyonrails.org/security) for
87
90
  guidelines about how to proceed.
88
91
 
89
- 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](http://rubyonrails.org/conduct/).
90
-
91
- ## Code Status
92
-
93
- [![Build Status](https://travis-ci.org/rails/rails.svg?branch=5-2-stable)](https://travis-ci.org/rails/rails)
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).
94
93
 
95
94
  ## License
96
95
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.7.1
4
+ version: 7.0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -16,168 +16,182 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.7.1
19
+ version: 7.0.2.4
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: 5.2.7.1
26
+ version: 7.0.2.4
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: 5.2.7.1
33
+ version: 7.0.2.4
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: 5.2.7.1
40
+ version: 7.0.2.4
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: 5.2.7.1
47
+ version: 7.0.2.4
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: 5.2.7.1
54
+ version: 7.0.2.4
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: 5.2.7.1
61
+ version: 7.0.2.4
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: 5.2.7.1
68
+ version: 7.0.2.4
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: 5.2.7.1
75
+ version: 7.0.2.4
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: 5.2.7.1
82
+ version: 7.0.2.4
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: 5.2.7.1
89
+ version: 7.0.2.4
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: 5.2.7.1
96
+ version: 7.0.2.4
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: 5.2.7.1
103
+ version: 7.0.2.4
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: 5.2.7.1
110
+ version: 7.0.2.4
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: 5.2.7.1
117
+ version: 7.0.2.4
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: 5.2.7.1
124
+ version: 7.0.2.4
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: 5.2.7.1
131
+ version: 7.0.2.4
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: 5.2.7.1
138
+ version: 7.0.2.4
139
139
  - !ruby/object:Gem::Dependency
140
- name: railties
140
+ name: actionmailbox
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 5.2.7.1
145
+ version: 7.0.2.4
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: 5.2.7.1
152
+ version: 7.0.2.4
153
153
  - !ruby/object:Gem::Dependency
154
- name: bundler
154
+ name: actiontext
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
157
+ - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 1.3.0
159
+ version: 7.0.2.4
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: 1.3.0
166
+ version: 7.0.2.4
167
167
  - !ruby/object:Gem::Dependency
168
- name: sprockets-rails
168
+ name: railties
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - '='
172
+ - !ruby/object:Gem::Version
173
+ version: 7.0.2.4
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - '='
179
+ - !ruby/object:Gem::Version
180
+ version: 7.0.2.4
181
+ - !ruby/object:Gem::Dependency
182
+ name: bundler
169
183
  requirement: !ruby/object:Gem::Requirement
170
184
  requirements:
171
185
  - - ">="
172
186
  - !ruby/object:Gem::Version
173
- version: 2.0.0
187
+ version: 1.15.0
174
188
  type: :runtime
175
189
  prerelease: false
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
192
  - - ">="
179
193
  - !ruby/object:Gem::Version
180
- version: 2.0.0
194
+ version: 1.15.0
181
195
  description: Ruby on Rails is a full-stack web framework optimized for programmer
182
196
  happiness and sustainable productivity. It encourages beautiful code by favoring
183
197
  convention over configuration.
@@ -187,10 +201,16 @@ extensions: []
187
201
  extra_rdoc_files: []
188
202
  files:
189
203
  - README.md
190
- homepage: http://rubyonrails.org
204
+ homepage: https://rubyonrails.org
191
205
  licenses:
192
206
  - MIT
193
- metadata: {}
207
+ metadata:
208
+ bug_tracker_uri: https://github.com/rails/rails/issues
209
+ changelog_uri: https://github.com/rails/rails/releases/tag/v7.0.2.4
210
+ documentation_uri: https://api.rubyonrails.org/v7.0.2.4/
211
+ mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
212
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.2.4
213
+ rubygems_mfa_required: 'true'
194
214
  post_install_message:
195
215
  rdoc_options: []
196
216
  require_paths:
@@ -199,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
199
219
  requirements:
200
220
  - - ">="
201
221
  - !ruby/object:Gem::Version
202
- version: 2.2.2
222
+ version: 2.7.0
203
223
  required_rubygems_version: !ruby/object:Gem::Requirement
204
224
  requirements:
205
225
  - - ">="