gir_ffi-cairo 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +5 -0
- data/README.md +23 -7
- data/lib/gir_ffi-cairo/version.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c58c2ff29e3ad17c3e0139a3e0294eb92646c70397558803ffce2c5ed80eb44
|
4
|
+
data.tar.gz: fd922e98126fb7cfb376d14dfcc9b0fa3288deb1959e060d8f2d0d081a91655b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9c7ef6860fa083e6f9350c70c51a049ed41466fb8dc09b2dd5d7f7c67b1fbd37139f75d90307cf2de642fc5f5dfed66a8d7038a5e361c86da72366d9a59d55e
|
7
|
+
data.tar.gz: 4104105bb8e2a26305a2341dc2db183ffc4133cbfe28c43d07010b5e8dbf758ab3cc24788ac83a146cfb793ff5255e711c8b331d5f0ebbf4a3c72924a3ca69ab
|
data/Changelog.md
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# GirFFI-Cairo
|
2
2
|
|
3
|
-
GirFFI-based bindings for Cairo
|
3
|
+
GirFFI-based Ruby bindings for Cairo
|
4
4
|
|
5
5
|
## Features/Issues
|
6
6
|
|
7
|
-
This gem allows use of Cairo from your
|
7
|
+
This gem allows use of Cairo from your
|
8
|
+
[GirFFI](https://rubygems.org/gems/gir_ffi)-based Gtk+ application. It is only
|
8
9
|
a thin layer on top of the C library.
|
9
10
|
|
10
11
|
Please note that this library is in the very early stages of development. Please
|
@@ -12,14 +13,29 @@ file bugs for any functionality that is not yet implemented.
|
|
12
13
|
|
13
14
|
## Usage
|
14
15
|
|
15
|
-
|
16
|
+
```ruby
|
17
|
+
require 'gir_ffi-cairo'
|
16
18
|
|
17
|
-
|
18
|
-
|
19
|
+
dst = Cairo::ImageSurface.new(:argb32, 400, 300)
|
20
|
+
ctx = Cairo::Context.new(dst)
|
21
|
+
```
|
19
22
|
|
20
23
|
## Install
|
21
24
|
|
22
|
-
|
25
|
+
```bash
|
26
|
+
gem install gir_ffi-cairo
|
27
|
+
```
|
28
|
+
|
29
|
+
## Requirements
|
30
|
+
|
31
|
+
GirFFI-Cairo needs the [GirFFI](https://rubygems.org/gems/gir_ffi) gem and
|
32
|
+
supports the same platforms.
|
33
|
+
|
34
|
+
In addition, it needs introspection data for the cairo library.
|
35
|
+
On Debian and Ubuntu, you can get this by installing `gir1.2-freedesktop`.
|
36
|
+
|
37
|
+
GirFFI-Cairo has not been tested on Mac OS X or Microsoft Windows. YMMV. Pull
|
38
|
+
requests to support these platforms are welcome.
|
23
39
|
|
24
40
|
## Contributors
|
25
41
|
|
@@ -30,7 +46,7 @@ The following people have contributed to GirFFI-Cairo:
|
|
30
46
|
|
31
47
|
## License
|
32
48
|
|
33
|
-
Copyright © 2012–
|
49
|
+
Copyright © 2012–2022 [Matijs van Zuijlen](http://www.matijs.net/)
|
34
50
|
|
35
51
|
GirFFI-Cairo is free software, distributed under the terms of the GNU Lesser
|
36
52
|
General Public License, version 2.1 or later. See the file COPYING.LIB for more
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gir_ffi-cairo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matijs van Zuijlen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gir_ffi
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.17.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.17.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,70 +72,70 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
75
|
+
version: '1.51'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1.
|
82
|
+
version: '1.51'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-minitest
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.34.1
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.34.1
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-packaging
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.5.
|
103
|
+
version: 0.5.2
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.5.
|
110
|
+
version: 0.5.2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rubocop-performance
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '1.
|
117
|
+
version: '1.18'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '1.
|
124
|
+
version: '1.18'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: simplecov
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
131
|
+
version: 0.22.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
138
|
+
version: 0.22.0
|
139
139
|
description: 'Bindings for Cairo generated by GirFFI, with overrides.
|
140
140
|
|
141
141
|
'
|
@@ -175,14 +175,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
175
175
|
requirements:
|
176
176
|
- - ">="
|
177
177
|
- !ruby/object:Gem::Version
|
178
|
-
version:
|
178
|
+
version: 3.0.0
|
179
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
180
|
requirements:
|
181
181
|
- - ">="
|
182
182
|
- !ruby/object:Gem::Version
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
|
-
rubygems_version: 3.3
|
185
|
+
rubygems_version: 3.5.3
|
186
186
|
signing_key:
|
187
187
|
specification_version: 4
|
188
188
|
summary: GirFFI-based bindings for Cairo
|