rocket_cms 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a004908635e7d54467b015f017e5e03242abd1ae
4
- data.tar.gz: 8cb80dbc52fd4f3dff0a973f432e80bebd7601d3
3
+ metadata.gz: ca6241c262bb8d305843b77f98e8b66f28e46a03
4
+ data.tar.gz: b452644cf1750e332a3854b01c078fa3d3f219c4
5
5
  SHA512:
6
- metadata.gz: 1c8ab54c03d3c4406979187908a97f4b42b695378737c6c60d7079ff6d63eaa7f8106bed40561f7d99031b4532e3e31b2ca8f6c47366a7be3f56216ac82e3997
7
- data.tar.gz: 9b85d985870c23b1c5a7a29c056e3bbdf5cfc932cb13c4a5f9f83bf3d00432677a28055708507f7b85db103a849dc20c881d3843618f774fa31d9221de45513e
6
+ metadata.gz: 02d24a2cb06efcbfee231f8640507e7fa09545a1a91870b46e2011f32576034908733974e91d49e560af0a95f8fc2b12d629db3dfdc3d1bacb749e997493f52c
7
+ data.tar.gz: a4873db833e7a0372c0965c8129f7046405fa8adb4d4df5aceab26245f6222ddaefdcd217bda20ec6f35d9eee029ec06c91eb5b6d6c01d5ee37321579f1c768d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.12.1)
4
+ rocket_cms (0.12.2)
5
5
  addressable
6
6
  coffee-rails
7
7
  jquery-rails
@@ -21,7 +21,7 @@ module RocketCMS
21
21
  RocketCMS.config.search_models.map(&:constantize)
22
22
 
23
23
  # Write default email settings to DB so they can be changed.
24
- if Settings.table_exists?
24
+ if defined?(::Settings) && Settings.respond_to?(:table_exists?) && Settings.table_exists?
25
25
  Settings.default_email_from(default: 'noreply@rscx.ru')
26
26
  Settings.form_email(default: 'glebtv@ya.ru')
27
27
  Settings.email_topic(default: 'с сайта')
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.12.1"
2
+ VERSION = "0.12.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocket_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv