camaleon_cms 2.3.4 → 2.3.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1a20fa498412de4a487828a91854cfe77b7a84d
4
- data.tar.gz: b593e384f3f368dc448d7f277d39434263dcec6f
3
+ metadata.gz: 35d2184b7ea6bb88e684705845b1d72fe9774b55
4
+ data.tar.gz: 4a9a0cfcb3561742754573763df1df457acfb327
5
5
  SHA512:
6
- metadata.gz: 34d8cf7a34b944d2330e5c65d622346c506ea1701f378781b3171c5a306b74c3771802b3cc3c19a468a5636db46b8ebf3f3aad2cb0bc6c01148b393b6e306d9a
7
- data.tar.gz: fa8b8e7054f8b9999e658d03b9f47e19bfcc7da777c2bc12aea4d8b1b8ee6d30ca781e596ef4827f068128868f75ee7d1c052e329d71bd2bd908a548ab558b84
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
- * 2.1.1.4 (April 8)
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
@@ -1,3 +1,3 @@
1
1
  module CamaleonCms
2
- VERSION = '2.3.4'
2
+ VERSION = '2.3.5'
3
3
  end
@@ -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
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-14 00:00:00.000000000 Z
11
+ date: 2016-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt