enjoy_cms 0.4.0 → 0.4.0.1

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: 867a2e90a3a9e259ceadaf99ab42df4469481c3b
4
- data.tar.gz: 441c4459be10d3e19416f8865f6a3db7db6c1bf0
3
+ metadata.gz: 6c667003a929bbe1bea24f19bfa857cf3cbe60bc
4
+ data.tar.gz: 401498deb8ba8198e6137d4c84cd0277d74c108a
5
5
  SHA512:
6
- metadata.gz: b59526d7d43ff89a2dea28e56ffc08cc5d6744a79e23b54ed5d9e575e273fc9e9c2d4172fdf475075e1565edee2274ecb44f2abb59770a9aaff6954ce484cb9a
7
- data.tar.gz: bf4872c75876973ac21328ed9fa194d718bc454c26670f4a01d0b8a5953ce578abc94db608472994abff3a6aaf3bd7589fa61f8f312cff3d0f5c55693c9cabdf
6
+ metadata.gz: 8f734c88e6ed6ba41f3d5669a7a82cdb24641c8e0cd2356b72beaea70d34195eb7e1fecf25fa968a426ebfa4a8562daf3d7dad4a204ff1f86685f229ccdf72ad
7
+ data.tar.gz: b8dae260dabef866dc139f1fb62631ee62767510a52311ad1aea1d17397490c3a881b722035dd3b243ed9f3cd41ec5d2998c7dbfa88b5f6f506a7f6b980841e4
data/Gemfile CHANGED
@@ -2,4 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in rocket_cms.gemspec
4
4
  gemspec
5
-
data/README.md CHANGED
@@ -38,7 +38,7 @@ For activerecord, generate migrations and run them
38
38
 
39
39
  ### Using app generator
40
40
 
41
- Make sure you have rails 5.0 installed
41
+ Make sure you have rails 4.2 installed
42
42
 
43
43
  rails -v
44
44
 
@@ -8,15 +8,15 @@ html lang="ru"
8
8
  = csrf_meta_tags
9
9
  = render partial: 'blocks/favicon'
10
10
 
11
- - async = false #Rails.env == "production"
11
+ - async = false #Rails.env.production?
12
12
  = stylesheet_link_tag "application", media: "all", async: async
13
13
  = javascript_include_tag "application", async: async
14
14
  /[if lt IE 9]
15
15
  = javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js", async: async
16
16
  css:
17
- #{Settings.custom_css(default: '', kind: :css, title: "Дополнительный CSS")}
17
+ #{Settings.custom_css(default: '', kind: :css, label: "Дополнительный CSS")}
18
18
  javascript:
19
- #{Settings.custom_js(default: '', kind: :js, title: "Дополнительный JS")}
19
+ #{Settings.custom_js(default: '', kind: :js, label: "Дополнительный JS")}
20
20
 
21
21
  body
22
22
  #root
@@ -8,7 +8,7 @@ html lang="ru"
8
8
  = csrf_meta_tags
9
9
  = render partial: 'blocks/favicon'
10
10
 
11
- - async = Rails.env == "production"
11
+ - async = false #Rails.env.production?
12
12
  = stylesheet_link_tag "application", media: "all", async: async
13
13
  = javascript_include_tag "application", async: async
14
14
  /[if lt IE 9]
@@ -8,7 +8,7 @@ html lang="ru"
8
8
  = csrf_meta_tags
9
9
  = render partial: 'blocks/favicon'
10
10
 
11
- - async = Rails.env == "production"
11
+ - async = false #Rails.env.production?
12
12
  = stylesheet_link_tag "application", media: "all", async: async
13
13
  = javascript_include_tag "application", async: async
14
14
  /[if lt IE 9]
@@ -8,7 +8,7 @@ html lang="ru"
8
8
  = csrf_meta_tags
9
9
  = render partial: 'blocks/favicon'
10
10
 
11
- - async = Rails.env == "production"
11
+ - async = false #Rails.env.production?
12
12
  = stylesheet_link_tag "application", media: "all", async: async
13
13
  = javascript_include_tag "application", async: async
14
14
  /[if lt IE 9]
@@ -8,7 +8,7 @@ html lang="ru"
8
8
  = csrf_meta_tags
9
9
  = render partial: 'blocks/favicon'
10
10
 
11
- - async = Rails.env == "production"
11
+ - async = false #Rails.env.production?
12
12
  = stylesheet_link_tag "application", media: "all", async: async
13
13
  = javascript_include_tag "application", async: async
14
14
  /[if lt IE 9]
@@ -8,7 +8,7 @@ html lang="ru"
8
8
  = csrf_meta_tags
9
9
  = render partial: 'blocks/favicon'
10
10
 
11
- - async = Rails.env == "production"
11
+ - async = false #Rails.env.production?
12
12
  = stylesheet_link_tag "application", media: "all", async: async
13
13
  = javascript_include_tag "application", async: async
14
14
  /[if lt IE 9]
@@ -8,6 +8,10 @@ module RailsAdmin
8
8
  # Register field type for the type loader
9
9
  RailsAdmin::Config::Fields::Types::register(self)
10
10
 
11
+ register_instance_option :searchable do
12
+ true
13
+ end
14
+
11
15
  register_instance_option :enum_method do
12
16
  :slugs
13
17
  end
data/lib/enjoy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Enjoy
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enjoy_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kiseliev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-14 00:00:00.000000000 Z
11
+ date: 2016-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler