Tamar 0.7.9 → 0.7.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/HISTORY CHANGED
@@ -1,5 +1,22 @@
1
1
  RELEASE HISTORY
2
2
 
3
+ v0.7.9 / 2011-05-23
4
+
5
+ Regenerate gemspec for version 0.7.9 (David Love david@homeunix.org.uk)
6
+
7
+ Changes:
8
+
9
+ * 1 Bugfix Enhancements
10
+
11
+ * Use the correct incantation for the library bindings, and point to the just build libraries
12
+
13
+ * 3 General Enhancements
14
+
15
+ * Regenerate gemspec for version 0.7.8
16
+ * Version bump to 0.7.8
17
+ * Update HISTORY file
18
+
19
+
3
20
  v0.7.8 / 2011-05-23
4
21
 
5
22
  Regenerate gemspec for version 0.7.8 (David Love david@homeunix.org.uk)
@@ -162,13 +179,14 @@ Current Development (David Love)
162
179
 
163
180
  Changes:
164
181
 
165
- * 1 Bugfix Enhancements
182
+ * 2 Patch Enhancements
166
183
 
167
- * Use the correct incantation for the library bindings, and point to the just build libraries
184
+ * Make the external dependencies explicit in the Gem description
185
+ * Link to RubyLuaBridge build script
168
186
 
169
187
  * 3 General Enhancements
170
188
 
171
- * Regenerate gemspec for version 0.7.8
172
- * Version bump to 0.7.8
189
+ * Regenerate gemspec for version 0.7.9
190
+ * Version bump to 0.7.9
173
191
  * Update HISTORY file
174
192
 
data/Rakefile CHANGED
@@ -42,7 +42,7 @@ Jeweler::Tasks.new do |gem|
42
42
  gem.homepage = "http://rubyluabridge.rubyforge.org"
43
43
  gem.license = "BSD"
44
44
  gem.summary = "Tamar is an UNOFFICIAL package of RubyLuaBridge, which lets you access Lua from Ruby"
45
- gem.description = "See: http://rubyluabridge.rubyforge.org"
45
+ gem.description = "A package of the RubyLuaBridge library, which includes Lua and relevant libraries. You will need a C++ compiler with the Boost library installed to build RubyLuaBridge, and both CMake and Make to build Lua."
46
46
  gem.email = "david@homeunix.org.uk"
47
47
  gem.authors = ["Evan Wies, David Love"]
48
48
 
data/Tamar.gemspec CHANGED
@@ -5,12 +5,12 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{Tamar}
8
- s.version = "0.7.9"
8
+ s.version = "0.7.10"
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"]
12
12
  s.date = %q{2011-05-23}
13
- s.description = %q{See: http://rubyluabridge.rubyforge.org}
13
+ s.description = %q{A package of the RubyLuaBridge library, which includes Lua and relevant libraries. You will need a C++ compiler with the Boost library installed to build RubyLuaBridge, and both CMake and Make to build Lua.}
14
14
  s.email = %q{david@homeunix.org.uk}
15
15
  s.extensions = ["extconf.rb"]
16
16
  s.extra_rdoc_files = [
@@ -30,8 +30,6 @@ Gem::Specification.new do |s|
30
30
  "Tamar.gemspec",
31
31
  "VERSION",
32
32
  "extconf.rb",
33
- "src/build/bootstrap.rb",
34
- "src/build/extconf.rb",
35
33
  "src/lua/CMakeLists.txt",
36
34
  "src/lua/COPYRIGHT",
37
35
  "src/lua/FindReadline.cmake",
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.9
1
+ 0.7.10
data/extconf.rb CHANGED
@@ -54,7 +54,9 @@ puts "Building Lua..."
54
54
  ##
55
55
  ## Call the Ruby bootstrap script to build the Ruby->Lua bindings
56
56
  ##
57
- FileUtils.cd(home_dir)
57
+ FileUtils.cd(home_dir + "/src/rubyluabridge")
58
58
 
59
59
  puts "Making Ruby->Lua bindings..."
60
- `ruby src/build/bootstrap.rb --with-lua-include=#{home_dir}/include --with-lua-lib=#{home_dir}/lib/liblua51.dylib #{$@}`
60
+ `ruby extconf.rb --with-lua-include=#{home_dir}/include --with-lua-lib=#{home_dir}/lib/liblua51.dylib #{$@}`
61
+ `make`
62
+ `make install`
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: Tamar
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.9
5
+ version: 0.7.10
6
6
  platform: ruby
7
7
  authors:
8
8
  - Evan Wies, David Love
@@ -101,7 +101,7 @@ dependencies:
101
101
  type: :development
102
102
  prerelease: false
103
103
  version_requirements: *id008
104
- description: "See: http://rubyluabridge.rubyforge.org"
104
+ description: A package of the RubyLuaBridge library, which includes Lua and relevant libraries. You will need a C++ compiler with the Boost library installed to build RubyLuaBridge, and both CMake and Make to build Lua.
105
105
  email: david@homeunix.org.uk
106
106
  executables: []
107
107
 
@@ -123,8 +123,6 @@ files:
123
123
  - Tamar.gemspec
124
124
  - VERSION
125
125
  - extconf.rb
126
- - src/build/bootstrap.rb
127
- - src/build/extconf.rb
128
126
  - src/lua/CMakeLists.txt
129
127
  - src/lua/COPYRIGHT
130
128
  - src/lua/FindReadline.cmake
@@ -300,7 +298,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
300
298
  requirements:
301
299
  - - ">="
302
300
  - !ruby/object:Gem::Version
303
- hash: -3224008991516131901
301
+ hash: -1855289094030086512
304
302
  segments:
305
303
  - 0
306
304
  version: "0"
@@ -1,81 +0,0 @@
1
- #
2
- # Licensed under the BSD License:
3
- #
4
- # Copyright (c) 2007, Evan Wies
5
- # Copyright (c) 2011, David Love
6
- # All rights reserved.
7
- #
8
- # Redistribution and use in source and binary forms, with or without
9
- # modification, are permitted provided that the following conditions are met:
10
- #
11
- # * Redistributions of source code must retain the above copyright
12
- # notice, this list of conditions and the following disclaimer.
13
- #
14
- # * Redistributions in binary form must reproduce the above copyright
15
- # notice, this list of conditions and the following disclaimer in the
16
- # documentation and/or other materials provided with the distribution.
17
- #
18
- # * Neither the name of the neomantra nor the names of its contributors may
19
- # be used to endorse or promote products derived from this software without
20
- # specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY Evan Wies ``AS IS'' AND ANY
23
- # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24
- # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25
- # DISCLAIMED. IN NO EVENT SHALL Evan Wies BE LIABLE FOR ANY
26
- # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27
- # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28
- # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
29
- # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30
- # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31
- # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
- #
33
-
34
-
35
- require 'mkmf'
36
-
37
-
38
- def fail( str )
39
- STDERR << " extconf failed: #{str}\n"
40
- exit 1
41
- end
42
-
43
-
44
- if enable_config('debug')
45
- $CFLAGS = '-O0 -g -Wall '
46
- else
47
- $CFLAGS = '-O3 -Wall'
48
- end
49
-
50
-
51
- if enable_config('rlb-debug')
52
- $CFLAGS += '-DRLB_DEBUG '
53
- end
54
-
55
- # link in C++ libraries
56
- $LIBS << " -lstdc++ -lc"
57
-
58
- nolua_msg = <<END_OF_MESSAGE
59
- need liblua.
60
-
61
- Install the library or try one of the following options to extconf.rb:
62
-
63
- --with-lua-lib=/path/to/liblua/lib
64
- --with-lua-include=/path/to/liblua/include
65
- --with-lualib=name_of_lua_library
66
-
67
- --enable-debug will build it optimized and with debugging symbols
68
- END_OF_MESSAGE
69
-
70
-
71
- dir_config 'lua'
72
-
73
- unless have_header('lua.h')
74
- fail nolua_msg
75
- end
76
- unless have_library( 'lua', 'lua_pushvalue' )
77
- fail nolua_msg
78
- end
79
-
80
- create_makefile 'rubyluabridge'
81
-
data/src/build/extconf.rb DELETED
@@ -1,39 +0,0 @@
1
- #!/bin/sh
2
- #
3
- # Licensed under the BSD License:
4
- #
5
- # Copyright (c) 2007, Evan Wies
6
- # Copyright (c) 2011, David Love
7
- # All rights reserved.
8
- #
9
- # Redistribution and use in source and binary forms, with or without
10
- # modification, are permitted provided that the following conditions are met:
11
- #
12
- # * Redistributions of source code must retain the above copyright
13
- # notice, this list of conditions and the following disclaimer.
14
- #
15
- # * Redistributions in binary form must reproduce the above copyright
16
- # notice, this list of conditions and the following disclaimer in the
17
- # documentation and/or other materials provided with the distribution.
18
- #
19
- # * Neither the name of the neomantra nor the names of its contributors may
20
- # be used to endorse or promote products derived from this software without
21
- # specific prior written permission.
22
- #
23
- # THIS SOFTWARE IS PROVIDED BY Evan Wies ``AS IS'' AND ANY
24
- # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25
- # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
- # DISCLAIMED. IN NO EVENT SHALL Evan Wies BE LIABLE FOR ANY
27
- # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28
- # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29
- # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30
- # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
- # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32
- # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
- #
34
-
35
- # Build the Lua core libraries and runtime
36
- cd src/luadist; cmake CMakeList.txt
37
-
38
- # Call the Ruby bootstrap script to build the Ruby->Lua bindings
39
- ruby src/build/bootstrap.rb --with-lua-include=/usr/include/lua5.1 --with-lualib=lua5.1 $@