jobshop 0.0.2.5 → 0.0.2.6

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: 3282f194bfc24b559fdc6df36835da1d03bc0b76
4
- data.tar.gz: 1c2dc22d102bf15ba8ff4a00f19a5347f6d7a165
3
+ metadata.gz: 56d1a26acf3009b9ac73df14f8951a36679c8fd3
4
+ data.tar.gz: 054b8d89554a40eb3981b8b8130125dd42218982
5
5
  SHA512:
6
- metadata.gz: 98f68b022153c5ce64ff8147e30c6a79b16abe703282e6267a1c3e0ebd82db3baaaf212f19cbb1975bbf4e34963999833f71faef4c1be1dc59f7f0ed1ae10967
7
- data.tar.gz: c967f0d5f8a489b4c7358cc0bfbf97773f9e4dded8cf02d048754f6730ce09faee117231f11423f008e668178221eb8e8d8ec738d744a176498dc0cf7aad1901
6
+ metadata.gz: 77239496b5ec82eb2cc864fdb850afe843cb96588bef3c9f2a4dd017f222e9b66f74d8cacb5940838c25740cc1e997c0c6999ac766009828df989139c74c79e4
7
+ data.tar.gz: 4eb6c2823a4fda7bfe61e106053e55012d8feef59a80adf594c70181ce281f3d91a271a421cf316801f1508d90ace5784620f7f8015d3e47653a41df2ea0c8f3
@@ -17,24 +17,6 @@ html {
17
17
  margin: 0;
18
18
  }
19
19
 
20
- body[data-pages-index] {
21
- margin: 1rem;
22
-
23
- > header,
24
- > main,
25
- > footer {
26
- display: flex;
27
- flex-direction: column;
28
- justify-content: center;
29
- align-items: center;
30
-
31
- > section {
32
- width: 24rem;
33
- @media #{$small-and-down} { width: 100%; }
34
- }
35
- }
36
- }
37
-
38
20
  h2 { font-family: 'Lora', serif; }
39
21
 
40
22
  .bubble:before {
@@ -69,6 +51,6 @@ html {
69
51
  font-size: 1.5rem;
70
52
  font-weight: 300;
71
53
  }
72
-
73
- @import "pages/index";
74
54
  }
55
+
56
+ @import "pages/index";
@@ -0,0 +1,19 @@
1
+ html[data-controller="jobshop/pages"] {
2
+ body[data-slug~="index"] {
3
+ margin: 1rem;
4
+
5
+ > header,
6
+ > main,
7
+ > footer {
8
+ display: flex;
9
+ flex-direction: column;
10
+ justify-content: center;
11
+ align-items: center;
12
+
13
+ > section {
14
+ width: 24rem;
15
+ @media #{$small-and-down} { width: 100%; }
16
+ }
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,11 @@
1
+ = content_for(:data_slug){ "index" }
2
+
3
+ %header
4
+ %object.logo{ type: "image/svg+xml", data: image_path("jobshop/logo.svg") }
5
+
6
+ %main
7
+ %section{ class: "card hoverable bubble" }
8
+ .card-content
9
+ %p.sub-head.center
10
+ Powered By
11
+ %b Jobshop
@@ -0,0 +1,14 @@
1
+ !!!
2
+ %html{ lang: "en", data: { controller: controller_path, action: action_name }}
3
+ %head
4
+ %meta{ content: "text/html; charset=UTF-8", "http-equiv": "Content-Type" }/
5
+ %meta{ name: "viewport", content: "width=device-width, initial-scale=1.0" }/
6
+ %title Jobshop
7
+
8
+ = stylesheet_link_tag "jobshop/application", media: "all", "data-turbolinks-track": "reload"
9
+ = stylesheet_link_tag "https://fonts.googleapis.com/icon?family=Material+Icons"
10
+ = javascript_include_tag "jobshop/application", "data-turbolinks-track": "reload"
11
+ = csrf_meta_tags
12
+
13
+ %body{ data: { slug: yield(:data_slug) }}
14
+ = content_for?(:content) ? yield(:content) : yield
@@ -1,10 +1,10 @@
1
1
  require "devise"
2
+ require "haml-rails"
2
3
  require "jquery-rails"
3
4
  require "materialize-sass"
4
5
  require "pundit"
5
6
  require "rolify"
6
7
  require "sass-rails"
7
- require "slim-rails"
8
8
  require "turbolinks"
9
9
 
10
10
  module Jobshop
@@ -7,7 +7,7 @@ module Jobshop
7
7
  MAJOR = 0
8
8
  MINOR = 0
9
9
  TINY = 2
10
- PRE = 5
10
+ PRE = 6
11
11
 
12
12
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jobshop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.5
4
+ version: 0.0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank J. Mattia
@@ -44,6 +44,20 @@ dependencies:
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '4.1'
47
+ - !ruby/object:Gem::Dependency
48
+ name: haml-rails
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: 0.9.0
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: 0.9.0
47
61
  - !ruby/object:Gem::Dependency
48
62
  name: jquery-rails
49
63
  requirement: !ruby/object:Gem::Requirement
@@ -134,20 +148,6 @@ dependencies:
134
148
  - - "~>"
135
149
  - !ruby/object:Gem::Version
136
150
  version: 5.0.4
137
- - !ruby/object:Gem::Dependency
138
- name: slim-rails
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - "~>"
142
- - !ruby/object:Gem::Version
143
- version: 3.0.1
144
- type: :runtime
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - "~>"
149
- - !ruby/object:Gem::Version
150
- version: 3.0.1
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: turbolinks
153
153
  requirement: !ruby/object:Gem::Requirement
@@ -272,7 +272,7 @@ dependencies:
272
272
  - - "~>"
273
273
  - !ruby/object:Gem::Version
274
274
  version: '3.0'
275
- description: Continuously monitor and improve your manufacturing process.
275
+ description: Continuously improve your manufacturing process.
276
276
  email:
277
277
  - frankjmattia@gmail.com
278
278
  executables: []
@@ -295,8 +295,8 @@ files:
295
295
  - app/jobs/jobshop/application_job.rb
296
296
  - app/models/application_record.rb
297
297
  - app/policies/jobshop/application_policy.rb
298
- - app/views/jobshop/pages/index.html.slim
299
- - app/views/layouts/jobshop/application.html.erb
298
+ - app/views/jobshop/pages/index.html.haml
299
+ - app/views/layouts/jobshop/application.html.haml
300
300
  - config/initializers/assets.rb
301
301
  - config/routes.rb
302
302
  - db/migrate/keep
@@ -1,8 +0,0 @@
1
- = content_for(:data_attr){"data-pages-index"}
2
- header
3
- object.logo*{ type: "image/svg+xml", data: image_path("jobshop/logo.svg") }
4
-
5
- main
6
- section*{ class: "card hoverable bubble" }
7
- .card-content
8
- p.sub-head.center Powered By Jobshop
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Jobshop</title>
5
- <%= stylesheet_link_tag "jobshop/application", media: "all" %>
6
- <%= javascript_include_tag "jobshop/application" %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body <%= yield(:data_attr)%>>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>