radiant-copy_move-extension 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/config/locales/{nl-BE.yml → nl.yml} +1 -1
- data/copy_move_extension.rb +1 -11
- data/radiant-copy_move-extension.gemspec +3 -3
- metadata +5 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.2
|
data/copy_move_extension.rb
CHANGED
@@ -1,20 +1,10 @@
|
|
1
1
|
require_dependency 'application_controller'
|
2
2
|
|
3
3
|
class CopyMoveExtension < Radiant::Extension
|
4
|
-
version "2.
|
4
|
+
version "2.1.2"
|
5
5
|
description "Adds the ability to copy and move a page and all of its children"
|
6
6
|
url "http://gravityblast.com/projects/radiant-copymove-extension/"
|
7
7
|
|
8
|
-
# good by for define_routes
|
9
|
-
#define_routes do |map|
|
10
|
-
# map.with_options(:controller => "admin/pages") do |cm|
|
11
|
-
# cm.copy_page_admin_page '/admin/pages/:id/copy_page', :action => 'copy_page'
|
12
|
-
# cm.copy_children_admin_page '/admin/pages/:id/copy_children', :action => 'copy_children'
|
13
|
-
# cm.copy_tree_admin_page '/admin/pages/:id/copy_tree', :action => 'copy_tree'
|
14
|
-
# cm.move_admin_page '/admin/pages/:id/move', :action => 'move'
|
15
|
-
# end
|
16
|
-
#end
|
17
|
-
|
18
8
|
def activate
|
19
9
|
Admin::PagesController.class_eval do
|
20
10
|
include CopyMove::Controller
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{radiant-copy_move-extension}
|
8
|
-
s.version = "2.1.
|
8
|
+
s.version = "2.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Benny Degezelle"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-10-14}
|
13
13
|
s.description = %q{Allows you to to copy pages or move them under a new parent. }
|
14
14
|
s.email = %q{benny@gorilla-webdesign.be}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
|
|
31
31
|
"app/views/copy_move/index.html.haml",
|
32
32
|
"config/locales/de.yml",
|
33
33
|
"config/locales/en.yml",
|
34
|
-
"config/locales/nl
|
34
|
+
"config/locales/nl.yml",
|
35
35
|
"config/routes.rb",
|
36
36
|
"copy_move_extension.rb",
|
37
37
|
"lib/copy_move.rb",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-copy_move-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 2
|
10
|
+
version: 2.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Benny Degezelle
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-10-14 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -58,7 +58,7 @@ files:
|
|
58
58
|
- app/views/copy_move/index.html.haml
|
59
59
|
- config/locales/de.yml
|
60
60
|
- config/locales/en.yml
|
61
|
-
- config/locales/nl
|
61
|
+
- config/locales/nl.yml
|
62
62
|
- config/routes.rb
|
63
63
|
- copy_move_extension.rb
|
64
64
|
- lib/copy_move.rb
|