cany 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/cany/dpkg/deb_helper_recipe.rb +5 -0
- data/lib/cany/specification.rb +1 -1
- data/lib/cany/specification/dsl.rb +8 -0
- data/lib/cany/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: 44528a6664d67c431e7adc47411600ae499c19b1
|
4
|
+
data.tar.gz: a8622aa0c1a6c223673786c492f84278601eb612
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2155e98a3eaac71bb4b3d87137f71e66d216ecd23780f946d8800c8da56a6a84b280c6e0381b34cf52bf984ff2542c9220b76f36d748773d976ca673790eac08
|
7
|
+
data.tar.gz: 9bc822d394c901109359a91dda1b9447046411559c14c3c91477b4e1ab52f5572161e37674c03bfc08a3a373da0a0aab8461ff0ca7c3bbed17f78956cf56a433
|
data/CHANGELOG.md
CHANGED
data/lib/cany/specification.rb
CHANGED
@@ -7,7 +7,7 @@ module Cany
|
|
7
7
|
|
8
8
|
attr_accessor :name, :description, :maintainer_name, :maintainer_email, :website, :licence, :version
|
9
9
|
attr_accessor :base_dir, :recipes, :dependencies, :cany_version_constraint
|
10
|
-
attr_accessor :build, :binary
|
10
|
+
attr_accessor :prepare, :clean, :build, :binary
|
11
11
|
|
12
12
|
def initialize(dsl=Cany::Specification::DSL, &block)
|
13
13
|
@recipes = []
|
@@ -38,6 +38,14 @@ module Cany
|
|
38
38
|
@specification.recipes << Cany::Recipe.from_name(name).new(@specification, &block)
|
39
39
|
end
|
40
40
|
|
41
|
+
def prepare(&block)
|
42
|
+
@specification.prepare = block
|
43
|
+
end
|
44
|
+
|
45
|
+
def clean(&block)
|
46
|
+
@specification.clean = block
|
47
|
+
end
|
48
|
+
|
41
49
|
def build(&block)
|
42
50
|
@specification.build = block
|
43
51
|
end
|
data/lib/cany/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cany
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Malte Swart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|