ian 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ian +9 -0
  3. data/lib/ian/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 835f7082d1c1f694da37f10553831da177968ad5
4
- data.tar.gz: 585388c316f5ad6fa0e4c66a5f276626659e9aa0
3
+ metadata.gz: 579431386039645ba3a472d503579d2402333487
4
+ data.tar.gz: 822044c570e6980953f24d70e4e47399fe406c75
5
5
  SHA512:
6
- metadata.gz: 37e2dc67d73e028c8a4720feefd11199a2d62e14f73e233a4b5efe47c41b77535aa0d0970b9c97a2f854a7aaac5e78a2339a4c992935fd27095a6f89674c6842
7
- data.tar.gz: 7dd1903f0f8bcaba4a663422d9b99565005cd302e234c460f94e5b472257b81d499b8e226f76ed89541efe3a53623123b461f179146badf04e9e3049f7bb1a0b
6
+ metadata.gz: ea521d97eb6ec59c6faef1970b2c872249364c2d6765d147aa96b532db947aba6b69c0b329ebad974e373eaa76ed6262f21259b7f8f8fbd59b14dd06dbc041ae
7
+ data.tar.gz: 194e81dd2581e4fb3741bd67413992af1136b1710d9b159af2c0e47eeb27c0b59358b5ddf2f2663d218d104918e1d2f8cab95ac9488ecfe4e2a83efab875b21c
data/bin/ian CHANGED
@@ -78,10 +78,15 @@ Slop.parse help: true do
78
78
  description "Build a Debian package"
79
79
 
80
80
  on :b, :build, "Run the build script prior to packaging"
81
+ on :p, :path, "Output only the path to the package"
81
82
 
82
83
  run do |opts, args|
83
84
  check_initialized!
84
85
 
86
+ if opts.path?
87
+ log.level = Logger::FATAL
88
+ end
89
+
85
90
  if opts.build?
86
91
  system "#{$0} build"
87
92
  exit $?.exitstatus unless $?.success?
@@ -89,6 +94,10 @@ Slop.parse help: true do
89
94
 
90
95
  pkg = Ian.build_package(IAN_DIR, log)
91
96
  log.info "Package built to #{pkg}"
97
+
98
+ if opts.path?
99
+ puts pkg
100
+ end
92
101
  end
93
102
  end
94
103
 
@@ -1,3 +1,3 @@
1
1
  module Ian
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert McLeod
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-19 00:00:00.000000000 Z
11
+ date: 2017-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slop
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project:
114
- rubygems_version: 2.5.1
114
+ rubygems_version: 2.6.10
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: Gem for manipulating Debian source packages from CLI