bricky 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTgyMzQ0ZTdhMmMyY2VjZTIyODI2YTk0MjAyZjI4YWQ1NzJlYmM5Mw==
4
+ YmUxNjQxYjVjMmQxOTc0NGFhZjk0MWEwNjk1ODI3YTQ2YTBmOTY4Nw==
5
5
  data.tar.gz: !binary |-
6
- NWJkOTRlNjY3N2NjNGZiMThhYWUyMDhmMTc5NzI0OWI3MTAyNzgxYg==
6
+ OTgyOWViMmYxNmY2OGU5YWEzZmI4ZGM0MGFmZDgzNDMyNTMxOWVlNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTBkZmQ4N2Y1OTAwZmIxMjQwZDdhZTRkMWU3ZDA1YTNlZmViN2RmNGY4MjBl
10
- MmZkZTE4NzYxOWExM2NhODU2NDc5MDIxYjBkZDEwM2IzNTM1OTU2OGFkOTMw
11
- Y2QxNjhhNWY2MzIyZjljM2YwMGNlM2VkNjY2YzNmNzllZWJlZjQ=
9
+ MmY3ZmZmOWVhNTE2YjNiN2Q3OTJjYjUwNzQwZDU1M2RkNWUwYWI1NTRhYzlm
10
+ YWNiMzU3N2JmNDUwYWEyNjViNzY4OTM4OWVhZWZlZTk5MjEyYjA5OTZiNzZk
11
+ ZDZiZjBmMzc1NThlYzQxZjQ5MzZhMmFiYzQ0YjVlYWU2OGU2OWI=
12
12
  data.tar.gz: !binary |-
13
- Y2U5MjIwZWRmZGExMDQyOGY3OWVmZDE4NmM2ZGY5MTNlNjc3Njg3NmNkYzM0
14
- ZGQ5YzhjZDBkMWJjYzFmZjcwMmQ4N2RhYWMxYjg2OTg1NjBjNGJlMDNhOWQ4
15
- ZGZkYjdjOTkyMmY5YjliYTRiZDk3OTE0YmFjMzJkN2JhZmQ1ODU=
13
+ ZWRkNzQ2YjYxOWI3MjUyZTE2ZmEyMDRkNjhiM2ViY2I4M2ExNGI2M2M4OThk
14
+ MTlkOTdiZGExY2QzMGY4MWM0MmMxZjVkNzAwYTYyZjFjYzcxNjZjYjkwNGNh
15
+ M2I5MmUzZjhlODViNGM2OGZiOTFlYzk4NDViNDliZGI4NWJkMTM=
@@ -12,9 +12,6 @@ debian() {
12
12
  info 'Moving deb files to volume'
13
13
  rm -Rf /builded/*
14
14
  mv /opt/workspace/*.deb /builded/
15
-
16
- info 'Recreating local debian packages index'
17
- dpkg-scanpackages /builded/ | gzip > /builded/Packages.gz
18
15
  }
19
16
 
20
17
  suexec debian
@@ -7,6 +7,7 @@ bricky:
7
7
  ignore:
8
8
  - source/log
9
9
  - source/tmp
10
+ - source/vendor/bundle
10
11
  bundle:
11
12
  cache: true
12
13
  without: development:test
@@ -5,8 +5,9 @@ require "colorize"
5
5
  require "bricky/image"
6
6
  require "bricky/requirements"
7
7
  require "bricky/commands/base"
8
- require "bricky/commands/install"
9
8
  require "bricky/commands/builder"
9
+ require "bricky/commands/install"
10
+ require "bricky/commands/version"
10
11
  require "bricky/commands/bootstrap"
11
12
 
12
13
  module Bricky
@@ -24,6 +25,11 @@ module Bricky
24
25
  end
25
26
  end
26
27
 
28
+ desc :version, "bricky version"
29
+ def version
30
+ dispatch(:version)
31
+ end
32
+
27
33
  private
28
34
  def requirements
29
35
  Bricky::Requirements.new
@@ -10,7 +10,7 @@ module Bricky
10
10
  if need_rebuild?
11
11
  build(image)
12
12
  else
13
- logger.message "Skipping build process"
13
+ logger.message "Skipping bootstrap process"
14
14
  end
15
15
  end
16
16
 
@@ -1,3 +1,6 @@
1
+ require "thor"
2
+ require "thor/group"
3
+
1
4
  module Bricky
2
5
  module Commands
3
6
  class Install < Base
@@ -0,0 +1,9 @@
1
+ module Bricky
2
+ module Commands
3
+ class Version < Base
4
+ def execute
5
+ logger.important "Bricky Version: ", Bricky::VERSION
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module Bricky
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bricky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - andrerocker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-29 00:00:00.000000000 Z
11
+ date: 2015-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -113,6 +113,7 @@ files:
113
113
  - lib/bricky/commands/bootstrap.rb
114
114
  - lib/bricky/commands/builder.rb
115
115
  - lib/bricky/commands/install.rb
116
+ - lib/bricky/commands/version.rb
116
117
  - lib/bricky/config.rb
117
118
  - lib/bricky/image.rb
118
119
  - lib/bricky/logger.rb
@@ -139,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
140
  version: '0'
140
141
  requirements: []
141
142
  rubyforge_project:
142
- rubygems_version: 2.4.7
143
+ rubygems_version: 2.4.4
143
144
  signing_key:
144
145
  specification_version: 4
145
146
  summary: a smart way to build software packages