glfw3 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING +0 -4
  3. data/README.md +0 -4
  4. data/ext/glfw3/glfw3.c +4 -4
  5. metadata +13 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fa117b1278866e7f9961128602587cbe0031e9c
4
- data.tar.gz: 7d81ba45e765294d0b5507c97ab4f6e13b741b96
3
+ metadata.gz: df407facc1820d92c316b35de01040569b79e376
4
+ data.tar.gz: 12b236e4b4c291898eca5166f116133f27091ceb
5
5
  SHA512:
6
- metadata.gz: 45fbc341375695f0d1ad6fdb02129649180b4c5d1147230afc4fe938daac71c41267a3aaeecfe74f24a46c53732d8f1f17e3f6ab8ca3d96960b20b3d967347bf
7
- data.tar.gz: 67a60fc5223808b058f341b3a7ef148f66b7e78948aedce09e94d322b4377ad398c6ea0bb9c1380f0f5f60b3a543680c7fb2961399201298c0e89ba63266a788
6
+ metadata.gz: dcdc263c8718b4aa259020d25d023b46f15482e31e3d4a5b3065dff299aa9e46d36c5ca6e5b2ea15d93861af6437e77f7fb90eb3db5532c8356e770375cd4c09
7
+ data.tar.gz: 8f0fe94522d88a65979f6039733b341280cde3fca756c6796531bc8fe62452d1065088a368abc48599c7dd17b18acd416deead6cccd5bec877c6a9bc0329f3a1
data/COPYING CHANGED
@@ -20,7 +20,3 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
20
20
  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21
21
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22
22
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
-
24
- The views and conclusions contained in the software and documentation are those
25
- of the authors and should not be interpreted as representing official policies,
26
- either expressed or implied, of the FreeBSD Project.
data/README.md CHANGED
@@ -89,7 +89,3 @@ reasonable. If there's a problem with that, let me know.
89
89
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
90
90
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
91
91
 
92
- The views and conclusions contained in the software and documentation are those
93
- of the authors and should not be interpreted as representing official policies,
94
- either expressed or implied, of the FreeBSD Project.
95
-
@@ -516,9 +516,9 @@ static VALUE rb_monitor_set_gamma_ramp(VALUE self, VALUE ramp_hash)
516
516
  ramp.blue = &ramp_buffer[ramp_len * 2];
517
517
 
518
518
  for (ramp_index = 0; ramp_index < ramp_len; ++ramp_index) {
519
- ramp.red[ramp_index] = rb_num2ushort(rb_ary_entry(rb_red, ramp_index));
520
- ramp.green[ramp_index] = rb_num2ushort(rb_ary_entry(rb_green, ramp_index));
521
- ramp.blue[ramp_index] = rb_num2ushort(rb_ary_entry(rb_blue, ramp_index));
519
+ ramp.red[ramp_index] = rb_num2uint(rb_ary_entry(rb_red, ramp_index));
520
+ ramp.green[ramp_index] = rb_num2uint(rb_ary_entry(rb_green, ramp_index));
521
+ ramp.blue[ramp_index] = rb_num2uint(rb_ary_entry(rb_blue, ramp_index));
522
522
  }
523
523
 
524
524
  ramp.size = ramp_len;
@@ -1517,10 +1517,10 @@ void Init_glfw3(void)
1517
1517
  rb_define_singleton_method(s_glfw_window_klass, "window_hint", rb_window_window_hint, 2);
1518
1518
  rb_define_singleton_method(s_glfw_window_klass, "default_window_hints", rb_window_default_window_hints, 0);
1519
1519
  rb_define_singleton_method(s_glfw_window_klass, "unset_context", rb_window_unset_context, 0);
1520
+ rb_define_singleton_method(s_glfw_window_klass, "current_context", rb_window_get_current_context, 0);
1520
1521
  rb_define_method(s_glfw_window_klass, "destroy", rb_window_destroy, 0);
1521
1522
  rb_define_method(s_glfw_window_klass, "get_should_close", rb_window_should_close, 0);
1522
1523
  rb_define_method(s_glfw_window_klass, "set_should_close", rb_window_set_should_close, 1);
1523
- rb_define_method(s_glfw_window_klass, "current_context", rb_window_get_current_context, 0);
1524
1524
  rb_define_method(s_glfw_window_klass, "make_context_current", rb_window_make_context_current, 0);
1525
1525
  rb_define_method(s_glfw_window_klass, "swap_buffers", rb_window_swap_buffers, 0);
1526
1526
  rb_define_method(s_glfw_window_klass, "title=", rb_window_set_title, 1);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glfw3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noel Raymond Cower
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-27 00:00:00.000000000 Z
11
+ date: 2014-02-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: GLFW 3 bindings for Ruby 2.x
14
14
  email: ncower@gmail.com
@@ -20,40 +20,40 @@ extra_rdoc_files:
20
20
  - README.md
21
21
  - COPYING
22
22
  files:
23
+ - COPYING
24
+ - README.md
25
+ - ext/glfw3/extconf.rb
26
+ - ext/glfw3/glfw3.c
27
+ - lib/glfw3.rb
23
28
  - lib/glfw3/callbacks.rb
24
29
  - lib/glfw3/monitor.rb
25
30
  - lib/glfw3/window.rb
26
- - lib/glfw3.rb
27
- - ext/glfw3/glfw3.c
28
- - ext/glfw3/extconf.rb
29
- - COPYING
30
- - README.md
31
31
  homepage: https://github.com/nilium/ruby-glfw3
32
32
  licenses:
33
33
  - Simplified BSD
34
34
  metadata: {}
35
35
  post_install_message:
36
36
  rdoc_options:
37
- - --title
37
+ - "--title"
38
38
  - GLFW 3 Bindings
39
- - --main
39
+ - "--main"
40
40
  - README.md
41
- - --line-numbers
41
+ - "--line-numbers"
42
42
  require_paths:
43
43
  - lib
44
44
  required_ruby_version: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - '>='
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  requirements: []
55
55
  rubyforge_project:
56
- rubygems_version: 2.0.5
56
+ rubygems_version: 2.2.1
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: GLFW3