hex2rgb 0.0.0

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.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/bin/hex2rgb +5 -0
  3. data/lib/hex2rgb.rb +5 -0
  4. metadata +45 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2f7bfb8b7cc04b46dc5cb13c4cff4369d77f59d1
4
+ data.tar.gz: cf68b5a5366077901bf3bf0da88df27110855b0c
5
+ SHA512:
6
+ metadata.gz: a086b39903776a090f519f3d9e570f56e28d75af339391a74e3c725b196a60f95cac11d75395c7467a0c880da7c6ed89b4942932a6aa05f1ff2d1ccae30d41b4
7
+ data.tar.gz: 4a5e39ed9589de29a1ec9c2f929b029b61bac831b384feaa411d0830523df16849fb3d5ac8aaaaf57ae8de7afbd31d202c4f21ebdbfa9dea86bf6b28df960b01
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'hex2rgb'
4
+
5
+ puts Hex2Rgb.convert(ARGV[0])
@@ -0,0 +1,5 @@
1
+ class Hex2Rgb
2
+ def self.convert(hex)
3
+ "[0, 0, 0]"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hex2rgb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Jeff Zelenkov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-07-27 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Converts HEX value to RGB values
14
+ email: zj@jz.ee
15
+ executables:
16
+ - hex2rgb
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/hex2rgb.rb
21
+ - bin/hex2rgb
22
+ homepage: https://github.com/zjjz/180-tools/tree/master/002-hex2rgb
23
+ licenses: []
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubyforge_project:
41
+ rubygems_version: 2.0.3
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: HEX -> RGB
45
+ test_files: []