camaleon_cms 2.3.4 → 2.3.5
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 +1 -58
- data/lib/camaleon_cms/version.rb +1 -1
- data/lib/plugin_routes.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35d2184b7ea6bb88e684705845b1d72fe9774b55
|
4
|
+
data.tar.gz: 4a9a0cfcb3561742754573763df1df457acfb327
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b8f36b2eb1be3ddd83695270eb5cb6cbc7f1bfea8fe95bc01427e159534cbb371bd959a5c76b95cec9625b2509167ad2d114417262717676dc05fc71e9ae566
|
7
|
+
data.tar.gz: 5cdc8e9787b638b3688589e4a18e3a673a81c4861efd0b5c0daccf495118e261f270865619685b5d9c8012caf579d9f02f844b1826177fe64f0dad20a35e7913
|
data/README.md
CHANGED
@@ -163,61 +163,4 @@ http://camaleon.tuzitio.com/license.html
|
|
163
163
|
Visit the web site for more information: http://camaleon.tuzitio.com/
|
164
164
|
|
165
165
|
## Version History
|
166
|
-
|
167
|
-
- Language by sessions
|
168
|
-
- Improved Multi language Tab Translations
|
169
|
-
- Fixed/Improved send emails to use sidekiq or similars
|
170
|
-
- Tinymce improved
|
171
|
-
- Added media search
|
172
|
-
- Post types direct url: http://localhost/my-posttype.html instead of http://localhost/group/id-my-posttype-slug.html
|
173
|
-
- Admin menu editor -> add custom fields support
|
174
|
-
- Added plugin for subscriptions/newsletters: https://github.com/owen2345/cama_subscriber
|
175
|
-
* Version 2.0
|
176
|
-
- Support to integrate into existent Ruby in Rails 4 projects
|
177
|
-
- Moved all files into separated folder to avoid overwritten problems, such as: models, controllers, helpers, ... and also you can define the prefix for your datatables
|
178
|
-
- Added support to define the prefix url for your the CMS, like: http://localhost.com/blog/
|
179
|
-
- Improved SQL performance and Javascript performance for admin panel
|
180
|
-
- Added native support for AWS S3 to manage cloud files
|
181
|
-
- Added control to define layouts and templates by admin panel
|
182
|
-
- Rebuilt Media Manager and removed elfinder library
|
183
|
-
- Added support of multiples permalinks, I.E. you can define the permalink structure for each of content type
|
184
|
-
- Added PT-br language
|
185
|
-
|
186
|
-
See more here: http://camaleon.tuzitio.com/version-history.html
|
187
|
-
|
188
|
-
## For Testing with Rspec (In progress creating new test and rebuilding current tests)
|
189
|
-
- Add this gem into your Gemfile
|
190
|
-
|
191
|
-
```
|
192
|
-
group :development, :test do
|
193
|
-
gem 'rspec-rails', '~> 3.4'
|
194
|
-
gem 'capybara'
|
195
|
-
gem 'selenium-webdriver'
|
196
|
-
end
|
197
|
-
```
|
198
|
-
- In your console
|
199
|
-
|
200
|
-
```
|
201
|
-
rails generate rspec:install
|
202
|
-
```
|
203
|
-
- Add this to spec/rails_helper.rb (Insert before line of "RSpec.configure do |config|") and change use_transactional_fixtures into false
|
204
|
-
|
205
|
-
```
|
206
|
-
Dir[File.join($camaleon_engine_dir, 'spec/support/**/*.rb')].each { |f| require f }
|
207
|
-
```
|
208
|
-
- Execute single test file
|
209
|
-
|
210
|
-
```
|
211
|
-
rake camaleon_cms:rspec[spec/routing/post_type_routes_spec.rb]
|
212
|
-
```
|
213
|
-
- Execute many files within directory (read more rspec gem)
|
214
|
-
|
215
|
-
```
|
216
|
-
rake camaleon_cms:rspec[spec/decorators]
|
217
|
-
```
|
218
|
-
|
219
|
-
- Execute all test of camaleon cms (In progress fixing wrong test files)
|
220
|
-
|
221
|
-
```
|
222
|
-
rake camaleon_cms:rspec
|
223
|
-
```
|
166
|
+
http://camaleon.tuzitio.com/version-history.html
|
data/lib/camaleon_cms/version.rb
CHANGED
data/lib/plugin_routes.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'json'
|
2
2
|
class PluginRoutes
|
3
3
|
@@_vars = []
|
4
|
+
@@_after_reload = []
|
4
5
|
# load plugin routes if it is enabled
|
5
6
|
def self.load(env = "admin")
|
6
7
|
plugins = all_enabled_plugins
|
@@ -114,6 +115,12 @@ class PluginRoutes
|
|
114
115
|
@@all_sites = nil
|
115
116
|
@@_vars.each { |v| class_variable_set("@@cache_#{v}", nil) }
|
116
117
|
Rails.application.reload_routes!
|
118
|
+
@@_after_reload.uniq.each{|r| eval(r) }
|
119
|
+
end
|
120
|
+
|
121
|
+
# permit to add extra actions for reload routes
|
122
|
+
def self.add_after_reload_routes(command)
|
123
|
+
@@_after_reload << command
|
117
124
|
end
|
118
125
|
|
119
126
|
# return all enabled plugins []
|
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.3.
|
4
|
+
version: 2.3.5
|
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: 2016-09-
|
11
|
+
date: 2016-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bcrypt
|