railman 0.5.2 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/railman/version.rb +1 -1
- data/templates/rails_app/Gemfile +1 -4
- data/templates/rails_app/app/assets/javascripts/application.js +1 -2
- data/templates/rails_app/app/assets/stylesheets/application.sass +1 -5
- data/templates/rails_app/app/mailers/application_mailer.rb.tt +4 -0
- data/templates/rails_app/app/views/home/index.html.erb.tt +1 -1
- data/templates/rails_app/app/views/layouts/_messages.html.erb +6 -4
- data/templates/rails_app/app/views/layouts/application.html.erb.tt +5 -3
- data/templates/rails_app/app/views/layouts/mailer.html.erb +9 -0
- data/templates/rails_app/app/views/layouts/mailer.text.erb +1 -0
- metadata +5 -3
- data/templates/rails_app/app/mailers/.keep +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ef488613e448b6e4e21139b03a58e9ffdd38826
|
4
|
+
data.tar.gz: abdd120cc1a425a5c9310004d88039d8029a5ecd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c64931fb0a60c9bd0a4379857da83667cac76e727752b1d021112ca91a51618c97ebb815e58d2481c6f4114f69edeaf79aed1d9c5441a8954bb3b07a984c7b60
|
7
|
+
data.tar.gz: f7f6348362009d0ba17828c2a36a4a23df87167d4944a245ddae1098352223e5aa73af599ebde95912a33a76a8a6ecf751d7ad4a8a585b877dd0f01b29f0398e
|
data/lib/railman/version.rb
CHANGED
data/templates/rails_app/Gemfile
CHANGED
@@ -12,10 +12,7 @@ gem 'jquery-rails'
|
|
12
12
|
gem 'turbolinks'
|
13
13
|
gem 'jquery-turbolinks'
|
14
14
|
|
15
|
-
gem '
|
16
|
-
gem 'bootstrap_form', '2.3.0' # form helper for twitter bootstrap
|
17
|
-
gem 'bootstrap-datepicker-rails', '1.4.0' # bootstrap-datepicker
|
18
|
-
gem 'active_link_to', '1.0.3' # automatically mark navigation link as active
|
15
|
+
gem 'semantic-rails-ui' # semantic-ui + simple_form + rails helpers
|
19
16
|
|
20
17
|
gem 'dalli', '2.7.6' # memcached client
|
21
18
|
gem 'kgio', '2.10.0' # gives dalli 20-30% performance boost
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
<%= ui_icon_header "Welcome to <%= @config.class_name %> :-)", "home" %>
|
@@ -1,7 +1,9 @@
|
|
1
1
|
<% flash.each do |name, msg| %>
|
2
|
-
<div class="
|
3
|
-
<
|
4
|
-
|
2
|
+
<div class="ui <%= name %> message">
|
3
|
+
<i class="close icon"></i>
|
4
|
+
<div class="ui header">
|
5
|
+
<i class="<%= name == 'error' || name == 'warning' ? :warning : :info %> circle icon"></i>
|
6
|
+
<div class="content"><%= msg %></div>
|
7
|
+
</div>
|
5
8
|
</div>
|
6
9
|
<% end %>
|
7
|
-
|
@@ -10,6 +10,8 @@
|
|
10
10
|
<%%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
11
11
|
<%%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
12
12
|
|
13
|
+
<style data-turbolinks-track="true"><%= yield :stylesheets %></style>
|
14
|
+
|
13
15
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
14
16
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
15
17
|
<!--[if lt IE 9]>
|
@@ -20,9 +22,9 @@
|
|
20
22
|
<%%= csrf_meta_tags %>
|
21
23
|
</head>
|
22
24
|
<body>
|
23
|
-
<div
|
24
|
-
|
25
|
-
|
25
|
+
<div id="content">
|
26
|
+
<div id="messages"><%= render "layouts/messages" %></div>
|
27
|
+
<%= content_for?(:content) ? yield(:content) : yield %>
|
26
28
|
</div>
|
27
29
|
<script>
|
28
30
|
window.current_language = "<%%= I18n.locale %>";
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= yield %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: railman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Jancev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -184,12 +184,14 @@ files:
|
|
184
184
|
- templates/rails_app/app/controllers/home_controller.rb
|
185
185
|
- templates/rails_app/app/helpers/application_helper.rb
|
186
186
|
- templates/rails_app/app/jobs/.keep
|
187
|
-
- templates/rails_app/app/mailers
|
187
|
+
- templates/rails_app/app/mailers/application_mailer.rb.tt
|
188
188
|
- templates/rails_app/app/models/.keep
|
189
189
|
- templates/rails_app/app/models/concerns/.keep
|
190
190
|
- templates/rails_app/app/views/home/index.html.erb.tt
|
191
191
|
- templates/rails_app/app/views/layouts/_messages.html.erb
|
192
192
|
- templates/rails_app/app/views/layouts/application.html.erb.tt
|
193
|
+
- templates/rails_app/app/views/layouts/mailer.html.erb
|
194
|
+
- templates/rails_app/app/views/layouts/mailer.text.erb
|
193
195
|
- templates/rails_app/bin/bundle
|
194
196
|
- templates/rails_app/bin/cap
|
195
197
|
- templates/rails_app/bin/rails
|
File without changes
|