staypuft 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDZhMjQ5YWJmZTcwY2ZiYWVjNzdiZWMyNDM1MzBlZDA0YTFkYzgzMQ==
4
+ YzJhYzdmNWIxZTJmZjYwZmMzZTRiY2NmY2EzNjY0MzRjYjc1NWQ5Nw==
5
5
  data.tar.gz: !binary |-
6
- ZTNjYWI1NjQ5NDVjNTNkZDU2NjI4ZjAzMjI3NzY5MTk5OTRmYzNhNg==
6
+ MjJiZTgxMWZkNjY4YjI3N2EzOGE1MjYxOGY3ZGUyM2U4NmI3Y2I1Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTA0NmYxNDZiZTAyNjQyYWRjNTAyZmI3MjI2YjNkOTYwZDk3MWI0ZGQxYjZl
10
- ZjU1NWUxY2NhY2VmMzc1NjA4YzY2NDk2MDViOWEzOGE4YjRlYWMxMjA2MTBi
11
- YjMzZWYzMjNjMTUxZWQ1OWNjODI1ZGJhNTExOWEzYjZjMjk5NzY=
9
+ Y2Y0ZWU4NDUzMDg3MDA2ZTQzODNlMzE4MmMzNGZlODY0MDI3NTkyZTcwNTlj
10
+ Mzg2OWNiYjBmNjRlZDVlNWFjZGRiYjQyY2YzMzRjZTM4MGEwYjFkYjMxMmFi
11
+ MWE2ZTI4YjUyOTI2Yzk4MzJjNGMzNWRlY2Y5ODQ2Mzk4MGIzOGY=
12
12
  data.tar.gz: !binary |-
13
- MDZhOGFmMTNjN2M1YTAwMGEzZjgzYmJiYmQ5NzBhZGFmNzY4MWU5MjI2ZWEw
14
- MmI1ZDc4YTljMDViZjg3NTNlZTJhZDE3ZjBhYmE1MGNmZmRkNTdjMDNmYmI1
15
- ODg4YTY0MGJlM2M4MTUzOWIyNjVkNGRjYzIzOGI3M2QxOTQ0OTc=
13
+ ZDZlMDQwY2M4MTUxNzk4NmY2ZDAzOTVkZGQ0NGZlYTgxNzM2ZTY5NzUwYTBj
14
+ NTRkMjY4ZTVkNWMxOWZlMDRlYzkzZmUzN2U3ZTY5MjQzNGQ0MmFjMGRmOWQ5
15
+ ZTA2OGYxNjM2MjNiOTNlNTlhM2M4YTRhMTE3MjllODFiMTcwNTU=
@@ -6,6 +6,7 @@ var nics_assignment = (function() {
6
6
  dropped.data.left = ui.originalPosition.left;
7
7
  dropped.data.top = ui.originalPosition.top;
8
8
  },
9
+ helper: 'clone',
9
10
  revert: 'invalid'
10
11
  });
11
12
 
@@ -152,12 +152,10 @@ $('.neutron_ml2_mechanisms').parent().parent().removeClass('col-md-6').addClass(
152
152
 
153
153
  showControllerWarning("glance");
154
154
  showControllerWarning("cinder");
155
- $("input[name='staypuft_deployment[glance][driver_backend]'").change(function(){
156
- console.log("glance");
155
+ $("input[name='staypuft_deployment[glance][driver_backend]']").change(function(){
157
156
  showControllerWarning("glance")
158
157
  });
159
158
  $("#staypuft_deployment_cinder_backend_lvm").change(function(){
160
- console.log("cinder");
161
159
  showControllerWarning("cinder")
162
160
  });
163
161
  function showControllerWarning(which_warning) {
@@ -1,5 +1,6 @@
1
1
  var subnets_assigments = (function() {
2
2
  $("div.subnet-type-pull").draggable({
3
+ helper: 'clone',
3
4
  revert: 'invalid'
4
5
  });
5
6
 
@@ -72,4 +73,4 @@ var subnets_assigments = (function() {
72
73
 
73
74
  $(function() {
74
75
  subnets_assigments();
75
- });
76
+ });
@@ -5,7 +5,7 @@ $("#<%= params[:interface] %>-<%= @assigner.virtual_assignment? ? 'virtuals' : '
5
5
  :object => @subnet,
6
6
  :as => 'subnet',
7
7
  :locals => { :active => !is_pxe?(@deployment, @subnet), :deployment => @deployment, :existing => true } %>');
8
- $("#<%= dom_id(@subnet) %>").draggable({revert: 'invalid'});
8
+ $("#<%= dom_id(@subnet) %>").draggable({helper: 'clone',revert: 'invalid'});
9
9
  <% else %>
10
10
  error = '<%=j @errors.map { |k, v| "#{h(k)}: #{v.join(', ')}" }.join('<br />').html_safe %>';
11
11
  $.jnotify(error, { type: "error", sticky: true });
@@ -5,7 +5,7 @@ $("#subnets").append(
5
5
  :object => @subnet,
6
6
  :as => 'subnet',
7
7
  :locals => { :active => !is_pxe?(@deployment, @subnet), :deployment => @deployment, :existing => false } %>');
8
- $("#<%= dom_id(@subnet) %>").draggable({revert: 'invalid'});
8
+ $("#<%= dom_id(@subnet) %>").draggable({helper: 'clone',revert: 'invalid'});
9
9
  <% else %>
10
10
  error = '<%=j @errors.map { |k, v| "#{k}: #{v.join(', ')}" }.join('<br />') %>';
11
11
  $.jnotify(error, { type: "error", sticky: true });
@@ -4,7 +4,7 @@
4
4
  :object => @subnet_type,
5
5
  :as => 'subnet_type',
6
6
  :locals => { :subnet_typing => @subnet_typing, :deployment => @deployment } %>');
7
- $("#<%= dom_id(@subnet_type) %>").draggable({revert: 'invalid'});
7
+ $("#<%= dom_id(@subnet_type) %>").draggable({helper: 'clone', revert: 'invalid'});
8
8
  <% else %>
9
9
  error = '<%=j @errors.map { |k, v| "#{h(k)}: #{v.join(', ')}" }.join('<br />').html_safe %>';
10
10
  $.jnotify(error, { type: "error", sticky: true });
@@ -4,7 +4,7 @@
4
4
  :object => @subnet_type,
5
5
  :locals => { :deployment => @deployment },
6
6
  :as => 'subnet_type' %>');
7
- $("#<%= dom_id(@subnet_type) %>").draggable({revert: 'invalid'});
7
+ $("#<%= dom_id(@subnet_type) %>").draggable({helper: 'clone',revert: 'invalid'});
8
8
  <% else %>
9
9
  error = '<%=j @errors.map { |k, v| "#{h(k)}: #{v.join(', ')}" }.join('<br />').html_safe %>';
10
10
  $.jnotify(error, { type: "error", sticky: true });
@@ -5,6 +5,7 @@
5
5
  :as => 'subnet_type',
6
6
  :locals => { :subnet_typing => @subnet_typing, :deployment => @deployment } %>');
7
7
  $("#<%= dom_id(@subnet_type) %>").draggable({
8
+ helper: 'clone',
8
9
  revert: 'invalid'
9
10
  });
10
11
  <% else %>
@@ -1,3 +1,3 @@
1
1
  module Staypuft
2
- VERSION = '0.5.1'
2
+ VERSION = '0.5.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: staypuft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Staypuft team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-26 00:00:00.000000000 Z
11
+ date: 2014-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foreman-tasks