texplay 0.3.0-i386-mingw32 → 0.3.1-i386-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/README.markdown +1 -1
- data/Rakefile +16 -10
- data/ext/texplay/utils.c +430 -426
- data/lib/1.8/texplay.so +0 -0
- data/lib/1.9/texplay.so +0 -0
- data/lib/texplay/version.rb +1 -1
- metadata +9 -5
data/CHANGELOG
CHANGED
data/README.markdown
CHANGED
data/Rakefile
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
$LOAD_PATH.unshift File.join(File.expand_path(__FILE__), '..')
|
2
2
|
|
3
|
+
|
3
4
|
require 'rake/clean'
|
4
5
|
require 'rake/gempackagetask'
|
5
|
-
#require 'rake/extensiontask'
|
6
6
|
|
7
7
|
# get the texplay version
|
8
8
|
require './lib/texplay/version'
|
9
9
|
|
10
|
+
direc = File.dirname(__FILE__)
|
10
11
|
dlext = Config::CONFIG['DLEXT']
|
11
12
|
|
12
13
|
CLEAN.include("ext/**/*.#{dlext}", "ext/**/*.log", "ext/**/*.o", "ext/**/*~", "ext/**/*#*", "ext/**/*.obj", "ext/**/*.def", "ext/**/*.pdb")
|
@@ -21,7 +22,7 @@ def apply_spec_defaults(s)
|
|
21
22
|
s.email = 'jrmair@gmail.com'
|
22
23
|
s.description = s.summary
|
23
24
|
s.require_path = 'lib'
|
24
|
-
s.add_dependency("gosu",">=0.7.
|
25
|
+
s.add_dependency("gosu",">=0.7.25")
|
25
26
|
s.homepage = "http://banisterfiend.wordpress.com/2008/08/23/texplay-an-image-manipulation-tool-for-ruby-and-gosu/"
|
26
27
|
s.has_rdoc = 'yard'
|
27
28
|
s.files = FileList["Rakefile", "README.markdown", "CHANGELOG",
|
@@ -58,12 +59,17 @@ namespace :ruby do
|
|
58
59
|
end
|
59
60
|
end
|
60
61
|
|
61
|
-
desc "
|
62
|
-
task :
|
63
|
-
|
64
|
-
|
62
|
+
desc "build all platform gems at once"
|
63
|
+
task :gems => ["mingw32:gem", "mswin32:gem", "ruby:gem"]
|
64
|
+
|
65
|
+
desc "remove all platform gems"
|
66
|
+
task :rmgems => ["ruby:clobber_package"]
|
65
67
|
|
66
|
-
desc "
|
67
|
-
task :
|
68
|
-
|
69
|
-
|
68
|
+
desc "build and push latest gems"
|
69
|
+
task :pushgems => :gems do
|
70
|
+
chdir("#{direc}/pkg") do
|
71
|
+
Dir["*.gem"].each do |gemfile|
|
72
|
+
sh "gem push #{gemfile}"
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|