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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01ab67be8ead287ee6a97c927f1f82546f136c94
4
- data.tar.gz: c8c523fc70d38949843d8df76f359a67da4080aa
3
+ metadata.gz: 7ef488613e448b6e4e21139b03a58e9ffdd38826
4
+ data.tar.gz: abdd120cc1a425a5c9310004d88039d8029a5ecd
5
5
  SHA512:
6
- metadata.gz: f616a604878c1733980fca2a2034cd03136d46dce9455e8db0e580de6fbbfd044b46182fb1494e6deb2ef808247c8682fe7cc656c638cbbca5b0f91c79b8177c
7
- data.tar.gz: 8e40ff6f519b116bd46922dfc69d827c0f07715c751f29a75e3241bfe01d51bcda0293ad3dced23560428a388f7eb1d4f1149d54eb92b939471b0c06eb0c81cf
6
+ metadata.gz: c64931fb0a60c9bd0a4379857da83667cac76e727752b1d021112ca91a51618c97ebb815e58d2481c6f4114f69edeaf79aed1d9c5441a8954bb3b07a984c7b60
7
+ data.tar.gz: f7f6348362009d0ba17828c2a36a4a23df87167d4944a245ddae1098352223e5aa73af599ebde95912a33a76a8a6ecf751d7ad4a8a585b877dd0f01b29f0398e
@@ -1,3 +1,3 @@
1
1
  module Railman
2
- VERSION = '0.5.2'
2
+ VERSION = '0.6.0'
3
3
  end
@@ -12,10 +12,7 @@ gem 'jquery-rails'
12
12
  gem 'turbolinks'
13
13
  gem 'jquery-turbolinks'
14
14
 
15
- gem 'bootstrap-sass', '3.3.4.1'
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
@@ -14,6 +14,5 @@
14
14
  //= require jquery.turbolinks
15
15
  //= require jquery_ujs
16
16
  //= require turbolinks
17
- //= require bootstrap-sprockets
18
- //= require bootstrap-datepicker
17
+ //= require semantic-rails-ui
19
18
  //= require_tree .
@@ -1,6 +1,2 @@
1
- @import "bootstrap-sprockets"
2
- @import "bootstrap"
3
- @import "rails_bootstrap_forms"
4
- @import "bootstrap-datepicker3"
5
-
1
+ @import "semantic-rails-ui"
6
2
 
@@ -0,0 +1,4 @@
1
+ class ApplicationMailer < ActionMailer::Base
2
+ layout 'mailer'
3
+ default from: 'info@<%= @config.domain %>'
4
+ end
@@ -1 +1 @@
1
- <p>Welcome to: <%= @config.class_name %></p>
1
+ <%= ui_icon_header "Welcome to <%= @config.class_name %> :-)", "home" %>
@@ -1,7 +1,9 @@
1
1
  <% flash.each do |name, msg| %>
2
- <div class="alert alert-<%= name == "notice" ? "success" : "danger" %> alert-dismissible">
3
- <button type="button" class="close" data-dismiss="alert"><span>&times;</span></button>
4
- <%= msg %>
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 class="container">
24
- <%%= render 'layouts/messages' %>
25
- <%%= yield %>
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,9 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
5
+ </head>
6
+ <body>
7
+ <%= yield %>
8
+ </body>
9
+ </html>
@@ -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.5.2
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-09 00:00:00.000000000 Z
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/.keep
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