phantom_svg 1.2.2 → 1.2.3

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: 491236757c5bdbb5935eb7302e517e7ad7a8292f
4
- data.tar.gz: 1ec579eddfa363138903b2a9c97938d2c6e9be75
3
+ metadata.gz: 9c63fde319fb920c302ed2d8cf5e0794aa832d87
4
+ data.tar.gz: 954d8c6013d661919e0afc4ee8a3ed527bd74be4
5
5
  SHA512:
6
- metadata.gz: 4ccb9e915bb49dadd976c232b23ff1ae0eadfbda707b769481f5ba8849fea8784d2ef8a7c505ed2465522a4b64ffdf52d715fa1aa6a3e96d616695bddd366c0a
7
- data.tar.gz: 6c262f94caf641390e9a78e00497795f3c79d633cd276b8281139244f57c80c36a8c880cb7c9df9d78bcd99b2902c7f530d742be770a5a8ad08a96edd1d1489e
6
+ metadata.gz: c834ca1a0a43bbaa1a467192a011c7bf0fd33cf6e6cb09881150230277af9aa61b821de0b3c9ca1439b517ee568ee2760c0992f36859c7df00c6e17d9bf7d630
7
+ data.tar.gz: d7924e17a977c3d85b5e2424bcf488ff2c1f2d247a3033d0b25ed2b1aa46a3d605d845b36de2230eb5c4c84940009f058f09897be97f6d35c03d47a4d8e58fda
@@ -1,5 +1,5 @@
1
1
  require 'rexml/document'
2
- require 'RMagick'
2
+ require 'rmagick'
3
3
  require 'rsvg2'
4
4
  require 'base64'
5
5
 
@@ -25,7 +25,7 @@ module Phantom
25
25
 
26
26
  # Create frame.
27
27
  def create_frame(path, duration = nil)
28
- pixbuf = Gdk::Pixbuf.new(file: path)
28
+ pixbuf = GdkPixbuf::Pixbuf.new(file: path)
29
29
 
30
30
  frame = Phantom::SVG::Frame.new
31
31
  frame.width = "#{pixbuf.width}px"
@@ -64,7 +64,7 @@ module Phantom
64
64
 
65
65
  # Create frame.
66
66
  def create_frame(path, duration = nil)
67
- pixbuf = Gdk::Pixbuf.new(file: path)
67
+ pixbuf = GdkPixbuf::Pixbuf.new(file: path)
68
68
  frame = set_param(path, pixbuf, duration)
69
69
 
70
70
  frame
data/phantom_svg.gemspec CHANGED
@@ -1,8 +1,8 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.platform = Gem::Platform::RUBY
3
3
  s.name = 'phantom_svg'
4
- s.version = '1.2.2'
5
- s.license = 'LGPL-3'
4
+ s.version = '1.2.3'
5
+ s.license = 'LGPL-3.0'
6
6
  s.summary = 'Hight end SVG manipulation tools for Ruby'
7
7
  s.description = 'Hight end SVG manipulation tools for Ruby.\n' \
8
8
  'Includes chained keyframe generation, (A)PNG conversion and more.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phantom_svg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rika Yoshida
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-08-24 00:00:00.000000000 Z
13
+ date: 2016-08-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: gobject-introspection
@@ -237,7 +237,7 @@ files:
237
237
  - spec/spec_helper.rb
238
238
  homepage: http://github.com/Genshin/phantom_svg
239
239
  licenses:
240
- - LGPL-3
240
+ - LGPL-3.0
241
241
  metadata: {}
242
242
  post_install_message:
243
243
  rdoc_options: []