ab_switcher 0.1.3 → 0.2.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
2
  SHA256:
3
- metadata.gz: 50e6edf04ae56186c3ab3b9672bf799e38ab58a1df8359372ff256bd16abd5f3
4
- data.tar.gz: 2fce66b154711a752db3784393e5ac324d32e7a7bdec908fc551071f42734ddd
3
+ metadata.gz: fae5b79f2643149f1f260c3c69a18a4b30b70e327cafd61aae34ba266eff34e2
4
+ data.tar.gz: f750385a267561dd4264e6ee1655f73461eb2afa470856cdabd3b2d513d1421a
5
5
  SHA512:
6
- metadata.gz: 245141f05c81c178702d8c01b7e6b3497edddf78e106c14abeca63573a39e656c46eadec514e623ccff9d4b329ea7cc1fee36390226bc4b8428984d2ccafbb8f
7
- data.tar.gz: 6f2c317fec2a80ecb3974ca7485cc7fe91a1ea5e172a277f5699c0c90d00534ba6afade2538af0d8e86bda25e9fc390151bb22ba67688b9cb24185563f02269a
6
+ metadata.gz: 77cad38465bca5c02318288266090ed7e51c94796637d08fbe580c702948ca316357930eb73eb1ef167efb2778da3c096f9525b1c6e0dae1e42b91fb12594a4e
7
+ data.tar.gz: 22d019cfac38fa3e7b6b5f64341e33baa69b79f42249e7b0408f18926762bcf70b4ad48164319d9a698e36bb0cbffb51641a81e184f2b8a4db5eab9ac4bf9187
@@ -1,2 +1,10 @@
1
- require "ab_switcher/version"
1
+ require 'ab_switcher/version'
2
2
  require 'ab_switcher/switcher'
3
+
4
+ module ABSwitcher
5
+ class << self
6
+ def major_hex?(ratio, hex_str)
7
+ ABSwitcher::Switcher.new(ratio).major_hex?(hex_str)
8
+ end
9
+ end
10
+ end
@@ -1,3 +1,3 @@
1
1
  module ABSwitcher
2
- VERSION = '0.1.3'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ab_switcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nishisuke