gecoder-with-gecode 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README DELETED
@@ -1,51 +0,0 @@
1
- = Gecode/R
2
-
3
- Website: http://gecoder.org
4
-
5
- Gecode/R is a Ruby interface to the Gecode constraint programming library.
6
- Gecode/R is intended for people with no previous experience of constraint
7
- programming, aiming to be easy to pick up and use.
8
-
9
- See Gecode::Mixin to get started.
10
-
11
- == Installation
12
-
13
- Gecode/R requires Gecode 2.2.0, which can be downloaded from
14
- http://www.gecode.org/download.html . See
15
- http://www.gecode.org/gecode-doc-latest/PageComp.html for the installation
16
- instructions.
17
-
18
- === Installing from gem
19
-
20
- There are two gems. The first includes only Gecode/R, and assumes that you have
21
- installed Gecode yourself. The second includes both Gecode/R and Gecode. If you
22
- use Windows then you're recommended to use the second one, even though you
23
- already have Gecode, as the other one does not come in a pre-compiled variant.
24
-
25
- Gecode/R only:
26
- gem install gecoder
27
-
28
- Gecode/R and Gecode:
29
- gem install gecoder-with-gecode
30
-
31
- === Installing from source using gem
32
-
33
- rake gem
34
- gem install pkg/gecoder-1.x.x.gem
35
-
36
- === Installing from source without using gem
37
-
38
- "gecode.so" might have another extension depending on which platform it's
39
- generated on (replace the extension in the following commands with whatever
40
- extension it's given).
41
-
42
- cd ext
43
- ruby extconf.rb
44
- make
45
- mv gecode.so ../lib/
46
-
47
- === Running the tests
48
-
49
- rake specs
50
-
51
- Requires RSpec (1.0.5, but other version should hopefully work).
data/tasks/svn.rake DELETED
@@ -1,16 +0,0 @@
1
- require 'lib/gecoder/version'
2
-
3
- desc "Tag the release in svn"
4
- task :tag do
5
- base_url = `svn info`.match(/Repository Root: (.*)/n)[1]
6
- unless base_url.include? ENV['RUBYFORGE_USER']
7
- base_url.gsub!('rubyforge', "#{ENV['RUBYFORGE_USER']}@rubyforge")
8
- end
9
- from = base_url + '/trunk'
10
- to = base_url + "/tags/gecoder-#{GecodeR::VERSION}"
11
- options = "-m \"Tag release Gecode/R #{GecodeR::VERSION}\""
12
-
13
- puts "Creating tag in SVN"
14
- tag_cmd = "svn cp #{from} #{to} #{options}"
15
- `#{tag_cmd}` ; raise "ERROR: #{tag_cmd}" unless $? == 0
16
- end