psd 1.2.1 → 1.2.2

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: b4969e1c56d9163ccc0adc4e03a360fdfffed23b
4
- data.tar.gz: d8e961cb9fb7ec8f3cb85988ff195dd6186b69b4
3
+ metadata.gz: 5a6c401c74ed1123fa74ad8b50dfc6a0df6da1e5
4
+ data.tar.gz: c2092822eb4eae245fce20204cf05ff3f4bbe0df
5
5
  SHA512:
6
- metadata.gz: 7240edc31fb45ba8a27518f5977dc24ba0af4b279a6a8b611bdce98461bb49200f819e2ecb734009a908183ca17f8175c9d0bde5628949f74af5beb6c30b1431
7
- data.tar.gz: d96c795fc1bb0e8b7863920c8218dacb094cbbd83c1da23ef4c98e2fdeea6af47416b5d8c026632e6ea063e691c4b8abd6b80d802d3dd52b87cd97c7e04e54b1
6
+ metadata.gz: 3696d5e2ff46cff1496b739551d264ae5c7316e6cb6a8b74e8e99a37d4d757330d32badfe66b6d2b6da5dbca32ab871a8105cd72d5b0b43486b06541d01be835
7
+ data.tar.gz: de41bf1813b74520558fc2161a4266d5f32b0ed7d6b26fda86ae55fbafbd2e2043f403ebcac4e23faa6441d81a8bd43f62c60e68c2b8232f9656d164d5cc65f9
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ - jruby-19mode
6
+ - rbx-19mode
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PSD.rb
2
2
 
3
- [![Circle CI](https://circleci.com/gh/layervault/psd.rb.png?circle-token=ad8a75fdd86f595e0926a963179a3a621d564c6e)](https://circleci.com/gh/layervault/psd.rb)
3
+ [![Travis CI](https://travis-ci.org/layervault/psd.rb.png)](https://travis-ci.org/layervault/psd.rb)
4
4
 
5
5
  A general purpose Photoshop file parser written in Ruby. It allows you to work with a Photoshop document in a manageable tree structure and find out important data such as:
6
6
 
@@ -16,6 +16,14 @@ A general purpose Photoshop file parser written in Ruby. It allows you to work w
16
16
  * Vector mask data
17
17
  * Flattened image data
18
18
 
19
+ PSD.rb is tested against:
20
+
21
+ * MRI 1.9.3 & 2.0.0
22
+ * JRuby (1.9.3 mode)
23
+ * Rubinius (1.9.3 mode)
24
+
25
+ If you use MRI Ruby and are interested in significantly speeding up PSD.rb with native code, check out [psd_native](https://github.com/layervault/psd_native).
26
+
19
27
  ## Installation
20
28
 
21
29
  Add this line to your application's Gemfile:
data/Rakefile CHANGED
@@ -1 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -21,7 +21,7 @@ class PSD
21
21
 
22
22
  rgb = PSD::Color.cmyk_to_rgb(255 - c, 255 - m, 255 - y, 255 - k)
23
23
 
24
- @pixel_data.push ChunkyPNG::rgba(*rgb.values, a)
24
+ @pixel_data.push ChunkyPNG::Color.rgba(*rgb.values, a)
25
25
  end
26
26
  end
27
27
  end
@@ -1,3 +1,3 @@
1
1
  class PSD
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
@@ -18,6 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
+ gem.add_dependency "rake"
21
22
  gem.add_dependency "bindata"
22
23
  gem.add_dependency 'psd-enginedata', '~> 1.0'
23
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: psd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan LeFevre
@@ -11,6 +11,20 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2013-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>='
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
14
28
  - !ruby/object:Gem::Dependency
15
29
  name: bindata
16
30
  requirement: !ruby/object:Gem::Requirement
@@ -119,6 +133,7 @@ extra_rdoc_files: []
119
133
  files:
120
134
  - .gitignore
121
135
  - .rspec
136
+ - .travis.yml
122
137
  - CONTRIBUTING.md
123
138
  - Gemfile
124
139
  - Guardfile