spina 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spina might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42b36d60a17dfcdac75ec009b8716f1dcd2bc6229912d3ffce7f9b84d598fb1e
4
- data.tar.gz: 805cc7adef12c19bc86b3faee0e383172c67d80b3f5cc6a2d2d362e2c58e9c30
3
+ metadata.gz: 32187eb78136ac0dfe4d1725858773b6f1a1ccb2cbcdc0e34a0607465c5e79c3
4
+ data.tar.gz: 870eb6a0b6680656373c86be1c7c76589d8bcb8568d8cebf3e14152e85067106
5
5
  SHA512:
6
- metadata.gz: eada8dcbd8149d25abf2fe81c7bfebc726dde3e503f2ee0aa71a9f6a4784c72fc8d85596eacf969542bb84ded0890542fab9fa664032ae492be0660ec45cd19b
7
- data.tar.gz: 9b172a5f22e96670923ef83f894d1b50863cc65e3077d20acb979a957655f12b4ea3395264c70451ff536a91e0b5c04ab9d0eafcc96c550383a46f5f0b7c796f
6
+ metadata.gz: 3090e08c178581fe346591ab4bba6d6f6906960c4e29a6f3fe5fa660305acfbedc0e5f43a492376f74843c2cd39184ff693f93ed2338c1963df6c044bae32583
7
+ data.tar.gz: bff6c12eaaf8565db13e80f31193ee5ac744018b61dfe934a4c878b1dd574007976daff8f8065496bde5a715a3431aab32f294006d80813424d75c99bf72c3b2
@@ -31,7 +31,7 @@ module Spina
31
31
  update_child_pages_position(parent_node)
32
32
  update_navigation_item_position(parent_node[:id], parent_pos, nil)
33
33
  end
34
- render nothing: true
34
+ head :ok
35
35
  end
36
36
 
37
37
  private
@@ -66,7 +66,7 @@ module Spina
66
66
  update_child_pages_position(parent_node)
67
67
  update_page_position(parent_node, parent_pos, nil)
68
68
  end
69
- render nothing: true
69
+ head :ok
70
70
  end
71
71
 
72
72
  def destroy
@@ -4,4 +4,4 @@
4
4
  .well
5
5
  .dd#pages_list{data: {:"sort-url" => spina.sort_admin_navigation_url(@navigation) }}
6
6
  %ol.dd-list
7
- = render partial: 'navigation_item_nested_list', collection: @navigation.navigation_items.roots
7
+ = render partial: 'navigation_item_nested_list', collection: @navigation.navigation_items.roots.sorted
@@ -1,3 +1,3 @@
1
1
  module Spina
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bram Jetten
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-07 00:00:00.000000000 Z
11
+ date: 2018-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails