camalian 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d00dedccb6e595bdc20ada99a24660c6ae5dd3d
4
- data.tar.gz: 5c0dbce2351031926ae80fd502d96f14899c83c6
3
+ metadata.gz: cbf6f55fe49509d8e0ae73b3ee3717026bea081f
4
+ data.tar.gz: 810535ed27dcd19b903aedbe3b2825baf7ce4ea3
5
5
  SHA512:
6
- metadata.gz: e7cf381751a54732d7a08474333accca30b0b5284c0916373f88c739e1951f4557469c5c5611d719200e29d5c1c5403aa87d7143395fbf3e96b311d55d66a9d2
7
- data.tar.gz: bf78a507dcec731e88d8fe13c0f6e5e962529bf644d5fb49b9d760518ebf1352c25108a4f1e3ee4fab726c663b773bdcb0ff3aa6a975b359c4f9771a4dbad57c
6
+ metadata.gz: cbbf8aca2ebe72c607b6dc1a38fb2ca5adb36a15590088e30643c25ba67e7fd8c3a0eee0b1907c03a9e13342c258f5642ab3fe7b2e94c08ea8eb841e92d944e8
7
+ data.tar.gz: 8c13c34b6c99cd644eed763d1e36d90304a3116b96adcb1edd26e85da5884aec596e6ffc9ab67dafc382113900286dd0714ec7b8cec94558e3bc08fa66f3f687
data/README.md CHANGED
@@ -6,7 +6,7 @@ Ruby gem to extract color palettes from images and play with their saturation
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'camalian', '~> 0.0.2'
9
+ gem 'camalian', '~> 0.0.3'
10
10
 
11
11
  And then execute:
12
12
 
@@ -25,7 +25,7 @@ module Camalian
25
25
  c.pop
26
26
  c[0], c[1], c[2] = [c[0], c[1], c[2]].map { |s|
27
27
  s = s.to_i
28
- s = s / 255 if s / 255 > 0 # not all ImageMagicks are created equal....
28
+ s = s / 256 if s / 256 > 0 # not all ImageMagicks are created equal....
29
29
  s
30
30
  }
31
31
  colors << Color.new(c[0],c[1],c[2])
@@ -1,3 +1,3 @@
1
1
  module Camalian
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camalian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nazar Hussain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-27 00:00:00.000000000 Z
11
+ date: 2015-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocaine