Tamar 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +19 -2
- data/Tamar.gemspec +2 -1
- data/VERSION +1 -1
- data/extconf.rb +59 -0
- metadata +3 -2
data/HISTORY
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
RELEASE HISTORY
|
2
2
|
|
3
|
+
v0.7.6 / 2011-05-23
|
4
|
+
|
5
|
+
Regenerate gemspec for version 0.7.6 (David Love david@homeunix.org.uk)
|
6
|
+
|
7
|
+
Changes:
|
8
|
+
|
9
|
+
* 3 General Enhancements
|
10
|
+
|
11
|
+
* Version bump to 0.7.6
|
12
|
+
* Update HISTORY file
|
13
|
+
* Regenerate gemspec for version 0.7.5
|
14
|
+
|
15
|
+
* 1 Patch Enhancements
|
16
|
+
|
17
|
+
* Link directly to the Lua source
|
18
|
+
|
19
|
+
|
3
20
|
v0.7.5 / 2011-05-23
|
4
21
|
|
5
22
|
Regenerate gemspec for version 0.7.5 (David Love david@homeunix.org.uk)
|
@@ -115,9 +132,9 @@ Changes:
|
|
115
132
|
|
116
133
|
* 1 Patch Enhancements
|
117
134
|
|
118
|
-
*
|
135
|
+
* Add extconf.rb in the root directory of the Gem
|
119
136
|
|
120
137
|
* 1 General Enhancements
|
121
138
|
|
122
|
-
* Regenerate gemspec for version 0.7.
|
139
|
+
* Regenerate gemspec for version 0.7.6
|
123
140
|
|
data/Tamar.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{Tamar}
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Evan Wies, David Love"]
|
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
"Rakefile",
|
30
30
|
"Tamar.gemspec",
|
31
31
|
"VERSION",
|
32
|
+
"extconf.rb",
|
32
33
|
"src/build/bootstrap.rb",
|
33
34
|
"src/build/extconf.rb",
|
34
35
|
"src/lua/CMakeLists.txt",
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.7
|
data/extconf.rb
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# Licensed under the BSD License:
|
2
|
+
#
|
3
|
+
# Copyright (c) 2007, Evan Wies
|
4
|
+
# Copyright (c) 2011, David Love
|
5
|
+
# All rights reserved.
|
6
|
+
#
|
7
|
+
# Redistribution and use in source and binary forms, with or without
|
8
|
+
# modification, are permitted provided that the following conditions are met:
|
9
|
+
#
|
10
|
+
# * Redistributions of source code must retain the above copyright
|
11
|
+
# notice, this list of conditions and the following disclaimer.
|
12
|
+
#
|
13
|
+
# * Redistributions in binary form must reproduce the above copyright
|
14
|
+
# notice, this list of conditions and the following disclaimer in the
|
15
|
+
# documentation and/or other materials provided with the distribution.
|
16
|
+
#
|
17
|
+
# * Neither the name of the neomantra nor the names of its contributors may
|
18
|
+
# be used to endorse or promote products derived from this software without
|
19
|
+
# specific prior written permission.
|
20
|
+
#
|
21
|
+
# THIS SOFTWARE IS PROVIDED BY Evan Wies ``AS IS'' AND ANY
|
22
|
+
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
23
|
+
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
24
|
+
# DISCLAIMED. IN NO EVENT SHALL Evan Wies BE LIABLE FOR ANY
|
25
|
+
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
26
|
+
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
27
|
+
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
28
|
+
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
29
|
+
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
30
|
+
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
31
|
+
#
|
32
|
+
|
33
|
+
require 'fileutils'
|
34
|
+
|
35
|
+
##
|
36
|
+
## Save the base directory
|
37
|
+
##
|
38
|
+
home_dir = FileUtils.pwd
|
39
|
+
|
40
|
+
##
|
41
|
+
## Build the Lua core libraries and runtime
|
42
|
+
##
|
43
|
+
FileUtils.cd('src/luadist')
|
44
|
+
|
45
|
+
# Run CMake
|
46
|
+
puts "Configuring Lua..."
|
47
|
+
`cmake CMakeLists.txt`
|
48
|
+
|
49
|
+
# Run Make now the project has been configured
|
50
|
+
puts "Building Lua..."
|
51
|
+
`make`
|
52
|
+
|
53
|
+
##
|
54
|
+
## Call the Ruby bootstrap script to build the Ruby->Lua bindings
|
55
|
+
##
|
56
|
+
FileUtils.cd(home_dir)
|
57
|
+
|
58
|
+
puts "Making Ruby->Lua bindings..."
|
59
|
+
`ruby src/build/bootstrap.rb --with-lua-include=/usr/include/lua5.1 --with-lualib=lua5.1 $@`
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: Tamar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.7.
|
5
|
+
version: 0.7.7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Evan Wies, David Love
|
@@ -122,6 +122,7 @@ files:
|
|
122
122
|
- Rakefile
|
123
123
|
- Tamar.gemspec
|
124
124
|
- VERSION
|
125
|
+
- extconf.rb
|
125
126
|
- src/build/bootstrap.rb
|
126
127
|
- src/build/extconf.rb
|
127
128
|
- src/lua/CMakeLists.txt
|
@@ -299,7 +300,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
299
300
|
requirements:
|
300
301
|
- - ">="
|
301
302
|
- !ruby/object:Gem::Version
|
302
|
-
hash:
|
303
|
+
hash: 2208022529817627723
|
303
304
|
segments:
|
304
305
|
- 0
|
305
306
|
version: "0"
|