palettetown 0.2.0 → 0.2.1
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.
- checksums.yaml +4 -4
- data/lib/palettetown/color.rb +2 -2
- data/lib/palettetown/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ebd987e257be862399b70f73fcb1cc13bdb3bbd2
|
|
4
|
+
data.tar.gz: c104fc0972568bfc59de43316bc82009ffa0ca6b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0be59beace5d2c8055ada9a2e796453c718af84129058716f306aaa34ef624d15282d56344498b4d7e627cb8a892b62e57f007b0f9a4fa192b87e8f400c7b990
|
|
7
|
+
data.tar.gz: 063ab5cc23866dddc2457a693b83eb6c121e5ddc28937b7860414a7a47fc6f5147a719f0f264eaa762bfa381bd2ed1bc8c47cb42a452aab2fcf5d9c9da8b0ff8
|
data/lib/palettetown/color.rb
CHANGED
|
@@ -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
|
|
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
|
data/lib/palettetown/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
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
|