phcpress 2.5.0 → 2.5.2

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: c4605c3875e3444c8c17275c5d0c42e65a734ac0
4
- data.tar.gz: ce6438078f507d396b6e5704b2f5e01483239424
3
+ metadata.gz: ce0228c45803da0858909bfcc4c3ab1b58e64414
4
+ data.tar.gz: 31bbc54626e686e5ca06672e2a5bffef737d4b35
5
5
  SHA512:
6
- metadata.gz: 0fe46927e1858155ee40e0fa58b34445653cd64a70c3bd8ce09189ba555c6ebafdc77308ab037eb4ab841213ba84489810cf3795eb08cbf019881706ea2f140e
7
- data.tar.gz: eeddc93e52ddbc9b2df42cd2a95c5edb4b15bf9f4852b13e71000b921721fe947dbd4e68e091259190f2584fcab7dfc95b9734480cf58fde0900ba4e12414857
6
+ metadata.gz: 65572d04d232f495946cc73018e879b54446cd3bb352c361436a70c83717bb58c38cb88501d1b5250d62d82d58d5b75fb8b082ad2aa51a2654e996e217d5ed8c
7
+ data.tar.gz: 0ba7b428ff3a67b433443ae1760dfb124c67a4fec1614b0c77359f97d043a87b9d9dec9a9e1369c0c1251d0ec76ff6131c944bc417e03c1fc92aca0ff8efd6db
@@ -5,6 +5,8 @@ class CreatePhcpressNewsPosts < ActiveRecord::Migration
5
5
  t.string :newspsttitle
6
6
  t.text :newspsttext
7
7
  t.string :pststatus
8
+
9
+ t.integer :user_id
8
10
 
9
11
  t.timestamps null: false
10
12
 
@@ -6,6 +6,8 @@ class CreatePhcpressBlogPosts < ActiveRecord::Migration
6
6
  t.text :blogpsttext
7
7
  t.string :pststatus
8
8
 
9
+ t.integer :user_id
10
+
9
11
  t.timestamps null: false
10
12
 
11
13
  end
@@ -1,16 +1,17 @@
1
- # Load UI Dependecies
2
- require 'jquery-rails'
3
- require 'phcnotifi';
4
- require 'sass-rails'
5
- require 'bootstrap-sass'
6
- require 'font-awesome-rails'
7
-
8
- # Load Image Processing
9
- require 'carrierwave'
10
-
11
1
  module Phcpress
12
2
  class Engine < ::Rails::Engine
13
3
 
4
+ # Load UI Dependecies
5
+ require 'jquery-rails'
6
+ require 'phcnotifi';
7
+
8
+ require 'sass-rails'
9
+ require 'bootstrap-sass'
10
+ require 'font-awesome-rails'
11
+
12
+ # Load Image Processing
13
+ require 'carrierwave'
14
+
14
15
  # Give Everything a Namespace
15
16
  isolate_namespace Phcpress
16
17
 
@@ -27,8 +28,8 @@ module Phcpress
27
28
  end
28
29
 
29
30
  # Load PHCPress Helper Files (Prevents Problems)
30
- config.to_prepare do
31
- ApplicationController.helper(ApplicationHelper)
31
+ class ApplicationController < ActionController::Base
32
+ helper Phcpress::Engine.helpers
32
33
  end
33
34
 
34
35
  end
@@ -1,3 +1,3 @@
1
1
  module Phcpress
2
- VERSION = "2.5.0"
2
+ VERSION = "2.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpress
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts