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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c933615c24841ac0667e02dec03b6cd7bedf5e3d
4
- data.tar.gz: 648ba2de1a9cc2bb2c4488cffdea6003ba81ea5e
2
+ SHA256:
3
+ metadata.gz: 1272d03542ae05d163e358284c42eed43be9777e0dac8f113e8b073fa3c606e3
4
+ data.tar.gz: 3c743b7810a603b5f462644ee60489e05c6b395cae0f7f59ee27859ce4dd7cfc
5
5
  SHA512:
6
- metadata.gz: 0d9f2368eb6e6ca1f49eadb95a519459d41b5f25d87f82da347d219258458c61493c54dfe1d00f36106b56322eb9371fee17669a87f007fa7fc677c9b0338630
7
- data.tar.gz: b4138d1dba066964af13ea262ed7ca241cc8b2ec032982787d91e5e39ab83e2e09e6ce162d3686cdb2ee634b6f420f1d99b7f3938adb597ddd9c886cf80d77ad
6
+ metadata.gz: efbc3585726ac61ca325e1840fe24a554095c89cead939b03a9f173218ddd1e77b1346c66ec19298cdee3b56e9851199b480af502269c8bf5ad563b29850173e
7
+ data.tar.gz: 6126c42b1d7d51da28b682710f55762fd0879b692da4fc64be4c70135467ca2c76fb7ea00d17cb0369f35d4a4e9c62a0679b10e254a54cbf139ef33e35820b4d
@@ -0,0 +1,11 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ - 2.6.0
5
+ before_install:
6
+ - gem i rubygems-update -v '3.0.4' && update_rubygems
7
+ - gem i bundler -v '1.13'
8
+ bundler_args: --without benchmark --jobs=3 --retry=3
9
+ gemfile:
10
+ - Gemfile
11
+ fast_finish: true
data/Gemfile CHANGED
@@ -1,5 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
4
6
  gem 'jquery-rails'
7
+ gem 'rubocop', require: false
5
8
  gem 'sass-rails', '~> 5.0', '>= 5.0.6'
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.
@@ -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]
@@ -1,5 +1,8 @@
1
- require 'puffly/version'
2
- require 'puffly/engine' if defined?(Rails) && defined?(Rails::Engine)
3
-
4
- module Puffly
5
- end
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
@@ -1,4 +1,6 @@
1
- module Puffly
2
- class Engine < Rails::Engine
3
- end
4
- end
1
+ # frozen_string_literal: true
2
+
3
+ module Puffly
4
+ class Engine < Rails::Engine
5
+ end
6
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Puffly
2
- VERSION = '0.2.0'.freeze
4
+ VERSION = '1.1.0'
3
5
  end
@@ -1,38 +1,39 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'puffly/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'puffly'
8
- spec.version = Puffly::VERSION
9
- spec.authors = ["Kevin Rodr\u00EDguez"]
10
- spec.email = ['kyrodriguez97@gmail.com']
11
-
12
- spec.summary = 'Fun and cute flash messages for your ruby on rails application.'
13
- spec.description = 'Fun and cute flash messages for your ruby on rails application.'
14
- spec.homepage = 'https://github.com/kevyder/puffly'
15
- spec.license = 'MIT'
16
-
17
- if spec.respond_to?(:metadata)
18
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'
19
- else
20
- raise 'RubyGems 2.0 or newer is required to protect against ' \
21
- 'public gem pushes.'
22
- end
23
-
24
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
25
- f.match(%r{^(test|spec|features)/})
26
- end
27
- spec.bindir = 'exe'
28
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
- spec.require_paths = ['lib']
30
-
31
- # development dependencies
32
- spec.add_development_dependency 'bundler', '~> 1.13'
33
- spec.add_development_dependency 'rake', '~> 10.0'
34
- spec.add_development_dependency 'rails', '~> 4.0'
35
- spec.add_development_dependency 'jquery-rails', '~> 3.1'
36
- spec.add_development_dependency 'coffee-rails', '~> 3.0'
37
- spec.add_development_dependency 'sass', '~> 3.4'
38
- end
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: #3dc763
3
- $color-error: #ed3d3d
4
- $color-warning: #ff9800
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: #fff
8
- $font: Helvetica, sans-serif
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
- #puffly.success
26
- background-color: $color-sucess
27
-
28
- #puffly.error
29
- background-color: $color-error
30
-
31
- #puffly.warning
32
- background-color: $color-warning
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: 0.2.0
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: 2017-11-02 00:00:00.000000000 Z
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: rake
28
+ name: coffee-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
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: '10.0'
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.0'
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.0'
54
+ version: '4.3'
55
55
  - !ruby/object:Gem::Dependency
56
- name: jquery-rails
56
+ name: rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.1'
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: '3.1'
68
+ version: '4.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: coffee-rails
70
+ name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.0'
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.0'
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: Fun and cute flash messages for your ruby on rails application.
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
- rubyforge_project:
137
- rubygems_version: 2.6.11
138
+ rubygems_version: 3.0.6
138
139
  signing_key:
139
140
  specification_version: 4
140
- summary: Fun and cute flash messages for your ruby on rails application.
141
+ summary: Cute flash messages for your ruby on rails application.
141
142
  test_files: []