burp_cms 1.3.26 → 1.3.27

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NDJhNzg0NjA5MDMxZTVjYmQyYzlhOWZhYzg1YjBmMTNiMzk3N2E2NA==
5
- data.tar.gz: !binary |-
6
- M2RiYTJjNDBhNjUxZTE4YWQ5YjY0NTQ3MTlkNWMyYWNiYmE5NmE3ZA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- ZGY2NzhhZWUyMjE1YWVkNDBkNzdiMWU2YzkwYmFjYjY0ZTRjMDM3MDg0NGYz
10
- YWFjNzU1ZWJjNjc2ZDI3M2Q0MTM5MGI1NjE4MzRjZTUyNjkyNDliZmYzOWEx
11
- NDQwNDY4MzExOGY3NjNiMDY1OWQ0NmM3ZmU5MTYxZjE1YjQ3Yjk=
12
- data.tar.gz: !binary |-
13
- ZDE1ZGJlN2UwYTQxMjFjMDFiMWY1YzAxODEzY2VlZDUwYzcwN2NhNTQzZTIy
14
- YjM5OGMwOTA2YTVhNzQwNzY5YzE4OTdkNGVmMTQyYTJhNzY0NDM1MzY2MzAz
15
- ZGNhNTQ3YzQ0OWRmNTVlN2MxNjVmNmU0OWMxMDNlYmQ1Mzg5ZjM=
2
+ SHA1:
3
+ metadata.gz: 7186ead87817c836e3294af30a16f0c5aed33985
4
+ data.tar.gz: b16fabb54d3abcec8c5259737f140ee01fc9cc6f
5
+ SHA512:
6
+ metadata.gz: 7ee43bd72d08a82b27b770176d8f3dd25c7592a36f447d99fca874f224a17709bcb02de3c7433f7dc17828cd1426cf33fe7d30c695a23e679e4c2abcc7e89099
7
+ data.tar.gz: 0e0349ac20ccfc9f4391eff8407932dd3e26541c5a7a837114e4fcd67a1cc8b62c8824c5bcd57dd56126b7b98325bd2c837b92e73771ec7eb806af5e9e28a4e0
@@ -17,9 +17,10 @@
17
17
  overflow: visible !important;
18
18
  }
19
19
 
20
- .navbar .nav {
21
- width: 865px;
22
- > li.markdown {
20
+ body .navbar .nav {
21
+ width: 875px;
22
+ margin: 0px;
23
+ > li.help-link {
23
24
  float: right;
24
25
  }
25
26
  }
@@ -29,7 +30,7 @@ body > .container {
29
30
  }
30
31
 
31
32
  .container > .row {
32
- margin: 0px 20px;
33
+ margin: 0px;
33
34
  }
34
35
 
35
36
  .controls > .input > textarea {
@@ -54,6 +55,10 @@ span.buttons {
54
55
  display: block;
55
56
  }
56
57
 
58
+ .span3.docs-sidebar {
59
+ margin-left: 0;
60
+ }
61
+
57
62
 
58
63
 
59
64
  td {
@@ -80,6 +85,10 @@ td {
80
85
  }
81
86
  }
82
87
 
88
+ .img-polaroid {
89
+ max-width: 95%;
90
+ }
91
+
83
92
 
84
93
 
85
94
 
@@ -106,10 +106,10 @@ module Burp
106
106
  to_hash.hash
107
107
  end
108
108
 
109
- def self.bootstrap_nav(group)
109
+ def self.bootstrap_nav(group, request)
110
110
  %{
111
111
  <ul class="nav">
112
- #{group.children.map { |child| child.is_a?(Link) ? "<li class=\"#{child.css_class}\">#{child.to_html}</li>" : "" }.join("\n\t\t\t")}
112
+ #{group.children.map { |child| child.is_a?(Link) ? "<li class=\"#{child.css_class} #{child.current?(request) ? "active" : ""}\">#{child.to_html}</li>" : "" }.join("\n\t\t\t")}
113
113
  </ul>
114
114
  }.html_safe
115
115
  end
@@ -22,7 +22,7 @@
22
22
  </a>
23
23
  <a class="brand" href="/burp/">Burp</a>
24
24
  <div class="nav-collapse collapse">
25
- <%= Burp::Group.bootstrap_nav(menu) %>
25
+ <%= Burp::Group.bootstrap_nav(menu, request) %>
26
26
  </div>
27
27
  </div>
28
28
  </div>
data/lib/burp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Burp
2
- VERSION = "1.3.26"
2
+ VERSION = "1.3.27"
3
3
  end
data/lib/burp_cms.rb CHANGED
@@ -78,7 +78,7 @@ module Burp
78
78
  group.children << Link.new(:name => "Menus", :url => "/burp/menus")
79
79
  end
80
80
  group.children << Link.new(:name => "Files", :url => "/burp/files")
81
- group.children << Link.new(:name => "Help", :url => "/burp/herp", :class => "markdown")
81
+ group.children << Link.new(:name => "Help", :url => "/burp/help", :class => "help-link")
82
82
 
83
83
  @@menu_processors.values.each do |block|
84
84
  block.call(group, request)
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.3.26
4
+ version: 1.3.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darwin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-29 00:00:00.000000000 Z
11
+ date: 2013-10-08 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: []
@@ -399,12 +399,12 @@ require_paths:
399
399
  - lib
400
400
  required_ruby_version: !ruby/object:Gem::Requirement
401
401
  requirements:
402
- - - ! '>='
402
+ - - '>='
403
403
  - !ruby/object:Gem::Version
404
404
  version: '0'
405
405
  required_rubygems_version: !ruby/object:Gem::Requirement
406
406
  requirements:
407
- - - ! '>='
407
+ - - '>='
408
408
  - !ruby/object:Gem::Version
409
409
  version: '0'
410
410
  requirements: []