core_image 0.0.3 → 0.0.3.5

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.
@@ -0,0 +1,11 @@
1
+ ### v0.0.3 ###
2
+ * changed: flip_horizontal => flip_horizontally
3
+ * changed: overlay_image => overlay
4
+ * changed: rotate default to 90 degrees
5
+ * changed: color_at method now returns RGB hash with alpha
6
+ * changed: tint method now uses RGB hash as input (support alpha)
7
+ * added: tests for all major methods
8
+ * added: flip_vertically
9
+ * added: to_nsimage
10
+ * added: ability to open NSImage, CGImage, CIImage, CoreImage instantiation, image url
11
+ * squashed: opening a pdf caused an error
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "core_image"
3
- spec.version = "0.0.3"
3
+ spec.version = "0.0.3.5"
4
4
  spec.date = "2012-01-31"
5
5
  spec.summary = "Manipulate images via Apple's built-in Core Image technology"
6
6
  spec.description = "Simple image manipulation using Apple's Core Image technology. Scale, rotate, flip, convert, overlay, and more."
@@ -252,7 +252,7 @@ class CoreImage
252
252
  def valid_url?(string)
253
253
  uri = URI.parse(string)
254
254
  %w( http https ).include?(uri.scheme) and uri.path.nil? == false
255
- rescue URI::BadURIError
255
+ rescue
256
256
  false
257
257
  end
258
258
 
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: core_image
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 73
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 3
10
- version: 0.0.3
10
+ - 5
11
+ version: 0.0.3.5
11
12
  platform: ruby
12
13
  authors:
13
14
  - Spencer Rogers
@@ -56,6 +57,7 @@ extra_rdoc_files: []
56
57
 
57
58
  files:
58
59
  - .gitignore
60
+ - CHANGELOG.md
59
61
  - LICENSE
60
62
  - README.md
61
63
  - Rakefile