dep-selector-libgecode 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -0
- data/Rakefile +23 -9
- data/lib/dep-selector-libgecode/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdb6a8cb010837639004f469819c100aaa2451a9
|
4
|
+
data.tar.gz: 6352650e0353c71a99a62ceb3e822582dc54157e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69933407d13913941afcaaccc1ef3dbc63b88155ee29bf0f23a8353cceda4773bf8c91fb21ec22244d78bf495789df9421f1a94f7ddbcff6a4a4c42b35a679c1
|
7
|
+
data.tar.gz: 4f8b056c2cb945c1a2777a1ef69bdeeca875fbed4582e11ebf36a99490cf5ab06f6b972397f5f3cae79708afaf3200cd6201e94a848d7d5df350a1ca21e7f010
|
data/README.md
CHANGED
@@ -88,6 +88,21 @@ DepSelectorLibgecode.opt_path
|
|
88
88
|
DepSelectorLibgecode.include_path
|
89
89
|
```
|
90
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
|
+
|
91
106
|
## Licensing
|
92
107
|
|
93
108
|
The packaging code here is released under the terms of the Apache2
|
data/Rakefile
CHANGED
@@ -9,20 +9,34 @@ Gem::PackageTask.new(gemspec) do |pkg|
|
|
9
9
|
pkg.need_tar = true
|
10
10
|
end
|
11
11
|
|
12
|
-
task :compile do
|
13
|
-
|
14
|
-
|
12
|
+
task :compile => ['gem'] do
|
13
|
+
Dir.chdir "pkg/dep-selector-libgecode-#{gemspec.version}/ext/libgecode3" do
|
14
|
+
ruby "extconf.rb"
|
15
|
+
end
|
15
16
|
end
|
16
17
|
|
17
18
|
task :clean do
|
18
19
|
sh "git clean -fdx"
|
19
20
|
end
|
20
21
|
|
21
|
-
|
22
|
+
begin
|
23
|
+
require "github_changelog_generator/task"
|
22
24
|
|
23
|
-
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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"
|
28
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dep-selector-libgecode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- danielsdeleo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|