rubysketch 0.5.12 → 0.5.14

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: 89c9430464e46375e771df7dea669efb44b39420e74cd39f768565261eccbaea
4
- data.tar.gz: e5e2f5d02342288f28a1b9b39bfb65a3df5a689a3f2357dfbec2fd08ac72528d
3
+ metadata.gz: 5072f2af31dc821660d0e009dd561764ebec1915251c278c00a78ef85e06b053
4
+ data.tar.gz: b24dc3359ada8fead645edefce1ff3ee8839f1ef8e43386ed918ace3f02efaf9
5
5
  SHA512:
6
- metadata.gz: 59f9a68562024f0902f9b684d0488af1ed788774a21312b1d89ebe6a49c214a1931ab126034bfd2e216bcf00ab7fd8c60dac2186cd82393a5302010873ac4e91
7
- data.tar.gz: ace3f137ae3485fbe318be5c38fbd404a963b23b51afb5941ee047b89ccc4fb5746b0ee068dd9b91a6a795d86f09d452b3f0c3cac3cdb7eef550ded264b0596b
6
+ metadata.gz: 03cb97667a3f8fe6ff154cfa838268c83560de09ab5a24805666aa6322d2e6523f5897a93ddee3045277a5d2a982e116f181d0b15b3623fbead302789c8f0473
7
+ data.tar.gz: d6433c0ca7e75a2e9893c0f9d95a60621c38c97a1560a2c72e451a20067125b2dc1c8865f11204e20fd3f90870c22c6c41b49e7c259b4e5deaead6da6640ecdb
data/ChangeLog.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # rubysketch ChangeLog
2
2
 
3
3
 
4
+ ## [v0.5.14] - 2023-06-02
5
+
6
+ - Use WIDTH and HEIGHT env vars for initial canvas size
7
+
8
+
9
+ ## [v0.5.13] - 2023-05-29
10
+
11
+ - Update dependencies
12
+
13
+
4
14
  ## [v0.5.12] - 2023-05-27
5
15
 
6
16
  - required_ruby_version >= 3.0.0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.12
1
+ 0.5.14
data/lib/rubysketch.rb CHANGED
@@ -2,7 +2,9 @@ require 'rubysketch/all'
2
2
 
3
3
 
4
4
  module RubySketch
5
- WINDOW = RubySketch::Window.new {start}
5
+ w = (ENV['WIDTH'] || 500).to_i
6
+ h = (ENV['HEIGHT'] || 500).to_i
7
+ WINDOW = RubySketch::Window.new(w, h) {start}
6
8
  CONTEXT = RubySketch::Context.new WINDOW
7
9
 
8
10
  refine Object do
data/rubysketch.gemspec CHANGED
@@ -1,10 +1,7 @@
1
1
  # -*- mode: ruby -*-
2
2
 
3
3
 
4
- File.expand_path('lib', __dir__)
5
- .tap {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}
6
-
7
- require 'rubysketch/extension'
4
+ require_relative 'lib/rubysketch/extension'
8
5
 
9
6
 
10
7
  Gem::Specification.new do |s|
@@ -28,12 +25,12 @@ Gem::Specification.new do |s|
28
25
  s.platform = Gem::Platform::RUBY
29
26
  s.required_ruby_version = '>= 3.0.0'
30
27
 
31
- s.add_runtime_dependency 'xot', '~> 0.1.37'
32
- s.add_runtime_dependency 'rucy', '~> 0.1.37'
33
- s.add_runtime_dependency 'beeps', '~> 0.1.38'
34
- s.add_runtime_dependency 'rays', '~> 0.1.38'
35
- s.add_runtime_dependency 'reflexion', '~> 0.1.40'
36
- s.add_runtime_dependency 'processing', '~> 0.5.13'
28
+ s.add_runtime_dependency 'xot', '~> 0.1.38'
29
+ s.add_runtime_dependency 'rucy', '~> 0.1.38'
30
+ s.add_runtime_dependency 'beeps', '~> 0.1.39'
31
+ s.add_runtime_dependency 'rays', '~> 0.1.39'
32
+ s.add_runtime_dependency 'reflexion', '~> 0.1.42'
33
+ s.add_runtime_dependency 'processing', '~> 0.5.15'
37
34
 
38
35
  s.add_development_dependency 'rake'
39
36
  s.add_development_dependency 'test-unit'
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.12
4
+ version: 0.5.14
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-27 00:00:00.000000000 Z
11
+ date: 2023-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xot
@@ -16,84 +16,84 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.37
19
+ version: 0.1.38
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.37
26
+ version: 0.1.38
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.37
33
+ version: 0.1.38
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.37
40
+ version: 0.1.38
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.38
47
+ version: 0.1.39
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.38
54
+ version: 0.1.39
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.38
61
+ version: 0.1.39
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.38
68
+ version: 0.1.39
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.40
75
+ version: 0.1.42
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.40
82
+ version: 0.1.42
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.13
89
+ version: 0.5.15
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.13
96
+ version: 0.5.15
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement