lerolero 5.2.1 → 5.2.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/README.md +95 -0
  3. metadata +2 -2
  4. data/README.md +0 -24
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27c351d4524d6d08c423afe4a5423337e7f132f5
4
- data.tar.gz: 0ac3f8cc4902685cca4060ef4b4141199fc3ee25
3
+ metadata.gz: 6227a3601d952ab6d3d28d8c0db434cdd48fc090
4
+ data.tar.gz: ed4f59c92539eab4319bb557ab9f0db62b530ba3
5
5
  SHA512:
6
- metadata.gz: 7e593c5883c2c9cebcab6baf4b82925658559b491604d1d66744ee331bb9845e8938b56d7c4d6fdc65e115951152ce7d552bc5051c14db3c6b627ea630c88737
7
- data.tar.gz: 44f69f8992e1ec061220f9ef9ab61b1819660c561d988b45147022c2b87a7726359d4d394d607974a9767174001101d00648fb3df06ed4d81328bedc604c1b3e
6
+ metadata.gz: 51ff5c7848fb9ce3dba496c29088cbd30143760f440952bf1d9bc6abd91992eac060a5f42c01b3d178a68abddfc12576c29f92625bf172a199d7faa9d7c1ffba
7
+ data.tar.gz: 84b4bbc99a11074d4441aa2758ceb2673b472904047205f4bb43d25092d28d7abf4d250312cdcb57a96f39d99c2fb964c74c0b3e4b4d85dbe6ea9900407d683e
data/lib/README.md ADDED
@@ -0,0 +1,95 @@
1
+ # Welcome to Rails
2
+
3
+ Rails is a web-application framework that includes everything needed to
4
+ create database-backed web applications according to the
5
+ [Model-View-Controller (MVC)](http://en.wikipedia.org/wiki/Model-view-controller)
6
+ pattern.
7
+
8
+ Understanding the MVC pattern is key to understanding Rails. MVC divides your
9
+ application into three layers, each with a specific responsibility.
10
+
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
13
+ your application. In Rails, database-backed model classes are derived from
14
+ `ActiveRecord::Base`. Active Record allows you to present the data from
15
+ 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).
17
+ Although most Rails models are backed by a database, models can also be ordinary
18
+ 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).
20
+
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
23
+ can also generate XML, JSON, PDFs, mobile-specific views, and more. Controllers load and
24
+ manipulate models, and render view templates in order to generate the appropriate HTTP response.
25
+ In Rails, incoming requests are routed by Action Dispatch to an appropriate controller, and
26
+ 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
+ and Active Support ([README](activesupport/README.rdoc)), a collection
44
+ of utility classes and standard library extensions that are useful for Rails,
45
+ and may also be used independently outside Rails.
46
+
47
+ ## Getting Started
48
+
49
+ 1. Install Rails at the command prompt if you haven't yet:
50
+
51
+ $ gem install rails
52
+
53
+ 2. At the command prompt, create a new Rails application:
54
+
55
+ $ rails new myapp
56
+
57
+ where "myapp" is the application name.
58
+
59
+ 3. Change directory to `myapp` and start the web server:
60
+
61
+ $ cd myapp
62
+ $ rails server
63
+
64
+ Run with `--help` or `-h` for options.
65
+
66
+ 4. Using a browser, go to `http://localhost:3000` and you'll see:
67
+ "Yay! You�re on Rails!"
68
+
69
+ 5. Follow the guidelines to start developing your application. You may find
70
+ the following resources handy:
71
+ * [Getting Started with Rails](http://guides.rubyonrails.org/getting_started.html)
72
+ * [Ruby on Rails Guides](http://guides.rubyonrails.org)
73
+ * [The API Documentation](http://api.rubyonrails.org)
74
+ * [Ruby on Rails Tutorial](https://www.railstutorial.org/book)
75
+
76
+ ## Contributing
77
+
78
+ [![Code Triage Badge](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails)
79
+
80
+ We encourage you to contribute to Ruby on Rails! Please check out the
81
+ [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)
82
+
83
+ Trying to report a possible security vulnerability in Rails? Please
84
+ check out our [security policy](http://rubyonrails.org/security/) for
85
+ guidelines about how to proceed.
86
+
87
+ 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/).
88
+
89
+ ## Code Status
90
+
91
+ [![Build Status](https://travis-ci.org/rails/rails.svg?branch=master)](https://travis-ci.org/rails/rails)
92
+
93
+ ## License
94
+
95
+ Ruby on Rails is released under the [MIT License](http://www.opensource.org/licenses/MIT).
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lerolero
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.1
4
+ version: 5.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Milton Yukio Matsumura
@@ -17,7 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - README.md
20
+ - lib/README.md
21
21
  - lib/lerolero.rb
22
22
  homepage: http://rubygems.org/gems/lerolero
23
23
  licenses:
data/README.md DELETED
@@ -1,24 +0,0 @@
1
- # README
2
-
3
- This README would normally document whatever steps are necessary to get the
4
- application up and running.
5
-
6
- Things you may want to cover:
7
-
8
- * Ruby version
9
-
10
- * System dependencies
11
-
12
- * Configuration
13
-
14
- * Database creation
15
-
16
- * Database initialization
17
-
18
- * How to run the test suite
19
-
20
- * Services (job queues, cache servers, search engines, etc.)
21
-
22
- * Deployment instructions
23
-
24
- * ...