monologue 0.4.0 → 0.4.1

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
- NmQ2OTVlOGE1OWU1NjJiOWI0MTU1ZTQzYmU1NDMwNzk1NzMzZmYzMQ==
4
+ Yzk3MGNhZDY5ZmIzMDkxYzk5NGVjMTU5NGM0ZmQ1MGQ0MjJmZjI4MA==
5
5
  data.tar.gz: !binary |-
6
- YTljNzZhNjM0Y2UyYjNlZDM4YTg2YmI0M2IwMWQ5ODdlMjQ2YWRlNA==
6
+ NTY3MjY5OTE2OTJjNTgwZTdjMmQxNTBiMjY2MDJkMmYwOWFlNmVmMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTdkY2EwN2E1OTM2MmEwMzNhZTEwMGY5ZTY1ODlhNTdiODJiMjZjMjYzOGI4
10
- NGZhM2FjNTk4ZDcxNTZjOTMzNWEzOWY4OWQ4MDUwYmMzNDMxZmVkZDYyY2Nh
11
- YmJlZWJmOTcxNWIwMTE5NTE5OTg1NTBlNGUwMzI3OTU0ZTM5NGQ=
9
+ YmJjMzNkZjJhYzQ1OWFhOGZlYjJmMWUwYTY4YmU4MTk1NDU1NjI1MjRiOGI4
10
+ YjVjZDhmZDAxZWNhMGJmNGU5ZmRmNjljYTM1MjUxM2YzNjc2YThhOTUyNTNk
11
+ ZjAzNmI5MTJmMWVmMTcxZDZjMTNiMzE4NGRjNTQ0MTg3YmM3YmU=
12
12
  data.tar.gz: !binary |-
13
- MzBjMTJkZjkxOGU5Yzc0MjJiYjNiMDJkNDE2ODU3YzhlNjU3MjNmMzQ3ODMw
14
- YTE3Zjc5ZTE2MDIzNWIxZTBiZmM5YjQ4M2NmYjUwMTZkZmI3MGY1OTFmMjgw
15
- MTE4ZmQzZjgyZjhkM2VlZGRlN2Q1NjZlODM0ZWM1OWNhMjNlMjA=
13
+ OTBlOGFhNDA4OGFlYzg3MTg2NjhmNzBkN2U0OWQzZDNlMTM1NzNjNDBmYmNl
14
+ MmNiZmE4NWNiOGU5M2IyYTBiYmNmODk5ODZhMDI0ODZmNmUwNGEwMzE1ZGU3
15
+ ZDQzZTM3YzAzMmVkMjVkYjJjNmQ4ZTU4MTA4OWI2ZmM1MGZmYmI=
@@ -1,7 +1,7 @@
1
1
  class Monologue::PostsController < Monologue::ApplicationController
2
2
  def index
3
3
  @page = params[:page].nil? ? 1 : params[:page]
4
- @posts = Monologue::Post.published.page(@page)
4
+ @posts = Monologue::Post.page(@page).published
5
5
  end
6
6
 
7
7
  def show
@@ -15,11 +15,15 @@ module Monologue
15
15
  config.generators.fixture_replacement :factory_girl
16
16
  config.generators.integration_tool :rspec
17
17
 
18
- initializer :assets do |config|
19
- Rails.application.config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts')
18
+ initializer 'monologue.assets.precompile' do |app|
19
+ app.config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts')
20
+ app.config.assets.precompile += %w[
21
+ monologue/admin/ckeditor-config.js
22
+ ckeditor/*
23
+ ]
20
24
  end
21
25
 
22
- initializer "monologue.configuration", :before => :load_config_initializers do |app|
26
+ initializer 'monologue.configuration', :before => :load_config_initializers do |app|
23
27
  app.config.monologue = Monologue::Configuration.new
24
28
  Monologue::Config = app.config.monologue
25
29
  end
@@ -1,3 +1,3 @@
1
1
  module Monologue
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monologue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Philippe Boily | @jipiboily
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-23 00:00:00.000000000 Z
11
+ date: 2014-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -98,16 +98,16 @@ dependencies:
98
98
  name: ckeditor
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 4.0.11
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
- version: '0'
110
+ version: 4.0.11
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: select2-rails
113
113
  requirement: !ruby/object:Gem::Requirement