palettetown 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: 189f07bed93609b4c278e84c915f5718065816a6
4
- data.tar.gz: 74889a840024376f437a5c8ee0d24c8a2ca49824
3
+ metadata.gz: ebd987e257be862399b70f73fcb1cc13bdb3bbd2
4
+ data.tar.gz: c104fc0972568bfc59de43316bc82009ffa0ca6b
5
5
  SHA512:
6
- metadata.gz: 4c439643efecb2331ba079e9b6bc793338dec5281367e620a9b783a4b76fc66d81e9642e97289a0479a783dd350832f16877ccf44b34f12299bcafd1791a7391
7
- data.tar.gz: fc4b6c7ecc3aed56018944b37da7ac47f9878892518051ff3bf0e70b8dcfb3ce423683ec840f37861ffe5567f93588082babd3a7e2dbf08c0b3f8749ff5871e4
6
+ metadata.gz: 0be59beace5d2c8055ada9a2e796453c718af84129058716f306aaa34ef624d15282d56344498b4d7e627cb8a892b62e57f007b0f9a4fa192b87e8f400c7b990
7
+ data.tar.gz: 063ab5cc23866dddc2457a693b83eb6c121e5ddc28937b7860414a7a47fc6f5147a719f0f264eaa762bfa381bd2ed1bc8c47cb42a452aab2fcf5d9c9da8b0ff8
@@ -100,9 +100,9 @@ module PaletteTown
100
100
  # I just ported it from the W3C CSS spec
101
101
  z += 1 if z < 0
102
102
  z -= 1 if z > 1
103
- return x + (y - x) * z * 6 if z < 1.0 / 6.0
103
+ return x + (y - x) * z * 6.0 if z < 1.0 / 6.0
104
104
  return y if z < 1.0 / 2.0
105
- return x + (y - x) * (2.0 / 3.0 - z * 6) if z < 2.0 / 3.0
105
+ return x + (y - x) * (2.0 / 3.0 - z) * 6.0 if z < 2.0 / 3.0
106
106
  return x
107
107
  end
108
108
  end
@@ -1,3 +1,3 @@
1
1
  module Palettetown
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: palettetown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Lejeck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-26 00:00:00.000000000 Z
11
+ date: 2013-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.0.2
96
+ rubygems_version: 2.0.5
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: A simple ruby DSL for writing vim schemes