gir_ffi-gtk 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.6.0 / 2013-06-09
2
+
3
+ * Update dependency on GirFFI
4
+
1
5
  ### 0.5.0 / 2013-01-19
2
6
 
3
7
  * Update dependency on GirFFI
@@ -4,9 +4,9 @@ module Gtk
4
4
  setup_method "init"
5
5
 
6
6
  def self.init_with_auto_argv
7
- my_args = init_without_auto_argv [$0, *ARGV]
8
- my_args.shift
9
- ARGV.replace my_args
7
+ remaining = init_without_auto_argv([$0, *ARGV]).to_a
8
+ remaining.shift
9
+ ARGV.replace remaining
10
10
  end
11
11
  class << self
12
12
  alias init_without_auto_argv init
@@ -1,7 +1,5 @@
1
1
  require File.expand_path('../test_helper.rb', File.dirname(__FILE__))
2
2
 
3
- require 'gir_ffi-gtk3'
4
-
5
3
  describe Gtk do
6
4
  describe "::init" do
7
5
  before do
@@ -1,6 +1,5 @@
1
1
  require File.expand_path('../test_helper.rb', File.dirname(__FILE__))
2
2
 
3
- require 'gir_ffi-gtk3'
4
3
  Gtk.init
5
4
 
6
5
  # Tests generated methods and functions in the Gtk namespace.
@@ -1,7 +1,5 @@
1
1
  require File.expand_path('../test_helper.rb', File.dirname(__FILE__))
2
2
 
3
- require 'gir_ffi-gtk3'
4
-
5
3
  describe Gtk::Menu do
6
4
  describe "#popup" do
7
5
  it "delegates to popup_for_device" do
data/test/test_helper.rb CHANGED
@@ -7,7 +7,6 @@ if RUBY_VERSION >= "1.9" and ENV["SIMPLECOV"]
7
7
  SimpleCov.start
8
8
  end
9
9
 
10
- require 'minitest/spec'
11
10
  require 'minitest/autorun'
12
11
  require 'rr'
13
12
 
@@ -15,9 +14,9 @@ Thread.abort_on_exception = true
15
14
 
16
15
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
17
16
 
18
- require 'gir_ffi'
17
+ require 'gir_ffi-gtk3'
19
18
 
20
- class MiniTest::Unit::TestCase
19
+ class Minitest::Test
21
20
  include RR::Adapters::TestUnit
22
21
 
23
22
  def assert_nothing_raised
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gir_ffi-gtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-19 00:00:00.000000000 Z
12
+ date: 2013-06-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gir_ffi
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.5.0
21
+ version: 0.6.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 0.5.0
29
+ version: 0.6.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: minitest
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 3.2.0
37
+ version: '5.0'
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 3.2.0
45
+ version: '5.0'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rr
48
48
  requirement: !ruby/object:Gem::Requirement