cadmus 0.4.8 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0344d8b346783ac2d1995fcbd3361c411e8c4da4
4
+ data.tar.gz: 2d823243b48271f4435bfbdd9294ffcacdebbb0e
5
+ SHA512:
6
+ metadata.gz: 48bab095c089f8f196df474b448583c9c3b91b78ef8375951259085fa0979dd41e1d9e8b5d0830fe6adbfb5464494fa6e6e5799737fbf28a294fd6425f0a4b16
7
+ data.tar.gz: 6d9f4fced3c43a68a82696cbe669286ab3b83a45be1d2369230f05a3a2b8a4d59eb39a701b4d9f31c234b5c58c355acd808834b2e27ae78fb262d7caadce0309
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## cadmus 0.5.0 (12-06-2013)
2
+
3
+ * First release that requires Rails 4.0
4
+ * Strong parameters compatibility by default
5
+
1
6
  ## cadmus 0.4.8 (07-16-2013)
2
7
 
3
8
  * Add license info to gemspec
data/cadmus.gemspec CHANGED
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
16
16
  gem.require_paths = ["lib"]
17
17
  gem.version = Cadmus::VERSION
18
18
 
19
- gem.add_dependency("rails", ">= 3.0.0")
19
+ gem.add_dependency("rails", ">= 4.0.0")
20
20
  gem.add_dependency("liquid")
21
21
  end
@@ -212,7 +212,7 @@ module Cadmus
212
212
  end
213
213
 
214
214
  def page_params
215
- params[:page]
215
+ params.require(:page).permit(:name, :slug, :content)
216
216
  end
217
217
 
218
218
  def load_parent_and_page
@@ -1,3 +1,3 @@
1
1
  module Cadmus
2
- VERSION = "0.4.8"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cadmus
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.4.8
4
+ version: 0.5.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nat Budin
@@ -10,40 +9,36 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-07-16 00:00:00.000000000 Z
12
+ date: 2013-12-06 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
- version_requirements: !ruby/object:Gem::Requirement
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ! '>='
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
- version: 3.0.0
21
- none: false
22
- name: rails
20
+ version: 4.0.0
23
21
  type: :runtime
24
22
  prerelease: false
25
- requirement: !ruby/object:Gem::Requirement
23
+ version_requirements: !ruby/object:Gem::Requirement
26
24
  requirements:
27
- - - ! '>='
25
+ - - '>='
28
26
  - !ruby/object:Gem::Version
29
- version: 3.0.0
30
- none: false
27
+ version: 4.0.0
31
28
  - !ruby/object:Gem::Dependency
32
- version_requirements: !ruby/object:Gem::Requirement
29
+ name: liquid
30
+ requirement: !ruby/object:Gem::Requirement
33
31
  requirements:
34
- - - ! '>='
32
+ - - '>='
35
33
  - !ruby/object:Gem::Version
36
34
  version: '0'
37
- none: false
38
- name: liquid
39
35
  type: :runtime
40
36
  prerelease: false
41
- requirement: !ruby/object:Gem::Requirement
37
+ version_requirements: !ruby/object:Gem::Requirement
42
38
  requirements:
43
- - - ! '>='
39
+ - - '>='
44
40
  - !ruby/object:Gem::Version
45
41
  version: '0'
46
- none: false
47
42
  description: Why deal with setting up a separate CMS? Cadmus is just a little bit
48
43
  of CMS and fits nicely into your existing app. It can be used for allowing users
49
44
  to customize areas of the site, for creating editable "about us" pages, and more.
@@ -80,27 +75,26 @@ files:
80
75
  homepage: http://github.com/gively/cadmus
81
76
  licenses:
82
77
  - MIT
78
+ metadata: {}
83
79
  post_install_message:
84
80
  rdoc_options: []
85
81
  require_paths:
86
82
  - lib
87
83
  required_ruby_version: !ruby/object:Gem::Requirement
88
84
  requirements:
89
- - - ! '>='
85
+ - - '>='
90
86
  - !ruby/object:Gem::Version
91
87
  version: '0'
92
- none: false
93
88
  required_rubygems_version: !ruby/object:Gem::Requirement
94
89
  requirements:
95
- - - ! '>='
90
+ - - '>='
96
91
  - !ruby/object:Gem::Version
97
92
  version: '0'
98
- none: false
99
93
  requirements: []
100
94
  rubyforge_project:
101
- rubygems_version: 1.8.23
95
+ rubygems_version: 2.1.11
102
96
  signing_key:
103
- specification_version: 3
97
+ specification_version: 4
104
98
  summary: Embeddable CMS for Rails 3 apps
105
99
  test_files: []
106
100
  has_rdoc: