rails_apps_pages 0.5.16 → 0.6.0
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: 86c1817ae7bed1ed06a68b0ec4b82b9926410452
|
4
|
+
data.tar.gz: 17cbaf952c07684d968f58ac765536e7936a1d50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a106521ea19336c7a29d907e82da0b397421576a562544abf57c890a78bd1be9d96d5e8a079498da8c9d2c4e4b519bfe54070e6677099c3197aa95e641e6521e
|
7
|
+
data.tar.gz: 8f11926ba95f212e7c34c47bd176cfd7aa47f123de066aeb65e06cba016648a694dadf8b7ab7d50b4ca45fab2ec20f8dc4f3c5cef71bcb3cffc7de294f803a54
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.
|
1
|
+
ruby-2.2.2
|
data/CHANGELOG.textile
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
module Theme
|
4
|
+
module Generators
|
5
|
+
class BareGenerator < ::Rails::Generators::Base
|
6
|
+
source_root File.expand_path("../templates", __FILE__)
|
7
|
+
|
8
|
+
desc "A Bootstrap HTML starter template (from startbootstrap.com)"
|
9
|
+
|
10
|
+
def create_page
|
11
|
+
copy_file 'index.html.erb', 'app/views/visitors/index.html.erb'
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!-- Page Content -->
|
2
|
+
<div class="container">
|
3
|
+
|
4
|
+
<div class="row">
|
5
|
+
<div class="col-lg-12 text-center">
|
6
|
+
<h1>A Bootstrap Starter Template</h1>
|
7
|
+
<p class="lead">A Bootstrap HTML starter template from <a href="http://startbootstrap.com/">startbootstrap.com</a>.</p>
|
8
|
+
<ul class="list-unstyled">
|
9
|
+
<li>Bootstrap</li>
|
10
|
+
<li>jQuery</li>
|
11
|
+
</ul>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
<!-- /.row -->
|
15
|
+
|
16
|
+
</div>
|
17
|
+
<!-- /.container -->
|
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.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -91,6 +91,8 @@ files:
|
|
91
91
|
- lib/generators/pages/users/templates/users/show.html.erb
|
92
92
|
- lib/generators/pages/users/templates/visitors/index.html.erb
|
93
93
|
- lib/generators/pages/users/users_generator.rb
|
94
|
+
- lib/generators/theme/bare/bare_generator.rb
|
95
|
+
- lib/generators/theme/bare/templates/index.html.erb
|
94
96
|
- lib/rails_apps_pages.rb
|
95
97
|
- lib/rails_apps_pages/version.rb
|
96
98
|
- rails_apps_pages.gemspec
|
@@ -114,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
116
|
version: '0'
|
115
117
|
requirements: []
|
116
118
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.
|
119
|
+
rubygems_version: 2.4.6
|
118
120
|
signing_key:
|
119
121
|
specification_version: 4
|
120
122
|
summary: Add pages to a Rails application, including controllers, views, and routing.
|