c32 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/lib/c32.rb +8 -2
  5. metadata +25 -25
  6. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccd14d9e64655378d10140f656797a3e1b953a4ff0eab3e12d4582bd3eacb705
4
- data.tar.gz: d80aa7b543ac68194871e19a3dc571399e737d1666cf32343306c37802434bea
3
+ metadata.gz: 40dd6b9e24beab7e0c6cb83dde4679370eab883e941a5ff7609503fcf1cca2cd
4
+ data.tar.gz: dda7bb251008e848b3406f6bd9cfc5bcdf16df76a82ee7db95fca2d668bbe622
5
5
  SHA512:
6
- metadata.gz: f263e5b5bbf15f3f4b5822a9134ef16bff3799570ca65dbdbfdafc66dd32f9039bb61cd939ecf8f6067fc780f12a5acdec9fd1d6efebb88c69bf511509b552f8
7
- data.tar.gz: 2cdaced33a80a76c4220f9ddb15cd4bf4dbb8c39d48788c06dbe44eb068c6dbbbcc9c964abd08816be53b8179dd640326233401bc12f46b27fce72cf27a15d22
6
+ metadata.gz: 318bdb2fb59dfe1c0d2a3effa2153f052d65594b6b4b83a03a1def3402276c9f00572ef0a66adc2c25692f7e7b0c98004eab90c9857000b022cc6a8cce26c5b5
7
+ data.tar.gz: 3efae6eea9448120c911ea7e10463309cdaecfc3af02d080eabaf9471301636606dbae19cc56581dce6e8792144d9df047a983f47ec3448129788f98b04cb29b
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/c32.rb CHANGED
@@ -13,8 +13,14 @@ module ColouredText
13
13
  define_method(('light_' + c.to_s).to_sym){ colorize(90+i)}
14
14
  end
15
15
 
16
- bg_colours = colours.map {|c| ('bg_' + c.to_s).to_sym}\
17
- .each.with_index {|c,i| define_method(c){ colorize(40+i)}}
16
+ colours.each.with_index do |c,i|
17
+ define_method(('bg_' + c.to_s).to_sym){ colorize(40+i)}
18
+ end
19
+
20
+ colours.each.with_index do |c,i|
21
+ define_method(('bg_light_' + c.to_s).to_sym){ colorize(100+i)}
22
+ end
23
+
18
24
 
19
25
  def debug()
20
26
  "debug: ".green + self.sub(/(?=\b[\S]+\: )/,"\n ")\
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c32
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -11,31 +11,31 @@ cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
14
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgxMTAzMTYwMTIzWhcN
15
- MTkxMTAzMTYwMTIzWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC++5d9
17
- 3L/+VcKAgXT8VGoW7hguA1+1DjinUITDllUovlh02zHsTgjm73wDgimeXsQto0Q7
18
- CQui++IOorLKoWWpFEyfsNA4iCslanpsXLid5Ad6/avl8VDD/kPHDl6h3ciYyyjG
19
- 8NNz/1th6eLHaxXtbzzwovwelQ4myzeqo0W2QBi82c/LZAMlqX51HgiytNYIwfA+
20
- eaE2rOuWyhVwVSZQBYxQcZGjxBKO4oZYKs4/ny2BP1iWes7TlhWoIf+/MJQ/t1oI
21
- K3DY90Z6ZCkMoOxPPBaVTRMwlyGpzF4FPl4j5InbIOSjjnzkX2asl8/rle/X0cPV
22
- GkC2Cq4kTdfanNqPFi2pSHVeRnzlvHsnPT4NgP59wa9xuOrGuU9EyQSrBc5/AOFk
23
- P2FeghgwPkKMG216L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9lxF6sNYlUqz1aole8OJQtzn
33
+ Qq0IcsJdAeLYx7HuvlVJuwXMVf0E8ANTEKZk7GD9eZSOlRXL1efxWyaX5dBrkWDV
34
+ +lY755AFDZhBVfwxQrJ4/Wh4D6hCSySz+qahmBnp1azt1OcD1zhVhaJH8bTZr+OK
35
+ Y+reM4HleaPatVCrX/OJoFtMou//Hf3nGueno155nJV+orcW7oJGbz/TokbT3j1m
36
+ G8WnIzLxlzR+OKGMlQSSz5w2
37
37
  -----END CERTIFICATE-----
38
- date: 2019-05-05 00:00:00.000000000 Z
38
+ date: 2020-09-15 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description:
41
41
  email: james@jamesrobertson.eu
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.0.1
66
+ rubygems_version: 3.0.3
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Makes it easier to read debug messages using coloured text.
metadata.gz.sig CHANGED
Binary file