rubysketch 0.5.13 → 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: d9ff22808787263a56e71165d0d8f21f1865aa6e6c513ad42a64e19926e17dca
4
- data.tar.gz: fbb2cb7acab26bb79c47e23479fbe956511ce17996df5b30beba4d646cef175e
3
+ metadata.gz: 5072f2af31dc821660d0e009dd561764ebec1915251c278c00a78ef85e06b053
4
+ data.tar.gz: b24dc3359ada8fead645edefce1ff3ee8839f1ef8e43386ed918ace3f02efaf9
5
5
  SHA512:
6
- metadata.gz: 8fc6252a4d104f5c8300ec904b7de9823c859103141469b926ceb7493253dd4b46a9a5d614314b2b417d20135b46b50efb5706b3eeaa5f3baa17b79f38c62fb3
7
- data.tar.gz: 4dc519cb74d2bb0910618ba601da2207b6dfbe9604c0a7ebc931432c40d8e5af95e84bbb21cc4ff4c8f7583f9d77aedbfd248fb3ece8facc7e89fd76b8cdc100
6
+ metadata.gz: 03cb97667a3f8fe6ff154cfa838268c83560de09ab5a24805666aa6322d2e6523f5897a93ddee3045277a5d2a982e116f181d0b15b3623fbead302789c8f0473
7
+ data.tar.gz: d6433c0ca7e75a2e9893c0f9d95a60621c38c97a1560a2c72e451a20067125b2dc1c8865f11204e20fd3f90870c22c6c41b49e7c259b4e5deaead6da6640ecdb
data/ChangeLog.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  ## [v0.5.13] - 2023-05-29
5
10
 
6
11
  - Update dependencies
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.13
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
@@ -29,8 +29,8 @@ Gem::Specification.new do |s|
29
29
  s.add_runtime_dependency 'rucy', '~> 0.1.38'
30
30
  s.add_runtime_dependency 'beeps', '~> 0.1.39'
31
31
  s.add_runtime_dependency 'rays', '~> 0.1.39'
32
- s.add_runtime_dependency 'reflexion', '~> 0.1.41'
33
- s.add_runtime_dependency 'processing', '~> 0.5.14'
32
+ s.add_runtime_dependency 'reflexion', '~> 0.1.42'
33
+ s.add_runtime_dependency 'processing', '~> 0.5.15'
34
34
 
35
35
  s.add_development_dependency 'rake'
36
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.13
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-29 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
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.1.41
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.41
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.14
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.14
96
+ version: 0.5.15
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement