mdd 1.0.1 → 1.0.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.
- data/README.md +46 -0
- data/lib/mdd/version.rb +1 -1
- data/mdd.gemspec +3 -3
- metadata +6 -6
- data/README +0 -0
data/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
## MDWA - A MDD Approach for Ruby on Rails
|
|
2
|
+
|
|
3
|
+
MDWA is a model-driven approach, built by Marcelo Theodoro, to ease the process of develop web applications.
|
|
4
|
+
MDD gem includes a set of code generation tools to automate repetitive task during Rails development, such as:
|
|
5
|
+
|
|
6
|
+
* Sandbox environment: Provides a clean environment with user authentication, namespace separation and more;
|
|
7
|
+
* CSS templating: YUI3 grid system and beautiful styling
|
|
8
|
+
* Multiple layouts
|
|
9
|
+
* Smart scaffold generator
|
|
10
|
+
|
|
11
|
+
## How to start?
|
|
12
|
+
|
|
13
|
+
MDD is based on top of Rails 3.1, including asset pipeline feature.
|
|
14
|
+
Add it to your Gemfile with:
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
gem 'mdd'
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Run the bundle command to install it.
|
|
21
|
+
|
|
22
|
+
After you install MDD and add it to your Gemfile, you need to run the generator:
|
|
23
|
+
|
|
24
|
+
```console
|
|
25
|
+
rails generate mdd:sandbox
|
|
26
|
+
```
|
|
27
|
+
This generator will setup the clean sandbox environment with:
|
|
28
|
+
|
|
29
|
+
* Multiple layouts;
|
|
30
|
+
* Assets ready to be customized;
|
|
31
|
+
* User based authentication with Devise (https://github.com/plataformatec/devise);
|
|
32
|
+
* Login;
|
|
33
|
+
* Public pages - for simple website development.
|
|
34
|
+
|
|
35
|
+
Check the result:
|
|
36
|
+
|
|
37
|
+
* Public pages: http://localhost:3000
|
|
38
|
+
* Private area: http://localhost:3000/a
|
|
39
|
+
|
|
40
|
+
The private area requires user authentication.
|
|
41
|
+
The generator will create a default user:
|
|
42
|
+
|
|
43
|
+
```console
|
|
44
|
+
User: admin@admin.com
|
|
45
|
+
Password: admin123
|
|
46
|
+
```
|
data/lib/mdd/version.rb
CHANGED
data/mdd.gemspec
CHANGED
|
@@ -7,9 +7,9 @@ Gem::Specification.new do |s|
|
|
|
7
7
|
s.version = Mdd::VERSION
|
|
8
8
|
s.authors = ["Marcelo Theodoro"]
|
|
9
9
|
s.email = ["marcelo.theodorojr@gmail.com"]
|
|
10
|
-
s.homepage = ""
|
|
11
|
-
s.summary = %q{
|
|
12
|
-
s.description = %q{
|
|
10
|
+
s.homepage = "https://github.com/marcelotheodoro/mdd"
|
|
11
|
+
s.summary = %q{MDD-based code generation tools to avoid repetitive tasks in Rails dev.}
|
|
12
|
+
s.description = %q{Implements a set of tools for code generation for Rails apps. It's based on Theodoro's MDWA approach for web applications.}
|
|
13
13
|
|
|
14
14
|
s.rubyforge_project = "mdd"
|
|
15
15
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mdd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -107,8 +107,8 @@ dependencies:
|
|
|
107
107
|
- - ! '>='
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
109
|
version: '0'
|
|
110
|
-
description:
|
|
111
|
-
|
|
110
|
+
description: Implements a set of tools for code generation for Rails apps. It's based
|
|
111
|
+
on Theodoro's MDWA approach for web applications.
|
|
112
112
|
email:
|
|
113
113
|
- marcelo.theodorojr@gmail.com
|
|
114
114
|
executables: []
|
|
@@ -118,7 +118,7 @@ files:
|
|
|
118
118
|
- .gitignore
|
|
119
119
|
- .project
|
|
120
120
|
- Gemfile
|
|
121
|
-
- README
|
|
121
|
+
- README.md
|
|
122
122
|
- Rakefile
|
|
123
123
|
- app/helpers/mdd_helper.rb
|
|
124
124
|
- app/views/template/mdwa/_autocomplete_tag.html.erb
|
|
@@ -229,7 +229,7 @@ files:
|
|
|
229
229
|
- lib/mdd/layout/helper.rb
|
|
230
230
|
- lib/mdd/version.rb
|
|
231
231
|
- mdd.gemspec
|
|
232
|
-
homepage:
|
|
232
|
+
homepage: https://github.com/marcelotheodoro/mdd
|
|
233
233
|
licenses: []
|
|
234
234
|
post_install_message:
|
|
235
235
|
rdoc_options: []
|
|
@@ -252,5 +252,5 @@ rubyforge_project: mdd
|
|
|
252
252
|
rubygems_version: 1.8.22
|
|
253
253
|
signing_key:
|
|
254
254
|
specification_version: 3
|
|
255
|
-
summary:
|
|
255
|
+
summary: MDD-based code generation tools to avoid repetitive tasks in Rails dev.
|
|
256
256
|
test_files: []
|
data/README
DELETED
|
File without changes
|