rails_apps_pages 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03fc6d91be1dca2c164be97d52039af7b3518e3d
|
4
|
+
data.tar.gz: c83034a7176c60ef6f8be7653a6525ddf7fcf229
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c78088130cdbfb04799dcaaf8996be589081403189d191a7e7eafbea5ebc1b9f52b1fad6c00ce5b13c25b45af6775def44410acaecc66db9513f7d87e438b5f
|
7
|
+
data.tar.gz: 69c9442c4e53fb139cc0c6dddfc9d8d3b44cdde56e11eeafaa5cc0218ca26713bae08d91b9c421c505a3daec573b810f50ef2fffefc42f59beb88f52eabfb869
|
data/CHANGELOG.textile
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
module Pages
|
4
|
+
module Generators
|
5
|
+
class AboutGenerator < ::Rails::Generators::Base
|
6
|
+
source_root File.expand_path("../templates", __FILE__)
|
7
|
+
|
8
|
+
desc "Create an about page (requires the high_voltage gem)"
|
9
|
+
|
10
|
+
def create_page
|
11
|
+
copy_file 'about.html.erb', 'app/views/pages/about.html.erb'
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_apps_pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -56,6 +56,8 @@ files:
|
|
56
56
|
- Rakefile
|
57
57
|
- lib/generators/clean/gemfile_generator.rb
|
58
58
|
- lib/generators/clean/routes_generator.rb
|
59
|
+
- lib/generators/pages/about/about_generator.rb
|
60
|
+
- lib/generators/pages/about/templates/about.html.erb
|
59
61
|
- lib/generators/pages/authorized/authorized_generator.rb
|
60
62
|
- lib/generators/pages/authorized/templates/registrations_controller.rb
|
61
63
|
- lib/generators/pages/authorized/templates/user_policy.rb
|