rsdl 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Makefile.in +7 -1
  2. data/VERSION +1 -1
  3. data/bin/rsdl +2 -6
  4. data/rsdl.gemspec +60 -0
  5. metadata +3 -2
@@ -22,7 +22,13 @@ clean:
22
22
  <%= config['RMALL'] %> $(PROGRAM) $(OBJS)
23
23
 
24
24
  install:
25
- <%= config['INSTALL'] %> $(PROGRAM) <%= config['bindir'] %>
25
+ if [ "$$(basename "$$(cd .. && pwd)")" = gems -a -d ../../specifications ]; then \
26
+ if [ "$(PROGRAM)" != rsdl$(EXEEXT) ]; then \
27
+ ln "$(PROGRAM)" rsdl$(EXEEXT); \
28
+ fi; \
29
+ else \
30
+ <%= config['INSTALL'] %> $(PROGRAM) <%= config['bindir'] %>; \
31
+ fi
26
32
 
27
33
  $(PROGRAM): $(OBJS)
28
34
  $(CC) $(OBJS) $(LIBPATH) $(LDFLAGS) $(LIBRUBYARG) $(LIBS) -o $@
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.4
data/bin/rsdl CHANGED
@@ -1,9 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- exec File.join(File.dirname(__FILE__), "..", "rsdl"), *ARGV
3
+ exec File.join(File.dirname(File.dirname(__FILE__)), "rsdl"), *ARGV
4
4
 
5
- # This file is a dummy place-holder to satisfy RubyGems.
6
- #
7
- # This file is never used because the wrapper script generated in the
8
- # generate_bin stage will be overwritten in the build_extensions
9
- # stage.
5
+ # This file is for installation via RubyGems.
@@ -0,0 +1,60 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{rsdl}
8
+ s.version = "0.1.4"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Ryuichi Sakamoto", "Akinori MUSHA"]
12
+ s.date = %q{2010-02-18}
13
+ s.default_executable = %q{rsdl}
14
+ s.description = %q{RSDL is an SDL initialized ruby interpreter which makes SDL
15
+ applications possible to run on such platforms as Mac OS X where SDL
16
+ needs to be initialized before a ruby interpreter is invoked.
17
+ }
18
+ s.email = %q{knu@idaemons.org}
19
+ s.executables = ["rsdl"]
20
+ s.extensions = ["extconf.rb"]
21
+ s.extra_rdoc_files = [
22
+ "README.rdoc"
23
+ ]
24
+ s.files = [
25
+ ".gitignore",
26
+ "Makefile.in",
27
+ "README.rdoc",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "bin/rsdl",
31
+ "extconf.rb",
32
+ "rsdl.c.in",
33
+ "rsdl.gemspec",
34
+ "test/helper.rb",
35
+ "test/test_rsdl.rb"
36
+ ]
37
+ s.homepage = %q{http://github.com/knu/rsdl}
38
+ s.rdoc_options = ["--charset=UTF-8"]
39
+ s.require_paths = ["lib"]
40
+ s.rubygems_version = %q{1.3.5}
41
+ s.summary = %q{SDL initialized ruby interpreter}
42
+ s.test_files = [
43
+ "test/helper.rb",
44
+ "test/test_rsdl.rb"
45
+ ]
46
+
47
+ if s.respond_to? :specification_version then
48
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
+ s.specification_version = 3
50
+
51
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
52
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
53
+ else
54
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
55
+ end
56
+ else
57
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
58
+ end
59
+ end
60
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsdl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryuichi Sakamoto
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-10-29 00:00:00 +09:00
13
+ date: 2010-02-18 00:00:00 +09:00
14
14
  default_executable: rsdl
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -44,6 +44,7 @@ files:
44
44
  - bin/rsdl
45
45
  - extconf.rb
46
46
  - rsdl.c.in
47
+ - rsdl.gemspec
47
48
  - test/helper.rb
48
49
  - test/test_rsdl.rb
49
50
  has_rdoc: true