rays 0.1.49 → 0.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
  SHA256:
3
- metadata.gz: 9a16981d77f0cc82e3020f1a80757dc7620da39d9b309823b47b8dc49883128a
4
- data.tar.gz: 0bffdff4eceb4b60326882341d2fd3f0b2ff583dabfbab05f28127b276a4ab83
3
+ metadata.gz: 3dbc22d68160b3d58117501d6ca21db9f21b9e35fee3580d49f71de1ac17dac0
4
+ data.tar.gz: 50627ce18416368e72ac7147e39ac09dbeee08ee0b179bcb1a92c9cc237415fd
5
5
  SHA512:
6
- metadata.gz: 2e417b9f4f751adeda1108ed76818171896caf4476188a7b3e9116e81f3d1a5d2c9e023e092b202a81c48f6a7a17faed7b388a5cf8211363350efe351f3b3df5
7
- data.tar.gz: 33ff8e0b58b215a1e654fcc9aec4864e35a004a5470f412ce0cec7b0a81865b5d8dad003367ee6630fde11e34fb43b83e0c5f973d0d0f0fbe5cdd00795ef1255
6
+ metadata.gz: 44ddde71fc0db5377e0d539414a45f99fe6a64dc6f7c2751a0767b8610891306b04598c63ef7b0a586b41055dd6797629395da83810756e61e19d7924783dc7b
7
+ data.tar.gz: 84c3031d020d90ff0d69b454aa823074be22daa98cf6c1742fccad5dfa339c019eed6fdba2c618f0e5613ccc638863d28c24076d7e05ba8b9b43f80385c03583
@@ -13,7 +13,7 @@ Init_rays_exception ()
13
13
  {
14
14
  Module mRays = rb_define_module("Rays");
15
15
 
16
- cRaysError = rb_define_class_under(mRays, "RaysError", rb_eRuntimeError);
16
+ cRaysError = rb_define_class_under(mRays, "RaysError", rb_eStandardError);
17
17
  cOpenGLError = rb_define_class_under(mRays, "OpenGLError", cRaysError);
18
18
  cShaderError = rb_define_class_under(mRays, "ShaderError", cOpenGLError);
19
19
  }
data/ChangeLog.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # rays ChangeLog
2
2
 
3
3
 
4
+ ## [v0.2] - 2024-03-14
5
+
6
+ - Change the super class for exception class from RuntimeError to StandardError
7
+ - Fix compile errors on iOS
8
+
9
+
4
10
  ## [v0.1.49] - 2024-02-07
5
11
 
6
12
  - Add point(), line_height(), and line_height!() to Painter
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.49
1
+ 0.2
@@ -13,7 +13,7 @@ Init_rays_exception ()
13
13
  {
14
14
  Module mRays = define_module("Rays");
15
15
 
16
- cRaysError = mRays.define_class("RaysError", rb_eRuntimeError);
16
+ cRaysError = mRays.define_class("RaysError", rb_eStandardError);
17
17
  cOpenGLError = mRays.define_class("OpenGLError", cRaysError);
18
18
  cShaderError = mRays.define_class("ShaderError", cOpenGLError);
19
19
  }
data/rays.gemspec CHANGED
@@ -25,8 +25,8 @@ 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.42'
29
- s.add_runtime_dependency 'rucy', '~> 0.1.44'
28
+ s.add_runtime_dependency 'xot', '~> 0.2'
29
+ s.add_runtime_dependency 'rucy', '~> 0.2'
30
30
 
31
31
  s.files = `git ls-files`.split $/
32
32
  s.executables = s.files.grep(%r{^bin/}) {|f| File.basename f}
data/src/painter.cpp CHANGED
@@ -1236,7 +1236,7 @@ namespace Rays
1236
1236
  Painter* painter, const Font& font,
1237
1237
  const char* line, coord x, coord y, coord width = 0, coord height = 0)
1238
1238
  {
1239
- assert(painter && font && str && *str != '\0');
1239
+ assert(painter && font && line && *line != '\0');
1240
1240
 
1241
1241
  Painter::Data* self = painter->self.get();
1242
1242
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rays
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.49
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - xordog
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-06 00:00:00.000000000 Z
11
+ date: 2024-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xot
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.42
19
+ version: '0.2'
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.42
26
+ version: '0.2'
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.44
33
+ version: '0.2'
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.44
40
+ version: '0.2'
41
41
  description: This library helps you to develop graphics application with OpenGL.
42
42
  email: xordog@gmail.com
43
43
  executables: []