dep-selector-libgecode 1.3.1 → 1.3.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: cdb6a8cb010837639004f469819c100aaa2451a9
4
- data.tar.gz: 6352650e0353c71a99a62ceb3e822582dc54157e
2
+ SHA256:
3
+ metadata.gz: 01b6fb7c7967fcd00b8b3401029e18166bb148626a7823365f56136d50e7b377
4
+ data.tar.gz: 6b819721c9438d9ec099e6a089eb47466285642cbd7d62945b4398be3a25b38d
5
5
  SHA512:
6
- metadata.gz: 69933407d13913941afcaaccc1ef3dbc63b88155ee29bf0f23a8353cceda4773bf8c91fb21ec22244d78bf495789df9421f1a94f7ddbcff6a4a4c42b35a679c1
7
- data.tar.gz: 4f8b056c2cb945c1a2777a1ef69bdeeca875fbed4582e11ebf36a99490cf5ab06f6b972397f5f3cae79708afaf3200cd6201e94a848d7d5df350a1ca21e7f010
6
+ metadata.gz: b3997d5445307b21c2eafc8dd21b982a689f1d728d9ad00d38196607a468868f07a2351ec1af6df9a0428cf5363fae99ef547335436bcec74d0c9fb1e532083b
7
+ data.tar.gz: a03877f639dfed02a82598cf07939d8492172713e3b44cf69738112cb75284f69b2420257c23d8268652d90db79bcab3e754dfb66f4ad6022ccbc063c7a7b8cd
File without changes
@@ -1,4 +1,4 @@
1
- require "dep-selector-libgecode/version"
1
+ require_relative "dep-selector-libgecode/version"
2
2
 
3
3
  module DepSelectorLibgecode
4
4
 
@@ -1,3 +1,3 @@
1
1
  module DepSelectorLibgecode
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.5"
3
3
  end
metadata CHANGED
@@ -1,31 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dep-selector-libgecode
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
- - danielsdeleo
7
+ - Chef Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-27 00:00:00.000000000 Z
11
+ date: 2020-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.5'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.5'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - ">="
@@ -39,7 +25,7 @@ dependencies:
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
- name: github_changelog_generator
28
+ name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - ">="
@@ -54,20 +40,13 @@ dependencies:
54
40
  version: '0'
55
41
  description: Installs a vendored copy of Gecode suitable for use with dep-selector
56
42
  email:
57
- - dan@getchef.com
43
+ - oss@chef.io
58
44
  executables: []
59
45
  extensions:
60
46
  - ext/libgecode3/extconf.rb
61
47
  extra_rdoc_files: []
62
48
  files:
63
- - ".gitignore"
64
- - CHANGELOG.md
65
- - CONTRIBUTING.md
66
- - Gemfile
67
- - LICENSE.txt
68
- - README.md
69
- - Rakefile
70
- - dep-selector-libgecode.gemspec
49
+ - LICENSE
71
50
  - ext/libgecode3/Makefile
72
51
  - ext/libgecode3/extconf.rb
73
52
  - ext/libgecode3/vendor/gecode-3.7.3/LICENSE
@@ -867,10 +846,10 @@ files:
867
846
  - lib/dep-selector-libgecode.rb
868
847
  - lib/dep-selector-libgecode/vendored-gecode/.gitkeep
869
848
  - lib/dep-selector-libgecode/version.rb
870
- homepage: ''
849
+ homepage: https://github.com/chef/dep-selector-libgecode
871
850
  licenses:
872
851
  - MIT
873
- - Apache 2.0
852
+ - Apache-2.0
874
853
  metadata: {}
875
854
  post_install_message:
876
855
  rdoc_options: []
@@ -887,8 +866,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
887
866
  - !ruby/object:Gem::Version
888
867
  version: '0'
889
868
  requirements: []
890
- rubyforge_project:
891
- rubygems_version: 2.4.8
869
+ rubygems_version: 3.0.3
892
870
  signing_key:
893
871
  specification_version: 4
894
872
  summary: Installs a vendored copy of Gecode suitable for use with dep-selector
data/.gitignore DELETED
@@ -1,28 +0,0 @@
1
- *.o
2
- *.gem
3
- *.dSym
4
- *.log
5
- *.bundle
6
- *.dylib
7
- *.jar
8
- tmp
9
- save
10
- ext/dep_gecode/Makefile
11
- *.dsc
12
- *.deb
13
- *.gz
14
- *.changes
15
- *.build
16
- pkg/*
17
- bin/
18
- .bundle
19
- Gemfile.lock
20
- *.so
21
- *.def
22
- ext/libgecode3/vendor/gecode-3.7.3/Makefile
23
- ext/libgecode3/vendor/gecode-3.7.3/config.status
24
- ext/libgecode3/vendor/gecode-3.7.3/doxygen.conf
25
- ext/libgecode3/vendor/gecode-3.7.3/doxygen.hh
26
- ext/libgecode3/vendor/gecode-3.7.3/gecode/support/config.hpp
27
- ext/libgecode3/vendor/gecode-3.7.3/tools/flatzinc/mzn-gecode
28
- lib/dep-selector-libgecode/vendored-gecode/*
@@ -1,100 +0,0 @@
1
- # Change Log
2
-
3
- ## [1.2.0](https://github.com/chef/dep-selector-libgecode/tree/1.2.0) (2016-03-17)
4
- [Full Changelog](https://github.com/chef/dep-selector-libgecode/compare/v1.1.0...1.2.0)
5
-
6
- **Merged pull requests:**
7
-
8
- - Compile on Windows with passed-in flags [\#49](https://github.com/chef/dep-selector-libgecode/pull/49) ([jkeiser](https://github.com/jkeiser))
9
-
10
- ## [v1.1.0](https://github.com/chef/dep-selector-libgecode/tree/v1.1.0) (2016-02-04)
11
- [Full Changelog](https://github.com/chef/dep-selector-libgecode/compare/v1.1.0.beta.1...v1.1.0)
12
-
13
- ## [v1.1.0.beta.1](https://github.com/chef/dep-selector-libgecode/tree/v1.1.0.beta.1) (2016-02-04)
14
- [Full Changelog](https://github.com/chef/dep-selector-libgecode/compare/1.0.2...v1.1.0.beta.1)
15
-
16
- **Fixed bugs:**
17
-
18
- - dep\_selector.bundle architecture problem on x64 Mac OS X 10.9 [\#30](https://github.com/chef/dep-selector-libgecode/issues/30)
19
-
20
- **Closed issues:**
21
-
22
- - ./configure fails because of bashisms [\#46](https://github.com/chef/dep-selector-libgecode/issues/46)
23
- - unable to do bundle install in CentOS \(Failed to build gecode library. \(GecodeBuild::BuildError\)\) [\#44](https://github.com/chef/dep-selector-libgecode/issues/44)
24
- - can't install on Debian testing [\#37](https://github.com/chef/dep-selector-libgecode/issues/37)
25
- - install trouble on debian testing/unstable [\#35](https://github.com/chef/dep-selector-libgecode/issues/35)
26
- - dep-selector-libgecode will not install during bundle install with Ubuntu 13.10 [\#31](https://github.com/chef/dep-selector-libgecode/issues/31)
27
- - Failed to build gecode library - Windows 8.1 [\#25](https://github.com/chef/dep-selector-libgecode/issues/25)
28
-
29
- **Merged pull requests:**
30
-
31
- - Bump version to 1.1, add github\_changelog\_generator [\#48](https://github.com/chef/dep-selector-libgecode/pull/48) ([jkeiser](https://github.com/jkeiser))
32
- - Update installation instructions for windows. [\#40](https://github.com/chef/dep-selector-libgecode/pull/40) ([cmluciano](https://github.com/cmluciano))
33
- - Configure Window’s environments to use `bsdtar` [\#33](https://github.com/chef/dep-selector-libgecode/pull/33) ([schisamo](https://github.com/schisamo))
34
-
35
- ## [1.0.2](https://github.com/chef/dep-selector-libgecode/tree/1.0.2) (2014-06-19)
36
- [Full Changelog](https://github.com/chef/dep-selector-libgecode/compare/1.0.1...1.0.2)
37
-
38
- **Closed issues:**
39
-
40
- - 1gb of RAM causes gem install to fail [\#24](https://github.com/chef/dep-selector-libgecode/issues/24)
41
- - Failed to build gem native extension: 'forceinline' does not name a type [\#22](https://github.com/chef/dep-selector-libgecode/issues/22)
42
-
43
- **Merged pull requests:**
44
-
45
- - Enable size optimizer for windows. [\#26](https://github.com/chef/dep-selector-libgecode/pull/26) ([sersut](https://github.com/sersut))
46
-
47
- ## [1.0.1](https://github.com/chef/dep-selector-libgecode/tree/1.0.1) (2014-05-22)
48
- [Full Changelog](https://github.com/chef/dep-selector-libgecode/compare/1.0.0...1.0.1)
49
-
50
- **Closed issues:**
51
-
52
- - Errors installing dep-selector-libgecode 1.0.0 gem [\#16](https://github.com/chef/dep-selector-libgecode/issues/16)
53
- - "gem install berkshelf" fails with Ruby 2.1.1 - "Failed to build gecode library" [\#15](https://github.com/chef/dep-selector-libgecode/issues/15)
54
- - Windows Install Dependency on Tar [\#13](https://github.com/chef/dep-selector-libgecode/issues/13)
55
- - Installing fails because of oom-killer [\#11](https://github.com/chef/dep-selector-libgecode/issues/11)
56
- - OSX: With homebrew GeCode 4.x installed, gem doesn't work [\#10](https://github.com/chef/dep-selector-libgecode/issues/10)
57
-
58
- **Merged pull requests:**
59
-
60
- - use gcc44 on older rhel systems [\#21](https://github.com/chef/dep-selector-libgecode/pull/21) ([smith](https://github.com/smith))
61
- - Cleanup after gecode compile [\#17](https://github.com/chef/dep-selector-libgecode/pull/17) ([nhuff](https://github.com/nhuff))
62
- - System gecode readme [\#14](https://github.com/chef/dep-selector-libgecode/pull/14) ([danielsdeleo](https://github.com/danielsdeleo))
63
-
64
- ## [1.0.0](https://github.com/chef/dep-selector-libgecode/tree/1.0.0) (2014-04-14)
65
- [Full Changelog](https://github.com/chef/dep-selector-libgecode/compare/1.0.0.rc.1...1.0.0)
66
-
67
- **Closed issues:**
68
-
69
- - Takes a long time to install and offers no feedback [\#9](https://github.com/chef/dep-selector-libgecode/issues/9)
70
- - Windows Issue - dep-selector [\#8](https://github.com/chef/dep-selector-libgecode/issues/8)
71
- - Failed to install dep-selector-libgecode 1.0.0.rc0 on Windows [\#6](https://github.com/chef/dep-selector-libgecode/issues/6)
72
-
73
- ## [1.0.0.rc.1](https://github.com/chef/dep-selector-libgecode/tree/1.0.0.rc.1) (2014-04-10)
74
- [Full Changelog](https://github.com/chef/dep-selector-libgecode/compare/1.0.0.rc.0...1.0.0.rc.1)
75
-
76
- **Merged pull requests:**
77
-
78
- - Patch `configure` on windows to use mthread instead of pthread [\#7](https://github.com/chef/dep-selector-libgecode/pull/7) ([danielsdeleo](https://github.com/danielsdeleo))
79
- - Set LD\_RUN\_PATH to fix omnibus builds that use this gem [\#5](https://github.com/chef/dep-selector-libgecode/pull/5) ([danielsdeleo](https://github.com/danielsdeleo))
80
- - Update CONTRIBUTING now that we've decided on licensing [\#4](https://github.com/chef/dep-selector-libgecode/pull/4) ([danielsdeleo](https://github.com/danielsdeleo))
81
-
82
- ## [1.0.0.rc.0](https://github.com/chef/dep-selector-libgecode/tree/1.0.0.rc.0) (2014-04-08)
83
- [Full Changelog](https://github.com/chef/dep-selector-libgecode/compare/1.0.0.alpha.2...1.0.0.rc.0)
84
-
85
- ## [1.0.0.alpha.2](https://github.com/chef/dep-selector-libgecode/tree/1.0.0.alpha.2) (2014-04-07)
86
- [Full Changelog](https://github.com/chef/dep-selector-libgecode/compare/1.0.0.alpha.1...1.0.0.alpha.2)
87
-
88
- **Merged pull requests:**
89
-
90
- - Windows fixes [\#3](https://github.com/chef/dep-selector-libgecode/pull/3) ([danielsdeleo](https://github.com/danielsdeleo))
91
- - skip processing extconf if USE\_SYSTEM\_GECODE env var is set [\#2](https://github.com/chef/dep-selector-libgecode/pull/2) ([reset](https://github.com/reset))
92
-
93
- ## [1.0.0.alpha.1](https://github.com/chef/dep-selector-libgecode/tree/1.0.0.alpha.1) (2014-04-07)
94
- **Merged pull requests:**
95
-
96
- - License packaging code as Apache2 for now [\#1](https://github.com/chef/dep-selector-libgecode/pull/1) ([danielsdeleo](https://github.com/danielsdeleo))
97
-
98
-
99
-
100
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
@@ -1,16 +0,0 @@
1
- # Contributing
2
-
3
- ## Summary
4
-
5
- 1. Fork it
6
- 2. Create your feature branch (`git checkout -b my-new-feature`)
7
- 3. Commit your changes (`git commit -am 'Add some feature'`)
8
- 4. Push to the branch (`git push origin my-new-feature`)
9
- 5. Create new Pull Request
10
-
11
- ## Licensing
12
-
13
- Gecode itself is MIT licensed. If you make changes to the vendored
14
- Gecode source in ext/libgecode3/vendor, your changes will we distributed
15
- under the terms of the MIT license. All other code in this repository is
16
- distributed under the terms of the Apache 2.0 license.
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
data/README.md DELETED
@@ -1,116 +0,0 @@
1
- # DepSelectorLibgecode
2
-
3
- This library vendors Gecode 3.7.3 as a rubygem so it can easily be used
4
- with the [dep-selector](https://github.com/opscode/dep-selector)
5
- project.
6
-
7
- [Gecode](http://www.gecode.org) is a fast CSP solver library written in
8
- C++. We created this library to install it in order to optimize the
9
- following criteria:
10
- * Allow users to install libraries that depend on gecode without extra
11
- steps.
12
- * Install the correct version of gecode for dep-selector. The current
13
- release line of gecode is 4.x, but dep-selector uses ~> 3.5.
14
- * Configure the source installation for shortest compilation time by
15
- excluding unnecessary components. Gecode has a reputation for taking a
16
- long time to compile, but in fact most of that time is spent building
17
- examples and documentation. We've disabled these, along with the
18
- flatzinc interpreter.
19
-
20
- ## Installation
21
-
22
- Add this line to your application's Gemfile:
23
-
24
- gem 'dep-selector-libgecode'
25
-
26
- And then execute:
27
-
28
- $ bundle
29
-
30
- Or install it yourself as:
31
-
32
- $ gem install dep-selector-libgecode
33
-
34
- ## Installation on Windows
35
-
36
- * The recommended installation method is
37
- [ChefDK](https://downloads.chef.io/chef-dk/windows/#/) and the following
38
- steps can be skipped if you choose this method.
39
- * Don't set `USE_SYSTEM_GECODE` to anything. The build only checks for the
40
- presence of this variable, not the value.
41
- * Install [ruby](http://rubyinstaller.org/downloads/). Install
42
- [DevKit](http://rubyinstaller.org/add-ons/devkit/)(preferred), or install
43
- [mingw](http://sourceforge.net/projects/mingw/files/) and add it to your
44
- PATH. You can use the Chef omnibus MSI to get a working ruby and devkit.
45
- * Install a working tar, and include it in your PATH. There is a tar binary
46
- that comes with the git package, but it is horribly broken and only good for
47
- generating core dumps. Before you build anything check `where tar` to make sure
48
- the tar from git is not the first one in your PATH. The chef-client omnibus
49
- package has a tar that works (easiest), or you can get one from here:
50
- http://gnuwin32.sourceforge.net/packages/gtar.htm
51
- * `gem install berkshelf` should work now.
52
- * Examples for automating these builds can also be found at
53
- [omnibus-chef](https://github.com/opscode/omnibus-chef) and
54
- [omnibus-software](https://github.com/opscode/omnibus-software).
55
-
56
- ### Requirements
57
-
58
- This gem runs make with concurrent jobs to speed build time, so it uses
59
- about 2GB of RAM during the build. If this doesn't work for your
60
- environment, see 'Using a System Gecode Instead' below. Better yet, if
61
- you only want to install Berkshelf, try using
62
- [ChefDK](http://www.getchef.com/downloads/chef-dk) instead of a gem
63
- install.
64
-
65
- ### Using a System Gecode Instead
66
-
67
- Use the "USE_SYSTEM_GECODE" environment variable when installing to
68
- make dep-selector-libgecode use the system version, instead of
69
- downloading the source and building its own copy:
70
-
71
- $ USE_SYSTEM_GECODE=1 gem install dep-selector-libgecode
72
-
73
- *WARNING:* Ensure that your system packages provide Gecode version 3 and
74
- not version 4. Version 4 does not work with dep-selector.
75
-
76
- ## Usage
77
-
78
- `DepSelectorLibgecode` provides helper functions for locating the
79
- vendored gecode after installation:
80
-
81
- ```ruby
82
- require 'dep-selector-libgecode'
83
-
84
- # The vendored lib dir:
85
- DepSelectorLibgecode.opt_path
86
-
87
- # The include dir (where the headers are):
88
- DepSelectorLibgecode.include_path
89
- ```
90
-
91
- ### Vendoring Native Gems (docs for Maintainers)
92
-
93
- The `rake native` command can be used to build a native "fat" gem.
94
-
95
- It is recommended to use the following process:
96
-
97
- ```
98
- % git clean -ffdx
99
- % git checkout -- .
100
- % rake native
101
- % gem push pkg/dep-selector-libgecode-1.3.0-x86_64-darwin-15.gem # obviously use the filename you actually built here
102
- ```
103
-
104
- Without cleaning up the repo first and nuking stuff in ext/ and pkg/ the `rake native` command will fail.
105
-
106
- ## Licensing
107
-
108
- The packaging code here is released under the terms of the Apache2
109
- license. Gecode itself is released under the terms of the MIT license.
110
-
111
- See CONTRIBUTING.md for more information.
112
-
113
- ## Contributing
114
-
115
- See CONTRIBUTING.md for more information.
116
-
data/Rakefile DELETED
@@ -1,42 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- require "rubygems/package_task"
4
-
5
- gemspec = eval(File.read("dep-selector-libgecode.gemspec"))
6
-
7
- Gem::PackageTask.new(gemspec) do |pkg|
8
- pkg.need_zip = true
9
- pkg.need_tar = true
10
- end
11
-
12
- task :compile => ['gem'] do
13
- Dir.chdir "pkg/dep-selector-libgecode-#{gemspec.version}/ext/libgecode3" do
14
- ruby "extconf.rb"
15
- end
16
- end
17
-
18
- task :clean do
19
- sh "git clean -fdx"
20
- end
21
-
22
- begin
23
- require "github_changelog_generator/task"
24
-
25
- GitHubChangelogGenerator::RakeTask.new :changelog do |config|
26
- config.future_release = DepSelectorLibgecode::VERSION
27
- config.enhancement_labels = "enhancement,Enhancement,New Feature".split(",")
28
- config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(",")
29
- config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog,Exclude From Changelog,Question".split(",")
30
- end
31
- rescue LoadError
32
- # dont care
33
- end
34
-
35
- task :native => ['compile'] do
36
- cp_r "pkg/dep-selector-libgecode-#{gemspec.version}/lib/dep-selector-libgecode/vendored-gecode", "lib/dep-selector-libgecode/"
37
- gemspec.files += Dir['lib/dep-selector-libgecode/vendored-gecode/**/*']
38
- gemspec.platform = Gem::Platform.new(RUBY_PLATFORM)
39
- gemspec.extensions = []
40
- gem = Gem::Package.build(gemspec)
41
- mv gem, "pkg/dep-selector-libgecode-#{gemspec.version}-#{gemspec.platform.to_s}.gem"
42
- end
@@ -1,26 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'dep-selector-libgecode/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "dep-selector-libgecode"
8
- spec.version = DepSelectorLibgecode::VERSION
9
- spec.authors = ["danielsdeleo"]
10
- spec.email = ["dan@getchef.com"]
11
- spec.summary = %q{Installs a vendored copy of Gecode suitable for use with dep-selector}
12
- spec.description = spec.summary
13
- spec.homepage = ""
14
- spec.licenses = ["MIT", "Apache 2.0"]
15
-
16
- spec.files = `git ls-files -z`.split("\x0")
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
20
-
21
- spec.extensions = Dir["ext/**/extconf.rb"]
22
-
23
- spec.add_development_dependency "bundler", "~> 1.5"
24
- spec.add_development_dependency "rake"
25
- spec.add_development_dependency "github_changelog_generator"
26
- end