radiant-copy_move-extension 2.3.2 → 2.3.3
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/README.textile +39 -25
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/copy_move_extension.rb +2 -2
- data/radiant-copy_move-extension.gemspec +46 -42
- metadata +14 -10
data/README.textile
CHANGED
|
@@ -1,44 +1,58 @@
|
|
|
1
1
|
h1. CopyMove
|
|
2
2
|
|
|
3
|
-
* Created by: Andrea Franz - http://gravityblast.com
|
|
4
|
-
*
|
|
5
|
-
* Contact: andrea AT gravityblast DOT com
|
|
6
|
-
|
|
7
|
-
* This fork merged from others, refactored and extended by: Andrew vonderLuft - http://avlux.net
|
|
8
|
-
* Contact: avonderluft AT avlux DOT net
|
|
3
|
+
* Created by: Andrea Franz - http://gravityblast.com - andrea AT gravityblast DOT com
|
|
4
|
+
* Current version merged from other forks, refactored and extended by: Andrew vonderLuft - avonderluft AT avlux DOT net
|
|
9
5
|
|
|
10
6
|
h2. Description
|
|
11
7
|
|
|
12
|
-
This extension adds a
|
|
8
|
+
This extension adds a Copy/Move action to the Radiant Page Index administration interface near the 'Add child' button. With this extension you can copy or move a page with or without its children.
|
|
13
9
|
|
|
14
10
|
h2. Updates
|
|
15
11
|
|
|
16
|
-
* 2.3.
|
|
12
|
+
* 2.3.x - 03/2011 - merged updates from other forks, refactored for Blade UI in Radiant 0.9 or greater - Andrew vonderLuft
|
|
17
13
|
|
|
18
|
-
h2.
|
|
14
|
+
h2. Installation
|
|
19
15
|
|
|
20
|
-
|
|
21
|
-
* Radiant versions >= 0.6.7 and greater have Shards built in.
|
|
16
|
+
h3. From the Radiant Extension Registry
|
|
22
17
|
|
|
23
|
-
|
|
18
|
+
# From your RAILS_ROOT run:
|
|
19
|
+
<pre>script/extension install copy_move</pre>
|
|
20
|
+
# Restart your app
|
|
21
|
+
NOTE: In some earlier versions of Radiant, the assets may not be copied and you may therefore need to run:
|
|
22
|
+
<pre>rake radiant:extensions:copy_move:update</pre>
|
|
23
|
+
|
|
24
|
+
h3. From Github
|
|
25
|
+
|
|
26
|
+
# From your RAILS_ROOT run:
|
|
27
|
+
<pre>cd vendor/extensions
|
|
28
|
+
git clone git://github.com/jomz/radiant-copy-move.git ./copy_move
|
|
29
|
+
cd ../../
|
|
30
|
+
rake radiant:extensions:copy_move:update
|
|
31
|
+
</pre>
|
|
32
|
+
# Restart your app
|
|
24
33
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<pre>
|
|
28
|
-
cd vendor/extensions
|
|
29
|
-
git clone git://github.com/avonderluft/radiant-copy-move.git copy_move
|
|
30
|
-
</pre>
|
|
34
|
+
h3. Using the gem
|
|
31
35
|
|
|
32
|
-
|
|
36
|
+
# Install the gem
|
|
37
|
+
<pre>gem install radiant-copy_move-extension</pre>
|
|
38
|
+
# Update your Radiant config: add to environment.rb with the other gem.configs
|
|
39
|
+
<pre>config.gem 'radiant-copy_move_-extension', :lib => false</pre>
|
|
40
|
+
# Copy assets
|
|
41
|
+
<pre>rake radiant:extensions:update_all</pre>
|
|
42
|
+
# Restart your app
|
|
33
43
|
|
|
34
|
-
|
|
44
|
+
h2. Requirements fo very old versions (you really should upgrade)
|
|
45
|
+
|
|
46
|
+
For Radiant versions < 0.6.7 You need the "shards extension":http://groups.google.com/group/radiantcms-dev/browse_frm/thread/d07f7fffd84b3ce0/5efa6fd6c2e1668e?lnk=gst&q=shards#5efa6fd6c2e1668e
|
|
47
|
+
|
|
48
|
+
* Open the environment.rb and set shards as first extension to be loaded:
|
|
35
49
|
config.extensions = [ :shards, :textile_filter, :markdown_filter, :all ]
|
|
36
50
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
Radiant versions >= 0.6.7 and greater have Shards built in.
|
|
52
|
+
|
|
53
|
+
h2. Usage
|
|
54
|
+
|
|
55
|
+
See the HELP.rdoc
|
|
42
56
|
|
|
43
57
|
h2. Contributors
|
|
44
58
|
|
data/Rakefile
CHANGED
|
@@ -5,8 +5,8 @@ begin
|
|
|
5
5
|
gem.summary = %Q{Copy/Move extension for Radiant CMS}
|
|
6
6
|
gem.description = %Q{With this extension you can copy or move a page with or without its children.}
|
|
7
7
|
gem.email = "benny@gorilla-webdesign.be"
|
|
8
|
-
gem.homepage = "
|
|
9
|
-
gem.authors = ["Benny Degezelle"]
|
|
8
|
+
gem.homepage = "https://github.com/jomz/radiant-copy-move"
|
|
9
|
+
gem.authors = ["Benny Degezelle","Andrew vonderLuft"]
|
|
10
10
|
gem.add_dependency 'radiant', ">=0.9.1"
|
|
11
11
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
|
12
12
|
end
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.3.
|
|
1
|
+
2.3.3
|
data/copy_move_extension.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require_dependency 'application_controller'
|
|
2
2
|
|
|
3
3
|
class CopyMoveExtension < Radiant::Extension
|
|
4
|
-
version "
|
|
4
|
+
version "#{File.read(File.expand_path(File.dirname(__FILE__)) + '/VERSION')}"
|
|
5
5
|
description "Adds the ability to copy or move a page with or without its children"
|
|
6
|
-
url "https://github.com/
|
|
6
|
+
url "https://github.com/jomz/radiant-copy-move"
|
|
7
7
|
|
|
8
8
|
def activate
|
|
9
9
|
Admin::PagesController.class_eval do
|
|
@@ -1,64 +1,68 @@
|
|
|
1
1
|
# Generated by jeweler
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{radiant-copy_move-extension}
|
|
8
|
-
s.version = "2.3.
|
|
8
|
+
s.version = "2.3.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
-
s.authors = ["Benny Degezelle"]
|
|
12
|
-
s.date = %q{2011-
|
|
11
|
+
s.authors = ["Benny Degezelle", "Andrew vonderLuft"]
|
|
12
|
+
s.date = %q{2011-04-04}
|
|
13
13
|
s.description = %q{With this extension you can copy or move a page with or without its children.}
|
|
14
14
|
s.email = %q{benny@gorilla-webdesign.be}
|
|
15
|
+
s.extra_rdoc_files = [
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"README.textile",
|
|
18
|
+
"TODO"
|
|
19
|
+
]
|
|
15
20
|
s.files = [
|
|
16
21
|
"HELP.rdoc",
|
|
17
|
-
"LICENSE",
|
|
18
|
-
"README.textile",
|
|
19
|
-
"Rakefile",
|
|
20
|
-
"TODO",
|
|
21
|
-
"VERSION",
|
|
22
|
-
"app/helpers/copy_move_helper.rb",
|
|
23
|
-
"app/views/admin/pages/_copy_move_extra_td.html.haml",
|
|
24
|
-
"app/views/admin/pages/_copy_move_extra_th.html.haml",
|
|
25
|
-
"app/views/admin/pages/_copy_move_form.html.haml",
|
|
26
|
-
"app/views/admin/pages/copy_children.html.haml",
|
|
27
|
-
"app/views/admin/pages/copy_page.html.haml",
|
|
28
|
-
"app/views/admin/pages/copy_tree.html.haml",
|
|
29
|
-
"app/views/admin/pages/move_page.html.haml",
|
|
30
|
-
"config/locales/de.yml",
|
|
31
|
-
"config/locales/en.yml",
|
|
32
|
-
"config/locales/nl.yml",
|
|
33
|
-
"config/routes.rb",
|
|
34
|
-
"copy_move_extension.rb",
|
|
35
|
-
"lib/copy_move.rb",
|
|
36
|
-
"lib/copy_move/controller.rb",
|
|
37
|
-
"lib/copy_move/model.rb",
|
|
38
|
-
"lib/tasks/copy_move_extension_tasks.rake",
|
|
39
|
-
"public/images/admin/copy-move.png",
|
|
40
|
-
"public/images/admin/page_white.png",
|
|
41
|
-
"public/images/admin/page_white_copy.png",
|
|
42
|
-
"public/images/admin/page_white_go.png",
|
|
43
|
-
"public/images/admin/page_white_stack.png",
|
|
44
|
-
"radiant-copy_move-extension.gemspec",
|
|
45
|
-
"spec/controllers/copy_move_controller_spec.rb",
|
|
46
|
-
"spec/models/copy_move_spec.rb",
|
|
47
|
-
"spec/spec.opts",
|
|
48
|
-
"spec/spec_helper.rb"
|
|
49
|
-
]
|
|
50
|
-
s.extra_rdoc_files = [
|
|
51
22
|
"LICENSE",
|
|
52
|
-
|
|
23
|
+
"README.textile",
|
|
24
|
+
"Rakefile",
|
|
25
|
+
"TODO",
|
|
26
|
+
"VERSION",
|
|
27
|
+
"app/helpers/copy_move_helper.rb",
|
|
28
|
+
"app/views/admin/pages/_copy_move_extra_td.html.haml",
|
|
29
|
+
"app/views/admin/pages/_copy_move_extra_th.html.haml",
|
|
30
|
+
"app/views/admin/pages/_copy_move_form.html.haml",
|
|
31
|
+
"app/views/admin/pages/copy_children.html.haml",
|
|
32
|
+
"app/views/admin/pages/copy_page.html.haml",
|
|
33
|
+
"app/views/admin/pages/copy_tree.html.haml",
|
|
34
|
+
"app/views/admin/pages/move_page.html.haml",
|
|
35
|
+
"config/locales/de.yml",
|
|
36
|
+
"config/locales/en.yml",
|
|
37
|
+
"config/locales/nl.yml",
|
|
38
|
+
"config/routes.rb",
|
|
39
|
+
"copy_move_extension.rb",
|
|
40
|
+
"lib/copy_move.rb",
|
|
41
|
+
"lib/copy_move/controller.rb",
|
|
42
|
+
"lib/copy_move/model.rb",
|
|
43
|
+
"lib/tasks/copy_move_extension_tasks.rake",
|
|
44
|
+
"public/images/admin/copy-move.png",
|
|
45
|
+
"public/images/admin/page_white.png",
|
|
46
|
+
"public/images/admin/page_white_copy.png",
|
|
47
|
+
"public/images/admin/page_white_go.png",
|
|
48
|
+
"public/images/admin/page_white_stack.png",
|
|
49
|
+
"radiant-copy_move-extension.gemspec",
|
|
50
|
+
"spec/controllers/copy_move_controller_spec.rb",
|
|
51
|
+
"spec/models/copy_move_spec.rb",
|
|
52
|
+
"spec/spec.opts",
|
|
53
|
+
"spec/spec_helper.rb"
|
|
53
54
|
]
|
|
54
55
|
s.homepage = %q{https://github.com/jomz/radiant-copy-move}
|
|
55
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
|
56
56
|
s.require_paths = ["lib"]
|
|
57
|
-
s.rubygems_version = %q{1.
|
|
57
|
+
s.rubygems_version = %q{1.5.2}
|
|
58
58
|
s.summary = %q{Copy/Move extension for Radiant CMS}
|
|
59
|
+
s.test_files = [
|
|
60
|
+
"spec/controllers/copy_move_controller_spec.rb",
|
|
61
|
+
"spec/models/copy_move_spec.rb",
|
|
62
|
+
"spec/spec_helper.rb"
|
|
63
|
+
]
|
|
59
64
|
|
|
60
65
|
if s.respond_to? :specification_version then
|
|
61
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
62
66
|
s.specification_version = 3
|
|
63
67
|
|
|
64
68
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: radiant-copy_move-extension
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 5
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 2.3.
|
|
9
|
+
- 3
|
|
10
|
+
version: 2.3.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Benny Degezelle
|
|
14
|
+
- Andrew vonderLuft
|
|
14
15
|
autorequire:
|
|
15
16
|
bindir: bin
|
|
16
17
|
cert_chain: []
|
|
17
18
|
|
|
18
|
-
date: 2011-
|
|
19
|
+
date: 2011-04-04 00:00:00 -07:00
|
|
19
20
|
default_executable:
|
|
20
21
|
dependencies:
|
|
21
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -42,6 +43,7 @@ extensions: []
|
|
|
42
43
|
|
|
43
44
|
extra_rdoc_files:
|
|
44
45
|
- LICENSE
|
|
46
|
+
- README.textile
|
|
45
47
|
- TODO
|
|
46
48
|
files:
|
|
47
49
|
- HELP.rdoc
|
|
@@ -82,8 +84,8 @@ homepage: https://github.com/jomz/radiant-copy-move
|
|
|
82
84
|
licenses: []
|
|
83
85
|
|
|
84
86
|
post_install_message:
|
|
85
|
-
rdoc_options:
|
|
86
|
-
|
|
87
|
+
rdoc_options: []
|
|
88
|
+
|
|
87
89
|
require_paths:
|
|
88
90
|
- lib
|
|
89
91
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -107,9 +109,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
107
109
|
requirements: []
|
|
108
110
|
|
|
109
111
|
rubyforge_project:
|
|
110
|
-
rubygems_version: 1.
|
|
112
|
+
rubygems_version: 1.5.2
|
|
111
113
|
signing_key:
|
|
112
114
|
specification_version: 3
|
|
113
115
|
summary: Copy/Move extension for Radiant CMS
|
|
114
|
-
test_files:
|
|
115
|
-
|
|
116
|
+
test_files:
|
|
117
|
+
- spec/controllers/copy_move_controller_spec.rb
|
|
118
|
+
- spec/models/copy_move_spec.rb
|
|
119
|
+
- spec/spec_helper.rb
|