bond 0.3.0 → 0.3.1
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/CHANGELOG.rdoc +4 -0
- data/ext/readline_line_buffer/extconf.rb +15 -12
- data/lib/bond/version.rb +1 -1
- metadata +5 -5
data/CHANGELOG.rdoc
CHANGED
@@ -1,19 +1,22 @@
|
|
1
1
|
require "mkmf"
|
2
2
|
|
3
|
+
# placate rubygems when running `make install`
|
4
|
+
def dummy_makefile
|
5
|
+
File.open(File.join(File.dirname(__FILE__), "Makefile"), "w") {|f|
|
6
|
+
f.puts %[install:\n\techo "This is a dummy extension"]
|
7
|
+
}
|
8
|
+
end
|
9
|
+
|
3
10
|
if RUBY_VERSION < '1.9.2'
|
4
11
|
dir_config("readline")
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
+
have_library('readline')
|
13
|
+
if !have_header('readline/readline.h')
|
14
|
+
puts "Bond was built without readline. To use it with readline: gem install bond" +
|
15
|
+
" -- --with-readline-dir=/path/to/readline"
|
16
|
+
dummy_makefile
|
17
|
+
else
|
18
|
+
create_makefile 'readline_line_buffer'
|
12
19
|
end
|
13
|
-
create_makefile 'readline_line_buffer'
|
14
20
|
else
|
15
|
-
|
16
|
-
File.open(File.join(File.dirname(__FILE__), "Makefile"), "w") {|f|
|
17
|
-
f.puts %[install:\n\techo "This is a dummy extension"]
|
18
|
-
}
|
21
|
+
dummy_makefile
|
19
22
|
end
|
data/lib/bond/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bond
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gabriel Horner
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-10-10 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -140,7 +140,7 @@ licenses:
|
|
140
140
|
post_install_message:
|
141
141
|
rdoc_options:
|
142
142
|
- --title
|
143
|
-
- Bond 0.3.
|
143
|
+
- Bond 0.3.1 Documentation
|
144
144
|
require_paths:
|
145
145
|
- lib
|
146
146
|
required_ruby_version: !ruby/object:Gem::Requirement
|