hierapolis-rails 0.3.1 → 0.4.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: 59add903d1f5652c6c275e296d917dd5458c8705
4
- data.tar.gz: aa71a4e018e88a09b5938962d3252f692210a6bc
3
+ metadata.gz: d5278e55dfe7ad1750cf98bcc0f3214d7e06e547
4
+ data.tar.gz: 105ff18504c60481bbe6d105a7c3d4084b3e122d
5
5
  SHA512:
6
- metadata.gz: e7c834c28b38919eb3488140fc54f2a12e7078c4c155fa30e1bde091fd6aa768ff395779158b03fd9db2be674b6d548ce9187295e8eb4bb243d9c34bfbede5cc
7
- data.tar.gz: 66d22daae8a35437f042df665f0959fb7b15f7427d51dc6c60f704d0c97464b1ba17dc74b5fd9fc0bc44637555789d816be37a2a3b07acd060c99363d6a81ee0
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Muhammet DİLEK
1
+ Copyright (c) 2013 lab2023 - internet technologies
2
2
 
3
3
  MIT License
4
4
 
@@ -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 = ["Muhammet DİLEK"]
10
- spec.email = ["muhammet.dilek@lab2023.com"]
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/images/favicon.ico")
18
- %link(rel="apple-touch-icon-precomposed" href="/assets/images/apple-touch-icon-precomposed.png")
19
- %link(rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/images/apple-touch-icon-57x57-precomposed.png")
20
- %link(rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/images/apple-touch-icon-72x72-precomposed.png")
21
- %link(rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/images/apple-touch-icon-114x114-precomposed.png")
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/images/favicon.ico")
18
- %link(rel="apple-touch-icon-precomposed" href="/assets/images/apple-touch-icon-precomposed.png")
19
- %link(rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/images/apple-touch-icon-57x57-precomposed.png")
20
- %link(rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/images/apple-touch-icon-72x72-precomposed.png")
21
- %link(rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/images/apple-touch-icon-114x114-precomposed.png")
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'
@@ -0,0 +1,3 @@
1
+ / Javascripts
2
+ = javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js',
3
+ 'hq/application'
@@ -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/images/favicon.ico")
18
- %link(rel="apple-touch-icon-precomposed" href="/assets/images/apple-touch-icon-precomposed.png")
19
- %link(rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/images/apple-touch-icon-57x57-precomposed.png")
20
- %link(rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/images/apple-touch-icon-72x72-precomposed.png")
21
- %link(rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/images/apple-touch-icon-114x114-precomposed.png")
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 '//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js',
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'
@@ -1,5 +1,5 @@
1
1
  module Hierapolis
2
2
  module Rails
3
- VERSION = "0.3.1"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
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.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
- - Muhammet DİLEK
7
+ - lab2023
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-26 00:00:00.000000000 Z
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
- - muhammet.dilek@lab2023.com
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