rails 0.8.5 → 8.1.3
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 +7 -0
- data/MIT-LICENSE +2 -2
- data/README.md +102 -0
- metadata +227 -127
- data/CHANGELOG +0 -187
- data/README +0 -121
- data/Rakefile +0 -271
- data/bin/rails +0 -28
- data/configs/apache.conf +0 -44
- data/configs/database.yml +0 -13
- data/dispatches/dispatch.fcgi +0 -7
- data/dispatches/dispatch.rb +0 -10
- data/dispatches/dispatch.servlet +0 -45
- data/doc/README_FOR_APP +0 -2
- data/doc/apache_protection +0 -3
- data/doc/index.html +0 -94
- data/environments/production.rb +0 -6
- data/environments/shared.rb +0 -27
- data/environments/shared_for_gem.rb +0 -17
- data/environments/test.rb +0 -6
- data/fresh_rakefile +0 -101
- data/gem_snapshot +0 -14
- data/generators/new_controller.rb +0 -43
- data/generators/new_crud.rb +0 -34
- data/generators/new_mailer.rb +0 -43
- data/generators/new_model.rb +0 -31
- data/generators/templates/controller.erb +0 -24
- data/generators/templates/controller_test.erb +0 -17
- data/generators/templates/controller_view.rhtml +0 -10
- data/generators/templates/helper.erb +0 -2
- data/generators/templates/mailer.erb +0 -15
- data/generators/templates/mailer_action.rhtml +0 -3
- data/generators/templates/mailer_fixture.rhtml +0 -4
- data/generators/templates/mailer_test.erb +0 -37
- data/generators/templates/model.erb +0 -4
- data/generators/templates/model_test.erb +0 -11
- data/helpers/abstract_application.rb +0 -7
- data/helpers/application_helper.rb +0 -3
- data/helpers/test_helper.rb +0 -15
- data/html/404.html +0 -6
- data/html/500.html +0 -6
- data/html/index.html +0 -1
- data/lib/code_statistics.rb +0 -71
- data/lib/dispatcher.rb +0 -46
- data/lib/generator.rb +0 -112
- data/lib/webrick_server.rb +0 -158
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 30cc14edc3a354e0e5eecdc4332e1a4f4170030730663dd0fc0e78f7841a0c8d
|
|
4
|
+
data.tar.gz: f6b582521574341769a2b2e9ed8e8e95b885d251cd3eff2255a5831755e1f8a9
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 0f1f24a67f32fc3ccb1e2f060a760c485a60d4335c6169c3084d0026b5b6d6124038c0e07cbea22b7f1067fef3bddae911b56c017dfc4b37af265018ff216e55
|
|
7
|
+
data.tar.gz: b606a920c12d4eb7dd9e48e65f4c623e93456485542e9a9d85648604d21a4bb3f2633a4cddc05070df463a32cb664527451141bc76e23cddeafa56daf3cd5c94
|
data/MIT-LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright (c)
|
|
1
|
+
Copyright (c) David Heinemeier Hansson
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
4
|
a copy of this software and associated documentation files (the
|
|
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
17
17
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
18
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
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.
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
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
|
+
|
|
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
|
|
56
|
+
|
|
57
|
+
## Getting Started
|
|
58
|
+
|
|
59
|
+
1. Install Rails at the command prompt if you haven't yet:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
$ gem install rails
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
2. At the command prompt, create a new Rails application:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
$ rails new myapp
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
where "myapp" is the application name.
|
|
72
|
+
|
|
73
|
+
3. Change directory to `myapp` and start the web server:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
$ cd myapp
|
|
77
|
+
$ bin/rails server
|
|
78
|
+
```
|
|
79
|
+
Run with `--help` or `-h` for options.
|
|
80
|
+
|
|
81
|
+
4. Go to `http://localhost:3000` and you'll see the Rails bootscreen with your Rails and Ruby versions.
|
|
82
|
+
|
|
83
|
+
5. Follow the guidelines to start developing your application. You may find
|
|
84
|
+
the following resources handy:
|
|
85
|
+
* [Getting Started with Rails](https://guides.rubyonrails.org/getting_started.html)
|
|
86
|
+
* [Ruby on Rails Guides](https://guides.rubyonrails.org)
|
|
87
|
+
* [The API Documentation](https://api.rubyonrails.org)
|
|
88
|
+
|
|
89
|
+
## Contributing
|
|
90
|
+
|
|
91
|
+
We encourage you to contribute to Ruby on Rails! Please check out the
|
|
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)
|
|
93
|
+
|
|
94
|
+
Trying to report a possible security vulnerability in Rails? Please
|
|
95
|
+
check out our [security policy](https://rubyonrails.org/security) for
|
|
96
|
+
guidelines about how to proceed.
|
|
97
|
+
|
|
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).
|
|
99
|
+
|
|
100
|
+
## License
|
|
101
|
+
|
|
102
|
+
Ruby on Rails is released under the [MIT License](https://opensource.org/licenses/MIT).
|
metadata
CHANGED
|
@@ -1,131 +1,231 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
2
|
-
rubygems_version: 0.8.1
|
|
3
|
-
specification_version: 1
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
4
2
|
name: rails
|
|
5
|
-
version: !ruby/object:Gem::Version
|
|
6
|
-
version:
|
|
7
|
-
date: 2004-11-18
|
|
8
|
-
summary: "Web-application framework with template engine, control-flow layer, and ORM."
|
|
9
|
-
require_paths:
|
|
10
|
-
- lib
|
|
11
|
-
author: David Heinemeier Hansson
|
|
12
|
-
email: david@loudthinking.com
|
|
13
|
-
homepage: http://www.rubyonrails.org
|
|
14
|
-
rubyforge_project: rails
|
|
15
|
-
description: "Rails is a framework for building web-application using CGI, FCGI, mod_ruby, or WEBrick on top of either MySQL, PostgreSQL, or SQLite with eRuby-based templates."
|
|
16
|
-
autorequire:
|
|
17
|
-
default_executable: rails
|
|
18
|
-
bindir: bin
|
|
19
|
-
has_rdoc: false
|
|
20
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
21
|
-
requirements:
|
|
22
|
-
-
|
|
23
|
-
- ">"
|
|
24
|
-
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.0.0
|
|
26
|
-
version:
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 8.1.3
|
|
27
5
|
platform: ruby
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
6
|
+
authors:
|
|
7
|
+
- David Heinemeier Hansson
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: activesupport
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - '='
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: 8.1.3
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - '='
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: 8.1.3
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: actionpack
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - '='
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 8.1.3
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - '='
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: 8.1.3
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: actionview
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - '='
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: 8.1.3
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - '='
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: 8.1.3
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: activemodel
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - '='
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: 8.1.3
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - '='
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: 8.1.3
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: activerecord
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - '='
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: 8.1.3
|
|
75
|
+
type: :runtime
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - '='
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: 8.1.3
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: actionmailer
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - '='
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: 8.1.3
|
|
89
|
+
type: :runtime
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - '='
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: 8.1.3
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: activejob
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - '='
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: 8.1.3
|
|
103
|
+
type: :runtime
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - '='
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: 8.1.3
|
|
110
|
+
- !ruby/object:Gem::Dependency
|
|
111
|
+
name: actioncable
|
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
|
113
|
+
requirements:
|
|
114
|
+
- - '='
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: 8.1.3
|
|
117
|
+
type: :runtime
|
|
118
|
+
prerelease: false
|
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
120
|
+
requirements:
|
|
121
|
+
- - '='
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: 8.1.3
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: activestorage
|
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
- - '='
|
|
129
|
+
- !ruby/object:Gem::Version
|
|
130
|
+
version: 8.1.3
|
|
131
|
+
type: :runtime
|
|
132
|
+
prerelease: false
|
|
133
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
134
|
+
requirements:
|
|
135
|
+
- - '='
|
|
136
|
+
- !ruby/object:Gem::Version
|
|
137
|
+
version: 8.1.3
|
|
138
|
+
- !ruby/object:Gem::Dependency
|
|
139
|
+
name: actionmailbox
|
|
140
|
+
requirement: !ruby/object:Gem::Requirement
|
|
141
|
+
requirements:
|
|
142
|
+
- - '='
|
|
143
|
+
- !ruby/object:Gem::Version
|
|
144
|
+
version: 8.1.3
|
|
145
|
+
type: :runtime
|
|
146
|
+
prerelease: false
|
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
148
|
+
requirements:
|
|
149
|
+
- - '='
|
|
150
|
+
- !ruby/object:Gem::Version
|
|
151
|
+
version: 8.1.3
|
|
152
|
+
- !ruby/object:Gem::Dependency
|
|
153
|
+
name: actiontext
|
|
154
|
+
requirement: !ruby/object:Gem::Requirement
|
|
155
|
+
requirements:
|
|
156
|
+
- - '='
|
|
157
|
+
- !ruby/object:Gem::Version
|
|
158
|
+
version: 8.1.3
|
|
159
|
+
type: :runtime
|
|
160
|
+
prerelease: false
|
|
161
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
162
|
+
requirements:
|
|
163
|
+
- - '='
|
|
164
|
+
- !ruby/object:Gem::Version
|
|
165
|
+
version: 8.1.3
|
|
166
|
+
- !ruby/object:Gem::Dependency
|
|
167
|
+
name: railties
|
|
168
|
+
requirement: !ruby/object:Gem::Requirement
|
|
169
|
+
requirements:
|
|
170
|
+
- - '='
|
|
171
|
+
- !ruby/object:Gem::Version
|
|
172
|
+
version: 8.1.3
|
|
173
|
+
type: :runtime
|
|
174
|
+
prerelease: false
|
|
175
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
176
|
+
requirements:
|
|
177
|
+
- - '='
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: 8.1.3
|
|
180
|
+
- !ruby/object:Gem::Dependency
|
|
181
|
+
name: bundler
|
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
|
183
|
+
requirements:
|
|
184
|
+
- - ">="
|
|
185
|
+
- !ruby/object:Gem::Version
|
|
186
|
+
version: 1.15.0
|
|
187
|
+
type: :runtime
|
|
188
|
+
prerelease: false
|
|
189
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
190
|
+
requirements:
|
|
191
|
+
- - ">="
|
|
192
|
+
- !ruby/object:Gem::Version
|
|
193
|
+
version: 1.15.0
|
|
194
|
+
description: Ruby on Rails is a full-stack web framework optimized for programmer
|
|
195
|
+
happiness and sustainable productivity. It encourages beautiful code by favoring
|
|
196
|
+
convention over configuration.
|
|
197
|
+
email: david@loudthinking.com
|
|
198
|
+
executables: []
|
|
89
199
|
extensions: []
|
|
200
|
+
extra_rdoc_files: []
|
|
201
|
+
files:
|
|
202
|
+
- MIT-LICENSE
|
|
203
|
+
- README.md
|
|
204
|
+
homepage: https://rubyonrails.org
|
|
205
|
+
licenses:
|
|
206
|
+
- MIT
|
|
207
|
+
metadata:
|
|
208
|
+
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
209
|
+
changelog_uri: https://github.com/rails/rails/releases/tag/v8.1.3
|
|
210
|
+
documentation_uri: https://api.rubyonrails.org/v8.1.3/
|
|
211
|
+
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
212
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.1.3
|
|
213
|
+
rubygems_mfa_required: 'true'
|
|
214
|
+
rdoc_options: []
|
|
215
|
+
require_paths:
|
|
216
|
+
- lib
|
|
217
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
218
|
+
requirements:
|
|
219
|
+
- - ">="
|
|
220
|
+
- !ruby/object:Gem::Version
|
|
221
|
+
version: 3.2.0
|
|
222
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
|
+
requirements:
|
|
224
|
+
- - ">="
|
|
225
|
+
- !ruby/object:Gem::Version
|
|
226
|
+
version: 1.8.11
|
|
90
227
|
requirements: []
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
96
|
-
requirements:
|
|
97
|
-
-
|
|
98
|
-
- ">="
|
|
99
|
-
- !ruby/object:Gem::Version
|
|
100
|
-
version: 0.4.11
|
|
101
|
-
version:
|
|
102
|
-
- !ruby/object:Gem::Dependency
|
|
103
|
-
name: activerecord
|
|
104
|
-
version_requirement:
|
|
105
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
106
|
-
requirements:
|
|
107
|
-
-
|
|
108
|
-
- ">="
|
|
109
|
-
- !ruby/object:Gem::Version
|
|
110
|
-
version: 1.1.0
|
|
111
|
-
version:
|
|
112
|
-
- !ruby/object:Gem::Dependency
|
|
113
|
-
name: actionpack
|
|
114
|
-
version_requirement:
|
|
115
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
116
|
-
requirements:
|
|
117
|
-
-
|
|
118
|
-
- ">="
|
|
119
|
-
- !ruby/object:Gem::Version
|
|
120
|
-
version: 0.9.5
|
|
121
|
-
version:
|
|
122
|
-
- !ruby/object:Gem::Dependency
|
|
123
|
-
name: actionmailer
|
|
124
|
-
version_requirement:
|
|
125
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
126
|
-
requirements:
|
|
127
|
-
-
|
|
128
|
-
- ">="
|
|
129
|
-
- !ruby/object:Gem::Version
|
|
130
|
-
version: 0.4.0
|
|
131
|
-
version:
|
|
228
|
+
rubygems_version: 4.0.6
|
|
229
|
+
specification_version: 4
|
|
230
|
+
summary: Full-stack web application framework.
|
|
231
|
+
test_files: []
|
data/CHANGELOG
DELETED
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
*0.8.5* (9)
|
|
2
|
-
|
|
3
|
-
* Made dev-util available to all tests, so you can insert breakpoints in any test case to get an IRB prompt at that point [bitsweat]:
|
|
4
|
-
|
|
5
|
-
def test_complex_stuff
|
|
6
|
-
@david.projects << @new_project
|
|
7
|
-
breakpoint "Let's have a closer look at @david"
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
You need to install dev-utils yourself for this to work ("gem install dev-util").
|
|
11
|
-
|
|
12
|
-
* Added shared generator behavior so future upgrades should be possible without manually copying over files [bitsweat]
|
|
13
|
-
|
|
14
|
-
* Added the new helper style to both controller and helper templates [bitsweat]
|
|
15
|
-
|
|
16
|
-
* Added new_crud generator for creating a model and controller at the same time with explicit scaffolding [bitsweat]
|
|
17
|
-
|
|
18
|
-
* Added configuration of Test::Unit::TestCase.fixture_path to test_helper to concide with the new AR fixtures style
|
|
19
|
-
|
|
20
|
-
* Fixed that new_model was generating singular table/fixture names
|
|
21
|
-
|
|
22
|
-
* Upgraded to Action Mailer 0.4.0
|
|
23
|
-
|
|
24
|
-
* Upgraded to Action Pack 0.9.5
|
|
25
|
-
|
|
26
|
-
* Upgraded to Active Record 1.1.0
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
*0.8.0 (15)*
|
|
30
|
-
|
|
31
|
-
* Removed custom_table_name option for new_model now that the Inflector is as powerful as it is
|
|
32
|
-
|
|
33
|
-
* Changed the default rake action to just do testing and separate API generation and coding statistics into a "doc" task.
|
|
34
|
-
|
|
35
|
-
* Fixed WEBrick dispatcher to handle missing slashes in the URLs gracefully [alexey]
|
|
36
|
-
|
|
37
|
-
* Added user option for all postgresql tool calls in the rakefile [elvstone]
|
|
38
|
-
|
|
39
|
-
* Fixed problem with running "ruby public/dispatch.servlet" instead of "cd public; ruby dispatch.servlet" [alexey]
|
|
40
|
-
|
|
41
|
-
* Fixed WEBrick server so that it no longer hardcodes the ruby interpreter used to "ruby" but will get the one used based
|
|
42
|
-
on the Ruby runtime configuration. [Marcel Molina Jr.]
|
|
43
|
-
|
|
44
|
-
* Fixed Dispatcher so it'll route requests to magic_beans to MagicBeansController/magic_beans_controller.rb [Caio Chassot]
|
|
45
|
-
|
|
46
|
-
* "new_controller MagicBeans" and "new_model SubscriptionPayments" will now both behave properly as they use the new Inflector.
|
|
47
|
-
|
|
48
|
-
* Fixed problem with MySQL foreign key constraint checks in Rake :clone_production_structure_to_test target [Andreas Schwarz]
|
|
49
|
-
|
|
50
|
-
* Changed WEBrick server to by default be auto-reloading, which is slower but makes source changes instant.
|
|
51
|
-
Class compilation cache can be turned on with "-c" or "--cache-classes".
|
|
52
|
-
|
|
53
|
-
* Added "-b/--binding" option to WEBrick dispatcher to bind the server to a specific IP address (default: 127.0.0.1) [Kevin Temp]
|
|
54
|
-
|
|
55
|
-
* dispatch.fcgi now DOESN'T set FCGI_PURE_RUBY as it was slowing things down for now reason [Andreas Schwarz]
|
|
56
|
-
|
|
57
|
-
* Added new_mailer generator to work with Action Mailer
|
|
58
|
-
|
|
59
|
-
* Included new framework: Action Mailer 0.3
|
|
60
|
-
|
|
61
|
-
* Upgraded to Action Pack 0.9.0
|
|
62
|
-
|
|
63
|
-
* Upgraded to Active Record 1.0.0
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
*0.7.0*
|
|
67
|
-
|
|
68
|
-
* Added an optional second argument to the new_model script that allows the programmer to specify the table name,
|
|
69
|
-
which will used to generate a custom table_name method in the model and will also be used in the creation of fixtures.
|
|
70
|
-
[Kevin Radloff]
|
|
71
|
-
|
|
72
|
-
* script/new_model now turns AccountHolder into account_holder instead of accountholder [Kevin Radloff]
|
|
73
|
-
|
|
74
|
-
* Fixed the faulty handleing of static files with WEBrick [Andreas Schwarz]
|
|
75
|
-
|
|
76
|
-
* Unified function_test_helper and unit_test_helper into test_helper
|
|
77
|
-
|
|
78
|
-
* Fixed bug with the automated production => test database dropping on PostgreSQL [dhawkins]
|
|
79
|
-
|
|
80
|
-
* create_fixtures in both the functional and unit test helper now turns off the log during fixture generation
|
|
81
|
-
and can generate more than one fixture at a time. Which makes it possible for assignments like:
|
|
82
|
-
|
|
83
|
-
@people, @projects, @project_access, @companies, @accounts =
|
|
84
|
-
create_fixtures "people", "projects", "project_access", "companies", "accounts"
|
|
85
|
-
|
|
86
|
-
* Upgraded to Action Pack 0.8.5 (locally-scoped variables, partials, advanced send_file)
|
|
87
|
-
|
|
88
|
-
* Upgraded to Active Record 0.9.5 (better table_name guessing, cloning, find_all_in_collection)
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
*0.6.5*
|
|
92
|
-
|
|
93
|
-
* No longer specifies a template for rdoc, so it'll use whatever is default (you can change it in the rakefile)
|
|
94
|
-
|
|
95
|
-
* The new_model generator will now use the same rules for plural wordings as Active Record
|
|
96
|
-
(so Category will give categories, not categorys) [Kevin Radloff]
|
|
97
|
-
|
|
98
|
-
* dispatch.fcgi now sets FCGI_PURE_RUBY to true to ensure that it's the Ruby version that's loaded [danp]
|
|
99
|
-
|
|
100
|
-
* Made the GEM work with Windows
|
|
101
|
-
|
|
102
|
-
* Fixed bug where mod_ruby would "forget" the load paths added when switching between controllers
|
|
103
|
-
|
|
104
|
-
* PostgreSQL are now supported for the automated production => test database dropping [Kevin Radloff]
|
|
105
|
-
|
|
106
|
-
* Errors thrown by the dispatcher are now properly handled in FCGI.
|
|
107
|
-
|
|
108
|
-
* Upgraded to Action Pack 0.8.0 (lots and lots and lots of fixes)
|
|
109
|
-
|
|
110
|
-
* Upgraded to Active Record 0.9.4 (a bunch of fixes)
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
*0.6.0*
|
|
114
|
-
|
|
115
|
-
* Added AbstractionApplicationController as a superclass for all controllers generated. This class can be used
|
|
116
|
-
to carry filters and methods that are to be shared by all. It has an accompanying ApplicationHelper that all
|
|
117
|
-
controllers will also automatically have available.
|
|
118
|
-
|
|
119
|
-
* Added environments that can be included from any script to get the full Active Record and Action Controller
|
|
120
|
-
context running. This can be used by maintenance scripts or to interact with the model through IRB. Example:
|
|
121
|
-
|
|
122
|
-
require 'config/environments/production'
|
|
123
|
-
|
|
124
|
-
for account in Account.find_all
|
|
125
|
-
account.recalculate_interests
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
A short migration script for an account model that had it's interest calculation strategy changed.
|
|
129
|
-
|
|
130
|
-
* Accessing the index of a controller with "/weblog" will now redirect to "/weblog/" (only on Apache, not WEBrick)
|
|
131
|
-
|
|
132
|
-
* Simplified the default Apache config so even remote requests are served off CGI as a default.
|
|
133
|
-
You'll now have to do something specific to activate mod_ruby and FCGI (like using the force urls).
|
|
134
|
-
This should make it easier for new comers that start on an external server.
|
|
135
|
-
|
|
136
|
-
* Added more of the necessary Apache options to .htaccess to make it easier to setup
|
|
137
|
-
|
|
138
|
-
* Upgraded to Action Pack 0.7.9 (lots of fixes)
|
|
139
|
-
|
|
140
|
-
* Upgraded to Active Record 0.9.3 (lots of fixes)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
*0.5.7*
|
|
144
|
-
|
|
145
|
-
* Fixed bug in the WEBrick dispatcher that prevented it from getting parameters from the URL
|
|
146
|
-
(through GET requests or otherwise)
|
|
147
|
-
|
|
148
|
-
* Added lib in root as a place to store app specific libraries
|
|
149
|
-
|
|
150
|
-
* Added lib and vendor to load_path, so anything store within can be loaded directly.
|
|
151
|
-
Hence lib/redcloth.rb can be loaded with require "redcloth"
|
|
152
|
-
|
|
153
|
-
* Upgraded to Action Pack 0.7.8 (lots of fixes)
|
|
154
|
-
|
|
155
|
-
* Upgraded to Active Record 0.9.2 (minor upgrade)
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
*0.5.6*
|
|
159
|
-
|
|
160
|
-
* Upgraded to Action Pack 0.7.7 (multipart form fix)
|
|
161
|
-
|
|
162
|
-
* Updated the generated template stubs to valid XHTML files
|
|
163
|
-
|
|
164
|
-
* Ensure that controllers generated are capitalized, so "new_controller TodoLists"
|
|
165
|
-
gives the same as "new_controller Todolists" and "new_controller todolists".
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
*0.5.5*
|
|
169
|
-
|
|
170
|
-
* Works on Windows out of the box! (Dropped symlinks)
|
|
171
|
-
|
|
172
|
-
* Added webrick dispatcher: Try "ruby public/dispatch.servlet --help" [Florian Gross]
|
|
173
|
-
|
|
174
|
-
* Report errors about initialization to browser (instead of attempting to use uninitialized logger)
|
|
175
|
-
|
|
176
|
-
* Upgraded to Action Pack 0.7.6
|
|
177
|
-
|
|
178
|
-
* Upgraded to Active Record 0.9.1
|
|
179
|
-
|
|
180
|
-
* Added distinct 500.html instead of reusing 404.html
|
|
181
|
-
|
|
182
|
-
* Added MIT license
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
*0.5.0*
|
|
186
|
-
|
|
187
|
-
* First public release
|