cmor 0.0.44.pre → 0.0.45.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -0
- data/lib/cmor/all.rb +18 -8
- data/lib/cmor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4839522a8a80d0915f6451f0faaf6abb614391298fa5eaa6f9d987e2907c4bdc
|
4
|
+
data.tar.gz: 7caa505443c5f7df5b7a20072b2d8bc8e3617a637287cf97932813f13b2b67f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fe60550d94eb4e7f466027b97b225dc6e17885a1762620eac4428134c85616d0642782223f4cd0ff5877116ee8c789e99cd62e07ee56e2cae5d856f63803e1e
|
7
|
+
data.tar.gz: 5388ca4df2fb2731a2a25f06e8f9cab0b42690e1de6c1cfdd201471f986c2fa53f2f9745108ec427a070093e0d51a3537bc8720d7bef842616f60c65faafd936
|
data/README.md
CHANGED
@@ -30,6 +30,34 @@ $ gem install cmor
|
|
30
30
|
$ bundle && ./rspec-all.sh
|
31
31
|
```
|
32
32
|
|
33
|
+
## Structuring modules
|
34
|
+
|
35
|
+
Functionality is separateted into modules. I.e. everything related to the blog is in the modules starting with cmor_blog.
|
36
|
+
|
37
|
+
## Structuring data
|
38
|
+
|
39
|
+
Most of the time things appear in categories/collection with items/resources. I.e. pictures are organized in galleries.
|
40
|
+
|
41
|
+
A collection should have at least following columns:
|
42
|
+
|
43
|
+
locale
|
44
|
+
identifier
|
45
|
+
title
|
46
|
+
description
|
47
|
+
position
|
48
|
+
slug
|
49
|
+
published_at
|
50
|
+
|
51
|
+
Resources should have at least following columns:
|
52
|
+
|
53
|
+
collection_id
|
54
|
+
identifier
|
55
|
+
title
|
56
|
+
description
|
57
|
+
position
|
58
|
+
slug
|
59
|
+
published_at
|
60
|
+
|
33
61
|
## Contributing
|
34
62
|
Contribution directions go here.
|
35
63
|
|
data/lib/cmor/all.rb
CHANGED
@@ -5,22 +5,32 @@ require "cmor"
|
|
5
5
|
cmor_blog_backend
|
6
6
|
cmor_carousels
|
7
7
|
cmor_carousels_backend
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
cmor_cms
|
9
|
+
cmor_cms_backend
|
10
|
+
cmor_contact
|
11
|
+
cmor_contact_backend
|
12
12
|
cmor_files
|
13
13
|
cmor_files_backend
|
14
14
|
cmor_galleries
|
15
15
|
cmor_galleries_backend
|
16
|
-
|
17
|
-
|
16
|
+
cmor_legal
|
17
|
+
cmor_legal_backend_frontend
|
18
|
+
cmor_links
|
19
|
+
cmor_links_backend
|
20
|
+
cmor_partners
|
21
|
+
cmor_partners_frontend
|
18
22
|
cmor_rbac
|
19
23
|
cmor_rbac_backend
|
24
|
+
cmor_seo
|
25
|
+
cmor_seo_frontend
|
26
|
+
cmor_showcase
|
27
|
+
cmor_showcase_frontend
|
20
28
|
cmor_tags
|
21
29
|
cmor_tags_backend
|
22
|
-
|
23
|
-
|
30
|
+
cmor_testimonials
|
31
|
+
cmor_testimonials_backend
|
32
|
+
cmor_user_area
|
33
|
+
cmor_user_area_backend
|
24
34
|
).each do |engine|
|
25
35
|
begin
|
26
36
|
require engine
|
data/lib/cmor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.45.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01
|
11
|
+
date: 2020-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|