burp_cms 1.3.14 → 1.3.15

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: cfe594bf44e6612fed131a0f08c0e60d1e10f345
4
- data.tar.gz: 5ce739fe01629ec83ae17c4f8505c970aa631ba0
3
+ metadata.gz: 7a22cf07456bb3e430a6ee3fe3e8061f86c6a242
4
+ data.tar.gz: 162a4442a4aa52df8674e51b13063383c56bd16d
5
5
  SHA512:
6
- metadata.gz: 1f57bc263cf599200d183e12e604a68d40fbf02d060e8941f9c4cf82ea99b70035d644a20ac13d1b600519a03cece731a942dcbe48c9d9c564f6c05c5d919227
7
- data.tar.gz: e0c841815ad9a66543c54497edf68b57f111f1aca95cf4c6da6b83f2a1391c540dd06961169389294266ca2e0db047b7f52600916563e5e0392e4b67f03b6a33
6
+ metadata.gz: 60208bfda58e1ff29a3fe472e287ef82fb7a5c1fc1970b8fadb408966e6be184437bca04b0d7061fa12cfec2bc8ae9ff4c5e3d503bf668ed0a7987e6e476d482
7
+ data.tar.gz: 8c6bdee7b88014842165fd3c75d7c7484207a8a853cf811a81da5986f29e97d31255ff35c7170a68ae54f4f6ae23acb1dcd78b78f423d2a65356c01913573a62
data/Rakefile CHANGED
@@ -14,7 +14,7 @@ end
14
14
 
15
15
  require 'rake'
16
16
  require 'jeweler'
17
- require 'burp/version'
17
+ require_relative 'lib/burp/version'
18
18
 
19
19
  Jeweler::Tasks.new do |gem|
20
20
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
@@ -1,5 +1,5 @@
1
1
  /*global
2
-
2
+ showFormInPopover
3
3
  */
4
4
 
5
5
 
@@ -30,34 +30,7 @@ $(function() {
30
30
  var path = $(target).is("a") ? "./links/"+id : "./groups/"+id;
31
31
 
32
32
  $.get(path+"/edit",function(data) {
33
-
34
- var the_form = $(data).find("form");
35
- the_form.attr("action",path);
36
-
37
- $("#my-pop-over").remove();
38
- $('.modal').clone().attr("id",'my-pop-over').appendTo("body");
39
- $("#my-pop-over .modal-body").append(the_form);
40
-
41
- $("#my-pop-over .modal-header h3").text(the_form.find(" > fieldset > legend").text());
42
- the_form.find(" > fieldset > legend").remove();
43
-
44
- the_form.find(".form-actions").hide();
45
- the_form.find(".form-actions button").each(function() {
46
- var _this = this;
47
- var new_button = $(this).clone().attr("onclick",'');
48
- new_button.appendTo("#my-pop-over .modal-footer");
49
- new_button.click(function() {
50
- if($(this).text() === "Cancel") {
51
- $("#my-pop-over").modal("hide");
52
- } else {
53
- $(_this).click();
54
- }
55
- });
56
- });
57
-
58
- $("#my-pop-over").modal('show').one('shown',function() {
59
- $(this).find('input').not("input[type=button],input[type=hidden],input[type=submit]").first().focus();
60
- });
33
+ showFormInPopover($(data).find("form"), path);
61
34
  });
62
35
  });
63
36
  });
@@ -74,34 +47,7 @@ $(function() {
74
47
  var path = target.attr('href');
75
48
 
76
49
  $.get(path,function(data) {
77
-
78
- var the_form = $(data).find("form");
79
- the_form.attr("action",path.replace(/\/(edit|new)$/,''));
80
-
81
- $("#my-pop-over").remove();
82
- $('.modal').clone().attr("id",'my-pop-over').appendTo("body");
83
- $("#my-pop-over .modal-body").append(the_form);
84
-
85
- $("#my-pop-over .modal-header h3").text(the_form.find(" > fieldset > legend").text());
86
- the_form.find(" > fieldset > legend").remove();
87
-
88
- the_form.find(".form-actions").hide();
89
- the_form.find(".form-actions button").each(function() {
90
- var _this = this;
91
- var new_button = $(this).clone().attr("onclick",'');
92
- new_button.appendTo("#my-pop-over .modal-footer");
93
- new_button.click(function() {
94
- if($(this).text() === "Cancel") {
95
- $("#my-pop-over").modal("hide");
96
- } else {
97
- $(_this).click();
98
- }
99
- });
100
- });
101
-
102
- $("#my-pop-over").modal('show').one('shown',function() {
103
- $(this).find('input').not("input[type=button],input[type=hidden],input[type=submit]").first().focus();
104
- });
50
+ showFormInPopover($(data).find("form"), path);
105
51
  });
106
52
  });
107
53
  });
@@ -0,0 +1,37 @@
1
+
2
+
3
+ (function() {
4
+
5
+ function showFormInPopover(the_form, path) {
6
+ the_form.attr("action",path.replace(/\/(edit|new)$/,''));
7
+
8
+ $("#my-pop-over").remove();
9
+ $('.modal').clone().attr("id",'my-pop-over').appendTo("body");
10
+ $("#my-pop-over .modal-body").append(the_form);
11
+
12
+ $("#my-pop-over .modal-header h3").text(the_form.find(" > fieldset > legend").text());
13
+ the_form.find(" > fieldset > legend").remove();
14
+
15
+ the_form.find(".form-actions").hide();
16
+ the_form.find(".form-actions").find('button, input, a').each(function() {
17
+ var _this = this;
18
+ var new_button = $(this).clone().attr("onclick",'').removeAttr('data-confirm').removeAttr('data-method');
19
+ new_button.appendTo("#my-pop-over .modal-footer");
20
+ new_button.click(function(event) {
21
+ event.preventDefault();
22
+ if($(this).text() === "Cancel") {
23
+ $("#my-pop-over").modal("hide");
24
+ } else {
25
+ $(_this).click();
26
+ }
27
+ });
28
+ });
29
+
30
+ $("#my-pop-over").modal('show').one('shown',function() {
31
+ $(this).find('input').not("input[type=button],input[type=hidden],input[type=submit]").first().focus();
32
+ });
33
+ }
34
+
35
+ window.showFormInPopover = showFormInPopover;
36
+
37
+ }());
@@ -2,6 +2,6 @@
2
2
  *= require_self
3
3
  *= require_tree ./editing/css/
4
4
  *= require ./editing/dep/CodeMirror-2.3/lib/codemirror.css
5
- *= require ./editing/dep/FontAwesome/css/font-awesome.less
5
+ *= require ./editing/dep/FontAwesome/less/font-awesome.less
6
6
  *= require ../gritter/gritter.less
7
7
  */
@@ -1,18 +1,18 @@
1
1
 
2
2
 
3
- <%= twitter_bootstrap_form_for :group, :url => "./", :method => (@group ? :put : :post),:html => {:id => "edit-group-form",:class => 'form-horizontal'} do |f| %>
4
-
5
- <%= f.fieldset "Group" do %>
6
- <%= f.text_field :name, "Name" %>
7
- <% end %>
3
+ <%= bootstrap_form_for :group, :url => "./", :method => (@group ? :put : :post),:html => {:id => "edit-group-form",:class => 'form-horizontal'} do |f| %>
4
+
5
+ <fieldset>
6
+ <legend>Group</legend>
7
+ <%= f.text_field :name %>
8
+ </fieldset>
8
9
 
9
10
 
10
11
  <%= f.actions do %>
11
- <%= f.submit @group ? 'Save' : "Create" %>
12
+ <%= f.submit(:include_cancel => false, :value => (@group ? 'Save' : "Create"), :class => "btn btn-primary") %>
12
13
  <%= button_tag 'Cancel', :onclick => "document.location = '#{edit_menu_path(@menu)}'; return false;", :class => 'btn' %>
13
14
  <% if @group %>
14
- <%= button_tag 'Remove', :onclick => "$('#remove-link').click(); return false;", :class => 'btn btn-warning' %>
15
- <%= link_to 'Destroy', menu_group_path(@menu,@group), :confirm => 'Are you sure?', :id => 'remove-link', :method => :delete, :style => "display: none;" %>
15
+ <%= link_to 'Remove', menu_group_path(@menu,@group), :confirm => 'Are you sure?', :class => 'btn btn-warning', :method => :delete %>
16
16
  <% end %>
17
17
  <% end %>
18
18
  <% end %>
@@ -1,19 +1,19 @@
1
1
 
2
2
 
3
- <%= twitter_bootstrap_form_for :link, :url => "./", :method => (@link ? :put : :post),:html => {:id => "edit-link-form",:class => 'form-horizontal'} do |f| %>
4
-
5
- <%= f.fieldset "Link" do %>
6
- <%= f.text_field :name, "Name" %>
7
- <%= f.text_field :url, "Url" %>
8
- <% end %>
3
+ <%= bootstrap_form_for :link, :url => "./", :method => (@link ? :put : :post),:html => {:id => "edit-link-form",:class => 'form-horizontal'} do |f| %>
4
+
5
+ <fieldset>
6
+ <legend>Link</legend>
7
+ <%= f.text_field :name %>
8
+ <%= f.text_field :url %>
9
+ </fieldset>
9
10
 
10
11
 
11
12
  <%= f.actions do %>
12
- <%= f.submit @link ? 'Save' : "Create" %>
13
+ <%= f.submit(:include_cancel => false, :value => (@link ? 'Save' : "Create"), :class => "btn btn-primary") %>
13
14
  <%= button_tag 'Cancel', :onclick => "document.location = '#{edit_menu_path(@menu)}'; return false;", :class => 'btn' %>
14
15
  <% if @link %>
15
- <%= button_tag 'Remove', :onclick => "$('#remove-link').click(); return false;", :class => 'btn btn-warning' %>
16
- <%= link_to 'Destroy', menu_link_path(@menu,@link), :confirm => 'Are you sure?', :id => 'remove-link', :method => :delete, :style => "display: none;" %>
16
+ <%= link_to 'Remove', menu_link_path(@menu,@link), :confirm => 'Are you sure?',:class => 'btn btn-warning', :method => :delete %>
17
17
  <% end %>
18
18
  <% end %>
19
19
  <% end %>
@@ -1,18 +1,18 @@
1
1
 
2
2
 
3
- <%= twitter_bootstrap_form_for @page, :url => "./",:html => {:id => "edit-page-form",:class => 'form-horizontal'} do |f| %>
3
+ <%= bootstrap_form_for @page, :url => "./",:html => {:id => "edit-page-form",:class => 'form-horizontal'} do |f| %>
4
4
 
5
- <%= f.fieldset "Page" do %>
6
- <%= f.text_field :title, "Title" %>
5
+ <fieldset>
6
+ <legend>Page</legend>
7
+ <%= f.text_field :title %>
7
8
  <%= f.text_field :path, :placeholder => "/enter/a/path" %>
8
- <% end %>
9
+ </fieldset>
9
10
 
10
11
  <%= f.actions do %>
11
- <%= f.submit 'Save' %>
12
+ <%= f.submit(:include_cancel => false, :value => (@page.persisted? ? 'Save' : "Create"), :class => "btn btn-primary") %>
12
13
  <%= button_tag 'Cancel', :onclick => "document.location = '#{pages_path}'; return false;", :class => 'btn' %>
13
14
  <% if @page %>
14
- <%= button_tag 'Remove', :onclick => "$('#destroy-link').click(); return false;", :class => 'btn' %>
15
- <%= link_to 'Destroy', page_path(@page), :confirm => 'Are you sure?',:id => 'destroy-link', :method => :delete, :style => "display: none;" %>
15
+ <%= link_to 'Remove', page_path(@page), :confirm => 'Are you sure?', :class => 'btn btn-warning', :method => :delete %>
16
16
  <% end %>
17
17
  <% end %>
18
18
  <% end %>
@@ -1,4 +1,4 @@
1
- <div class="well well-large on-page-documentation">
1
+ <p></p><div class="well well-large on-page-documentation">
2
2
  <h2>Howto</h2>
3
3
 
4
4
  <h4>Change page title</h4>
@@ -85,34 +85,7 @@
85
85
  var path = target.attr('href');
86
86
 
87
87
  $.get(path,function(data) {
88
-
89
- var the_form = $(data).find("form");
90
- the_form.attr("action",path.replace(/\/(edit|new)$/,''));
91
-
92
- $("#my-pop-over").remove();
93
- $('.modal').clone().attr("id",'my-pop-over').appendTo("body");
94
- $("#my-pop-over .modal-body").append(the_form);
95
-
96
- $("#my-pop-over .modal-header h3").text(the_form.find(" > fieldset > legend").text());
97
- the_form.find(" > fieldset > legend").remove();
98
-
99
- the_form.find(".form-actions").hide();
100
- the_form.find(".form-actions button").each(function() {
101
- var _this = this;
102
- var new_button = $(this).clone().attr("onclick",'');
103
- new_button.appendTo("#my-pop-over .modal-footer");
104
- new_button.click(function() {
105
- if($(this).text() === "Cancel") {
106
- $("#my-pop-over").modal("hide");
107
- } else {
108
- $(_this).click();
109
- }
110
- });
111
- });
112
-
113
- $("#my-pop-over").modal('show').one('shown',function() {
114
- $(this).find('input').not("input[type=button],input[type=hidden],input[type=submit]").first().focus();
115
- });
88
+ showFormInPopover($(data).find("form"), path);
116
89
  });
117
90
  });
118
91
  });
@@ -0,0 +1,11 @@
1
+ require 'bootstrap_forms'
2
+ require 'bootstrap_forms/helpers'
3
+
4
+ ActionView::Base.send :include, BootstrapForms::Helpers::FormHelper
5
+ ActionView::Base.send :include, BootstrapForms::Helpers::FormTagHelper
6
+ ActionView::Base.send :include, BootstrapForms::Helpers::NestedFormHelper
7
+
8
+ # Do not wrap errors in the extra div
9
+ ::ActionView::Base.field_error_proc = Proc.new do |html_tag, instance_tag|
10
+ html_tag
11
+ end
data/lib/burp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Burp
2
- VERSION = "1.3.14"
2
+ VERSION = "1.3.15"
3
3
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: burp_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.14
4
+ version: 1.3.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darwin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-26 00:00:00.000000000 Z
11
+ date: 2013-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: burp_cms
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '>='
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rails
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -109,21 +95,7 @@ dependencies:
109
95
  - !ruby/object:Gem::Version
110
96
  version: '0'
111
97
  - !ruby/object:Gem::Dependency
112
- name: twitter_bootstrap_form_for
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: 2.0.1.0.rc1
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ~>
123
- - !ruby/object:Gem::Version
124
- version: 2.0.1.0.rc1
125
- - !ruby/object:Gem::Dependency
126
- name: term-ansicolor
98
+ name: bootstrap_forms
127
99
  requirement: !ruby/object:Gem::Requirement
128
100
  requirements:
129
101
  - - '>='
@@ -137,7 +109,7 @@ dependencies:
137
109
  - !ruby/object:Gem::Version
138
110
  version: '0'
139
111
  - !ruby/object:Gem::Dependency
140
- name: rmagick
112
+ name: term-ansicolor
141
113
  requirement: !ruby/object:Gem::Requirement
142
114
  requirements:
143
115
  - - '>='
@@ -151,293 +123,13 @@ dependencies:
151
123
  - !ruby/object:Gem::Version
152
124
  version: '0'
153
125
  - !ruby/object:Gem::Dependency
154
- name: sqlite3
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - '>='
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - '>='
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: rdoc
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ~>
172
- - !ruby/object:Gem::Version
173
- version: '3.12'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ~>
179
- - !ruby/object:Gem::Version
180
- version: '3.12'
181
- - !ruby/object:Gem::Dependency
182
- name: bundler
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - '>='
186
- - !ruby/object:Gem::Version
187
- version: '0'
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - '>='
193
- - !ruby/object:Gem::Version
194
- version: '0'
195
- - !ruby/object:Gem::Dependency
196
- name: jeweler
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - ~>
200
- - !ruby/object:Gem::Version
201
- version: 1.8.4
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - ~>
207
- - !ruby/object:Gem::Version
208
- version: 1.8.4
209
- - !ruby/object:Gem::Dependency
210
- name: rdoc
211
- requirement: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - ~>
214
- - !ruby/object:Gem::Version
215
- version: '3.12'
216
- type: :development
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - ~>
221
- - !ruby/object:Gem::Version
222
- version: '3.12'
223
- - !ruby/object:Gem::Dependency
224
- name: bundler
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - '>='
228
- - !ruby/object:Gem::Version
229
- version: '0'
230
- type: :development
231
- prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - '>='
235
- - !ruby/object:Gem::Version
236
- version: '0'
237
- - !ruby/object:Gem::Dependency
238
- name: jeweler
239
- requirement: !ruby/object:Gem::Requirement
240
- requirements:
241
- - - ~>
242
- - !ruby/object:Gem::Version
243
- version: 1.8.4
244
- type: :development
245
- prerelease: false
246
- version_requirements: !ruby/object:Gem::Requirement
247
- requirements:
248
- - - ~>
249
- - !ruby/object:Gem::Version
250
- version: 1.8.4
251
- - !ruby/object:Gem::Dependency
252
- name: rdoc
253
- requirement: !ruby/object:Gem::Requirement
254
- requirements:
255
- - - ~>
256
- - !ruby/object:Gem::Version
257
- version: '3.12'
258
- type: :development
259
- prerelease: false
260
- version_requirements: !ruby/object:Gem::Requirement
261
- requirements:
262
- - - ~>
263
- - !ruby/object:Gem::Version
264
- version: '3.12'
265
- - !ruby/object:Gem::Dependency
266
- name: bundler
267
- requirement: !ruby/object:Gem::Requirement
268
- requirements:
269
- - - '>='
270
- - !ruby/object:Gem::Version
271
- version: '0'
272
- type: :development
273
- prerelease: false
274
- version_requirements: !ruby/object:Gem::Requirement
275
- requirements:
276
- - - '>='
277
- - !ruby/object:Gem::Version
278
- version: '0'
279
- - !ruby/object:Gem::Dependency
280
- name: jeweler
281
- requirement: !ruby/object:Gem::Requirement
282
- requirements:
283
- - - ~>
284
- - !ruby/object:Gem::Version
285
- version: 1.8.4
286
- type: :development
287
- prerelease: false
288
- version_requirements: !ruby/object:Gem::Requirement
289
- requirements:
290
- - - ~>
291
- - !ruby/object:Gem::Version
292
- version: 1.8.4
293
- - !ruby/object:Gem::Dependency
294
- name: rdoc
295
- requirement: !ruby/object:Gem::Requirement
296
- requirements:
297
- - - ~>
298
- - !ruby/object:Gem::Version
299
- version: '3.12'
300
- type: :development
301
- prerelease: false
302
- version_requirements: !ruby/object:Gem::Requirement
303
- requirements:
304
- - - ~>
305
- - !ruby/object:Gem::Version
306
- version: '3.12'
307
- - !ruby/object:Gem::Dependency
308
- name: bundler
309
- requirement: !ruby/object:Gem::Requirement
310
- requirements:
311
- - - '>='
312
- - !ruby/object:Gem::Version
313
- version: '0'
314
- type: :development
315
- prerelease: false
316
- version_requirements: !ruby/object:Gem::Requirement
317
- requirements:
318
- - - '>='
319
- - !ruby/object:Gem::Version
320
- version: '0'
321
- - !ruby/object:Gem::Dependency
322
- name: jeweler
323
- requirement: !ruby/object:Gem::Requirement
324
- requirements:
325
- - - ~>
326
- - !ruby/object:Gem::Version
327
- version: 1.8.4
328
- type: :development
329
- prerelease: false
330
- version_requirements: !ruby/object:Gem::Requirement
331
- requirements:
332
- - - ~>
333
- - !ruby/object:Gem::Version
334
- version: 1.8.4
335
- - !ruby/object:Gem::Dependency
336
- name: rdoc
337
- requirement: !ruby/object:Gem::Requirement
338
- requirements:
339
- - - ~>
340
- - !ruby/object:Gem::Version
341
- version: '3.12'
342
- type: :development
343
- prerelease: false
344
- version_requirements: !ruby/object:Gem::Requirement
345
- requirements:
346
- - - ~>
347
- - !ruby/object:Gem::Version
348
- version: '3.12'
349
- - !ruby/object:Gem::Dependency
350
- name: bundler
351
- requirement: !ruby/object:Gem::Requirement
352
- requirements:
353
- - - '>='
354
- - !ruby/object:Gem::Version
355
- version: '0'
356
- type: :development
357
- prerelease: false
358
- version_requirements: !ruby/object:Gem::Requirement
359
- requirements:
360
- - - '>='
361
- - !ruby/object:Gem::Version
362
- version: '0'
363
- - !ruby/object:Gem::Dependency
364
- name: jeweler
365
- requirement: !ruby/object:Gem::Requirement
366
- requirements:
367
- - - ~>
368
- - !ruby/object:Gem::Version
369
- version: 1.8.4
370
- type: :development
371
- prerelease: false
372
- version_requirements: !ruby/object:Gem::Requirement
373
- requirements:
374
- - - ~>
375
- - !ruby/object:Gem::Version
376
- version: 1.8.4
377
- - !ruby/object:Gem::Dependency
378
- name: rdoc
379
- requirement: !ruby/object:Gem::Requirement
380
- requirements:
381
- - - ~>
382
- - !ruby/object:Gem::Version
383
- version: '3.12'
384
- type: :development
385
- prerelease: false
386
- version_requirements: !ruby/object:Gem::Requirement
387
- requirements:
388
- - - ~>
389
- - !ruby/object:Gem::Version
390
- version: '3.12'
391
- - !ruby/object:Gem::Dependency
392
- name: bundler
393
- requirement: !ruby/object:Gem::Requirement
394
- requirements:
395
- - - '>='
396
- - !ruby/object:Gem::Version
397
- version: '0'
398
- type: :development
399
- prerelease: false
400
- version_requirements: !ruby/object:Gem::Requirement
401
- requirements:
402
- - - '>='
403
- - !ruby/object:Gem::Version
404
- version: '0'
405
- - !ruby/object:Gem::Dependency
406
- name: jeweler
407
- requirement: !ruby/object:Gem::Requirement
408
- requirements:
409
- - - ~>
410
- - !ruby/object:Gem::Version
411
- version: 1.8.4
412
- type: :development
413
- prerelease: false
414
- version_requirements: !ruby/object:Gem::Requirement
415
- requirements:
416
- - - ~>
417
- - !ruby/object:Gem::Version
418
- version: 1.8.4
419
- - !ruby/object:Gem::Dependency
420
- name: rdoc
421
- requirement: !ruby/object:Gem::Requirement
422
- requirements:
423
- - - ~>
424
- - !ruby/object:Gem::Version
425
- version: '3.12'
426
- type: :development
427
- prerelease: false
428
- version_requirements: !ruby/object:Gem::Requirement
429
- requirements:
430
- - - ~>
431
- - !ruby/object:Gem::Version
432
- version: '3.12'
433
- - !ruby/object:Gem::Dependency
434
- name: bundler
126
+ name: rmagick
435
127
  requirement: !ruby/object:Gem::Requirement
436
128
  requirements:
437
129
  - - '>='
438
130
  - !ruby/object:Gem::Version
439
131
  version: '0'
440
- type: :development
132
+ type: :runtime
441
133
  prerelease: false
442
134
  version_requirements: !ruby/object:Gem::Requirement
443
135
  requirements:
@@ -445,35 +137,7 @@ dependencies:
445
137
  - !ruby/object:Gem::Version
446
138
  version: '0'
447
139
  - !ruby/object:Gem::Dependency
448
- name: jeweler
449
- requirement: !ruby/object:Gem::Requirement
450
- requirements:
451
- - - ~>
452
- - !ruby/object:Gem::Version
453
- version: 1.8.4
454
- type: :development
455
- prerelease: false
456
- version_requirements: !ruby/object:Gem::Requirement
457
- requirements:
458
- - - ~>
459
- - !ruby/object:Gem::Version
460
- version: 1.8.4
461
- - !ruby/object:Gem::Dependency
462
- name: rdoc
463
- requirement: !ruby/object:Gem::Requirement
464
- requirements:
465
- - - ~>
466
- - !ruby/object:Gem::Version
467
- version: '3.12'
468
- type: :development
469
- prerelease: false
470
- version_requirements: !ruby/object:Gem::Requirement
471
- requirements:
472
- - - ~>
473
- - !ruby/object:Gem::Version
474
- version: '3.12'
475
- - !ruby/object:Gem::Dependency
476
- name: bundler
140
+ name: rspec
477
141
  requirement: !ruby/object:Gem::Requirement
478
142
  requirements:
479
143
  - - '>='
@@ -486,34 +150,6 @@ dependencies:
486
150
  - - '>='
487
151
  - !ruby/object:Gem::Version
488
152
  version: '0'
489
- - !ruby/object:Gem::Dependency
490
- name: jeweler
491
- requirement: !ruby/object:Gem::Requirement
492
- requirements:
493
- - - ~>
494
- - !ruby/object:Gem::Version
495
- version: 1.8.4
496
- type: :development
497
- prerelease: false
498
- version_requirements: !ruby/object:Gem::Requirement
499
- requirements:
500
- - - ~>
501
- - !ruby/object:Gem::Version
502
- version: 1.8.4
503
- - !ruby/object:Gem::Dependency
504
- name: rspec
505
- requirement: !ruby/object:Gem::Requirement
506
- requirements:
507
- - - ~>
508
- - !ruby/object:Gem::Version
509
- version: 2.8.0
510
- type: :development
511
- prerelease: false
512
- version_requirements: !ruby/object:Gem::Requirement
513
- requirements:
514
- - - ~>
515
- - !ruby/object:Gem::Version
516
- version: 2.8.0
517
153
  - !ruby/object:Gem::Dependency
518
154
  name: rdoc
519
155
  requirement: !ruby/object:Gem::Requirement
@@ -624,6 +260,7 @@ files:
624
260
  - app/assets/javascripts/burp/cms_helper.js
625
261
  - app/assets/javascripts/burp/edit-links.js
626
262
  - app/assets/javascripts/burp/edit-page.js
263
+ - app/assets/javascripts/burp/form_popover.js
627
264
  - app/assets/javascripts/burp/lib/bootstrap.min.js
628
265
  - app/assets/javascripts/burp/lib/debug.js
629
266
  - app/assets/javascripts/burp/lib/fileupload.js
@@ -743,7 +380,7 @@ files:
743
380
  - app/views/burp/static/index.html.erb
744
381
  - app/views/layouts/burp/application.html.erb
745
382
  - config/cucumber.yml
746
- - config/initializers/bootstrap_form.rb
383
+ - config/initializers/init.rb
747
384
  - config/routes.rb
748
385
  - lib/burp/capistrano.rb
749
386
  - lib/burp/engine.rb
@@ -1,2 +0,0 @@
1
- require 'twitter_bootstrap_form_for'
2
- ActionView::Base.send :include, TwitterBootstrapFormFor::FormHelpers