hierapolis-rails 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +1 -1
- data/hierapolis-rails.gemspec +2 -2
- data/lib/generators/hierapolis/install_generator.rb +5 -0
- data/lib/generators/hierapolis/templates/assets/javascripts/hq/application.js.coffee +17 -0
- data/lib/generators/hierapolis/templates/assets/stylesheets/hq/application.css.sass +14 -0
- data/lib/generators/hierapolis/templates/layouts/application.html.haml +19 -6
- data/lib/generators/hierapolis/templates/layouts/hq/application.html.haml +7 -7
- data/lib/generators/hierapolis/templates/layouts/hq/partials/_footer.haml +3 -0
- data/lib/generators/hierapolis/templates/layouts/login.html.haml +6 -6
- data/lib/generators/hierapolis/templates/layouts/partials/_footer.haml +1 -4
- data/lib/hierapolis/rails/version.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5278e55dfe7ad1750cf98bcc0f3214d7e06e547
|
|
4
|
+
data.tar.gz: 105ff18504c60481bbe6d105a7c3d4084b3e122d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2a1719c033ee8afd5ddc37ce60e768fd64dab9dc65b3adf48604c606ff7dac433eeb17dd11fdad43790b79f35013c73a8d026b4970641a496f2ebf292ae1dcf
|
|
7
|
+
data.tar.gz: 5a5d816bc442225be1535300ca102986a78688cf1938af742cddcccf8b5e504afa823c76bd3cca0eb15000e3901b797fb63331de81274fbc8f473c9b539e2759
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
#### [Current]
|
|
3
|
+
* [680b141](../../commit/680b141) - __(Muhammet DİLEK)__ [#6](../../issues/6) hq assets file added to generator
|
|
4
|
+
* [6fa111a](../../commit/6fa111a) - __(Muhammet DİLEK)__ [#5](../../issues/5) Update MIT License
|
|
5
|
+
|
|
6
|
+
#### 0.3.1
|
|
7
|
+
* [d3c115f](../../commit/d3c115f) - __(Muhammet DİLEK)__ bump version 0.3.1
|
|
3
8
|
* [df919a6](../../commit/df919a6) - __(Muhammet DİLEK)__ show_for version fixed
|
|
4
9
|
|
|
5
10
|
#### 0.3.0
|
data/LICENSE.txt
CHANGED
data/hierapolis-rails.gemspec
CHANGED
|
@@ -6,8 +6,8 @@ require 'hierapolis/rails/version'
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "hierapolis-rails"
|
|
8
8
|
spec.version = Hierapolis::Rails::VERSION
|
|
9
|
-
spec.authors = ["
|
|
10
|
-
spec.email = ["
|
|
9
|
+
spec.authors = ["lab2023"]
|
|
10
|
+
spec.email = ["info@lab2023.com"]
|
|
11
11
|
spec.description = %q{This gem using to integrate hierapolis theme on rails project.}
|
|
12
12
|
spec.summary = %q{this gem using to integrate hierapolis theme on rails project.}
|
|
13
13
|
spec.homepage = ""
|
|
@@ -19,6 +19,11 @@ module Hierapolis
|
|
|
19
19
|
directory 'layouts/partials', 'app/views/layouts/partials'
|
|
20
20
|
copy_file 'layouts/login.html.haml', 'app/views/layouts/login.html.haml'
|
|
21
21
|
end
|
|
22
|
+
|
|
23
|
+
def create_hq_assets
|
|
24
|
+
directory 'assets/javascripts/hq', 'app/assets/javascripts/hq'
|
|
25
|
+
directory 'assets/stylesheets/hq', 'app/assets/stylesheets/hq'
|
|
26
|
+
end
|
|
22
27
|
end
|
|
23
28
|
end
|
|
24
29
|
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This is a manifest file that will 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 vendor/assets/javascripts of plugins, if any, 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.
|
|
9
|
+
#
|
|
10
|
+
# WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
|
11
|
+
# GO AFTER THE REQUIRES BELOW.
|
|
12
|
+
#
|
|
13
|
+
#= require jquery
|
|
14
|
+
#= require jquery_ujs
|
|
15
|
+
#= require turbolinks
|
|
16
|
+
#= require bootstrap
|
|
17
|
+
#= require hierapolis
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This is a manifest file that will be compiled into application.css, which will include all the files
|
|
3
|
+
* listed below.
|
|
4
|
+
*
|
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
|
7
|
+
*
|
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
|
10
|
+
*
|
|
11
|
+
*= require_self
|
|
12
|
+
*= require_tree .
|
|
13
|
+
|
|
14
|
+
@import 'hierapolis'
|
|
@@ -14,13 +14,26 @@
|
|
|
14
14
|
%meta(name='apple-mobile-web-app-capable' content='yes')
|
|
15
15
|
%meta(name='apple-mobile-web-app-status-bar-style' content='translucent-black')
|
|
16
16
|
|
|
17
|
-
%link(rel="shortcut icon" href="/assets/
|
|
18
|
-
%link(rel="apple-touch-icon-precomposed" href="/assets/
|
|
19
|
-
%link(rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/
|
|
20
|
-
%link(rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/
|
|
21
|
-
%link(rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/
|
|
17
|
+
%link(rel="shortcut icon" href="/assets/favicon.ico")
|
|
18
|
+
%link(rel="apple-touch-icon-precomposed" href="/assets/apple-touch-icon-precomposed.png")
|
|
19
|
+
%link(rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/apple-touch-icon-57x57-precomposed.png")
|
|
20
|
+
%link(rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/apple-touch-icon-72x72-precomposed.png")
|
|
21
|
+
%link(rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/apple-touch-icon-114x114-precomposed.png")
|
|
22
22
|
|
|
23
23
|
= csrf_meta_tags
|
|
24
24
|
|
|
25
|
+
/ Stylesheets (Don't change include order)
|
|
26
|
+
= stylesheet_link_tag 'application',
|
|
27
|
+
'//netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.min.css'
|
|
25
28
|
|
|
26
|
-
%body.main
|
|
29
|
+
%body.main{class: @page || 'page'}
|
|
30
|
+
|
|
31
|
+
/ Content
|
|
32
|
+
#content
|
|
33
|
+
= yield
|
|
34
|
+
|
|
35
|
+
/ Footer
|
|
36
|
+
= render partial: 'layouts/partials/footer'
|
|
37
|
+
|
|
38
|
+
/ Google Analytics
|
|
39
|
+
= render partial: 'layouts/partials/trackers'
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
%meta(name='apple-mobile-web-app-capable' content='yes')
|
|
15
15
|
%meta(name='apple-mobile-web-app-status-bar-style' content='translucent-black')
|
|
16
16
|
|
|
17
|
-
%link(rel="shortcut icon" href="/assets/
|
|
18
|
-
%link(rel="apple-touch-icon-precomposed" href="/assets/
|
|
19
|
-
%link(rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/
|
|
20
|
-
%link(rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/
|
|
21
|
-
%link(rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/
|
|
17
|
+
%link(rel="shortcut icon" href="/assets/favicon.ico")
|
|
18
|
+
%link(rel="apple-touch-icon-precomposed" href="/assets/apple-touch-icon-precomposed.png")
|
|
19
|
+
%link(rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/apple-touch-icon-57x57-precomposed.png")
|
|
20
|
+
%link(rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/apple-touch-icon-72x72-precomposed.png")
|
|
21
|
+
%link(rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/apple-touch-icon-114x114-precomposed.png")
|
|
22
22
|
|
|
23
23
|
= csrf_meta_tags
|
|
24
24
|
|
|
25
25
|
/ Stylesheets (Don't change include order)
|
|
26
|
-
= stylesheet_link_tag 'application',
|
|
26
|
+
= stylesheet_link_tag 'hq/application',
|
|
27
27
|
'//netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.min.css'
|
|
28
28
|
= yield :head
|
|
29
29
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
= yield
|
|
49
49
|
|
|
50
50
|
/ Footer
|
|
51
|
-
= render partial: 'layouts/partials/footer'
|
|
51
|
+
= render partial: 'layouts/hq/partials/footer'
|
|
52
52
|
|
|
53
53
|
/ Google Analytics
|
|
54
54
|
= render partial: 'layouts/partials/trackers'
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
%meta(name='apple-mobile-web-app-capable' content='yes')
|
|
15
15
|
%meta(name='apple-mobile-web-app-status-bar-style' content='translucent-black')
|
|
16
16
|
|
|
17
|
-
%link(rel="shortcut icon" href="/assets/
|
|
18
|
-
%link(rel="apple-touch-icon-precomposed" href="/assets/
|
|
19
|
-
%link(rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/
|
|
20
|
-
%link(rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/
|
|
21
|
-
%link(rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/
|
|
17
|
+
%link(rel="shortcut icon" href="/assets/favicon.ico")
|
|
18
|
+
%link(rel="apple-touch-icon-precomposed" href="/assets/apple-touch-icon-precomposed.png")
|
|
19
|
+
%link(rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/apple-touch-icon-57x57-precomposed.png")
|
|
20
|
+
%link(rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/apple-touch-icon-72x72-precomposed.png")
|
|
21
|
+
%link(rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/apple-touch-icon-114x114-precomposed.png")
|
|
22
22
|
|
|
23
23
|
/ Stylesheets (Don't change include order)
|
|
24
|
-
= stylesheet_link_tag 'application',
|
|
24
|
+
= stylesheet_link_tag 'hq/application',
|
|
25
25
|
'//netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.min.css'
|
|
26
26
|
= yield :head
|
|
27
27
|
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
/ Javascripts
|
|
3
|
-
= javascript_include_tag '//
|
|
4
|
-
'//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js',
|
|
5
|
-
'//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js',
|
|
2
|
+
= javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js',
|
|
6
3
|
'application'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hierapolis-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- lab2023
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-10-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -166,7 +166,7 @@ dependencies:
|
|
|
166
166
|
version: '0.4'
|
|
167
167
|
description: This gem using to integrate hierapolis theme on rails project.
|
|
168
168
|
email:
|
|
169
|
-
-
|
|
169
|
+
- info@lab2023.com
|
|
170
170
|
executables: []
|
|
171
171
|
extensions: []
|
|
172
172
|
extra_rdoc_files: []
|
|
@@ -181,6 +181,8 @@ files:
|
|
|
181
181
|
- config/locales/tr.yml
|
|
182
182
|
- hierapolis-rails.gemspec
|
|
183
183
|
- lib/generators/hierapolis/install_generator.rb
|
|
184
|
+
- lib/generators/hierapolis/templates/assets/javascripts/hq/application.js.coffee
|
|
185
|
+
- lib/generators/hierapolis/templates/assets/stylesheets/hq/application.css.sass
|
|
184
186
|
- lib/generators/hierapolis/templates/generators/haml/scaffold/scaffold_generator.rb
|
|
185
187
|
- lib/generators/hierapolis/templates/generators/haml/scaffold/templates/_blank.html.haml
|
|
186
188
|
- lib/generators/hierapolis/templates/generators/haml/scaffold/templates/_filters.html.haml
|
|
@@ -199,6 +201,7 @@ files:
|
|
|
199
201
|
- lib/generators/hierapolis/templates/layouts/hq/application.html.haml
|
|
200
202
|
- lib/generators/hierapolis/templates/layouts/hq/partials/_breadcrumb.haml
|
|
201
203
|
- lib/generators/hierapolis/templates/layouts/hq/partials/_dock.haml
|
|
204
|
+
- lib/generators/hierapolis/templates/layouts/hq/partials/_footer.haml
|
|
202
205
|
- lib/generators/hierapolis/templates/layouts/hq/partials/_navbar.haml
|
|
203
206
|
- lib/generators/hierapolis/templates/layouts/hq/partials/_toolbar.haml
|
|
204
207
|
- lib/generators/hierapolis/templates/layouts/login.html.haml
|