phantom_svg 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: 6a3601f452da83d8bcfe46cc99f886a5bc5c8622
4
- data.tar.gz: 2dc263e5ea06444b500daec1ccdca9d7d8772a81
3
+ metadata.gz: 491236757c5bdbb5935eb7302e517e7ad7a8292f
4
+ data.tar.gz: 1ec579eddfa363138903b2a9c97938d2c6e9be75
5
5
  SHA512:
6
- metadata.gz: a91130a937c84fa73817a2a75b03f9edd2ac5f5e2406ea9dc58b9ce1c1561c679ed46418ebb7083e9a3f9285dbaf10db56438ffa4f7cd27b209b677ffba24e81
7
- data.tar.gz: 11bcdccb2b9c310fc724d1c0376a03a0bd27690544c28084b4ede6027cdcdde3e3db5ed2b082adcd6643220a67698321c5e8b8f71b3f63eebab0e96cc9250112
6
+ metadata.gz: 4ccb9e915bb49dadd976c232b23ff1ae0eadfbda707b769481f5ba8849fea8784d2ef8a7c505ed2465522a4b64ffdf52d715fa1aa6a3e96d616695bddd366c0a
7
+ data.tar.gz: 6c262f94caf641390e9a78e00497795f3c79d633cd276b8281139244f57c80c36a8c880cb7c9df9d78bcd99b2902c7f530d742be770a5a8ad08a96edd1d1489e
data/lib/phantom/frame.rb CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  module Phantom
3
2
  module SVG
4
3
  # Frame class for "Key Frames" implementation in SVG
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'svg_reader.rb'
3
2
 
4
3
  module Phantom
@@ -1,4 +1,3 @@
1
-
2
1
  module Phantom
3
2
  module SVG
4
3
  module Parser
@@ -1,4 +1,3 @@
1
-
2
1
  module Phantom
3
2
  module SVG
4
3
  module Parser
@@ -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(path)
28
+ pixbuf = Gdk::Pixbuf.new(file: path)
29
29
 
30
30
  frame = Phantom::SVG::Frame.new
31
31
  frame.width = "#{pixbuf.width}px"
@@ -1,4 +1,3 @@
1
-
2
1
  require 'json'
3
2
 
4
3
  require_relative '../frame.rb'
@@ -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(path)
67
+ pixbuf = Gdk::Pixbuf.new(file: path)
68
68
  frame = set_param(path, pixbuf, duration)
69
69
 
70
70
  frame
data/lib/phantom/svg.rb CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'frame'
3
2
  require_relative 'parser/png_reader'
4
3
  require_relative 'parser/png_writer'
data/phantom_svg.gemspec CHANGED
@@ -1,7 +1,7 @@
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.1'
4
+ s.version = '1.2.2'
5
5
  s.license = 'LGPL-3'
6
6
  s.summary = 'Hight end SVG manipulation tools for Ruby'
7
7
  s.description = 'Hight end SVG manipulation tools for Ruby.\n' \
@@ -16,8 +16,10 @@ Gem::Specification.new do |s|
16
16
 
17
17
  s.requirements << 'libapngasm'
18
18
 
19
- s.add_dependency 'cairo', '~> 1.14', '~> 1.14.3'
19
+ s.add_dependency 'gobject-introspection', '~> 3.0', '~> 3.0.9'
20
+ s.add_dependency 'gio2', '~> 3.0', '~> 3.0.9'
21
+ s.add_dependency 'cairo', '~> 1.15', '~> 1.15.2'
20
22
  s.add_dependency 'rapngasm', '~> 3.2', '~> 3.2.0'
21
- s.add_dependency 'rsvg2', '~> 3.0', '~> 3.0.7'
22
- s.add_dependency 'rmagick', '~> 2.15', '~> 2.15.4'
23
+ s.add_dependency 'rsvg2', '~> 3.0', '~> 3.0.9'
24
+ s.add_dependency 'rmagick', '~> 2.16', '~> 2.16.0'
23
25
  end
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.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rika Yoshida
@@ -10,28 +10,68 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-01-08 00:00:00.000000000 Z
13
+ date: 2016-08-24 00:00:00.000000000 Z
14
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: gobject-introspection
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
22
+ - - "~>"
23
+ - !ruby/object:Gem::Version
24
+ version: 3.0.9
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - "~>"
30
+ - !ruby/object:Gem::Version
31
+ version: '3.0'
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: 3.0.9
35
+ - !ruby/object:Gem::Dependency
36
+ name: gio2
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '3.0'
42
+ - - "~>"
43
+ - !ruby/object:Gem::Version
44
+ version: 3.0.9
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - "~>"
50
+ - !ruby/object:Gem::Version
51
+ version: '3.0'
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 3.0.9
15
55
  - !ruby/object:Gem::Dependency
16
56
  name: cairo
17
57
  requirement: !ruby/object:Gem::Requirement
18
58
  requirements:
19
59
  - - "~>"
20
60
  - !ruby/object:Gem::Version
21
- version: '1.14'
61
+ version: '1.15'
22
62
  - - "~>"
23
63
  - !ruby/object:Gem::Version
24
- version: 1.14.3
64
+ version: 1.15.2
25
65
  type: :runtime
26
66
  prerelease: false
27
67
  version_requirements: !ruby/object:Gem::Requirement
28
68
  requirements:
29
69
  - - "~>"
30
70
  - !ruby/object:Gem::Version
31
- version: '1.14'
71
+ version: '1.15'
32
72
  - - "~>"
33
73
  - !ruby/object:Gem::Version
34
- version: 1.14.3
74
+ version: 1.15.2
35
75
  - !ruby/object:Gem::Dependency
36
76
  name: rapngasm
37
77
  requirement: !ruby/object:Gem::Requirement
@@ -61,7 +101,7 @@ dependencies:
61
101
  version: '3.0'
62
102
  - - "~>"
63
103
  - !ruby/object:Gem::Version
64
- version: 3.0.7
104
+ version: 3.0.9
65
105
  type: :runtime
66
106
  prerelease: false
67
107
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,27 +111,27 @@ dependencies:
71
111
  version: '3.0'
72
112
  - - "~>"
73
113
  - !ruby/object:Gem::Version
74
- version: 3.0.7
114
+ version: 3.0.9
75
115
  - !ruby/object:Gem::Dependency
76
116
  name: rmagick
77
117
  requirement: !ruby/object:Gem::Requirement
78
118
  requirements:
79
119
  - - "~>"
80
120
  - !ruby/object:Gem::Version
81
- version: '2.15'
121
+ version: '2.16'
82
122
  - - "~>"
83
123
  - !ruby/object:Gem::Version
84
- version: 2.15.4
124
+ version: 2.16.0
85
125
  type: :runtime
86
126
  prerelease: false
87
127
  version_requirements: !ruby/object:Gem::Requirement
88
128
  requirements:
89
129
  - - "~>"
90
130
  - !ruby/object:Gem::Version
91
- version: '2.15'
131
+ version: '2.16'
92
132
  - - "~>"
93
133
  - !ruby/object:Gem::Version
94
- version: 2.15.4
134
+ version: 2.16.0
95
135
  description: Hight end SVG manipulation tools for Ruby.\nIncludes chained keyframe
96
136
  generation, (A)PNG conversion and more.
97
137
  email: info@genshin.org