refinerycms-llama_menus 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 545d8adb97ddcc01a6de710a40db79d6a19d99d9
4
- data.tar.gz: b36860881f74723f69559c494145df1b04504542
3
+ metadata.gz: 46c91484af6b55ffdeacd94435fb65c47ef0b566
4
+ data.tar.gz: 3fa7e5685c6cfe5bbc4656650eb05f9461fc64ce
5
5
  SHA512:
6
- metadata.gz: 47dfeaf24451898dd9dcc2a7cf00b6dce8a5a92d1eac001d10062956a35ebe86537c57be6447575c53d402de9f5cd64d73b9ab8f2f91f5ce8e131aa02916a799
7
- data.tar.gz: 3846fcfc3f52b2d98f0ba6e650f26b6af8114f28b03f46e6c76b27277fcb726c868d0ea323828913740b9237477cf6020fcb485d77b21a3eb636011661a85a27
6
+ metadata.gz: 671ed55e38d86855f5f00e5e768363749f0e27dc28b43688e903749157fbf7c9152fad45c83033873b99d8527dd586f92715c7f8c377aa147c70b40fa1a4caff
7
+ data.tar.gz: 7a95b490bfe04d1e16c2c2c1746bf5a5ca69aee6cb5537a43bfea828295103b9f49a6694c0fa604a4d30478278a93a9aef20e8a82bf164a4ae49ef5cbdc7f591
@@ -7,6 +7,12 @@ module Refinery
7
7
  :title_attribute => 'name',
8
8
  :xhr_paging => true
9
9
 
10
+ private
11
+
12
+ def menu_params
13
+ params.require(:menu).permit!
14
+ end
15
+
10
16
  end
11
17
  end
12
18
  end
@@ -3,8 +3,6 @@ module Refinery
3
3
  class Menu < Refinery::Core::BaseModel
4
4
  self.table_name = 'refinery_menus'
5
5
 
6
- attr_accessible :name, :style, :position, :menu_items_attributes
7
-
8
6
  acts_as_indexed :fields => [:name]
9
7
 
10
8
  validates :name, :presence => true, :uniqueness => true
@@ -3,9 +3,6 @@ module Refinery
3
3
  class MenuItem < ActiveRecord::Base
4
4
  self.table_name = 'refinery_menu_items'
5
5
 
6
- attr_accessible :label, :position, :linkable_type, :linkable_id,
7
- :url, :linkable, :menuable, :menu_items_attributes
8
-
9
6
  belongs_to :menuable, polymorphic: true
10
7
  belongs_to :linkable, polymorphic: true
11
8
  has_many :menu_items, as: :menuable, class_name: 'Refinery::Menus::MenuItem', dependent: :destroy
@@ -8,8 +8,6 @@ module Refinery
8
8
 
9
9
  acts_as_widget
10
10
 
11
- attr_accessible :style, :menu_id, :widget_id
12
-
13
11
  end
14
12
  end
15
13
  end
metadata CHANGED
@@ -1,69 +1,70 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-llama_menus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Bolt
8
+ - Daniel King
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-01-27 00:00:00.000000000 Z
12
+ date: 2014-06-20 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: refinerycms-core
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - ~>
18
+ - - "~>"
18
19
  - !ruby/object:Gem::Version
19
- version: 2.1.0
20
+ version: 3.0.0.dev
20
21
  type: :runtime
21
22
  prerelease: false
22
23
  version_requirements: !ruby/object:Gem::Requirement
23
24
  requirements:
24
- - - ~>
25
+ - - "~>"
25
26
  - !ruby/object:Gem::Version
26
- version: 2.1.0
27
+ version: 3.0.0.dev
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: refinerycms-nested_models
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
- - - ~>
32
+ - - "~>"
32
33
  - !ruby/object:Gem::Version
33
- version: 0.0.2
34
+ version: 0.1.0
34
35
  type: :runtime
35
36
  prerelease: false
36
37
  version_requirements: !ruby/object:Gem::Requirement
37
38
  requirements:
38
- - - ~>
39
+ - - "~>"
39
40
  - !ruby/object:Gem::Version
40
- version: 0.0.2
41
+ version: 0.1.0
41
42
  - !ruby/object:Gem::Dependency
42
43
  name: draper
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
- - - ~>
46
+ - - "~>"
46
47
  - !ruby/object:Gem::Version
47
48
  version: 1.3.0
48
49
  type: :runtime
49
50
  prerelease: false
50
51
  version_requirements: !ruby/object:Gem::Requirement
51
52
  requirements:
52
- - - ~>
53
+ - - "~>"
53
54
  - !ruby/object:Gem::Version
54
55
  version: 1.3.0
55
56
  - !ruby/object:Gem::Dependency
56
57
  name: refinerycms-testing
57
58
  requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
- - - ~>
60
+ - - "~>"
60
61
  - !ruby/object:Gem::Version
61
62
  version: 2.1.0
62
63
  type: :development
63
64
  prerelease: false
64
65
  version_requirements: !ruby/object:Gem::Requirement
65
66
  requirements:
66
- - - ~>
67
+ - - "~>"
67
68
  - !ruby/object:Gem::Version
68
69
  version: 2.1.0
69
70
  description: Ruby on Rails Menus extension for Refinery CMS
@@ -113,9 +114,9 @@ files:
113
114
  - db/seeds.rb
114
115
  - lib/generators/refinery/menus_generator.rb
115
116
  - lib/generators/refinery/templates/config/initializers/refinery/menus.rb.erb
117
+ - lib/refinery/menus.rb
116
118
  - lib/refinery/menus/configuration.rb
117
119
  - lib/refinery/menus/engine.rb
118
- - lib/refinery/menus.rb
119
120
  - lib/refinerycms-llama_menus.rb
120
121
  - lib/tasks/refinery/menus.rake
121
122
  - readme.md
@@ -128,17 +129,17 @@ require_paths:
128
129
  - lib
129
130
  required_ruby_version: !ruby/object:Gem::Requirement
130
131
  requirements:
131
- - - '>='
132
+ - - ">="
132
133
  - !ruby/object:Gem::Version
133
134
  version: '0'
134
135
  required_rubygems_version: !ruby/object:Gem::Requirement
135
136
  requirements:
136
- - - '>='
137
+ - - ">="
137
138
  - !ruby/object:Gem::Version
138
139
  version: '0'
139
140
  requirements: []
140
141
  rubyforge_project:
141
- rubygems_version: 2.0.2
142
+ rubygems_version: 2.2.2
142
143
  signing_key:
143
144
  specification_version: 4
144
145
  summary: Menus extension for Refinery CMS