ix-cli 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ix-extensions +8 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c092a50cdc78203f0d6b63eaf7ab134ef75c6fcd2359433f30ccc75a1927fa4
4
- data.tar.gz: b56649886c4163ce425c95fdf178db6255983b0bd093af8dc8f7b92e5a1734a8
3
+ metadata.gz: 8dba21b61d4f6c800ecc40c3042d115e06b73fecfc3665314492c1dd5a69ce36
4
+ data.tar.gz: 76211ce91d07872dc0823aeb12a1cf81fdab5e050b371c7bca8e5d0431c6d5f7
5
5
  SHA512:
6
- metadata.gz: ffff3b4215e024457a8271bd2c670a50df67309b5753fa91d6940c917b7e2e91c0c7803b92d568dcb79a9cabee6699a6a1f54901ab6a9a3ead4d1ed7fe1f1375
7
- data.tar.gz: 2f291e87dd401b6b11c3601ff11e05d403cb10bc2452fb773cd063c3789a3ceb8c90ce2af04585f25de376d8e52759f126104567efd71ca5725cd4fe93b9ea5d
6
+ metadata.gz: 383c703e9ed1c0d5c81fb9f61a316e4593890768d6751f4464c54d028dfbf5ffa40156e5f102e4914f3b37ea84e86b66ba6d38dca1ddea841e8e7d0b34f20729
7
+ data.tar.gz: cff65c1d968fa28866110238d0c6e57e3fa9a82da8fa8a9f5cbd188bbcb5104c284b54d4bcf358111da3e3c1f104b9398902a38ef0ebc304f08d345f0b71298a
data/bin/ix-extensions CHANGED
@@ -1,3 +1,9 @@
1
- #!/usr/bin/env bash
1
+ #!/usr/bin/env ruby
2
2
 
3
- ix scan '\.\w+$' | sed 's/\.//g'
3
+ require 'json'
4
+
5
+ STDIN.each_line do |line|
6
+ line.chomp!
7
+ result = { :ext => File.extname(line), :path => line }
8
+ puts result.to_json
9
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ix-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuyoshi Tlacaelel