effective_pages 1.0.10 → 1.0.11

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: d4a8af236e6e27ddd0410a451eeeafaa99cbbeab
4
- data.tar.gz: 58d571433ed9610aa59a25100b1d97c8080a39d7
3
+ metadata.gz: 630627be0f26cceb988f5660a4bf176f8ec872e2
4
+ data.tar.gz: 2c21cad992101767adfd4ca8c4eeb9f304a11c78
5
5
  SHA512:
6
- metadata.gz: 8dfcb831712899dfbeb752b013559f59eba311b084241a125bc05fa6cda049bccf5b1ef13c9e40416de36d5d360b4fff470466ae14420f2e066e8d1803fb904f
7
- data.tar.gz: 95bc345f5df06203b201f3a953a9ab7ba1bcb48ff41bda8f8b0bfa1a282a17483a3dd74d7f83d5ed93d3edab72bbaffa789dec5593fa44eecf004f6f354bc8f4
6
+ metadata.gz: 27d32f78c747f9e58c51ec8fbb7a695a640386fc84d6e0ba04263534232e3789d806dfe379db2ce333466d9bc817867ed234db9f21464f978d71b953704dc40a
7
+ data.tar.gz: 8f543b3f254c9b0b62ae8f7ff7a968424f53538c7d36e459a9426b6699de0006dec22af92ceb3440a93d876f29a25a3c185f6f05fa70736232c94c062f71e2c7
@@ -1,14 +1,17 @@
1
- %span.actions
2
- = link_to 'Visit', effective_pages.page_path(page), :target => '_blank'
3
- = '-'
4
- - if defined?(EffectiveRegions)
5
- = link_to 'Edit Content', effective_regions.edit_path(page), 'data-no-turbolink' => true
6
- = '-'
7
- = link_to 'Edit', effective_pages.edit_admin_page_path(page.id)
8
- = '-'
9
- = link_to 'Delete', effective_pages.admin_page_path(page.id), :data => {:method => :delete, :confirm => "Are you sure? This page will be made unavailable."}
10
- / = '-'
11
- / - if page.draft?
12
- / = link_to "Undraft", effective_orders.undraft_admin_page_path(page)
13
- / - else
14
- / = link_to "Draft", effective_orders.draft_admin_page_path(page), :data => {:method => :delete, :confirm => "Are you sure? This page will be made unavailable."}
1
+ - if page.draft?
2
+ = link_to effective_orders.undraft_admin_page_path(page), title: 'Approve' do
3
+ %span.glyphicon.glyphicon-ok
4
+
5
+ = link_to effective_pages.edit_admin_page_path(page.id), title: 'Settings' do
6
+ %span.glyphicon.glyphicon-cog
7
+
8
+ = link_to effective_pages.page_path(page), title: 'View', target: '_blank' do
9
+ %span.glyphicon.glyphicon-eye-open
10
+
11
+ - if defined?(EffectiveRegions)
12
+ = link_to (effective_regions.edit_path(page)), title: 'Edit Content', 'data-no-turbolink': true, target: '_blank' do
13
+ %span.glyphicon.glyphicon-edit
14
+
15
+ = link_to effective_pages.admin_page_path(page.id), title: 'Delete', data: { method: :delete, confirm: 'Are you sure you want to delete? This cannot be undone.' } do
16
+ %span.glyphicon.glyphicon-trash
17
+
@@ -1,3 +1,3 @@
1
1
  module EffectivePages
2
- VERSION = '1.0.10'.freeze
2
+ VERSION = '1.0.11'.freeze
3
3
  end
metadata CHANGED
@@ -1,153 +1,153 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-08 00:00:00.000000000 Z
11
+ date: 2016-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: haml-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sass-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: migrant
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simple_form
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: effective_ckeditor
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: 1.6.2
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: 1.6.2
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: effective_datatables
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: 2.0.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: 2.0.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: effective_regions
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: 1.4.4
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: 1.4.4
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: effective_roles
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: 1.2.1
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 1.2.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: effective_slugs
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: 1.1.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: 1.1.0
153
153
  description: Content pages, bootstrap3 menu builder and page-specific header tag helpers
@@ -158,9 +158,12 @@ executables: []
158
158
  extensions: []
159
159
  extra_rdoc_files: []
160
160
  files:
161
+ - MIT-LICENSE
162
+ - README.md
163
+ - Rakefile
161
164
  - app/assets/javascripts/effective_pages.js
162
- - app/assets/stylesheets/effective_pages/dropdown-submenu.css
163
165
  - app/assets/stylesheets/effective_pages.scss
166
+ - app/assets/stylesheets/effective_pages/dropdown-submenu.css
164
167
  - app/controllers/admin/menus_controller.rb
165
168
  - app/controllers/admin/pages_controller.rb
166
169
  - app/controllers/effective/pages_controller.rb
@@ -189,24 +192,24 @@ files:
189
192
  - app/views/admin/pages/new.html.haml
190
193
  - config/routes.rb
191
194
  - db/migrate/01_create_effective_pages.rb.erb
195
+ - lib/effective_pages.rb
192
196
  - lib/effective_pages/engine.rb
193
197
  - lib/effective_pages/version.rb
194
- - lib/effective_pages.rb
195
198
  - lib/generators/effective_pages/install_generator.rb
199
+ - lib/generators/templates/README
196
200
  - lib/generators/templates/effective_pages.rb
197
201
  - lib/generators/templates/example.html.haml
198
- - lib/generators/templates/README
199
202
  - lib/tasks/effective_pages_tasks.rake
200
- - MIT-LICENSE
201
- - Rakefile
202
- - README.md
203
203
  - spec/controllers/effective/pages_controller_spec.rb
204
+ - spec/dummy/README.rdoc
205
+ - spec/dummy/Rakefile
204
206
  - spec/dummy/app/assets/javascripts/application.js
205
207
  - spec/dummy/app/assets/stylesheets/application.css
206
208
  - spec/dummy/app/controllers/application_controller.rb
207
209
  - spec/dummy/app/helpers/application_helper.rb
208
210
  - spec/dummy/app/views/effective/pages/example.html.haml
209
211
  - spec/dummy/app/views/layouts/application.html.erb
212
+ - spec/dummy/config.ru
210
213
  - spec/dummy/config/application.rb
211
214
  - spec/dummy/config/boot.rb
212
215
  - spec/dummy/config/database.yml
@@ -222,7 +225,6 @@ files:
222
225
  - spec/dummy/config/initializers/wrap_parameters.rb
223
226
  - spec/dummy/config/locales/en.yml
224
227
  - spec/dummy/config/routes.rb
225
- - spec/dummy/config.ru
226
228
  - spec/dummy/db/migrate/01_create_effective_pages.rb
227
229
  - spec/dummy/db/schema.rb
228
230
  - spec/dummy/db/test.sqlite3
@@ -230,8 +232,6 @@ files:
230
232
  - spec/dummy/public/422.html
231
233
  - spec/dummy/public/500.html
232
234
  - spec/dummy/public/favicon.ico
233
- - spec/dummy/Rakefile
234
- - spec/dummy/README.rdoc
235
235
  - spec/dummy/script/rails
236
236
  - spec/dummy/spec_link
237
237
  - spec/effective_pages_spec.rb
@@ -249,17 +249,17 @@ require_paths:
249
249
  - lib
250
250
  required_ruby_version: !ruby/object:Gem::Requirement
251
251
  requirements:
252
- - - '>='
252
+ - - ">="
253
253
  - !ruby/object:Gem::Version
254
254
  version: '0'
255
255
  required_rubygems_version: !ruby/object:Gem::Requirement
256
256
  requirements:
257
- - - '>='
257
+ - - ">="
258
258
  - !ruby/object:Gem::Version
259
259
  version: '0'
260
260
  requirements: []
261
261
  rubyforge_project:
262
- rubygems_version: 2.0.14
262
+ rubygems_version: 2.4.5.1
263
263
  signing_key:
264
264
  specification_version: 4
265
265
  summary: Content pages, bootstrap3 menu builder and page-specific header tag helpers