processing 0.5.12 → 0.5.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +7 -0
- data/VERSION +1 -1
- data/lib/processing/graphics_context.rb +3 -5
- data/processing.gemspec +10 -10
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 685bf4ac592778f9805e06c00856859d1ca10037d4e1025e0d4bf1d3b50bf2f9
|
4
|
+
data.tar.gz: d6cdb7356f24b325e844645b02a341889544d611327d297e433032f755ac3e8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df1286b2e0134790e073154a30c79f43a7ea43fec7f85d26739ae28e243972dd769be46cb7b66dea7543de16812a97167bc064006947835da5a8d4ac78d43ef7
|
7
|
+
data.tar.gz: '0952ad6d265e181ee12313f6b1e288375a57c68db472d9ee650dbffe902c0ce6cb83df88b3e8c88309d49a95f29f42d074ddaf272551a4f700466bfdef5c9b53'
|
data/ChangeLog.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
# processing ChangeLog
|
2
2
|
|
3
3
|
|
4
|
+
## [v0.5.13] - 2023-05-27
|
5
|
+
|
6
|
+
- pushMatrix(), pushStyle(), and push() return the result of the expression at the end of the block when a block given
|
7
|
+
- required_ruby_version >= 3.0.0
|
8
|
+
- Add spec.license
|
9
|
+
|
10
|
+
|
4
11
|
## [v0.5.12] - 2023-05-26
|
5
12
|
|
6
13
|
- pushStyle/popStyle do not manage filter state
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.13
|
@@ -1099,13 +1099,12 @@ module Processing
|
|
1099
1099
|
|
1100
1100
|
# Pushes the current transformation matrix to stack.
|
1101
1101
|
#
|
1102
|
-
# @return [
|
1102
|
+
# @return [Object] result of the expression at the end of the block
|
1103
1103
|
#
|
1104
1104
|
def pushMatrix(&block)
|
1105
1105
|
assertDrawing__
|
1106
1106
|
@matrixStack__.push @painter__.matrix
|
1107
1107
|
block.call if block
|
1108
|
-
nil
|
1109
1108
|
ensure
|
1110
1109
|
popMatrix if block
|
1111
1110
|
end
|
@@ -1133,7 +1132,7 @@ module Processing
|
|
1133
1132
|
|
1134
1133
|
# Save current style values to the style stack.
|
1135
1134
|
#
|
1136
|
-
# @return [
|
1135
|
+
# @return [Object] result of the expression at the end of the block
|
1137
1136
|
#
|
1138
1137
|
def pushStyle(&block)
|
1139
1138
|
assertDrawing__
|
@@ -1158,7 +1157,6 @@ module Processing
|
|
1158
1157
|
@tint__,
|
1159
1158
|
]
|
1160
1159
|
block.call if block
|
1161
|
-
nil
|
1162
1160
|
ensure
|
1163
1161
|
popStyle if block
|
1164
1162
|
end
|
@@ -1193,7 +1191,7 @@ module Processing
|
|
1193
1191
|
|
1194
1192
|
# Save current styles and transformations to stack.
|
1195
1193
|
#
|
1196
|
-
# @return [
|
1194
|
+
# @return [Object] result of the expression at the end of the block
|
1197
1195
|
#
|
1198
1196
|
def push(&block)
|
1199
1197
|
pushMatrix
|
data/processing.gemspec
CHANGED
@@ -17,21 +17,21 @@ Gem::Specification.new do |s|
|
|
17
17
|
rdocs = glob.call *%w[README]
|
18
18
|
|
19
19
|
s.name = name
|
20
|
+
s.version = ext.version
|
21
|
+
s.license = 'MIT'
|
20
22
|
s.summary = 'Processing compatible Creative Coding Framework.'
|
21
23
|
s.description = 'Creative Coding Framework has API compatible to Processing or p5.js.'
|
22
|
-
s.
|
23
|
-
|
24
|
-
s.
|
25
|
-
s.email = 'xordog@gmail.com'
|
26
|
-
s.homepage = "https://github.com/xord/processing"
|
24
|
+
s.authors = %w[xordog]
|
25
|
+
s.email = 'xordog@gmail.com'
|
26
|
+
s.homepage = "https://github.com/xord/processing"
|
27
27
|
|
28
28
|
s.platform = Gem::Platform::RUBY
|
29
|
-
s.required_ruby_version = '>=
|
29
|
+
s.required_ruby_version = '>= 3.0.0'
|
30
30
|
|
31
|
-
s.add_runtime_dependency 'xot', '~> 0.1.
|
32
|
-
s.add_runtime_dependency 'rucy', '~> 0.1.
|
33
|
-
s.add_runtime_dependency 'rays', '~> 0.1.
|
34
|
-
s.add_runtime_dependency 'reflexion', '~> 0.1.
|
31
|
+
s.add_runtime_dependency 'xot', '~> 0.1.37'
|
32
|
+
s.add_runtime_dependency 'rucy', '~> 0.1.37'
|
33
|
+
s.add_runtime_dependency 'rays', '~> 0.1.38'
|
34
|
+
s.add_runtime_dependency 'reflexion', '~> 0.1.40'
|
35
35
|
|
36
36
|
s.add_development_dependency 'rake'
|
37
37
|
s.add_development_dependency 'test-unit'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: processing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- xordog
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xot
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.37
|
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.1.
|
26
|
+
version: 0.1.37
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rucy
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.1.
|
33
|
+
version: 0.1.37
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.1.
|
40
|
+
version: 0.1.37
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rays
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.1.
|
47
|
+
version: 0.1.38
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.
|
54
|
+
version: 0.1.38
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: reflexion
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.1.
|
61
|
+
version: 0.1.40
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.1.
|
68
|
+
version: 0.1.40
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,7 +162,8 @@ files:
|
|
162
162
|
- test/test_utility.rb
|
163
163
|
- test/test_vector.rb
|
164
164
|
homepage: https://github.com/xord/processing
|
165
|
-
licenses:
|
165
|
+
licenses:
|
166
|
+
- MIT
|
166
167
|
metadata: {}
|
167
168
|
post_install_message:
|
168
169
|
rdoc_options: []
|
@@ -172,7 +173,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
173
|
requirements:
|
173
174
|
- - ">="
|
174
175
|
- !ruby/object:Gem::Version
|
175
|
-
version:
|
176
|
+
version: 3.0.0
|
176
177
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
178
|
requirements:
|
178
179
|
- - ">="
|