puffly 0.2.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +11 -0
- data/Gemfile +3 -0
- data/README.md +1 -0
- data/Rakefile +12 -0
- data/lib/puffly.rb +8 -5
- data/lib/puffly/engine.rb +6 -4
- data/lib/puffly/version.rb +3 -1
- data/puffly.gemspec +39 -38
- data/vendor/assets/stylesheets/puffly.sass +20 -23
- metadata +19 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1272d03542ae05d163e358284c42eed43be9777e0dac8f113e8b073fa3c606e3
|
4
|
+
data.tar.gz: 3c743b7810a603b5f462644ee60489e05c6b395cae0f7f59ee27859ce4dd7cfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efbc3585726ac61ca325e1840fe24a554095c89cead939b03a9f173218ddd1e77b1346c66ec19298cdee3b56e9851199b480af502269c8bf5ad563b29850173e
|
7
|
+
data.tar.gz: 6126c42b1d7d51da28b682710f55762fd0879b692da4fc64be4c70135467ca2c76fb7ea00d17cb0369f35d4a4e9c62a0679b10e254a54cbf139ef33e35820b4d
|
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/puffly.svg)](https://badge.fury.io/rb/puffly)
|
4
4
|
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/bbf2d676a27842eab590d8dac0cda3ca)](https://www.codacy.com/app/Kevyder/puffly?utm_source=github.com&utm_medium=referral&utm_content=kevyder/puffly&utm_campaign=Badge_Grade)
|
5
|
+
[![Build Status](https://travis-ci.org/kevyder/puffly.svg?branch=master)](https://travis-ci.org/kevyder/puffly)
|
5
6
|
|
6
7
|
|
7
8
|
Fun and cute flash messages for your Ruby on Rails application.
|
data/Rakefile
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'rubocop/rake_task'
|
4
|
+
|
5
|
+
desc 'Run RuboCop on the lib directory'
|
6
|
+
RuboCop::RakeTask.new(:rubocop) do |task|
|
7
|
+
task.patterns = ['lib/**/*.rb']
|
8
|
+
# don't abort rake on failure
|
9
|
+
task.fail_on_error = false
|
10
|
+
end
|
11
|
+
|
12
|
+
task default: %i[rubocop]
|
data/lib/puffly.rb
CHANGED
@@ -1,5 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'puffly/version'
|
4
|
+
require 'puffly/engine' if defined?(Rails) && defined?(Rails::Engine)
|
5
|
+
|
6
|
+
# By Kevin Rodriguez (kevyder)
|
7
|
+
module Puffly
|
8
|
+
end
|
data/lib/puffly/engine.rb
CHANGED
data/lib/puffly/version.rb
CHANGED
data/puffly.gemspec
CHANGED
@@ -1,38 +1,39 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
spec.
|
9
|
-
spec.
|
10
|
-
spec.
|
11
|
-
|
12
|
-
|
13
|
-
spec.
|
14
|
-
spec.
|
15
|
-
spec.
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
spec.
|
29
|
-
spec.
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
spec.add_development_dependency '
|
34
|
-
spec.add_development_dependency 'rails', '~> 4.
|
35
|
-
spec.add_development_dependency 'jquery-rails', '~> 3
|
36
|
-
spec.add_development_dependency '
|
37
|
-
spec.add_development_dependency '
|
38
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'puffly/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'puffly'
|
9
|
+
spec.version = Puffly::VERSION
|
10
|
+
spec.authors = ["Kevin Rodr\u00EDguez"]
|
11
|
+
spec.email = ['kyrodriguez97@gmail.com']
|
12
|
+
|
13
|
+
spec.summary = 'Cute flash messages for your ruby on rails application.'
|
14
|
+
spec.description = 'Cute flash messages for your ruby on rails application.'
|
15
|
+
spec.homepage = 'https://github.com/kevyder/puffly'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
if spec.respond_to?(:metadata)
|
19
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
20
|
+
else
|
21
|
+
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
22
|
+
'public gem pushes.'
|
23
|
+
end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
26
|
+
f.match(%r{^(test|spec|features)/})
|
27
|
+
end
|
28
|
+
spec.bindir = 'exe'
|
29
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
|
+
spec.require_paths = ['lib']
|
31
|
+
|
32
|
+
# development dependencies
|
33
|
+
spec.add_development_dependency 'bundler', '~> 1.13'
|
34
|
+
spec.add_development_dependency 'coffee-rails', '~> 4.2'
|
35
|
+
spec.add_development_dependency 'jquery-rails', '~> 4.3'
|
36
|
+
spec.add_development_dependency 'rails', '~> 4.0'
|
37
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
38
|
+
spec.add_development_dependency 'sass', '~> 3.4'
|
39
|
+
end
|
@@ -1,11 +1,13 @@
|
|
1
|
-
// Variables
|
2
|
-
$color-sucess: #
|
3
|
-
$color-error: #
|
4
|
-
$color-warning: #
|
1
|
+
// Color Variables
|
2
|
+
$color-sucess: #3DC763
|
3
|
+
$color-error: #ED3D3D
|
4
|
+
$color-warning: #FF9800
|
5
5
|
$color-notice: #2B5C7F
|
6
6
|
$color-alert: #03A9F4
|
7
|
-
$white: #
|
8
|
-
|
7
|
+
$color-white: #FFFFFF
|
8
|
+
|
9
|
+
// Fonts Variables
|
10
|
+
$font-family: Helvetica, sans-serif
|
9
11
|
|
10
12
|
#puffly
|
11
13
|
display: none
|
@@ -17,22 +19,17 @@ $font: Helvetica, sans-serif
|
|
17
19
|
bottom: 5%
|
18
20
|
z-index: 999
|
19
21
|
font-size: 1rem
|
20
|
-
color: $white
|
22
|
+
color: $color-white
|
21
23
|
padding: 15px 20px
|
22
24
|
opacity: 0.7
|
23
|
-
font-family: $font
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
#puffly.notice
|
35
|
-
background-color: $color-notice
|
36
|
-
|
37
|
-
#puffly.alert
|
38
|
-
background-color: $color-alert
|
25
|
+
font-family: $font-family
|
26
|
+
&.success
|
27
|
+
background-color: $color-sucess
|
28
|
+
&.error
|
29
|
+
background-color: $color-error
|
30
|
+
&.warning
|
31
|
+
background-color: $color-warning
|
32
|
+
&.notice
|
33
|
+
background-color: $color-notice
|
34
|
+
&.alert
|
35
|
+
background-color: $color-alert
|
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: 1.1.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: 2019-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -25,61 +25,61 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.13'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: coffee-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '4.2'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '4.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: rails
|
42
|
+
name: jquery-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '4.
|
47
|
+
version: '4.3'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '4.
|
54
|
+
version: '4.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '4.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '4.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3
|
75
|
+
version: '12.3'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '3
|
82
|
+
version: '12.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: sass
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,7 +94,7 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '3.4'
|
97
|
-
description:
|
97
|
+
description: Cute flash messages for your ruby on rails application.
|
98
98
|
email:
|
99
99
|
- kyrodriguez97@gmail.com
|
100
100
|
executables: []
|
@@ -102,9 +102,11 @@ extensions: []
|
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
104
|
- ".gitignore"
|
105
|
+
- ".travis.yml"
|
105
106
|
- Gemfile
|
106
107
|
- LICENSE.txt
|
107
108
|
- README.md
|
109
|
+
- Rakefile
|
108
110
|
- bin/console
|
109
111
|
- bin/setup
|
110
112
|
- lib/puffly.rb
|
@@ -133,9 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
135
|
- !ruby/object:Gem::Version
|
134
136
|
version: '0'
|
135
137
|
requirements: []
|
136
|
-
|
137
|
-
rubygems_version: 2.6.11
|
138
|
+
rubygems_version: 3.0.6
|
138
139
|
signing_key:
|
139
140
|
specification_version: 4
|
140
|
-
summary:
|
141
|
+
summary: Cute flash messages for your ruby on rails application.
|
141
142
|
test_files: []
|