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 +1 -1
- data/lib/generators/slightcms/install/install_generator.rb +7 -1
- data/slightcms.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
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 "
|
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
|
data/slightcms.gemspec
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: slightcms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
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:
|
111
|
+
hash: -2068846406953902607
|
112
112
|
segments:
|
113
113
|
- 0
|
114
114
|
version: "0"
|