kelredd-pruview 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of kelredd-pruview might be problematic. Click here for more details.

@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kelredd-pruview (0.4.0)
4
+ kelredd-pruview (0.4.1)
5
5
  flvtool2
6
6
  mini_magick (~> 3.0)
7
7
 
@@ -83,14 +83,11 @@ module Pruview
83
83
 
84
84
  def set_RGB_colorspace(image)
85
85
  colorspace = run_system_command("identify #{GLOBAL_CMD_ARGS} -format \"%r\" #{image.path}", "Error reading document colorspace")
86
- puts "Colorspace: #{colorspace}"
87
- if colorspace =~ /CMYK/
88
- image.combine_options do |img|
89
- img.args << GLOBAL_CMD_ARGS
90
- img.profile File.join(File.dirname(__FILE__), 'USWebCoatedSWOP.icc')
91
- img.profile File.join(File.dirname(__FILE__), 'sRGB.icm')
92
- img.colorspace 'sRGB'
93
- end
86
+ image.combine_options do |img|
87
+ img.args << GLOBAL_CMD_ARGS
88
+ img.profile File.join(File.dirname(__FILE__), 'USWebCoatedSWOP.icc')
89
+ img.profile File.join(File.dirname(__FILE__), 'sRGB.icm')
90
+ img.colorspace 'sRGB'
94
91
  end
95
92
  end
96
93
 
@@ -1,3 +1,3 @@
1
1
  module Pruview
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -14,14 +14,14 @@ FILES_PATH = "./test/files"
14
14
  OUTPUT_PATH = "./test_output"
15
15
  INVALID_OUTPUT_PATH = "./test_output/invalid"
16
16
  FILES = {
17
- 'basic image' => "./test/files/basic.jpg",
18
- 'invalid image' => "./test/files/invalid.jpg",
19
- 'error image' => "./test/files/error.jpg",
20
- 'basic video' => "./test/files/basic.mpg",
21
- 'invalid video' => "./test/files/invalid.mov",
22
- 'error video' => "./test/files/error.mov",
17
+ 'basic image' => "./test/files/basic.jpg",
18
+ 'invalid image' => "./test/files/invalid.jpg",
19
+ 'error image' => "./test/files/error.jpg",
20
+ 'basic video' => "./test/files/basic.mpg",
21
+ 'invalid video' => "./test/files/invalid.mov",
22
+ 'error video' => "./test/files/error.mov",
23
23
  'invalid format' => "./test/files/invalid_format.poop",
24
- 'tiff' => "./test/files/image.tiff"
24
+ 'tiff' => "./test/files/image.tiff"
25
25
  }
26
26
 
27
27
  FileUtils.mkdir_p File.expand_path(FILES_PATH) unless File.exists? File.expand_path(FILES_PATH)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-pruview
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kelly D. Redding
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-11-08 00:00:00 Z
18
+ date: 2014-01-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler