burp_cms 1.5.7 → 1.5.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1c220c0e50311c071596a17943c5c614bcac8abd
4
- data.tar.gz: 8c4cf745cb22c1b50a6a414288cc79bd4e375bde
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MTVlYzZjZGI3OWU2MmQ3MmIzMGJlMGY2NzA2NTM2MjA1MzYyNTA2MA==
5
+ data.tar.gz: !binary |-
6
+ ZmZhMGY4ZjEwMjJhNzdlNzA2ODIzYjY2MzFiYjgyY2NmYzE1MmM4YQ==
5
7
  SHA512:
6
- metadata.gz: 40d3a726d4f5826db4dabc98758df85aa824834a44d5d70df3c72bf2bde4f455526f757abacbcc0d7b6db528a6b0d7abdef0b8fc6f49a9e0cfa5d85c0ae26562
7
- data.tar.gz: cd5132641c770fa567d05ea34b146b897e4f79116c116a64a7a19f8362ae74a4a63d89e7afcf4c5747beb533595211acf29280d99b96384ec49b5cace6972c32
8
+ metadata.gz: !binary |-
9
+ YTY1Y2Y0YTJmNjU0YmFiODVjY2Y2NDNjODhlMmIyOTg5Yjc0MTc1YTI0NWEx
10
+ ZWU0YmZhMzkxNDZiYmNmYTljZjAzNTJiODExYWUwZWYxOWM5MTU3Nzk3MmYw
11
+ Njg4MTA1OTA5Nzk5YzM4MDk5YjlkM2RlMGIyZjA4MWQ0NGY4MGU=
12
+ data.tar.gz: !binary |-
13
+ MGE0ZTM4ZDZkMTY5YmM0MGFmZDVkOTQxMTBhMTI1MTlmNjgxOWVhM2ZhNTE5
14
+ NjQ3ZjcxYmM3NTJmYmZlZDExNjg5ZmI3MjU4MThlMmM3ZDdhZDQ4MTlmZGM2
15
+ ZDQyMjFkYTE2MjUwMTdjNDY4Y2QwMDc2MWY5OTYyZmYzNjBmNGI=
@@ -55,8 +55,17 @@
55
55
  var elements = [];
56
56
 
57
57
  $.each(mergeTextAndInlineNodes($("<div></div>").append(markdown).contents()), function(index, value) {
58
- if(typeof(value) === "string") {
59
- elements.push(marked(value));
58
+ if(typeof(value) === "string" && value.match(/^\s+$/)) {
59
+ elements.push(value);
60
+ } else if(typeof(value) === "string") {
61
+ var html = marked(value);
62
+ if(html.startsWith("<")) {
63
+ elements.push("\n\n");
64
+ }
65
+ elements.push(html);
66
+ if(html.endsWith(">\n")) {
67
+ elements.push("\n");
68
+ }
60
69
  } else {
61
70
  elements.push(value);
62
71
  }
data/lib/burp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Burp
2
- VERSION = "1.5.7"
2
+ VERSION = "1.5.8"
3
3
  end
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: burp_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.7
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darwin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-14 00:00:00.000000000 Z
11
+ date: 2014-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jquery-ui-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: less-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mayi
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: therubyracer
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bootstrap_forms
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: term-ansicolor
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rmagick
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ! '>='
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ! '>='
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
@@ -140,14 +140,14 @@ dependencies:
140
140
  name: rspec
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ! '>='
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ! '>='
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
@@ -168,14 +168,14 @@ dependencies:
168
168
  name: bundler
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - '>='
171
+ - - ! '>='
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - '>='
178
+ - - ! '>='
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  - !ruby/object:Gem::Dependency
@@ -192,7 +192,7 @@ dependencies:
192
192
  - - ~>
193
193
  - !ruby/object:Gem::Version
194
194
  version: 1.8.4
195
- description: ' A CMS that tries hard to not get in your way! '
195
+ description: ! ' A CMS that tries hard to not get in your way! '
196
196
  email: darwin@bits2life.com
197
197
  executables: []
198
198
  extensions: []
@@ -200,8 +200,6 @@ extra_rdoc_files:
200
200
  - LICENSE.txt
201
201
  - README.markdown
202
202
  files:
203
- - LICENSE.txt
204
- - README.markdown
205
203
  - Rakefile
206
204
  - app/assets/images/burp/add-group-to-menu-1.png
207
205
  - app/assets/images/burp/add-group-to-menu-2.png
@@ -432,6 +430,8 @@ files:
432
430
  - lib/burp/version.rb
433
431
  - lib/burp_cms.rb
434
432
  - lib/tasks/burp_tasks.rake
433
+ - LICENSE.txt
434
+ - README.markdown
435
435
  homepage: http://github.com/bjornblomqvist/burp
436
436
  licenses:
437
437
  - LGPL3
@@ -442,17 +442,17 @@ require_paths:
442
442
  - lib
443
443
  required_ruby_version: !ruby/object:Gem::Requirement
444
444
  requirements:
445
- - - '>='
445
+ - - ! '>='
446
446
  - !ruby/object:Gem::Version
447
447
  version: '0'
448
448
  required_rubygems_version: !ruby/object:Gem::Requirement
449
449
  requirements:
450
- - - '>='
450
+ - - ! '>='
451
451
  - !ruby/object:Gem::Version
452
452
  version: '0'
453
453
  requirements: []
454
454
  rubyforge_project:
455
- rubygems_version: 2.2.2
455
+ rubygems_version: 2.1.10
456
456
  signing_key:
457
457
  specification_version: 4
458
458
  summary: A CMS that tries hard to not get in your way!