lucie 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -1
- metadata +21 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfe5d4626ab85453d67650b7a45d82fda6dee30b
|
4
|
+
data.tar.gz: aa59743fe69754c0132938c0b12bc8bec6a39b9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 845659264d48c5f5068afcdb17b74ffb314da90a0b5241ba38866044bac5384eddb86ba2c7e14b1ba716f00f36a480af9b15c49870a067516fc4763594f86b19
|
7
|
+
data.tar.gz: 0fcd140f1298929ad30e77139dff4aca69c1cc898e7d1dadc15ef52381f957fb72859d6d5dc9dbe4fc538d6a918b3120a822fa549290389aad741a7895f5c23e
|
data/README.md
CHANGED
@@ -2,7 +2,43 @@
|
|
2
2
|
|
3
3
|
## Description
|
4
4
|
|
5
|
-
|
5
|
+
Lucie is a terminal application development framework written in Ruby. The aim of the framework is to make the terminal application development faster and easier with providing generators, plugins, components. With specifying a common framework, easier to share workflow management solutions among companies worldwide or creating application that doesn't require graphical user interface.
|
6
|
+
|
7
|
+
### MVC
|
8
|
+
|
9
|
+
Lucie based on Model, View, Contoller (MVC) design pattern. Using this principle data can be totally separated from business logic and from its representation. Models represent object that need to be permanent, controllers implement business logic and views help in representing models using templates to generate files or output.
|
10
|
+
|
11
|
+
When a Lucie based application is executed, first it dispatches the request and finds the appropriate controller using the first command line attribute. If a second attribute is also defined, it calls the action on the controller with the same name as the attribute, otherwise it calls the index method. Each other attribute is stored in a <code>params</code> instance variable. Mandatory and optional parameters can be defined in controller if some additional information are required by the action.
|
12
|
+
|
13
|
+
Controller implements the business logic, using models and templates for data source and representation. Model uses database to store and fetch data.
|
14
|
+
|
15
|
+
### Installation
|
16
|
+
|
17
|
+
Lucie provides gem <code>lucie-bin</code> to initialize an application. First you will need to install this on your system.
|
18
|
+
|
19
|
+
gem install lucie-bin
|
20
|
+
|
21
|
+
You can create a new project with command <code>lucie</code> now.
|
22
|
+
|
23
|
+
lucie new my_application
|
24
|
+
|
25
|
+
You can try out your new application with running its executable file:
|
26
|
+
|
27
|
+
./my_application/bin/my_application --help
|
28
|
+
|
29
|
+
|
30
|
+
### Directory structure
|
31
|
+
|
32
|
+
<table>
|
33
|
+
<tr><td><code>/app/controllers</code></td><td> Controllers for business logic </td></tr>
|
34
|
+
<tr><td><code>/app/models</code></td><td>Models which store permanent information</td></tr>
|
35
|
+
<tr><td><code>/app/templates</code></td><td>Template files for file generation</td></tr>
|
36
|
+
<tr><td><code>/config</code></td><td>Configuration files</td></tr>
|
37
|
+
<tr><td><code>/lib</code></td><td>Libraries for shared resource</td></tr>
|
38
|
+
<tr><td><code>/bin</code></td><td>Executable file of the application</td></tr>
|
39
|
+
</table>
|
40
|
+
|
41
|
+
The project is under development. More information is coming soon.
|
6
42
|
|
7
43
|
## Code status
|
8
44
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lucie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nucc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lucie-lib
|
@@ -16,28 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.
|
19
|
+
version: 0.0.20
|
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: 0.0.
|
26
|
+
version: 0.0.20
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: lucie-bin
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0.
|
33
|
+
version: 0.0.20
|
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: 0.0.
|
40
|
+
version: 0.0.20
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: yard
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.8.7
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.8.7
|
41
55
|
description: Command line utility framework
|
42
56
|
email:
|
43
57
|
- nucc@bteam.hu
|
@@ -73,3 +87,4 @@ summary: Lucie is a console application framework like Rails for Ruby programmer
|
|
73
87
|
beautiful websites rapidly, there's no easy way to create complex console applications
|
74
88
|
like do this in Ruby on Rails. Lucie wants to bridge this gap.
|
75
89
|
test_files: []
|
90
|
+
has_rdoc:
|