identicon 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/identicon.gemspec +1 -1
  3. data/lib/identicon.rb +16 -16
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad3357652583debadda9d607a8ec8d8920cb8948
4
- data.tar.gz: b86a208eb83c3460d16339a785a8c9bb6085cd7e
3
+ metadata.gz: 8cf33651b6497301461644c6b88c2f1fa546f704
4
+ data.tar.gz: e1c19284622ca48cfe866f8ba025d177adaa99e0
5
5
  SHA512:
6
- metadata.gz: e9293359cfbbb9c259fa386b912fc1d5ef88f797f18a824058c6517f252e781f4c68695ba368e9e0aac02b4466dfd667681b9f4c088ec536e8e47ccd1d9e45fd
7
- data.tar.gz: 03b9f0597cec35e02b7dbde8d83d60a88cb0774de9d70a31c4ae1345ade8d6834eff8d44d294fa457b5269933a9789c61324729d3d17192c2f15c077d161b590
6
+ metadata.gz: adca3a1425a220e9ecd71c6c70b51f3363406d7e2232562c72d3a3e9f6133e86b9a29406d864049c745378ad93583aeb8ed8031b3419329a3218e5a697aa0656
7
+ data.tar.gz: f5c1c7f38ed43c245a72c6036a72c43330777ef4045228dec4904a8bde33821f7a6a5a84dd2b451264cb6d065a493ce1e99950f947b48a689da694f26b564908
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "identicon"
6
- s.version = "0.0.4"
6
+ s.version = "0.0.5"
7
7
  s.authors = ["Victor Gama"]
8
8
  s.email = ["hey@vito.io"]
9
9
 
@@ -8,22 +8,22 @@ class Identicon
8
8
  CHARS_REGEX = /(\w)(\w)/
9
9
 
10
10
  COLORS = {
11
- a: [196, 108, 168],
12
- b: [127, 219, 107],
13
- c: [83, 89, 215],
14
- d: [111, 198, 148],
15
- e: [186, 130, 82],
16
- f: [113, 66, 197],
17
- "0": [201, 186, 84],
18
- "1": [114, 153, 205],
19
- "2": [141, 108, 204],
20
- "3": [75, 183, 114],
21
- "4": [192, 86, 82],
22
- "5": [199, 115, 209],
23
- "6": [206, 77, 94],
24
- "7": [211, 135, 162],
25
- "8": [71, 194, 197],
26
- "9": [188, 110, 93]
11
+ :"a" => [196, 108, 168],
12
+ :"b" => [127, 219, 107],
13
+ :"c" => [83, 89, 215],
14
+ :"d" => [111, 198, 148],
15
+ :"e" => [186, 130, 82],
16
+ :"f" => [113, 66, 197],
17
+ :"0" => [201, 186, 84],
18
+ :"1" => [114, 153, 205],
19
+ :"2" => [141, 108, 204],
20
+ :"3" => [75, 183, 114],
21
+ :"4" => [192, 86, 82],
22
+ :"5" => [199, 115, 209],
23
+ :"6" => [206, 77, 94],
24
+ :"7" => [211, 135, 162],
25
+ :"8" => [71, 194, 197],
26
+ :"9" => [188, 110, 93],
27
27
  }
28
28
 
29
29
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: identicon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Gama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-04 00:00:00.000000000 Z
11
+ date: 2015-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chunky_png