pulitzer 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/pulitzer.scss +30 -0
  3. data/app/controllers/pulitzer/post_types_controller.rb +15 -3
  4. data/app/models/pulitzer/post_type.rb +1 -0
  5. data/app/views/pulitzer/layouts/_new.html.erb +1 -1
  6. data/app/views/pulitzer/post_type_content_element_types/_new.html.erb +2 -2
  7. data/app/views/pulitzer/post_types/_form_fields.html.erb +4 -7
  8. data/app/views/pulitzer/post_types/_index.html.erb +13 -0
  9. data/app/views/pulitzer/post_types/_new.html.erb +1 -1
  10. data/app/views/pulitzer/post_types/_show.html.erb +2 -34
  11. data/app/views/pulitzer/post_types/_template.html.erb +32 -0
  12. data/app/views/pulitzer/post_types/index.html.erb +13 -13
  13. data/config/routes.rb +5 -1
  14. data/lib/pulitzer/version.rb +1 -1
  15. data/spec/dummy/log/development.log +48 -0
  16. data/spec/dummy/tmp/cache/assets/development/sass/6a6b1d4ef8b2d2e171d4a10a545a635415f70c2d/pulitzer.scssc +0 -0
  17. data/spec/dummy/tmp/cache/assets/development/sprockets/066f4cc762c213535019ca66a2f5abb2 +0 -0
  18. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  19. data/spec/dummy/tmp/cache/assets/development/sprockets/29bea21c1455916a195f3ceb4b7572ef +0 -0
  20. data/spec/dummy/tmp/cache/assets/development/sprockets/2ef4ce971db46bb72a029cfaed14f802 +0 -0
  21. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  22. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  23. data/spec/dummy/tmp/cache/assets/development/sprockets/3f1210b56be2b6be645528301773cf75 +0 -0
  24. data/spec/dummy/tmp/cache/assets/development/sprockets/467b714a93dd156fa93a4d57fbd3e730 +0 -0
  25. data/spec/dummy/tmp/cache/assets/development/sprockets/4751b079812f494c83387ae01926f7b2 +0 -0
  26. data/spec/dummy/tmp/cache/assets/development/sprockets/5e30a6b911437f1428dc32c3ae182123 +0 -0
  27. data/spec/dummy/tmp/cache/assets/development/sprockets/5f7b529d65d1b9a2d2808ee7e36c9f97 +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/67c6607aadd6614d3921a80f6ae55a94 +0 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/71245f91859a3c2f578842bdf3b7655c +0 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/73aa21b31aa1cb2d3c266b4832e8db22 +0 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/7fe72ac1c0db1a7e8e7f59cf25e8a39e +0 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/80ec1040de2bb156351376d53e6be389 +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/82b37ae9eccec44c1ef44cfdd07d8534 +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/91e196e27d739a0d4cd8c6636d45c151 +0 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/97a8182228da7bb4a671627fa919d256 +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/9a6dbdd7b1cfc12dac2bc2d4ea5c3775 +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/ad3214cd1541e209ad7fb51e1213afbc +0 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/b8c8edf30054e3f41128dac26e82660c +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/bfab506a5c6fad6fedf2b874dd390bea +0 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/c7fe6d39f4a33e63f0eb60f3f8c55053 +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/d235f1f779c3b50ba1719bb80a941735 +0 -0
  43. data/spec/dummy/tmp/cache/assets/development/sprockets/d4432904cd7996dda37e87ae2eaa965b +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  45. data/spec/dummy/tmp/cache/assets/development/sprockets/e5ff68e12f8901382ac24cb07ed95e9b +0 -0
  46. data/spec/dummy/tmp/cache/assets/development/sprockets/e7fd82175670a22ce4fb40eea6d026b2 +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sprockets/e8542942b033e4b2cd9ed7c6efff30f1 +0 -0
  48. data/spec/dummy/tmp/cache/assets/development/sprockets/f655996d7a162aadcc37d16e7095be0d +0 -0
  49. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  50. metadata +72 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 349de1f3241b0779b75810a87af0007d9ae813b1
4
- data.tar.gz: 5ced147d99a02930a5bc8b727d3fb591b46ad4bd
3
+ metadata.gz: bbb745a8a98d9f6dbd5e956a972654f608e8731b
4
+ data.tar.gz: 3d509e72ae9b96b609eaa286f6cf06ea497d04a1
5
5
  SHA512:
6
- metadata.gz: 707c33cba7df7ce82113c8d17b9d9d4c7eecba3edae5bc73aa2a0f76e37eb2a8e8f2e2ca9952d1e86cbd9424f49778e4cb33bb3167406a4b12617f1db37ec54e
7
- data.tar.gz: d32edbaa2efa3005e5fceb58efa568dad7d8d33f57a54266998b13c788e87a904f2760573016e54ecd8cb361d53afe9e6a30560d7ca2d479ebfff385f359c5a4
6
+ metadata.gz: 08686de598ec03827a8721f2742795b1cefcdf5acc5a6a2d86e6acc089e02271e4289e04ccccc79a82362d61ee2cf26d64c30057cbdda1f4e7c8ce83c3f21e65
7
+ data.tar.gz: a01e49b4f6dd49709207a2289564a33a2315882f0749a3e4b33c546f5b232e1364dda6b0806fa08b6ea94c5eff370f0034a7b6a916354a88f4731dd5dfeb647e
@@ -195,6 +195,36 @@ body {
195
195
  border-left: 1px solid #636564;
196
196
  }
197
197
  }
198
+ .pulitzer-pill{
199
+ position: relative;
200
+ float: left;
201
+ padding: .5em 1em;
202
+ border: 1px solid #d4d4d4;
203
+ border-radius: 7px;
204
+ margin-right: 2em;
205
+ margin-bottom: 1em;
206
+ cursor: pointer;
207
+ background-color: white;
208
+ &.active, &:hover{
209
+ background-color: #FFFBF8;
210
+ border-color: #e0ddda;
211
+ }
212
+ &:hover{
213
+ color: #5b91c8;
214
+ }
215
+ &.active{
216
+ color: #000;
217
+ &:hover, &:focus, &:active {
218
+ color: #000;
219
+ text-decoration: none;
220
+ cursor: default;
221
+ }
222
+ }
223
+ &.match-h2{
224
+ margin-top: 10px;
225
+ margin-bottom: 10px;
226
+ }
227
+ }
198
228
 
199
229
  // wysihtml5
200
230
  .wysihtml5-sandbox {
@@ -1,12 +1,20 @@
1
1
  class Pulitzer::PostTypesController < Pulitzer::ApplicationController
2
- before_filter :get_post_type, only: [:show, :edit, :update, :destroy]
2
+ before_filter :get_post_type, except: [:index, :new, :create]
3
3
 
4
4
  def index
5
- @post_types = Pulitzer::PostType.all
5
+ if params[:post_type_kind]
6
+ @post_type_kind = params[:post_type_kind]
7
+ else
8
+ @post_type_kind = 'templates'
9
+ end
10
+ if request.xhr?
11
+ @post_types = Pulitzer::PostType.send @post_type_kind
12
+ render_ajax
13
+ end
6
14
  end
7
15
 
8
16
  def new
9
- @post_type = Pulitzer::PostType.new
17
+ @post_type = Pulitzer::PostType.new(post_type_params)
10
18
  render partial: 'new', locals: {post_type: @post_type}
11
19
  end
12
20
 
@@ -20,6 +28,10 @@ class Pulitzer::PostTypesController < Pulitzer::ApplicationController
20
28
  render partial: 'show', locals: {post_type: @post_type}
21
29
  end
22
30
 
31
+ def template
32
+ render_ajax locals: {post_type: @post_type}
33
+ end
34
+
23
35
  def edit
24
36
  render partial: 'form', locals: {post_type: @post_type}
25
37
  end
@@ -7,6 +7,7 @@ class Pulitzer::PostType < ActiveRecord::Base
7
7
  has_many :free_form_section_types, dependent: :destroy
8
8
  has_many :layouts, dependent: :destroy
9
9
 
10
+ scope :templates, -> { where(kind: Pulitzer::PostType.kinds[:template])}
10
11
  scope :partials, -> { where(kind: Pulitzer::PostType.kinds[:partial])}
11
12
  validates :name, :kind, presence: true
12
13
  validates :plural, :inclusion => { :in => [true, false] }
@@ -1,4 +1,4 @@
1
- <%= form_for layout, html: ajax_form_hash(dom_target(layout.post_type, :layouts_container), insert_method: 'append', empty_on_success: dom_target(layout.post_type, :new_layout)) do |f| %>
1
+ <%= form_for layout, html: ajax_form_hash(dom_target(layout.post_type, :layouts_container), insert_method: 'append') do |f| %>
2
2
  <%= f.hidden_field :post_type_id %>
3
3
  <%= render partial: 'form_fields', locals: { f: f, layout: layout } %>
4
4
  <%= f.submit "Create" %>
@@ -1,6 +1,6 @@
1
- <%= form_for ptcet, html: ajax_form_hash("#post_type_content_element_types_container_#{dom_id(ptcet.post_type)}", insert_method: 'append', sub_class: "AddALineForm", container: "#new_post_type_content_element_type_#{dom_id(ptcet.post_type)}") do |f| %>
1
+ <%= form_for ptcet, html: ajax_form_hash("#post_type_content_element_types_container_#{dom_id(ptcet.post_type)}", insert_method: 'append') do |f| %>
2
2
  <%= render partial: 'form_fields', locals: { f: f, ptcet: ptcet } %>
3
3
  <%= f.submit "Create" %>
4
- <%= link_to('Cancel', '#', :class => 'button',
4
+ <%= link_to('Close', '#', :class => 'button',
5
5
  data: { emptier: true, target: "#new_post_type_content_element_type_#{dom_id(ptcet.post_type)}" } ) %>
6
6
  <% end %>
@@ -1,12 +1,9 @@
1
1
  <%= f.label :name %>
2
2
  <%= f.text_field :name %>
3
- <%= f.select :kind, Pulitzer::PostType.kinds.keys.map { |m| [m.humanize, m] }, {}, revealer(dom_id(f.object, :kind), highlander: true) %>
4
- <div <%= revealer_target_attrs(dom_id(f.object, :kind)) %>>
5
- <div <%= revealer_option_attrs(dom_id(f.object, :kind), trigger: 'template') %>>
3
+ <%= f.hidden_field :kind %>
4
+ <% if f.object.template? %>
6
5
  <%= f.label :plural %>
7
6
  <%= f.check_box :plural %>
8
- </div>
9
- <div <%= revealer_option_attrs(dom_id(f.object, :kind), trigger: 'partial') %>>
7
+ <% elsif f.object.partial? %>
10
8
  <%= f.hidden_field :plural, value: true %>
11
- </div>
12
- </div>
9
+ <% end %>
@@ -0,0 +1,13 @@
1
+ <h1> <%= @post_type_kind.humanize %> </h1>
2
+ <div class="pulitzer-row margin-bottom list-item">
3
+ <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
4
+ <%= ajax_link "add a new #{@post_type_kind}", new_post_type_path(post_type: {kind: @post_type_kind}), {}, "#new_#{@post_type_kind}" %>
5
+ <% end %>
6
+ <div id="new_<%= @post_type_kind %>"></div>
7
+ </div>
8
+
9
+ <div id="post_types_container">
10
+ <% @post_types.each do |post_type| %>
11
+ <%= render partial: 'show_wrapper', locals: {post_type: post_type} %>
12
+ <% end %>
13
+ </div>
@@ -2,6 +2,6 @@
2
2
  <%= render partial: 'form_fields', locals: { f: f } %>
3
3
  <%= f.submit "Create" %>
4
4
  <%= link_to('Cancel', '#', :class => 'button',
5
- data: { emptier: true, target: '#new_post_type' } ) %>
5
+ data: { emptier: true, target: "#new_#{post_type.kind}" } ) %>
6
6
  <% end %>
7
7
  <%= render 'pulitzer/shared/error_messages', object: post_type %>
@@ -4,8 +4,8 @@
4
4
  <% unless post_type.partial? %>
5
5
  <li><%= link_to_posts(post_type, 'Index', 'Manage') %></li>
6
6
  <% end %>
7
- <li <%= expander("post_type_content_element_types_#{dom_id(post_type)}") %>>
8
- <span class='toggle-post-type-content-elements pulitzer-fake-link' data-post-types="<%= post_type.id %>">Template</span>
7
+ <li>
8
+ <%= ajax_link 'Template', template_post_type_path(post_type), {}, dom_target(post_type) %>
9
9
  </li>
10
10
  <li>
11
11
  <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
@@ -21,36 +21,4 @@
21
21
  <% end %>
22
22
  </ul>
23
23
 
24
- <div <%= collapsed("post_type_content_element_types_#{dom_id(post_type)}") %> class="pulitzer-hidden pulitzer-indent" >
25
- <h5>Content Elements</h5>
26
- <div id="post_type_content_element_types_container_<%= dom_id(post_type) %>">
27
- <% post_type.post_type_content_element_types.each do |ptcet| %>
28
- <%= render partial: '/pulitzer/post_type_content_element_types/show_wrapper', locals: {ptcet: ptcet} %>
29
- <% end %>
30
- </div>
31
- <%= ajax_link 'add a new content element for ' + post_type.name, new_post_type_content_element_type_path(post_type_id: post_type.id), {}, "#new_post_type_content_element_type_#{dom_id(post_type)}" %>
32
- <div id="new_post_type_content_element_type_<%= dom_id(post_type) %>"></div>
33
-
34
- <% unless post_type.partial? %>
35
- <h5>Free Form Sections</h5>
36
- <div id="<%= dom_id(post_type, :free_form_section_types_container) %>">
37
- <% post_type.free_form_section_types.each do |ffst| %>
38
- <%= render partial: '/pulitzer/free_form_section_types/show_wrapper', locals: {ffst: ffst} %>
39
- <% end %>
40
- </div>
41
- <%= ajax_link 'add a new section for ' + post_type.name, new_free_form_section_type_path(post_type_id: post_type.id), {}, dom_target(post_type, :new_free_form_section_type) %>
42
- <div id="<%= dom_id(post_type, :new_free_form_section_type) %>"></div>
43
- <% end %>
44
-
45
- <% if post_type.partial? %>
46
- <h5>Layouts</h5>
47
- <div id="<%= dom_id(post_type, :layouts_container) %>">
48
- <% post_type.layouts.each do |layout| %>
49
- <%= render partial: '/pulitzer/layouts/show_wrapper', locals: {layout: layout} %>
50
- <% end %>
51
- </div>
52
- <%= ajax_link 'add a new layout for ' + post_type.name, new_layout_path(layout: {post_type_id: post_type.id}), {}, dom_target(post_type, :new_layout) %>
53
- <div id="<%= dom_id(post_type, :new_layout) %>"></div>
54
- <% end %>
55
- </div>
56
24
  </div>
@@ -0,0 +1,32 @@
1
+ <div class="pulitzer-indent" >
2
+ <h5>Content Elements</h5>
3
+ <div id="post_type_content_element_types_container_<%= dom_id(post_type) %>">
4
+ <% post_type.post_type_content_element_types.each do |ptcet| %>
5
+ <%= render partial: '/pulitzer/post_type_content_element_types/show_wrapper', locals: {ptcet: ptcet} %>
6
+ <% end %>
7
+ </div>
8
+ <%= ajax_link 'add a new content element for ' + post_type.name, new_post_type_content_element_type_path(post_type_id: post_type.id), {}, "#new_post_type_content_element_type_#{dom_id(post_type)}" %>
9
+ <div id="new_post_type_content_element_type_<%= dom_id(post_type) %>"></div>
10
+
11
+ <% unless post_type.partial? %>
12
+ <h5>Free Form Sections</h5>
13
+ <div id="<%= dom_id(post_type, :free_form_section_types_container) %>">
14
+ <% post_type.free_form_section_types.each do |ffst| %>
15
+ <%= render partial: '/pulitzer/free_form_section_types/show_wrapper', locals: {ffst: ffst} %>
16
+ <% end %>
17
+ </div>
18
+ <%= ajax_link 'add a new section for ' + post_type.name, new_free_form_section_type_path(post_type_id: post_type.id), {}, dom_target(post_type, :new_free_form_section_type) %>
19
+ <div id="<%= dom_id(post_type, :new_free_form_section_type) %>"></div>
20
+ <% end %>
21
+
22
+ <% if post_type.partial? %>
23
+ <h5>Layouts</h5>
24
+ <div id="<%= dom_id(post_type, :layouts_container) %>">
25
+ <% post_type.layouts.each do |layout| %>
26
+ <%= render partial: '/pulitzer/layouts/show_wrapper', locals: {layout: layout} %>
27
+ <% end %>
28
+ </div>
29
+ <%= ajax_link 'add a new layout for ' + post_type.name, new_layout_path(layout: {post_type_id: post_type.id}), {}, dom_target(post_type, :new_layout) %>
30
+ <div id="<%= dom_id(post_type, :new_layout) %>"></div>
31
+ <% end %>
32
+ </div>
@@ -1,14 +1,14 @@
1
- <h1> Post Types </h1>
2
-
3
- <div class="pulitzer-row margin-bottom list-item">
4
- <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
5
- <%= ajax_link 'add a new post type', new_post_type_path, {}, '#new_post_type' %>
6
- <% end %>
7
- <div id="new_post_type"></div>
8
- </div>
9
-
10
- <div id="post_types_container">
11
- <% @post_types.each do |post_type| %>
12
- <%= render partial: 'show_wrapper', locals: {post_type: post_type} %>
13
- <% end %>
1
+ <div <%= tab_set("post_type_kind_tab", type: :ajax, default_tab: params[:post_type_kind_tab] || 'templates') %>>
2
+ <div class="pulitzer-pill"
3
+ href="<%= post_types_path(post_type_kind: 'template') %>"
4
+ <%= tab_trigger('templates')%>>
5
+ Full Page Templates
6
+ </div>
7
+ <div class="pulitzer-pill"
8
+ href="<%= post_types_path(post_type_kind: 'partial') %>"
9
+ <%= tab_trigger('partials')%>>
10
+ Partials
11
+ </div>
14
12
  </div>
13
+ <div class="pulitzer-row" <%= tab_content('templates') %>></div>
14
+ <div class="pulitzer-row" <%= tab_content('partials') %>></div>
data/config/routes.rb CHANGED
@@ -13,7 +13,11 @@ Pulitzer::Engine.routes.draw do
13
13
  patch :update_all
14
14
  end
15
15
  end
16
- resources :post_types
16
+ resources :post_types do
17
+ member do
18
+ get :template
19
+ end
20
+ end
17
21
  resources :versions
18
22
  resources :content_element_types
19
23
  resources :post_type_content_element_types
@@ -1,3 +1,3 @@
1
1
  module Pulitzer
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
@@ -149,3 +149,51 @@ Migrating to AddErrorsToVersion (20160122204201)
149
149
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
150
150
  ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
151
151
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
152
+
153
+
154
+ Started GET "/pulitzer" for ::1 at 2016-05-20 13:59:46 -0600
155
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
156
+ Processing by Pulitzer::PostTypesController#index as HTML
157
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (2.5ms)
158
+ Completed 200 OK in 411ms (Views: 409.1ms | ActiveRecord: 0.0ms)
159
+
160
+
161
+ Started GET "/assets/application-2057cc134437d2a378b92e4d575e8a4a.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600
162
+
163
+
164
+ Started GET "/assets/pulitzer-c9bbd5abe46f01f06a16fea87c66b734.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600
165
+
166
+
167
+ Started GET "/assets/select2-3dd5f7c039d1d49a7a5971e99aa4aa60.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600
168
+
169
+
170
+ Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600
171
+
172
+
173
+ Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
174
+
175
+
176
+ Started GET "/assets/thin_man-da7569df64068b77b371e6287ce0d1a2.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
177
+
178
+
179
+ Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
180
+
181
+
182
+ Started GET "/assets/pulitzer-33af45d7375ad91993093cee313a88cf.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
183
+
184
+
185
+ Started GET "/assets/select2-c10dbdbc4d97fc8adbad2bb987ca61c8.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
186
+
187
+
188
+ Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
189
+
190
+
191
+ Started GET "/assets/application-020d978092bb3eeec19daa73739b9a9c.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
192
+
193
+
194
+ Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=jQOxkclNFp5Qg9m6RZMrXkiDVzvFEE58vwT50CSqgC%2BY2%2ByLs1ZAna%2FPNDAdkah4uEYW3WDg%2FvcMSdnMR7jkLw%3D%3D" for ::1 at 2016-05-20 13:59:48 -0600
195
+ Processing by Pulitzer::PostTypesController#index as */*
196
+ Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"jQOxkclNFp5Qg9m6RZMrXkiDVzvFEE58vwT50CSqgC+Y2+yLs1ZAna/PNDAdkah4uEYW3WDg/vcMSdnMR7jkLw=="}
197
+ Pulitzer::PostType Load (1.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 0]]
198
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_types/_index.html.erb (9.2ms)
199
+ Completed 200 OK in 62ms (Views: 38.2ms | ActiveRecord: 1.4ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulitzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-19 00:00:00.000000000 Z
12
+ date: 2016-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -531,9 +531,11 @@ files:
531
531
  - app/views/pulitzer/post_type_content_element_types/_show_wrapper.html.erb
532
532
  - app/views/pulitzer/post_types/_form.html.erb
533
533
  - app/views/pulitzer/post_types/_form_fields.html.erb
534
+ - app/views/pulitzer/post_types/_index.html.erb
534
535
  - app/views/pulitzer/post_types/_new.html.erb
535
536
  - app/views/pulitzer/post_types/_show.html.erb
536
537
  - app/views/pulitzer/post_types/_show_wrapper.html.erb
538
+ - app/views/pulitzer/post_types/_template.html.erb
537
539
  - app/views/pulitzer/post_types/index.html.erb
538
540
  - app/views/pulitzer/posts/_form.html.erb
539
541
  - app/views/pulitzer/posts/_new.html.erb
@@ -811,6 +813,40 @@ files:
811
813
  - spec/dummy/public/uploads/tmp/1463674504-87519-0889/cms_sam_and_snow.jpg
812
814
  - spec/dummy/public/uploads/tmp/1463674504-87519-0889/sam_and_snow.jpg
813
815
  - spec/dummy/public/uploads/tmp/1463674504-87519-0889/thumb_sam_and_snow.jpg
816
+ - spec/dummy/tmp/cache/assets/development/sass/6a6b1d4ef8b2d2e171d4a10a545a635415f70c2d/pulitzer.scssc
817
+ - spec/dummy/tmp/cache/assets/development/sprockets/066f4cc762c213535019ca66a2f5abb2
818
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
819
+ - spec/dummy/tmp/cache/assets/development/sprockets/29bea21c1455916a195f3ceb4b7572ef
820
+ - spec/dummy/tmp/cache/assets/development/sprockets/2ef4ce971db46bb72a029cfaed14f802
821
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
822
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
823
+ - spec/dummy/tmp/cache/assets/development/sprockets/3f1210b56be2b6be645528301773cf75
824
+ - spec/dummy/tmp/cache/assets/development/sprockets/467b714a93dd156fa93a4d57fbd3e730
825
+ - spec/dummy/tmp/cache/assets/development/sprockets/4751b079812f494c83387ae01926f7b2
826
+ - spec/dummy/tmp/cache/assets/development/sprockets/5e30a6b911437f1428dc32c3ae182123
827
+ - spec/dummy/tmp/cache/assets/development/sprockets/5f7b529d65d1b9a2d2808ee7e36c9f97
828
+ - spec/dummy/tmp/cache/assets/development/sprockets/67c6607aadd6614d3921a80f6ae55a94
829
+ - spec/dummy/tmp/cache/assets/development/sprockets/71245f91859a3c2f578842bdf3b7655c
830
+ - spec/dummy/tmp/cache/assets/development/sprockets/73aa21b31aa1cb2d3c266b4832e8db22
831
+ - spec/dummy/tmp/cache/assets/development/sprockets/7fe72ac1c0db1a7e8e7f59cf25e8a39e
832
+ - spec/dummy/tmp/cache/assets/development/sprockets/80ec1040de2bb156351376d53e6be389
833
+ - spec/dummy/tmp/cache/assets/development/sprockets/82b37ae9eccec44c1ef44cfdd07d8534
834
+ - spec/dummy/tmp/cache/assets/development/sprockets/91e196e27d739a0d4cd8c6636d45c151
835
+ - spec/dummy/tmp/cache/assets/development/sprockets/97a8182228da7bb4a671627fa919d256
836
+ - spec/dummy/tmp/cache/assets/development/sprockets/9a6dbdd7b1cfc12dac2bc2d4ea5c3775
837
+ - spec/dummy/tmp/cache/assets/development/sprockets/ad3214cd1541e209ad7fb51e1213afbc
838
+ - spec/dummy/tmp/cache/assets/development/sprockets/b8c8edf30054e3f41128dac26e82660c
839
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfab506a5c6fad6fedf2b874dd390bea
840
+ - spec/dummy/tmp/cache/assets/development/sprockets/c7fe6d39f4a33e63f0eb60f3f8c55053
841
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
842
+ - spec/dummy/tmp/cache/assets/development/sprockets/d235f1f779c3b50ba1719bb80a941735
843
+ - spec/dummy/tmp/cache/assets/development/sprockets/d4432904cd7996dda37e87ae2eaa965b
844
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
845
+ - spec/dummy/tmp/cache/assets/development/sprockets/e5ff68e12f8901382ac24cb07ed95e9b
846
+ - spec/dummy/tmp/cache/assets/development/sprockets/e7fd82175670a22ce4fb40eea6d026b2
847
+ - spec/dummy/tmp/cache/assets/development/sprockets/e8542942b033e4b2cd9ed7c6efff30f1
848
+ - spec/dummy/tmp/cache/assets/development/sprockets/f655996d7a162aadcc37d16e7095be0d
849
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
814
850
  - spec/factories/content_element.rb
815
851
  - spec/factories/content_element_type.rb
816
852
  - spec/factories/post.rb
@@ -1092,6 +1128,40 @@ test_files:
1092
1128
  - spec/dummy/public/uploads/tmp/1463674504-87519-0889/thumb_sam_and_snow.jpg
1093
1129
  - spec/dummy/Rakefile
1094
1130
  - spec/dummy/README.rdoc
1131
+ - spec/dummy/tmp/cache/assets/development/sass/6a6b1d4ef8b2d2e171d4a10a545a635415f70c2d/pulitzer.scssc
1132
+ - spec/dummy/tmp/cache/assets/development/sprockets/066f4cc762c213535019ca66a2f5abb2
1133
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
1134
+ - spec/dummy/tmp/cache/assets/development/sprockets/29bea21c1455916a195f3ceb4b7572ef
1135
+ - spec/dummy/tmp/cache/assets/development/sprockets/2ef4ce971db46bb72a029cfaed14f802
1136
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
1137
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
1138
+ - spec/dummy/tmp/cache/assets/development/sprockets/3f1210b56be2b6be645528301773cf75
1139
+ - spec/dummy/tmp/cache/assets/development/sprockets/467b714a93dd156fa93a4d57fbd3e730
1140
+ - spec/dummy/tmp/cache/assets/development/sprockets/4751b079812f494c83387ae01926f7b2
1141
+ - spec/dummy/tmp/cache/assets/development/sprockets/5e30a6b911437f1428dc32c3ae182123
1142
+ - spec/dummy/tmp/cache/assets/development/sprockets/5f7b529d65d1b9a2d2808ee7e36c9f97
1143
+ - spec/dummy/tmp/cache/assets/development/sprockets/67c6607aadd6614d3921a80f6ae55a94
1144
+ - spec/dummy/tmp/cache/assets/development/sprockets/71245f91859a3c2f578842bdf3b7655c
1145
+ - spec/dummy/tmp/cache/assets/development/sprockets/73aa21b31aa1cb2d3c266b4832e8db22
1146
+ - spec/dummy/tmp/cache/assets/development/sprockets/7fe72ac1c0db1a7e8e7f59cf25e8a39e
1147
+ - spec/dummy/tmp/cache/assets/development/sprockets/80ec1040de2bb156351376d53e6be389
1148
+ - spec/dummy/tmp/cache/assets/development/sprockets/82b37ae9eccec44c1ef44cfdd07d8534
1149
+ - spec/dummy/tmp/cache/assets/development/sprockets/91e196e27d739a0d4cd8c6636d45c151
1150
+ - spec/dummy/tmp/cache/assets/development/sprockets/97a8182228da7bb4a671627fa919d256
1151
+ - spec/dummy/tmp/cache/assets/development/sprockets/9a6dbdd7b1cfc12dac2bc2d4ea5c3775
1152
+ - spec/dummy/tmp/cache/assets/development/sprockets/ad3214cd1541e209ad7fb51e1213afbc
1153
+ - spec/dummy/tmp/cache/assets/development/sprockets/b8c8edf30054e3f41128dac26e82660c
1154
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfab506a5c6fad6fedf2b874dd390bea
1155
+ - spec/dummy/tmp/cache/assets/development/sprockets/c7fe6d39f4a33e63f0eb60f3f8c55053
1156
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
1157
+ - spec/dummy/tmp/cache/assets/development/sprockets/d235f1f779c3b50ba1719bb80a941735
1158
+ - spec/dummy/tmp/cache/assets/development/sprockets/d4432904cd7996dda37e87ae2eaa965b
1159
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
1160
+ - spec/dummy/tmp/cache/assets/development/sprockets/e5ff68e12f8901382ac24cb07ed95e9b
1161
+ - spec/dummy/tmp/cache/assets/development/sprockets/e7fd82175670a22ce4fb40eea6d026b2
1162
+ - spec/dummy/tmp/cache/assets/development/sprockets/e8542942b033e4b2cd9ed7c6efff30f1
1163
+ - spec/dummy/tmp/cache/assets/development/sprockets/f655996d7a162aadcc37d16e7095be0d
1164
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
1095
1165
  - spec/factories/content_element.rb
1096
1166
  - spec/factories/content_element_type.rb
1097
1167
  - spec/factories/post.rb