spree_clean 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Versionfile CHANGED
@@ -1,3 +1,4 @@
1
+ "1.3.x" => { :tag => "v1.0.5", :version => "1.0.5" }
1
2
  "1.2.x" => { :tag => "v1.0.4", :version => "1.0.4" }
2
3
  "1.1.x" => { :tag => "v1.0.3", :version => "1.0.3" }
3
4
  "1.0.x" => { :tag => "v1.0.2", :version => "1.0.2" }
@@ -1,5 +1,5 @@
1
- Deface::Override.new(:virtual_path => "spree/admin/configurations/index",
1
+ Deface::Override.new(:virtual_path => "spree/admin/shared/_configuration_menu",
2
2
  :name => "add_clean_data_to_configurations_menu",
3
- :insert_after => "[data-hook='admin_configurations_menu']",
3
+ :insert_bottom => "[data-hook='admin_configurations_sidebar_menu']",
4
4
  :partial => "spree/admin/shared/configurations_menu",
5
5
  :disabled => false)
@@ -1,6 +1,8 @@
1
1
  <%= render :partial => 'spree/admin/shared/configuration_menu' %>
2
2
 
3
- <h1><%= t(:clean_data) %></h1>
3
+ <% content_for :page_title do %>
4
+ <%= t(:clean_data) %>
5
+ <% end %>
4
6
 
5
7
  <p class="warning"><strong><%= t :clean_data_warning %></strong></p>
6
8
 
@@ -10,6 +12,8 @@
10
12
  <a href="#invert_selection">Invert Selection</a>
11
13
  </p>
12
14
 
15
+ <br />
16
+
13
17
  <%= form_tag admin_destroy_data_path, :method => :delete do %>
14
18
  <p data-hook="resources-list" class="resources-list">
15
19
  <%= label_tag 'resources[address]', t(:addresses) %>
@@ -96,7 +100,7 @@
96
100
 
97
101
  <p class="form-buttons" data-hook="buttons">
98
102
  <%= submit_tag t(:destroy_data), :confirm => "#{t(:confirm_delete_data)}" %>
99
- <%= t(:or) %> <%= link_to t(:cancel), admin_configurations_path %>
103
+ <%= t(:or) %> <%= link_to t(:cancel), edit_admin_general_settings_path %>
100
104
  </p>
101
105
  <% end %>
102
106
 
@@ -1,4 +1 @@
1
- <tr>
2
- <td><%= link_to t("clean_data"), admin_clean_data_path %></td>
3
- <td><%= t("clean_data_description") %></td>
4
- </tr>
1
+ <%= configurations_sidebar_menu_item t(:clean_data), admin_clean_data_path %>
data/spree_clean.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
  Gem::Specification.new do |s|
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.name = 'spree_clean'
6
- s.version = '1.0.4'
6
+ s.version = '1.0.5'
7
7
  s.summary = 'Delete data via the Spree admin'
8
8
  s.description = 'Spree Extension that facilitates mass deletion of application data'
9
9
  s.required_ruby_version = '>= 1.8.7'
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.require_path = 'lib'
17
17
  s.requirements << 'none'
18
18
 
19
- s.add_dependency 'spree_core', '~> 1.2.0'
19
+ s.add_dependency 'spree_core', '~> 1.3.0'
20
20
 
21
21
  s.add_development_dependency 'capybara', '1.0.1'
22
22
  s.add_development_dependency 'factory_girl'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_clean
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-13 00:00:00.000000000 Z
12
+ date: 2012-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.2.0
21
+ version: 1.3.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 1.2.0
29
+ version: 1.3.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: capybara
32
32
  requirement: !ruby/object:Gem::Requirement