rocket_cms 0.5.18 → 0.5.19

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: d0fd00664b19b9ec4ba6554e257fa103fdeb3cc9
4
- data.tar.gz: cc99d9aa456d38fd5ab12ddab40b8e6fd25e4beb
3
+ metadata.gz: 1eff66640060afdc6093e4cff72d5e2a917e7c7e
4
+ data.tar.gz: 4152f73324d2d66d2004a4de9e1de2705ffa8fe1
5
5
  SHA512:
6
- metadata.gz: a29e1eb46030cd22da16fef1fbcd86f59e6799d7ef7057250e9c8d0e7db0e608ec851cc8650eadbb92de80598b77fde6011fbc7cd2d2313b9e0a46d2bfadfd6f
7
- data.tar.gz: e75afa2ffd1651837894130498c662a4d7a06f5ba55a16a8f7efbe5a8f785d093f96d0a175015841bdc1c514daa9281b434cd0f4a54fcdeb4c7ab2ce600f4b54
6
+ metadata.gz: 16852baa7025b862da594a8ecf955d12e2f13251da58de74886f03505ed1cde7d5b91114df38349c7d589728498be5ab76b26baf8f423e560b390c5ed4afcb33
7
+ data.tar.gz: 2aa4a0644d26a8381c2a0a8f3259df9f6b3242568a42bd2cc14f3a1c2908dabef3542a5beaf7fa41764d1d4113a89c64ef4b9614de7bf236aae7bdbcd8b7c200
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.5.18)
4
+ rocket_cms (0.5.19)
5
5
  addressable
6
6
  coffee-rails
7
7
  devise
@@ -1,5 +1,5 @@
1
1
 
2
- - excluded_column_names = %w[id created_at updated_at _id _type enabled attachment c_at u_at captcha captcha_key version modifier modifier_id]
2
+ - excluded_column_names = %w[id c_at u_at created_at updated_at _id _type enabled attachment c_at u_at captcha captcha_key version creator_id creator updater_id updater modifier modifier_id]
3
3
 
4
4
  %h3 Сообщение из формы связи:
5
5
 
@@ -7,7 +7,8 @@
7
7
  %tr
8
8
  %th(style='padding: 2px 3px') Поле
9
9
  %th(style='padding: 2px 3px') Значение
10
- - ContactMessage.fields.keys.reject{|c| excluded_column_names.include?(c) }.each do |c|
10
+ - fields = (RocketCMS.mongoid? ? ContactMessage.fields.keys : ContactMessage.columns.map(&:name))
11
+ - fields.reject{|c| excluded_column_names.include?(c) }.each do |c|
11
12
  %tr
12
13
  %td(style='padding: 2px 3px')
13
14
  = ContactMessage.human_attribute_name(c)
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.5.18"
2
+ VERSION = "0.5.19"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocket_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.18
4
+ version: 0.5.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-18 00:00:00.000000000 Z
11
+ date: 2014-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler