hex_to_rgba 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 078de94b631215783ac2ddf0144f703915bdc0ba
4
- data.tar.gz: 972abe37b77128bcfdcc09b22225a4ae8ea70715
3
+ metadata.gz: 2bf2fc5f3c82d8af5ed50de8a0b23c7e53887069
4
+ data.tar.gz: 640a3939f22e097ef4ba5f0daff46445fd8d2093
5
5
  SHA512:
6
- metadata.gz: ad5f5e9c72ec171f64277e6603fecb44f4c20a447a13dcf7ce24b8aa767f8037ed34c3230177bb1c819a36af1e3982ed977e099881b79b00ec240d4e54f15593
7
- data.tar.gz: 8153367a9db6c4d059f13a9de12feaf0de7e78d9c53e546de7ea2a3c5daf648fa787d87aa533506e656f60a3e4b380895030acdb8957d91c00bc758d129d56d7
6
+ metadata.gz: 173561a4caee6c41d1d5887d7ed1461f3f1f4d42695c580621d349802f851b0b7e0e10526619d2a5ca694183dfd8c67fcb3fd77b9ad1273cc0a54c5893e67ae2
7
+ data.tar.gz: a8d825f7df409f3eab96f405fe517d1568a35a5dfa1afff798fa5b3b25958693bb890c28eaf24dbf0648b0659aaee6878f0f329c8d6c1eff516b4bb2002625a9
data/README.md CHANGED
@@ -1,9 +1,3 @@
1
- # HexToRgba
2
-
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/hex_to_rgba`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
1
  ## Installation
8
2
 
9
3
  Add this line to your application's Gemfile:
@@ -2,6 +2,10 @@ require "hex_to_rgba/version"
2
2
 
3
3
  module HexToRgba
4
4
  class Converter
5
+ def self.cool_guys
6
+ 'MA are best guys ever!!!'
7
+ end
8
+
5
9
  def self.convert color, opacity
6
10
  if color.to_s.include? '#'
7
11
  hexadecimal_color = color.delete '#'
@@ -1,3 +1,3 @@
1
1
  module HexToRgba
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hex_to_rgba
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Zhuk