pixo 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 71b62931610d1ad22eba23129b030299806e270b
4
- data.tar.gz: 4b1ecaac6f2cd5704f3d0b0530d28a0c8f4b9cbb
3
+ metadata.gz: 75fb2c5c0651d7735b03609db63ad188253e78a9
4
+ data.tar.gz: db5e21e1f9965f1c1f7c3a530666232e9e8d9ba4
5
5
  SHA512:
6
- metadata.gz: 0cc8295b5af50786ccd1956faef37012d0689bef05d99b6cf31e816604223c7d4ea1f571c0a694d2c4ea4e58c70089371890df8ff323552e4f5ff0e239de2611
7
- data.tar.gz: 42c4e473aaf1230153811f348416cdec546d2ea25cd0a7812c38d16a35a048573bc3b6ffc448080fd04f1505db8d1853596584ad6af50cee83e4507defc7d468
6
+ metadata.gz: 0426b2618eee3d91704d99e61bf4747d5f42c0f1aa2f1927989a8885d726b83ad8675e7bb3525588326cc0f1f0b0caf1536345551ad88b1987bc7e405ac2f95a
7
+ data.tar.gz: 2052de8af02515ebc49206fcb22855c61b5919f1ed9e5b60424e5f1a80f4df9ad3d7e4bddcc258f216e642837b88bb7c6703bf686d704fd7f57c591497f3e1da
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pixo (0.2.5)
4
+ pixo (0.2.6)
5
5
  concurrent-ruby
6
6
 
7
7
  GEM
data/exe/pixo CHANGED
@@ -3,11 +3,13 @@
3
3
  require 'pixo'
4
4
  require 'pixo/application'
5
5
 
6
+ app = Pixo::Application.instance
6
7
 
7
8
  service_thread = Thread.new do
8
- sleep 0.1
9
9
  Pixo::Ipc::Service.new(STDIN, STDOUT).run
10
- Pixo::Application.instance.shutdown
10
+ app.shutdown
11
11
  end
12
+ Signal.trap('INT') { app.shutdown }
13
+ Signal.trap('TERM') { app.shutdown }
12
14
 
13
- Pixo::Application.instance.run
15
+ app.run
@@ -23,7 +23,6 @@ namespace Pixlib {
23
23
 
24
24
  out vec2 TexCoords;
25
25
  out vec3 Normal;
26
- out vec4 Position;
27
26
 
28
27
  uniform mat4 view;
29
28
  uniform mat4 projection;
@@ -35,7 +34,6 @@ namespace Pixlib {
35
34
  gl_Position = projection * view * positionOffset * vec4(position, 1.0f);
36
35
  TexCoords = texCoords + texCoordsOffset;
37
36
  Normal = normal;
38
- Position = positionOffset*vec4(position, 1.0f);
39
37
  })",
40
38
  R"(#version 330 core
41
39
 
@@ -44,7 +42,6 @@ namespace Pixlib {
44
42
  #endif
45
43
 
46
44
  in vec2 TexCoords;
47
- in vec3 Position;
48
45
 
49
46
  out vec4 color;
50
47
 
@@ -20,6 +20,7 @@ module Pixo
20
20
 
21
21
  self.running = tick(active_pattern, brightness) && running
22
22
  end
23
+ ensure
23
24
  close
24
25
  end
25
26
 
@@ -1,3 +1,3 @@
1
1
  module Pixo
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pixo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Constantine
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-26 00:00:00.000000000 Z
11
+ date: 2017-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby