emmet_layout 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d471143d28b5b5dbc69ef3f054d1165ceffa00c6
4
+ data.tar.gz: 8813fc237bc5634129c014da669032e71c543ab8
5
+ SHA512:
6
+ metadata.gz: 6f011a6b8b2b3d64d25e5e3c2301fca65c0ab8b7ee6b2901a5e288a7ad765b456f7e21cd498dbf17effa0c77ccf212c3d967aa3d57b302b7655e5aa8c60e0643
7
+ data.tar.gz: cd196814a35d4229304098e402a0c5649d664494046741d8b43542204718d8ca3959f6e9b45f2ababb46a8e1755070dfd55ac0bae941923a33eff75c2976a1f2
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2016 Walmir Neto
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ = EmmetLayout
2
+
3
+ This project rocks and uses MIT-LICENSE.
data/Rakefile ADDED
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
7
+
8
+ require 'rdoc/task'
9
+
10
+ RDoc::Task.new(:rdoc) do |rdoc|
11
+ rdoc.rdoc_dir = 'rdoc'
12
+ rdoc.title = 'EmmetLayout'
13
+ rdoc.options << '--line-numbers'
14
+ rdoc.rdoc_files.include('README.rdoc')
15
+ rdoc.rdoc_files.include('lib/**/*.rb')
16
+ end
17
+
18
+ APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__)
19
+ load 'rails/tasks/engine.rake'
20
+
21
+ load 'rails/tasks/statistics.rake'
22
+
23
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,13 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require_tree .
@@ -0,0 +1,5 @@
1
+ // Bower Components
2
+ @import 'bootstrap/less/bootstrap';
3
+
4
+ // Stylesheets
5
+ @import 'styles/application.css';
@@ -0,0 +1,6 @@
1
+ @import url(https://fonts.googleapis.com/css?family=Varela+Round|Source+Code+Pro);
2
+
3
+ body {
4
+ cursor: default;
5
+ padding-top: 50px;
6
+ }
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+ module Emmet
3
+ module Layout
4
+ class ApplicationController < ActionController::Base
5
+ protect_from_forgery with: :exception
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+ module Emmet
3
+ module Layout
4
+ module ApplicationHelper
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+ module Emmet
3
+ module Layout
4
+ class ApplicationMailer < ActionMailer::Base
5
+ default from: 'from@example.com'
6
+ layout 'mailer'
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+ module Emmet
3
+ module Layout
4
+ class ApplicationRecord < ActiveRecord::Base
5
+ self.abstract_class = true
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,37 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Emmet layout</title>
5
+ <%= stylesheet_link_tag 'emmet/layout/application', media: 'all' %>
6
+ <%= javascript_include_tag 'emmet/layout/application' %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+
11
+ <nav class="navbar navbar-inverse navbar-fixed-top">
12
+ <div class="container">
13
+ <div class="navbar-header">
14
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
15
+ <span class="sr-only">Toggle navigation</span>
16
+ <span class="icon-bar"></span>
17
+ <span class="icon-bar"></span>
18
+ <span class="icon-bar"></span>
19
+ </button>
20
+ <a class="navbar-brand" href="#">Emmet layout</a>
21
+ </div>
22
+ <div id="navbar" class="collapse navbar-collapse">
23
+ <ul class="nav navbar-nav">
24
+ <li class="active"><a href="#">Home</a></li>
25
+ <li><a href="#about">About</a></li>
26
+ <li><a href="#contact">Contact</a></li>
27
+ </ul>
28
+ </div><!--/.nav-collapse -->
29
+ </div>
30
+ </nav>
31
+
32
+ <div class="container">
33
+ <%= yield %>
34
+ </div><!-- /.container -->
35
+
36
+ </body>
37
+ </html>
data/config/routes.rb ADDED
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+ Emmet::Layout::Engine.routes.draw do
3
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+ module Emmet
3
+ module Layout
4
+ class Engine < ::Rails::Engine
5
+ isolate_namespace Emmet::Layout
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+ module Emmet
3
+ module Layout
4
+ VERSION = '0.0.1'
5
+ end
6
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+ require 'emmet/layout/engine'
3
+
4
+ # Gems
5
+ require 'less-rails'
6
+
7
+ module EmmetLayout
8
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+ # desc "Explaining what the task does"
3
+ # task :emmet_layout do
4
+ # # Task goes here
5
+ # end
metadata ADDED
@@ -0,0 +1,183 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: emmet_layout
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Walmir Neto
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-06-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 4.2.6
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '4.2'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 4.2.6
33
+ - !ruby/object:Gem::Dependency
34
+ name: less-rails
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2.7'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.7.1
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '2.7'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.7.1
53
+ - !ruby/object:Gem::Dependency
54
+ name: therubyracer
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: 0.12.2
60
+ type: :runtime
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: 0.12.2
67
+ - !ruby/object:Gem::Dependency
68
+ name: rubocop
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: 0.38.0
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: 0.38.0
81
+ - !ruby/object:Gem::Dependency
82
+ name: factory_girl_rails
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - "~>"
86
+ - !ruby/object:Gem::Version
87
+ version: '4.6'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - "~>"
93
+ - !ruby/object:Gem::Version
94
+ version: '4.6'
95
+ - !ruby/object:Gem::Dependency
96
+ name: rspec-rails
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '3.4'
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: 3.4.2
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '3.4'
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: 3.4.2
115
+ - !ruby/object:Gem::Dependency
116
+ name: shoulda-matchers
117
+ requirement: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - "~>"
120
+ - !ruby/object:Gem::Version
121
+ version: '3.1'
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 3.1.1
125
+ type: :development
126
+ prerelease: false
127
+ version_requirements: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '3.1'
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: 3.1.1
135
+ description: Layout for apps Emmet.
136
+ email:
137
+ - wfsneto@gmail.com
138
+ executables: []
139
+ extensions: []
140
+ extra_rdoc_files: []
141
+ files:
142
+ - MIT-LICENSE
143
+ - README.md
144
+ - Rakefile
145
+ - app/assets/javascripts/emmet/layout/application.js
146
+ - app/assets/stylesheets/emmet/layout/application.css.less
147
+ - app/assets/stylesheets/emmet/layout/styles/application.css.less
148
+ - app/controllers/emmet/layout/application_controller.rb
149
+ - app/helpers/emmet/layout/application_helper.rb
150
+ - app/mailers/emmet/layout/application_mailer.rb
151
+ - app/models/emmet/layout/application_record.rb
152
+ - app/views/layouts/emmet/layout/application.html.erb
153
+ - config/routes.rb
154
+ - lib/emmet/layout/engine.rb
155
+ - lib/emmet/layout/version.rb
156
+ - lib/emmet_layout.rb
157
+ - lib/tasks/emmet_layout_tasks.rake
158
+ homepage: https://bitbucket.org/wfsneto/emmet_layout
159
+ licenses:
160
+ - MIT
161
+ metadata: {}
162
+ post_install_message:
163
+ rdoc_options: []
164
+ require_paths:
165
+ - lib
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ required_rubygems_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
176
+ requirements: []
177
+ rubyforge_project:
178
+ rubygems_version: 2.5.1
179
+ signing_key:
180
+ specification_version: 4
181
+ summary: Emmet Layout
182
+ test_files: []
183
+ has_rdoc: