lasha 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/lasha/mailer.sass +107 -0
- data/app/assets/stylesheets/lasha.sass +109 -0
- data/app/mailers/lasha_application_mailer.rb +3 -0
- data/app/mailers/lasha_mailer.rb +11 -0
- data/app/views/layouts/lasha_mailer_layout.html.slim +8 -0
- data/app/views/mailers/lasha/notify.html.slim +9 -0
- data/config/initializers/lasha_assets.rb +1 -0
- data/lib/lasha/version.rb +1 -1
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad04444d034b66f3cec747f25ded2198df2b3a4975daff4cb00b430b79a2f4b4
|
4
|
+
data.tar.gz: ba6b70fc5ed4dd13e1cd99737f058b7e48ef8ba7a6db2abe24697359993ff7ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3515341339965949b13462ef8e4c452f57c567f06b07f3dc7baa6330450910ea320d5923773b273851b434b65b6cc282970057ac4c2810db2e38c1fa039bb87
|
7
|
+
data.tar.gz: 0c80a65bfa2ea480d4c0b94dc4dec22f4b96efdb630d520382b79b6727a6153694e7c6f19d09ca54db7f78494176b58dc8a1341a2d7efede0f6bd2293edf4138
|
@@ -0,0 +1,107 @@
|
|
1
|
+
@media (min-width: 576px)
|
2
|
+
.container
|
3
|
+
max-width: 540px
|
4
|
+
.col-sm-12
|
5
|
+
flex: 0 0 100%
|
6
|
+
max-width: 100%
|
7
|
+
|
8
|
+
@media (min-width: 768px)
|
9
|
+
.container
|
10
|
+
max-width: 720px
|
11
|
+
|
12
|
+
@media (min-width: 992px)
|
13
|
+
.container
|
14
|
+
max-width: 960px
|
15
|
+
|
16
|
+
@media (min-width: 1200px)
|
17
|
+
.container
|
18
|
+
max-width: 1140px
|
19
|
+
|
20
|
+
body
|
21
|
+
box-sizing: border-box
|
22
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
|
23
|
+
font-size: 1em
|
24
|
+
font-weight: 400
|
25
|
+
line-height: 1.5
|
26
|
+
background-color: #fff
|
27
|
+
color: #23384d
|
28
|
+
text-align: left
|
29
|
+
text-shadow: none !important
|
30
|
+
box-shadow: none !important
|
31
|
+
min-width: 992px !important
|
32
|
+
-webkit-user-select: none
|
33
|
+
-moz-user-select: none
|
34
|
+
-ms-user-select: none
|
35
|
+
user-select: none
|
36
|
+
height: 100%
|
37
|
+
margin: 0
|
38
|
+
|
39
|
+
.container
|
40
|
+
box-sizing: border-box
|
41
|
+
width: 100%
|
42
|
+
margin-right: auto
|
43
|
+
margin-left: auto
|
44
|
+
text-shadow: none !important
|
45
|
+
box-shadow: none !important
|
46
|
+
min-width: 992px !important
|
47
|
+
padding: 3rem
|
48
|
+
|
49
|
+
.row
|
50
|
+
box-sizing: border-box
|
51
|
+
display: flex
|
52
|
+
flex-wrap: wrap
|
53
|
+
margin-right: -15px
|
54
|
+
margin-left: -15px
|
55
|
+
text-shadow: none !important
|
56
|
+
box-shadow: none !important
|
57
|
+
|
58
|
+
.col-sm-12
|
59
|
+
box-sizing: border-box
|
60
|
+
position: relative
|
61
|
+
width: 100%
|
62
|
+
padding-right: 15px
|
63
|
+
padding-left: 15px
|
64
|
+
text-shadow: none !important
|
65
|
+
box-shadow: none !important
|
66
|
+
|
67
|
+
.card
|
68
|
+
box-sizing: border-box
|
69
|
+
position: relative
|
70
|
+
display: flex
|
71
|
+
flex-direction: column
|
72
|
+
min-width: 0
|
73
|
+
word-wrap: break-word
|
74
|
+
background-color: #fff
|
75
|
+
background-clip: border-box
|
76
|
+
border-radius: 0.25rem
|
77
|
+
text-shadow: none !important
|
78
|
+
box-shadow: none !important
|
79
|
+
border: 1px solid rgba(0,0,0,0.125)
|
80
|
+
|
81
|
+
.card-header
|
82
|
+
box-sizing: border-box
|
83
|
+
margin-bottom: 0
|
84
|
+
background-color: rgba(0, 0, 0, 0.03)
|
85
|
+
border-bottom-width: 1px
|
86
|
+
border-bottom-color: rgba(0, 0, 0, 0.125)
|
87
|
+
border-bottom-style: solid
|
88
|
+
border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0
|
89
|
+
text-shadow: none !important
|
90
|
+
box-shadow: none !important
|
91
|
+
padding: 0.75rem 1.25rem
|
92
|
+
|
93
|
+
.card-body
|
94
|
+
box-sizing: border-box
|
95
|
+
flex: 1 1 auto
|
96
|
+
text-shadow: none !important
|
97
|
+
box-shadow: none !important
|
98
|
+
padding: 1.25rem
|
99
|
+
|
100
|
+
p.card-text
|
101
|
+
box-sizing: border-box
|
102
|
+
text-shadow: none !important
|
103
|
+
box-shadow: none !important
|
104
|
+
orphans: 3
|
105
|
+
widows: 3
|
106
|
+
line-height: 1.6
|
107
|
+
margin: 0
|
@@ -1,3 +1,112 @@
|
|
1
|
+
@media (min-width: 576px)
|
2
|
+
.container
|
3
|
+
max-width: 540px
|
4
|
+
.col-sm-12
|
5
|
+
flex: 0 0 100%
|
6
|
+
max-width: 100%
|
7
|
+
|
8
|
+
@media (min-width: 768px)
|
9
|
+
.container
|
10
|
+
max-width: 720px
|
11
|
+
|
12
|
+
@media (min-width: 992px)
|
13
|
+
.container
|
14
|
+
max-width: 960px
|
15
|
+
|
16
|
+
@media (min-width: 1200px)
|
17
|
+
.container
|
18
|
+
max-width: 1140px
|
19
|
+
|
20
|
+
body
|
21
|
+
box-sizing: border-box
|
22
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
|
23
|
+
font-size: 1em
|
24
|
+
font-weight: 400
|
25
|
+
line-height: 1.5
|
26
|
+
background-color: #fff
|
27
|
+
color: #23384d
|
28
|
+
text-align: left
|
29
|
+
text-shadow: none !important
|
30
|
+
box-shadow: none !important
|
31
|
+
min-width: 992px !important
|
32
|
+
-webkit-user-select: none
|
33
|
+
-moz-user-select: none
|
34
|
+
-ms-user-select: none
|
35
|
+
user-select: none
|
36
|
+
height: 100%
|
37
|
+
margin: 0
|
38
|
+
|
39
|
+
.container
|
40
|
+
box-sizing: border-box
|
41
|
+
width: 100%
|
42
|
+
margin-right: auto
|
43
|
+
margin-left: auto
|
44
|
+
text-shadow: none !important
|
45
|
+
box-shadow: none !important
|
46
|
+
min-width: 992px !important
|
47
|
+
padding: 3rem
|
48
|
+
|
49
|
+
.row
|
50
|
+
box-sizing: border-box
|
51
|
+
display: flex
|
52
|
+
flex-wrap: wrap
|
53
|
+
margin-right: -15px
|
54
|
+
margin-left: -15px
|
55
|
+
text-shadow: none !important
|
56
|
+
box-shadow: none !important
|
57
|
+
|
58
|
+
.col-sm-12
|
59
|
+
box-sizing: border-box
|
60
|
+
position: relative
|
61
|
+
width: 100%
|
62
|
+
padding-right: 15px
|
63
|
+
padding-left: 15px
|
64
|
+
text-shadow: none !important
|
65
|
+
box-shadow: none !important
|
66
|
+
|
67
|
+
.card
|
68
|
+
box-sizing: border-box
|
69
|
+
position: relative
|
70
|
+
display: flex
|
71
|
+
flex-direction: column
|
72
|
+
min-width: 0
|
73
|
+
word-wrap: break-word
|
74
|
+
background-color: #fff
|
75
|
+
background-clip: border-box
|
76
|
+
border-radius: 0.25rem
|
77
|
+
text-shadow: none !important
|
78
|
+
box-shadow: none !important
|
79
|
+
border: 1px solid rgba(0,0,0,0.125)
|
80
|
+
|
81
|
+
.card-header
|
82
|
+
box-sizing: border-box
|
83
|
+
margin-bottom: 0
|
84
|
+
background-color: rgba(0, 0, 0, 0.03)
|
85
|
+
border-bottom-width: 1px
|
86
|
+
border-bottom-color: rgba(0, 0, 0, 0.125)
|
87
|
+
border-bottom-style: solid
|
88
|
+
border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0
|
89
|
+
text-shadow: none !important
|
90
|
+
box-shadow: none !important
|
91
|
+
padding: 0.75rem 1.25rem
|
92
|
+
|
93
|
+
.card-body
|
94
|
+
box-sizing: border-box
|
95
|
+
flex: 1 1 auto
|
96
|
+
text-shadow: none !important
|
97
|
+
box-shadow: none !important
|
98
|
+
padding: 1.25rem
|
99
|
+
|
100
|
+
p.card-text
|
101
|
+
box-sizing: border-box
|
102
|
+
text-shadow: none !important
|
103
|
+
box-shadow: none !important
|
104
|
+
orphans: 3
|
105
|
+
widows: 3
|
106
|
+
line-height: 1.6
|
107
|
+
margin: 0
|
108
|
+
|
109
|
+
|
1
110
|
.btn-group-xs > .btn, .btn-xs
|
2
111
|
padding: .25em .4em
|
3
112
|
font-size: .875em
|
@@ -0,0 +1,11 @@
|
|
1
|
+
class LashaMailer < LashaApplicationMailer
|
2
|
+
def notify(destination_email, subject, body)
|
3
|
+
@data = { subject: subject, body: body }
|
4
|
+
mail(
|
5
|
+
to: destination_email,
|
6
|
+
subject: subject,
|
7
|
+
template_path: "mailers/lasha",
|
8
|
+
# template_name: "notify"
|
9
|
+
)
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
Rails.application.config.assets.precompile += %w[lasha/mailer.css]
|
data/lib/lasha/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lasha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lasha Abulashvili
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 5.2.3
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sassc-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: sqlite3
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +64,13 @@ files:
|
|
50
64
|
- Rakefile
|
51
65
|
- app/assets/config/lasha_manifest.js
|
52
66
|
- app/assets/stylesheets/lasha.sass
|
67
|
+
- app/assets/stylesheets/lasha/mailer.sass
|
68
|
+
- app/mailers/lasha_application_mailer.rb
|
69
|
+
- app/mailers/lasha_mailer.rb
|
70
|
+
- app/views/layouts/lasha_mailer_layout.html.slim
|
71
|
+
- app/views/mailers/lasha/notify.html.slim
|
53
72
|
- app/views/shared/_index_generator.html.slim
|
73
|
+
- config/initializers/lasha_assets.rb
|
54
74
|
- config/routes.rb
|
55
75
|
- lib/lasha.rb
|
56
76
|
- lib/lasha/engine.rb
|