caboose-cms 0.4.73 → 0.4.74

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTFiY2E2NjIxOWExYzgxMTEwY2FmNDFmNzMxNzFkN2JiMTUwOGU1Nw==
4
+ NzAyZTljYjY2NzA2MmMzYTkxMzZhZGZhYjhmMmFhMzM2MTc0YWI1ZA==
5
5
  data.tar.gz: !binary |-
6
- ZjUwZjlkZWEzOWQyNGU2Y2I2OWI5ZGY3NjQ5ZjM0ZTk5YjZmYTg4ZQ==
6
+ MjgzYWQ0ZTViN2VhMzk5YWQ1ZTA5YWQwYTVhNzI2NGRhOTA2MzNmOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YjhkZGQ4MzY5OTdjZTRiM2MxZjVjOGI2Y2I3NTNkNzQzOTE1OTBhZTg1MjRl
10
- NmFiMmE1YzY5Nzg0ZGMxMzZiYTAxMzMxOTI2ZWU0NzUyNzQxOTZjYWQwMWNj
11
- YmQzMmE4MDg3MDY4NjI5ZmJiNzUxMGU4OGIwOTdmY2IwNjUyYzI=
9
+ MDQwYTg3MDY2MTI0ZTk2NmZlZDZmZTAzOWYwNmVlNDZkMmEzMDBhMmViNGFm
10
+ NzMwODljM2YyNTZhNTU2YzM1MTU4MjAyNDJmZGY2MzFjNzI1NmM0YzUyYTY1
11
+ YzM4ZThmYTUyYzg4YjllMmQ3OTE2NWRkNjlmMzMxYWJkN2FkYjY=
12
12
  data.tar.gz: !binary |-
13
- ZmJiYzZhYjE2MGVjYzgwOTNjZjkwZjIxNmMzY2VjMzllMjU5MjFjMjc3YTIw
14
- MDYyMTg1NzA2NjM4MWYxMDc0NTkyNTlhZjFmODc0MTdhMGY4YjI4NmUwYzEz
15
- OWEyMzUxMWVkOTkyMmFjNjZmMWE0YTE3NWQ0NjZkMWJjZjk3ZTQ=
13
+ Y2Y5OTIzNDc5NjUwYTkzYzQxOTA2MmQzZGVmODgwZTA4OThiNDkxM2I0MzZk
14
+ MWJlZjRlZGU3M2M1YzNlZDQzMWNkZDE4MTZhZjE1MGU1Mzc4MDYyOTY1ZTBk
15
+ OTg5N2JiYjE1MGVhYzQ4YWU4YWEyZDk4OTIzZDBjYjRhZjY3OGI=
@@ -39,7 +39,7 @@ module Caboose
39
39
  login_user(login_resp.user, remember)
40
40
  resp.redirect = return_url
41
41
  resp.modal = false
42
- Caboose.plugin_hook('login_success', user_id)
42
+ Caboose.plugin_hook('login_success', login_resp.user.id)
43
43
  end
44
44
  end
45
45
  end
@@ -2,7 +2,7 @@
2
2
  <% if !@page.nil? && @page.title != 'Access Denied' %>
3
3
  <% content_for :js do %>
4
4
  <%= javascript_include_tag "caboose/application" %>
5
- <%= javascript_include_tag @site.name == 'application' ? 'application' : "@site.name/application" %>
5
+ <%= javascript_include_tag @site.name == 'application' ? 'application' : "#{@site.name}/js/application" %>
6
6
  <script>window.loggedIn = <%= logged_in?.to_json %></script>
7
7
  <% Caboose::javascripts.each do |js| %><%= javascript_include_tag(js) %><% end %>
8
8
  <% @page.linked_resources_map[:js].each do |r| %><%= javascript_include_tag r %><% end %>
@@ -10,7 +10,7 @@
10
10
  <% end %>
11
11
  <% content_for :css do %>
12
12
  <%= stylesheet_link_tag 'caboose/application' %>
13
- <%= stylesheet_link_tag @site.name == 'application' ? 'application' : "@site.name/application" %>
13
+ <%= stylesheet_link_tag @site.name == 'application' ? 'application' : "#{@site.name}/css/application" %>
14
14
  <% Caboose::stylesheets.each do |css| %><%= stylesheet_link_tag(css) %><% end %>
15
15
  <% @page.linked_resources_map[:css].each do |r| %><%= stylesheet_link_tag r %><% end %>
16
16
  <%= yield :caboose_css %>
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.4.73'
2
+ VERSION = '0.4.74'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.73
4
+ version: 0.4.74
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry