rails 3.2.6 → 7.0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +96 -0
  4. metadata +202 -147
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a21ea936ad1db0c31e652e8a00fc36fcaeb3c06aa351d2bc13909779f6faf6e6
4
+ data.tar.gz: dd7c7dd43ab530855b025321ec2c8c5511fd4fb66b5d6986d1e5a56f516cb9f6
5
+ SHA512:
6
+ metadata.gz: b073d7101863907614781a3b9b6821e09aa6e8dcd81afc3f1bd9238023868431cfdf0cff175acfc9e57380ab5c971915c9b65822bc4ea1c0010d47536b33a1f4
7
+ data.tar.gz: d6ccdf569d410c4b9eb5f62dff5d111bfd21945b3f17badccc6dca3a576773a80e17ea607c8c5023d90ea6f227481ed10ee42eba1d003cf431cce80bc8b59ded
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 ADDED
@@ -0,0 +1,96 @@
1
+ # Welcome to Rails
2
+
3
+ ## What's Rails?
4
+
5
+ Rails is a web-application framework that includes everything needed to
6
+ create database-backed web applications according to the
7
+ [Model-View-Controller (MVC)](https://en.wikipedia.org/wiki/Model-view-controller)
8
+ pattern.
9
+
10
+ Understanding the MVC pattern is key to understanding Rails. MVC divides your
11
+ application into three layers: Model, View, and Controller, each with a specific responsibility.
12
+
13
+ ## Model layer
14
+
15
+ The _**Model layer**_ represents the domain model (such as Account, Product,
16
+ Person, Post, etc.) and encapsulates the business logic specific to
17
+ your application. In Rails, database-backed model classes are derived from
18
+ `ActiveRecord::Base`. [Active Record](activerecord/README.rdoc) allows you to present the data from
19
+ database rows as objects and embellish these data objects with business logic
20
+ methods.
21
+ Although most Rails models are backed by a database, models can also be ordinary
22
+ Ruby classes, or Ruby classes that implement a set of interfaces as provided by
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
34
+
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
37
+ can also generate XML, JSON, PDFs, mobile-specific views, and more. Controllers load and
38
+ manipulate models, and render view templates in order to generate the appropriate HTTP response.
39
+ In Rails, incoming requests are routed by Action Dispatch to an appropriate controller, and
40
+ controller classes are derived from `ActionController::Base`. Action Dispatch and Action Controller
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
53
+ of utility classes and standard library extensions that are useful for Rails,
54
+ and may also be used independently outside Rails.
55
+
56
+ ## Getting Started
57
+
58
+ 1. Install Rails at the command prompt if you haven't yet:
59
+
60
+ $ gem install rails
61
+
62
+ 2. At the command prompt, create a new Rails application:
63
+
64
+ $ rails new myapp
65
+
66
+ where "myapp" is the application name.
67
+
68
+ 3. Change directory to `myapp` and start the web server:
69
+
70
+ $ cd myapp
71
+ $ bin/rails server
72
+
73
+ Run with `--help` or `-h` for options.
74
+
75
+ 4. Go to `http://localhost:3000` and you'll see the Rails bootscreen with your Rails and Ruby versions.
76
+
77
+ 5. Follow the guidelines to start developing your application. You may find
78
+ the following resources handy:
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)
82
+
83
+ ## Contributing
84
+
85
+ We encourage you to contribute to Ruby on Rails! Please check out the
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)
87
+
88
+ Trying to report a possible security vulnerability in Rails? Please
89
+ check out our [security policy](https://rubyonrails.org/security) for
90
+ guidelines about how to proceed.
91
+
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).
93
+
94
+ ## License
95
+
96
+ Ruby on Rails is released under the [MIT License](https://opensource.org/licenses/MIT).
metadata CHANGED
@@ -1,179 +1,234 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rails
3
- version: !ruby/object:Gem::Version
4
- hash: 3
5
- prerelease:
6
- segments:
7
- - 3
8
- - 2
9
- - 6
10
- version: 3.2.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 7.0.8.1
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - David Heinemeier Hansson
14
- autorequire:
8
+ autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2012-06-12 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2024-02-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: activesupport
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - "="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 3
31
- - 2
32
- - 6
33
- version: 3.2.6
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 7.0.8.1
34
20
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 7.0.8.1
27
+ - !ruby/object:Gem::Dependency
37
28
  name: actionpack
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 7.0.8.1
34
+ type: :runtime
38
35
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - "="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 3
47
- - 2
48
- - 6
49
- version: 3.2.6
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 7.0.8.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: actionview
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 7.0.8.1
50
48
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: activerecord
54
49
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
56
- none: false
57
- requirements:
58
- - - "="
59
- - !ruby/object:Gem::Version
60
- hash: 3
61
- segments:
62
- - 3
63
- - 2
64
- - 6
65
- version: 3.2.6
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 7.0.8.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: activemodel
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 7.0.8.1
66
62
  type: :runtime
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: activeresource
70
63
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - "="
75
- - !ruby/object:Gem::Version
76
- hash: 3
77
- segments:
78
- - 3
79
- - 2
80
- - 6
81
- version: 3.2.6
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 7.0.8.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: activerecord
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 7.0.8.1
82
76
  type: :runtime
83
- version_requirements: *id004
84
- - !ruby/object:Gem::Dependency
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 7.0.8.1
83
+ - !ruby/object:Gem::Dependency
85
84
  name: actionmailer
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 7.0.8.1
90
+ type: :runtime
86
91
  prerelease: false
87
- requirement: &id005 !ruby/object:Gem::Requirement
88
- none: false
89
- requirements:
90
- - - "="
91
- - !ruby/object:Gem::Version
92
- hash: 3
93
- segments:
94
- - 3
95
- - 2
96
- - 6
97
- version: 3.2.6
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 7.0.8.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: activejob
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 7.0.8.1
98
104
  type: :runtime
99
- version_requirements: *id005
100
- - !ruby/object:Gem::Dependency
101
- name: railties
102
105
  prerelease: false
103
- requirement: &id006 !ruby/object:Gem::Requirement
104
- none: false
105
- requirements:
106
- - - "="
107
- - !ruby/object:Gem::Version
108
- hash: 3
109
- segments:
110
- - 3
111
- - 2
112
- - 6
113
- version: 3.2.6
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 7.0.8.1
111
+ - !ruby/object:Gem::Dependency
112
+ name: actioncable
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 7.0.8.1
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 7.0.8.1
125
+ - !ruby/object:Gem::Dependency
126
+ name: activestorage
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 7.0.8.1
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 7.0.8.1
139
+ - !ruby/object:Gem::Dependency
140
+ name: actionmailbox
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '='
144
+ - !ruby/object:Gem::Version
145
+ version: 7.0.8.1
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '='
151
+ - !ruby/object:Gem::Version
152
+ version: 7.0.8.1
153
+ - !ruby/object:Gem::Dependency
154
+ name: actiontext
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '='
158
+ - !ruby/object:Gem::Version
159
+ version: 7.0.8.1
114
160
  type: :runtime
115
- version_requirements: *id006
116
- - !ruby/object:Gem::Dependency
117
- name: bundler
118
161
  prerelease: false
119
- requirement: &id007 !ruby/object:Gem::Requirement
120
- none: false
121
- requirements:
122
- - - ~>
123
- - !ruby/object:Gem::Version
124
- hash: 15
125
- segments:
126
- - 1
127
- - 0
128
- version: "1.0"
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - '='
165
+ - !ruby/object:Gem::Version
166
+ version: 7.0.8.1
167
+ - !ruby/object:Gem::Dependency
168
+ name: railties
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - '='
172
+ - !ruby/object:Gem::Version
173
+ version: 7.0.8.1
129
174
  type: :runtime
130
- version_requirements: *id007
131
- description: Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - '='
179
+ - !ruby/object:Gem::Version
180
+ version: 7.0.8.1
181
+ - !ruby/object:Gem::Dependency
182
+ name: bundler
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: 1.15.0
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: 1.15.0
195
+ description: Ruby on Rails is a full-stack web framework optimized for programmer
196
+ happiness and sustainable productivity. It encourages beautiful code by favoring
197
+ convention over configuration.
132
198
  email: david@loudthinking.com
133
199
  executables: []
134
-
135
200
  extensions: []
136
-
137
201
  extra_rdoc_files: []
138
-
139
- files: []
140
-
141
- homepage: http://www.rubyonrails.org
142
- licenses: []
143
-
144
- post_install_message:
202
+ files:
203
+ - MIT-LICENSE
204
+ - README.md
205
+ homepage: https://rubyonrails.org
206
+ licenses:
207
+ - MIT
208
+ metadata:
209
+ bug_tracker_uri: https://github.com/rails/rails/issues
210
+ changelog_uri: https://github.com/rails/rails/releases/tag/v7.0.8.1
211
+ documentation_uri: https://api.rubyonrails.org/v7.0.8.1/
212
+ mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
213
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.8.1
214
+ rubygems_mfa_required: 'true'
215
+ post_install_message:
145
216
  rdoc_options: []
146
-
147
- require_paths:
217
+ require_paths:
148
218
  - lib
149
- required_ruby_version: !ruby/object:Gem::Requirement
150
- none: false
151
- requirements:
219
+ required_ruby_version: !ruby/object:Gem::Requirement
220
+ requirements:
152
221
  - - ">="
153
- - !ruby/object:Gem::Version
154
- hash: 57
155
- segments:
156
- - 1
157
- - 8
158
- - 7
159
- version: 1.8.7
160
- required_rubygems_version: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
222
+ - !ruby/object:Gem::Version
223
+ version: 2.7.0
224
+ required_rubygems_version: !ruby/object:Gem::Requirement
225
+ requirements:
163
226
  - - ">="
164
- - !ruby/object:Gem::Version
165
- hash: 23
166
- segments:
167
- - 1
168
- - 3
169
- - 6
170
- version: 1.3.6
227
+ - !ruby/object:Gem::Version
228
+ version: 1.8.11
171
229
  requirements: []
172
-
173
- rubyforge_project:
174
- rubygems_version: 1.8.22
175
- signing_key:
176
- specification_version: 3
230
+ rubygems_version: 3.2.22
231
+ signing_key:
232
+ specification_version: 4
177
233
  summary: Full-stack web application framework.
178
234
  test_files: []
179
-