cadmus 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## cadmus 0.4.3 (06-17-2012)
2
+
3
+ * Add a cadmus:views generator to make view customization easier
4
+
1
5
  ## cadmus 0.4.2 (06-16-2012)
2
6
 
3
- * Make `cadmus_pages` route function work with no arguments
7
+ * Make `cadmus_pages` route function work with no arguments
@@ -1,3 +1,3 @@
1
1
  module Cadmus
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
@@ -0,0 +1,12 @@
1
+ module Cadmus
2
+ module Generators
3
+ class ViewsGenerator < Rails::Generators::Base
4
+ desc "Copies Cadmus views to your application."
5
+ source_root File.expand_path("../../../../app/views/cadmus", __FILE__)
6
+
7
+ def copy_views
8
+ directory :pages, "app/views/cadmus/pages"
9
+ end
10
+ end
11
+ end
12
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cadmus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-06-16 00:00:00.000000000 Z
13
+ date: 2012-06-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: !ruby/object:Gem::Requirement
17
+ requirement: &70179775360840 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,15 +22,10 @@ dependencies:
22
22
  version: 3.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
30
- version: 3.0.0
25
+ version_requirements: *70179775360840
31
26
  - !ruby/object:Gem::Dependency
32
27
  name: liquid
33
- requirement: !ruby/object:Gem::Requirement
28
+ requirement: &70179775360380 !ruby/object:Gem::Requirement
34
29
  none: false
35
30
  requirements:
36
31
  - - ! '>='
@@ -38,12 +33,7 @@ dependencies:
38
33
  version: '0'
39
34
  type: :runtime
40
35
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: '0'
36
+ version_requirements: *70179775360380
47
37
  description: Why deal with setting up a separate CMS? Cadmus is just a little bit
48
38
  of CMS and fits nicely into your existing app. It can be used for allowing users
49
39
  to customize areas of the site, for creating editable "about us" pages, and more.
@@ -76,6 +66,7 @@ files:
76
66
  - lib/cadmus/routing.rb
77
67
  - lib/cadmus/slugs.rb
78
68
  - lib/cadmus/version.rb
69
+ - lib/generators/cadmus/views_generator.rb
79
70
  homepage: http://github.com/gively/cadmus
80
71
  licenses: []
81
72
  post_install_message:
@@ -88,23 +79,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
79
  - - ! '>='
89
80
  - !ruby/object:Gem::Version
90
81
  version: '0'
91
- segments:
92
- - 0
93
- hash: -1527653325497525867
94
82
  required_rubygems_version: !ruby/object:Gem::Requirement
95
83
  none: false
96
84
  requirements:
97
85
  - - ! '>='
98
86
  - !ruby/object:Gem::Version
99
87
  version: '0'
100
- segments:
101
- - 0
102
- hash: -1527653325497525867
103
88
  requirements: []
104
89
  rubyforge_project:
105
- rubygems_version: 1.8.24
90
+ rubygems_version: 1.8.11
106
91
  signing_key:
107
92
  specification_version: 3
108
93
  summary: Embeddable CMS for Rails 3 apps
109
94
  test_files: []
110
- has_rdoc: