ian 0.6.0 → 0.6.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 +6 -4
  3. data/lib/ian/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6532da46f52c70d5a917e8e9692e850301accee
4
- data.tar.gz: c443a6e802103e07bb71fd94b1836cc78147ad3f
3
+ metadata.gz: f961232150eac13599ae59a431b041128bf6a867
4
+ data.tar.gz: 307feebe21ba1888d0e12bcd61170354fb4bed78
5
5
  SHA512:
6
- metadata.gz: f51e2f383da45c71eff99c4bfb3d517a985677f12d850162690e9b6228e8d0e118cdd076c95c2c83e454fbc21fa58c501935b08c78ce7d2f4cac484da02a3e06
7
- data.tar.gz: 87fa0d84ec6a91aff53c5f6f2562c4cc25c12c7a31c7811058af8de729df6290b1ae37f246328fc3e1ce2e85117e3d03e146779447834dd054db93a783dc26ea
6
+ metadata.gz: 6bd3072717c1d4ad63bd34c5accb9f764eca7b896fd3e900e0f986f0c818b082b6778e798245e3e091af847c10f85514c24fc7030ad6fcf4a814a5610a6df153
7
+ data.tar.gz: c95a8413a01a96223e9c633927da5e17af9fbe9d64941237873bf6ebb6873c2bb921531a27f32ef7bc691552c1919596a4c3f46669aca2d0f0c7778fe931e1df
data/bin/ian CHANGED
@@ -74,19 +74,21 @@ Slop.parse help: true do
74
74
  exit 1
75
75
  end
76
76
 
77
- cmd = File.read(File.join(IAN_DIR, ".ianpush")).chomp
77
+ cmds = File.read(File.join(IAN_DIR, ".ianpush")).lines.map {|l| l.chomp }
78
78
  c = Ian.control(IAN_DIR)
79
79
 
80
80
  if args.first
81
- cmd += " "+args.first
81
+ cmds.map! {|cmd| cmd += " "+args.first }
82
82
  else
83
83
  fn = c.pkgname+".deb"
84
84
  path = File.join(IAN_DIR, "pkg", fn)
85
85
  abort "Package not yet built: #{fn}" unless File.exist?(path)
86
- cmd += " "+ path
86
+ cmds.map! {|cmd| cmd += " "+ path }
87
87
  end
88
88
 
89
- system cmd
89
+ cmds.each do |cmd|
90
+ system cmd
91
+ end
90
92
  end
91
93
  end
92
94
 
data/lib/ian/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ian
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.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.6.0
4
+ version: 0.6.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-03-31 00:00:00.000000000 Z
11
+ date: 2017-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slop