rubysketch 0.5.33 → 0.5.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-gem.yml +6 -6
- data/.github/workflows/test.yml +4 -2
- data/ChangeLog.md +11 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +20 -0
- data/Rakefile +1 -0
- data/RubySketch.podspec +1 -5
- data/VERSION +1 -1
- data/lib/rubysketch/sprite.rb +1 -1
- data/rubysketch.gemspec +6 -10
- metadata +15 -56
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c557db925d94489a922a024679ee57b5e36b8ec060d1d083f4e9fe6dd4fb3b0
|
4
|
+
data.tar.gz: 8fd118d48f80421958ed13b8aeafdbfb4d96dc6352fbda893dc09ccd01e68072
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0bc08d39eb98d8ab5128bd19c3b494123141760b15d84d17d09c5671c7bc93eff391d36a042b5a0b40896974b5f4cd7d84d695d3971711dca99c3ea249289b8
|
7
|
+
data.tar.gz: b99a9ba9069ef17cc6f48329958ca14eb057132562baed12b7edbf9de34f0d57ac2f612c41b7a26628b2aab1080445c94861e3f428e3e180c37e8f826a1737a1
|
@@ -17,19 +17,19 @@ jobs:
|
|
17
17
|
- name: checkout
|
18
18
|
uses: actions/checkout@v2
|
19
19
|
|
20
|
+
- name: setup gems
|
21
|
+
run: bundle install
|
22
|
+
|
20
23
|
- name: setup dependencies
|
21
24
|
run: "ruby -I.github/workflows -rutils -e 'setup_dependencies'"
|
22
25
|
|
23
|
-
- name: install gems
|
24
|
-
run: gem install yard
|
25
|
-
|
26
26
|
- name: test
|
27
|
-
run: rake quiet test
|
27
|
+
run: bundle exec rake quiet test
|
28
28
|
|
29
29
|
- name: create gem
|
30
30
|
id: gem
|
31
31
|
run: |
|
32
|
-
rake gem
|
32
|
+
bundle exec rake gem
|
33
33
|
echo path=$(ruby -e 'print Dir.glob("*.gem").first') >> $GITHUB_OUTPUT
|
34
34
|
|
35
35
|
- name: create github release
|
@@ -59,4 +59,4 @@ jobs:
|
|
59
59
|
touch $HOME/.gem/credentials
|
60
60
|
chmod 0600 $HOME/.gem/credentials
|
61
61
|
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
62
|
-
rake upload
|
62
|
+
bundle exec rake upload
|
data/.github/workflows/test.yml
CHANGED
@@ -4,7 +4,6 @@ on:
|
|
4
4
|
push:
|
5
5
|
branches: [master]
|
6
6
|
pull_request:
|
7
|
-
branches: [master]
|
8
7
|
|
9
8
|
jobs:
|
10
9
|
test:
|
@@ -19,8 +18,11 @@ jobs:
|
|
19
18
|
- name: checkout
|
20
19
|
uses: actions/checkout@v2
|
21
20
|
|
21
|
+
- name: setup gems
|
22
|
+
run: bundle install
|
23
|
+
|
22
24
|
- name: setup dependencies
|
23
25
|
run: "ruby -I.github/workflows -rutils -e 'setup_dependencies'"
|
24
26
|
|
25
27
|
- name: test
|
26
|
-
run: rake test
|
28
|
+
run: bundle exec rake test
|
data/ChangeLog.md
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
# rubysketch ChangeLog
|
2
2
|
|
3
3
|
|
4
|
+
## [v0.5.35] - 2023-12-09
|
5
|
+
|
6
|
+
- Delete poly2tri
|
7
|
+
- Trigger github actions on all pull_request
|
8
|
+
|
9
|
+
|
10
|
+
## [v0.5.34] - 2023-11-09
|
11
|
+
|
12
|
+
- Use Gemfile to install gems for development instead of add_development_dependency in gemspec
|
13
|
+
|
14
|
+
|
4
15
|
## [v0.5.33] - 2023-10-29
|
5
16
|
|
6
17
|
- Update dependencies
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
power_assert (2.0.3)
|
5
|
+
rake (13.1.0)
|
6
|
+
test-unit (3.6.1)
|
7
|
+
power_assert
|
8
|
+
yard (0.9.34)
|
9
|
+
|
10
|
+
PLATFORMS
|
11
|
+
arm64-darwin-21
|
12
|
+
x86_64-darwin-20
|
13
|
+
|
14
|
+
DEPENDENCIES
|
15
|
+
rake
|
16
|
+
test-unit
|
17
|
+
yard
|
18
|
+
|
19
|
+
BUNDLED WITH
|
20
|
+
2.4.13
|
data/Rakefile
CHANGED
data/RubySketch.podspec
CHANGED
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
|
|
28
28
|
#{root}/beeps/vendor/signalsmith-stretch
|
29
29
|
#{root}/rays/vendor/glm
|
30
30
|
#{root}/rays/vendor/clipper/cpp
|
31
|
-
#{root}/rays/vendor/
|
31
|
+
#{root}/rays/vendor/earcut.hpp/include/mapbox
|
32
32
|
#{root}/rays/vendor/splines-lib
|
33
33
|
#{root}/reflex/vendor/box2d/include
|
34
34
|
#{root}/reflex/vendor/box2d/src
|
@@ -101,10 +101,6 @@ Pod::Spec.new do |s|
|
|
101
101
|
sub.source_files = "rays/vendor/clipper/cpp/*.cpp"
|
102
102
|
end
|
103
103
|
|
104
|
-
spec.subspec "Poly2Tri" do |sub|
|
105
|
-
sub.source_files = "rays/vendor/poly2tri/poly2tri/**/*.cc"
|
106
|
-
end
|
107
|
-
|
108
104
|
spec.subspec "SplineLib" do |sub|
|
109
105
|
sub.source_files = "rays/vendor/splines-lib/Splines.cpp"
|
110
106
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.35
|
data/lib/rubysketch/sprite.rb
CHANGED
@@ -359,7 +359,7 @@ module RubySketch
|
|
359
359
|
def angle=(angle)
|
360
360
|
c = @context__
|
361
361
|
@view__.angle =
|
362
|
-
c ? c.
|
362
|
+
c ? c.toDegrees__(angle) : angle * Processing::GraphicsContext::RAD2DEG__
|
363
363
|
angle
|
364
364
|
end
|
365
365
|
|
data/rubysketch.gemspec
CHANGED
@@ -25,16 +25,12 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.platform = Gem::Platform::RUBY
|
26
26
|
s.required_ruby_version = '>= 3.0.0'
|
27
27
|
|
28
|
-
s.add_runtime_dependency 'xot', '~> 0.1.
|
29
|
-
s.add_runtime_dependency 'rucy', '~> 0.1.
|
30
|
-
s.add_runtime_dependency 'beeps', '~> 0.1.
|
31
|
-
s.add_runtime_dependency 'rays', '~> 0.1.
|
32
|
-
s.add_runtime_dependency 'reflexion', '~> 0.1.
|
33
|
-
s.add_runtime_dependency 'processing', '~> 0.5.
|
34
|
-
|
35
|
-
s.add_development_dependency 'rake'
|
36
|
-
s.add_development_dependency 'test-unit'
|
37
|
-
s.add_development_dependency 'yard'
|
28
|
+
s.add_runtime_dependency 'xot', '~> 0.1.41'
|
29
|
+
s.add_runtime_dependency 'rucy', '~> 0.1.42'
|
30
|
+
s.add_runtime_dependency 'beeps', '~> 0.1.44'
|
31
|
+
s.add_runtime_dependency 'rays', '~> 0.1.47'
|
32
|
+
s.add_runtime_dependency 'reflexion', '~> 0.1.55'
|
33
|
+
s.add_runtime_dependency 'processing', '~> 0.5.31'
|
38
34
|
|
39
35
|
s.files = `git ls-files`.split $/
|
40
36
|
s.test_files = s.files.grep %r{^(test|spec|features)/}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubysketch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- xordog
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xot
|
@@ -16,126 +16,84 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.41
|
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.41
|
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.42
|
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.42
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: beeps
|
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.44
|
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.44
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rays
|
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.47
|
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.47
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: reflexion
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.1.
|
75
|
+
version: 0.1.55
|
76
76
|
type: :runtime
|
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: 0.1.
|
82
|
+
version: 0.1.55
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: processing
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.5.
|
89
|
+
version: 0.5.31
|
90
90
|
type: :runtime
|
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.5.
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rake
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: test-unit
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: yard
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
96
|
+
version: 0.5.31
|
139
97
|
description: A game engine based on the Processing API.
|
140
98
|
email: xordog@gmail.com
|
141
99
|
executables: []
|
@@ -150,6 +108,7 @@ files:
|
|
150
108
|
- ".yardopts"
|
151
109
|
- ChangeLog.md
|
152
110
|
- Gemfile
|
111
|
+
- Gemfile.lock
|
153
112
|
- LICENSE
|
154
113
|
- README.md
|
155
114
|
- Rakefile
|