radiant-relations-extension 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,4 +8,4 @@
8
8
  = select_tag "page[parts_attributes][#{page_part_counter}][related_page_ids][]", relation_options
9
9
  %p
10
10
  %a{:href=>"#",:class=>'add-row'}
11
- = t('.add_row')
11
+ = t('page_parts.relation_page_part.add_row')
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  en:
3
- admin:
4
- page_parts:
5
- relation_page_part:
6
- add_row: Add new relation
3
+ page_parts:
4
+ relation_page_part:
5
+ add_row: Add new relation
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  nl:
3
- admin:
4
- page_parts:
5
- relation_page_part:
6
- add_row: Relatie toevoegen
3
+ page_parts:
4
+ relation_page_part:
5
+ add_row: Relatie toevoegen
7
6
  support:
8
7
  select:
9
8
  prompt: Maak een keuze
@@ -1,3 +1,3 @@
1
1
  class RadiantRelationsExtension
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
3
3
  end
@@ -22,12 +22,12 @@ module RelationsExtension::RelationsTags
22
22
  end
23
23
  end
24
24
 
25
- desc %{ }
25
+ desc %{ Sets the scope to the first related page. }
26
26
  tag 'related_pages:first' do |tag|
27
27
  tag.locals.page = tag.locals.related_pages.first
28
28
  tag.expand
29
29
  end
30
- desc %{ }
30
+ desc %{ Sets the scope to the last related page. }
31
31
  tag 'related_pages:last' do |tag|
32
32
  tag.locals.page = tag.locals.related_pages.last
33
33
  tag.expand
metadata CHANGED
@@ -1,35 +1,24 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: radiant-relations-extension
3
- version: !ruby/object:Gem::Version
4
- hash: 27
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.3
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 2
9
- - 2
10
- version: 1.2.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Jan De Poorter
14
9
  - Benny Degezelle
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2012-09-28 00:00:00 +02:00
20
- default_executable:
13
+ date: 2017-03-20 00:00:00.000000000 Z
21
14
  dependencies: []
22
-
23
15
  description: Allows you to define relations between pages
24
- email:
16
+ email:
25
17
  - rubygems@monkeypatch.be
26
18
  executables: []
27
-
28
19
  extensions: []
29
-
30
20
  extra_rdoc_files: []
31
-
32
- files:
21
+ files:
33
22
  - app/helpers/relations_helper.rb
34
23
  - app/models/relation_page_part.rb
35
24
  - app/views/admin/page_parts/_relation_page_part.html.haml
@@ -54,41 +43,32 @@ files:
54
43
  - relations_extension.rb
55
44
  - spec/spec.opts
56
45
  - spec/spec_helper.rb
57
- has_rdoc: true
58
46
  homepage: http://github.com/jomz/radiant-relations-extension
59
47
  licenses: []
60
-
61
- post_install_message: "\n Add this to your radiant project by putting this line in your Gemfile:\n gem \"radiant-relations-extension\", \"~> 1.2.2\"\n "
48
+ post_install_message: ! "\n Add this to your radiant project by putting this line
49
+ in your Gemfile:\n gem \"radiant-relations-extension\", \"~> 1.2.3\"\n "
62
50
  rdoc_options: []
63
-
64
- require_paths:
51
+ require_paths:
65
52
  - lib
66
- required_ruby_version: !ruby/object:Gem::Requirement
53
+ required_ruby_version: !ruby/object:Gem::Requirement
67
54
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
75
- required_rubygems_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
60
  none: false
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- hash: 3
81
- segments:
82
- - 0
83
- version: "0"
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
84
65
  requirements: []
85
-
86
66
  rubyforge_project:
87
- rubygems_version: 1.5.3
67
+ rubygems_version: 1.8.29
88
68
  signing_key:
89
69
  specification_version: 3
90
70
  summary: Relations extension for Radiant CMS
91
- test_files:
71
+ test_files:
92
72
  - spec/spec.opts
93
73
  - spec/spec_helper.rb
94
74
  - features/support/env.rb