slightcms 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -6,8 +6,14 @@ module Slightcms
6
6
 
7
7
  source_root File.expand_path("../../templates", __FILE__)
8
8
 
9
- desc "Copy some files"
9
+ desc "This generator generates a migration file and copies all static files to your rails application"
10
10
 
11
+ # Create routes in routes.rb
12
+ def create_admin_routes
13
+ route("match ':id', :to => 'slightcms_pages#show'")
14
+ end
15
+
16
+ # Show Readme file
11
17
  def show_readme
12
18
  readme "README" if behavior == :invoke
13
19
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{slightcms}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matthias Nitsch"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: slightcms
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.4
5
+ version: 0.1.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matthias Nitsch
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
- hash: 3257832365928556051
111
+ hash: -2068846406953902607
112
112
  segments:
113
113
  - 0
114
114
  version: "0"