radiant-copy_move-extension 2.4.2 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.2
1
+ 2.4.3
@@ -4,7 +4,8 @@ module CopyMoveHelper
4
4
  list = homes.inject([]) do |l, home|
5
5
  l.concat build_tree(home, [])
6
6
  end
7
- select_tag 'parent_id', options_for_select(list)
7
+ options = options_for_select list, (@page.parent ? @page.parent.id : nil)
8
+ select_tag 'parent_id', options
8
9
  end
9
10
 
10
11
  def build_tree(page, list, level = 0)
@@ -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.4.2"
8
+ s.version = "2.4.3"
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", "Andrew vonderLuft"]
12
- s.date = %q{2011-06-22}
12
+ s.date = %q{2011-06-27}
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
15
  s.extra_rdoc_files = [
@@ -54,7 +54,7 @@ Gem::Specification.new do |s|
54
54
  ]
55
55
  s.homepage = %q{https://github.com/jomz/radiant-copy-move}
56
56
  s.require_paths = ["lib"]
57
- s.rubygems_version = %q{1.5.2}
57
+ s.rubygems_version = %q{1.6.2}
58
58
  s.summary = %q{Copy/Move extension for Radiant CMS}
59
59
  s.test_files = [
60
60
  "spec/controllers/copy_move_controller_spec.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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 4
9
- - 2
10
- version: 2.4.2
9
+ - 3
10
+ version: 2.4.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benny Degezelle
@@ -16,10 +16,11 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-06-22 00:00:00 -07:00
19
+ date: 2011-06-27 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
+ prerelease: false
23
24
  type: :runtime
24
25
  requirement: &id001 !ruby/object:Gem::Requirement
25
26
  none: false
@@ -36,7 +37,6 @@ dependencies:
36
37
  version: 1.0.0.rc2
37
38
  name: radiant
38
39
  version_requirements: *id001
39
- prerelease: false
40
40
  description: With this extension you can copy or move a page with or without its children.
41
41
  email: benny@gorilla-webdesign.be
42
42
  executables: []
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  requirements: []
112
112
 
113
113
  rubyforge_project:
114
- rubygems_version: 1.5.2
114
+ rubygems_version: 1.6.2
115
115
  signing_key:
116
116
  specification_version: 3
117
117
  summary: Copy/Move extension for Radiant CMS