puffly 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/lib/puffly/version.rb +1 -1
- data/puffly.gemspec +0 -1
- data/vendor/assets/javascripts/puffly.coffee +20 -3
- data/vendor/assets/stylesheets/puffly.sass +1 -2
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93a220cf8e1a3f30da0cee5c511546bf28a5aa3a062f60537050715cabe45324
|
4
|
+
data.tar.gz: e022c30355647034feaadfe27dea2efb0fe30f738e905db3c014a166594b9702
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b08cff247f3aba34c168741c79155c434b1a277798fb5c5d754b5e6d5bd224fbf9df041ca7e50a717d05ca354d4bcd273169c682e226f8cf8bcb787e39378adb
|
7
|
+
data.tar.gz: 5bc6016378be04ee98bc3643a0d2096f33a925c1dad769c7c7060a5d92d1cf75bc8d0a6f66ef391843321ef8a544a48115212ee6cba30a0c5d059b1f2c734b9d
|
data/Gemfile
CHANGED
data/lib/puffly/version.rb
CHANGED
data/puffly.gemspec
CHANGED
@@ -32,7 +32,6 @@ Gem::Specification.new do |spec|
|
|
32
32
|
# development dependencies
|
33
33
|
spec.add_development_dependency 'bundler', '~> 1.13'
|
34
34
|
spec.add_development_dependency 'coffee-rails', '~> 4.2'
|
35
|
-
spec.add_development_dependency 'jquery-rails', '~> 4.3'
|
36
35
|
spec.add_development_dependency 'rails', '~> 4.0'
|
37
36
|
spec.add_development_dependency 'rake', '~> 12.3'
|
38
37
|
spec.add_development_dependency 'sass', '~> 3.4'
|
@@ -1,4 +1,21 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
fadeIn = (el) ->
|
2
|
+
el.style.opacity = '0.7'
|
3
|
+
el.style.transition = 'opacity 1000ms'
|
4
4
|
return
|
5
|
+
|
6
|
+
fadeOut = (el) ->
|
7
|
+
el.style.opacity = '0'
|
8
|
+
return
|
9
|
+
|
10
|
+
window.addEventListener 'load', ->
|
11
|
+
el = document.getElementById('puffly')
|
12
|
+
if el
|
13
|
+
setTimeout (->
|
14
|
+
fadeIn el
|
15
|
+
return
|
16
|
+
), 100
|
17
|
+
setTimeout (->
|
18
|
+
fadeOut el
|
19
|
+
return
|
20
|
+
), 4000
|
21
|
+
return
|
@@ -10,7 +10,6 @@ $color-white: #FFFFFF
|
|
10
10
|
$font-family: Helvetica, sans-serif
|
11
11
|
|
12
12
|
#puffly
|
13
|
-
display: none
|
14
13
|
position: fixed
|
15
14
|
min-width: 5%
|
16
15
|
max-width: 15%
|
@@ -21,7 +20,7 @@ $font-family: Helvetica, sans-serif
|
|
21
20
|
font-size: 1rem
|
22
21
|
color: $color-white
|
23
22
|
padding: 15px 20px
|
24
|
-
opacity: 0
|
23
|
+
opacity: 0
|
25
24
|
font-family: $font-family
|
26
25
|
&.success
|
27
26
|
background-color: $color-sucess
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puffly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Rodríguez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '4.2'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: jquery-rails
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '4.3'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '4.3'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rails
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
121
|
- !ruby/object:Gem::Version
|
136
122
|
version: '0'
|
137
123
|
requirements: []
|
138
|
-
rubygems_version: 3.0.
|
124
|
+
rubygems_version: 3.0.3
|
139
125
|
signing_key:
|
140
126
|
specification_version: 4
|
141
127
|
summary: Cute flash messages for your ruby on rails application.
|