card 1.16.0 → 1.16.1

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: 082bc6ded1a246b03c21663a515a25af3efdbc3e
4
- data.tar.gz: 376b1aae397af7693e260523b454bd2936ab1b54
3
+ metadata.gz: 0c6495f095da148d1c80050f13f294bce1913770
4
+ data.tar.gz: e0312d5aac4d8b5f633f36cb01c99bdda68a7593
5
5
  SHA512:
6
- metadata.gz: 4bcbe16c6f79e9691f88218ae57dc0624a5b0f127f7e9d4a105a7cdf83017550a4a3ec0255aa866638fc99060bcce7549912e9a133e8f57d5567e5d7792dff0d
7
- data.tar.gz: ee05225b4b8038f6ee48c17668660697895c071c15a5e3d04074f675722d79db4ad346358e341d3551e8dee9b5fbf3b336d2f67cd744d04b8a968a22000dca84
6
+ metadata.gz: f54ae837818f50d0b89f82ac58b4888973ff9744754431cd62d909e174603b5ba6930f665d7311a2bdcf1e520fec032e7e363617c37f60452f1c1cf7f91c8aeb
7
+ data.tar.gz: 02b9d64112a162f4e57d2f521b037cd62e316c6b8945d4731b0168f51a8c888f11e4b6740181149925776acbf0a68d6867fbe874b486939baf586cf015240d61
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.16.1
@@ -1,13 +1,3 @@
1
- format :html do
2
- view :editor do |args|
3
- text_area :content, :rows=>5, :class=>'card-content ace-editor-textarea', "data-card-type-code"=>card.type_code
4
- end
5
- end
6
-
7
- view :closed_content do |args|
8
- ''
9
- end
10
-
11
1
  def clean_html?
12
2
  false
13
3
  end
@@ -17,7 +7,21 @@ def diff_args
17
7
  end
18
8
 
19
9
  format do
10
+ view :closed_content do |args|
11
+ ''
12
+ end
13
+
20
14
  def chunk_list
21
15
  :references
22
16
  end
23
17
  end
18
+
19
+
20
+ format :html do
21
+ view :editor do |args|
22
+ text_area :content, :rows=>5, :class=>'card-content ace-editor-textarea', "data-card-type-code"=>card.type_code
23
+ end
24
+ end
25
+
26
+
27
+
@@ -182,7 +182,7 @@ format :html do
182
182
  # FIELD VIEWS
183
183
 
184
184
  view :editor do |args|
185
- text_area :content, :rows=>3, :class=>'tinymce-textarea card-content', :id=>unique_id, "data-card-type-code"=>card.type_code
185
+ text_area :content, :rows=>3, :class=>'tinymce-textarea card-content', :id=>unique_id
186
186
  end
187
187
 
188
188
  view :edit_in_form, :perms=>:update, :tags=>:unknown_ok do |args|
@@ -6,6 +6,8 @@ format do
6
6
  end
7
7
 
8
8
  format :html do
9
+ include Html::HtmlFormat
10
+
9
11
  view :core do |args|
10
12
  with_inclusion_mode :template do
11
13
  process_content ::CodeRay.scan( _render_raw, :html ).div
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-07-29 00:00:00.000000000 Z
14
+ date: 2015-07-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: smartname