camaleon_cms 2.0.4 → 2.0.4.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of camaleon_cms might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/app/apps/plugins/attack/attack_helper.rb +2 -3
- data/lib/camaleon_cms/version.rb +1 -1
- data/lib/generators/camaleon_cms/install_template/apps/plugins/readme.txt +0 -0
- data/lib/generators/camaleon_cms/install_template/apps/themes/readme.txt +0 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cf66347b0615de96c13bcd2ad961f7dcbbfd46f
|
4
|
+
data.tar.gz: c58e70d1ff4018a96fb3d1b90b2dc5abd0c32c23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfef4c50fb4a9a24b81700831f9705c46d497c51713f7dd6c8d1c1de473291acf96a009a91d1a488db6faf8faedee1afbc48f36905eb5ef6065f0f4683bfa493
|
7
|
+
data.tar.gz: 9518d6361522b8ca22ac2f398f185f66c92d5bcd073560af178eaf7377e1b3a334f48e76cf62125296e35f0db50c52021138b2aa25ef696c3103b06b94315a22
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
![](https://img.shields.io/badge/Docs-90%-orange.svg)
|
8
8
|
![](https://img.shields.io/badge/Support-Inmediate-green.svg)
|
9
9
|
|
10
|
-
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/owen2345/Camaleon-CMS-Sample)
|
10
|
+
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/owen2345/Camaleon-CMS-Sample)
|
11
11
|
# CAMALEON CMS V2
|
12
12
|
![](http://camaleon.tuzitio.com/media/132/logo2.png)
|
13
13
|
|
@@ -26,14 +26,14 @@
|
|
26
26
|
rails new my_project
|
27
27
|
```
|
28
28
|
* Add the gem in your Gemfile
|
29
|
-
|
29
|
+
|
30
30
|
```
|
31
31
|
gem "camaleon_cms"
|
32
32
|
# If you are using Camaleon CMS 1x, you need to use this patch
|
33
33
|
gem "migration1x", github: 'owen2345/camaleoncms_1xmigration'
|
34
34
|
```
|
35
35
|
* Install required Gem and dependencies
|
36
|
-
|
36
|
+
|
37
37
|
```
|
38
38
|
bundle install
|
39
39
|
```
|
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
# Camaleon CMS (It adapts to your needs)
|
58
58
|
|
59
|
-
Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails 4 and Ruby 1.9.3+. This CMS is an alternative to wordpress for Ruby on Rails developers to manage advanced contents easily.
|
59
|
+
Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails 4 and Ruby 1.9.3+. This CMS is an alternative to wordpress for Ruby on Rails developers to manage advanced contents easily.
|
60
60
|
Camaleon CMS is a flexible manager where you can build your custom content structure without coding anything by custom fields and custom contents type.
|
61
61
|
|
62
62
|
To download or publish themes go to themes store:
|
@@ -123,7 +123,7 @@ I.E. you can create your custom architecture with all attributes that you need f
|
|
123
123
|
* [Deploy in Heroku](https://heroku.com/deploy?template=https://github.com/owen2345/Camaleon-CMS-Sample)
|
124
124
|
|
125
125
|
## Support
|
126
|
-
If you have problems, please enter an issue [here.](https://github.com/owen2345/camaleon-cms/issues)
|
126
|
+
If you have problems, please enter an issue [here.](https://github.com/owen2345/camaleon-cms/issues)
|
127
127
|
If you need support, need some extra functionality or need plugins, please contact us on:
|
128
128
|
* Site: http://camaleon.tuzitio.com/
|
129
129
|
* Email: owenperedo@gmail.com
|
@@ -162,4 +162,4 @@ Visit the web site for more information: http://camaleon.tuzitio.com/
|
|
162
162
|
- Added support of multiples permalinks, I.E. you can define the permalink structure for each of content type
|
163
163
|
- Added PT-br language
|
164
164
|
|
165
|
-
See more here: http://camaleon.tuzitio.com/version-history.html
|
165
|
+
See more here: http://camaleon.tuzitio.com/version-history.html
|
@@ -60,9 +60,9 @@ module Plugins::Attack::AttackHelper
|
|
60
60
|
return unless config.present?
|
61
61
|
|
62
62
|
# clear past requests
|
63
|
-
if (Time.parse(config[:cleared])) < 1.hour.ago
|
63
|
+
if (Time.parse(config[:cleared]) rescue 2.hours.ago) < 1.hour.ago
|
64
64
|
current_site.attack.where("plugins_attacks.created_at < ?", 1.hour.ago).delete_all
|
65
|
-
config[:cleared] = Time.now
|
65
|
+
config[:cleared] = Time.now.to_s
|
66
66
|
current_site.set_meta("attack_config", config)
|
67
67
|
end
|
68
68
|
|
@@ -85,7 +85,6 @@ module Plugins::Attack::AttackHelper
|
|
85
85
|
return
|
86
86
|
end
|
87
87
|
end
|
88
|
-
|
89
88
|
q.create()
|
90
89
|
end
|
91
90
|
|
data/lib/camaleon_cms/version.rb
CHANGED
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: camaleon_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.4
|
4
|
+
version: 2.0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Owen Peredo Diaz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bcrypt
|
@@ -823,6 +823,8 @@ files:
|
|
823
823
|
- lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/partials/readme.txt
|
824
824
|
- lib/generators/camaleon_cms/gem_theme_template/config/camaleon_theme.json
|
825
825
|
- lib/generators/camaleon_cms/install_generator.rb
|
826
|
+
- lib/generators/camaleon_cms/install_template/apps/plugins/readme.txt
|
827
|
+
- lib/generators/camaleon_cms/install_template/apps/themes/readme.txt
|
826
828
|
- lib/generators/camaleon_cms/install_template/plugin_routes.rb
|
827
829
|
- lib/generators/camaleon_cms/install_template/system.json
|
828
830
|
- lib/generators/camaleon_cms/theme_generator.rb
|