wabur 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17ed7568ac5fa7de0ea9ed07df7f056de59773d1
4
- data.tar.gz: d9e29dbff3f9f4b2c505e9e909f24b448c42edb2
3
+ metadata.gz: ca329c76ee3951ecd328480754dd09a2bdcd6a32
4
+ data.tar.gz: d811b8c2f08585329308d2eef96d395b9f0d3626
5
5
  SHA512:
6
- metadata.gz: d278285085f0c821c90e321fc7277b72ccc4c6346042084a4354db4721a57fb2835f51331746cc1178ad5b2b6ac60844de9efabe7ce9ec9139efb2e8a0cbab40
7
- data.tar.gz: '03747416854193bd64696fecd101d4a501bbcd344c146b2b25ec3a2f16fa6dc243160a55fba635769c1509002cb6630d824bc99badd469881c57cb9a20bca2f0'
6
+ metadata.gz: 4f2fc06292ecba5c5505fe79c20a555d11ee2a0057176495b367ec2c960886cb36a998abd488a888b0fa31b161afd61545b45ab2fc7571c9e9551c8653807307
7
+ data.tar.gz: e6b7a19e414c9d7a011229e66c76a412406e0bde1d508c1290390d097a637b689c236c6af331ab173e26592a099b6d7df26945d796c0becd5a05749cbfe219ec
@@ -20,7 +20,7 @@ module WAB
20
20
  @opts.on('-c', '--config PATH', String, 'Configuration file.') { |c| config_file = c }
21
21
  @opts.on('-r', '--require LIBRARY', String, 'Require.') { |r| require r }
22
22
  @opts.on('-v', '--verbose', 'Increase verbosity.') { log_increase += 1 }
23
- @opts.on('-h', '--help', 'Show this display.') { puts opts.help; Process.exit!(0) }
23
+ @opts.on('-h', '--help', 'Show this display.') { puts @opts.help; Process.exit!(0) }
24
24
 
25
25
  # Process command-line arguments and append them, in order, to an empty hash @map
26
26
  add_options(@opts, options)
data/lib/wab/impl/init.rb CHANGED
@@ -134,14 +134,9 @@ handler.#{slug}.class = WAB::OpenController
134
134
  @exist_cnt += 1
135
135
  next
136
136
  end
137
- out = `cp #{src_path} #{dest_path}`
137
+ FileUtils.cp(src_path, dest_path)
138
138
  @write_cnt += 1
139
- if out.empty?
140
- verbose_log('wrote', rel_path)
141
- else
142
- # the error message from the OS
143
- puts out
144
- end
139
+ verbose_log('wrote', rel_path)
145
140
  end
146
141
  }
147
142
  end
data/lib/wab/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
2
  module WAB
3
3
  # Current version of the module.
4
- VERSION = '0.6.1'
4
+ VERSION = '0.6.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wabur
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Ohler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-09 00:00:00.000000000 Z
11
+ date: 2017-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj
@@ -273,29 +273,29 @@ signing_key:
273
273
  specification_version: 4
274
274
  summary: Web Application Builder
275
275
  test_files:
276
- - test/bench_io_shell.rb
277
- - test/helper.rb
278
- - test/mirror_controller.rb
279
- - test/test_configuration.rb
280
- - test/test_data.rb
281
- - test/test_expr.rb
282
- - test/test_expr_and.rb
283
- - test/test_expr_between.rb
284
- - test/test_expr_eq.rb
285
- - test/test_expr_gt.rb
286
- - test/test_expr_gte.rb
287
- - test/test_expr_has.rb
288
- - test/test_expr_in.rb
289
- - test/test_expr_lt.rb
290
276
  - test/test_expr_lte.rb
291
- - test/test_expr_not.rb
292
- - test/test_expr_or.rb
293
- - test/test_expr_regex.rb
294
277
  - test/test_impl.rb
295
- - test/test_init.rb
278
+ - test/test_expr_in.rb
279
+ - test/test_expr_between.rb
296
280
  - test/test_io_shell.rb
297
- - test/test_model.rb
298
- - test/test_runner.rb
281
+ - test/test_expr_has.rb
299
282
  - test/tests.rb
283
+ - test/test_configuration.rb
284
+ - test/mirror_controller.rb
300
285
  - test/tmp/lib/spawn.rb
301
286
  - test/tmp/lib/ui_controller.rb
287
+ - test/test_expr_not.rb
288
+ - test/test_expr.rb
289
+ - test/test_data.rb
290
+ - test/test_expr_lt.rb
291
+ - test/test_expr_gte.rb
292
+ - test/test_expr_gt.rb
293
+ - test/helper.rb
294
+ - test/bench_io_shell.rb
295
+ - test/test_expr_eq.rb
296
+ - test/test_runner.rb
297
+ - test/test_init.rb
298
+ - test/test_expr_and.rb
299
+ - test/test_expr_or.rb
300
+ - test/test_model.rb
301
+ - test/test_expr_regex.rb