asky 0.0.1 → 0.5.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/asky.gemspec +1 -1
  3. data/bin/asky +2 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0c8efb8e22a7610fb7ac7bd0c9e5ddd338879888b2eabaac3ce1504e372d0ea
4
- data.tar.gz: e07d72faaa35d9a9dd69adc1bca1fd52e78a18339959df0b5a013b290730dc4d
3
+ metadata.gz: 7aaa6631ecc7092741e14ad58fc7d3579b0a6c9608ad19ab5f515d871b962f38
4
+ data.tar.gz: 7d25ea6dd8a5adf69a1e825b8dc56620410a965cd452dcb2db6a7be93b78bed1
5
5
  SHA512:
6
- metadata.gz: 053ec135bb7e2d73465f9e7910bbecfe4eaefcc597fe8c3d1b20549cd82cf127f607593175ba79864b1b73723292dbac93f02d69e5be0251954770a2d80eb59b
7
- data.tar.gz: f740bf5ee327ced6eecf3159adb3a68974fb5a12cb456423c1efc4885a0de8f2b9939c0a2e006bc67e58b79801cec57da2673571eb761f868b3d4f4d33316fa0
6
+ metadata.gz: e4ffd36ae05250de40cdac9d4351b147963102f80b3662090d183570519138cc13c2f3b08a5f10c9d74280066071b2fc7c90969bfdcee38d3fad05511376ed45
7
+ data.tar.gz: dd3723681bf6fcc7c6901c88d941d1f6ca824338a32cbdf1b0429b1524a34c3507d35e6794b601879a3f99c7df990803fb8e45ef45980ef0ea68f7ed2d5a8c1d
data/asky.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "asky"
5
- s.version = `grep '^\s*VERSION' bin/asky | cut -f 2 -d '"'`
5
+ s.version = `grep -m 1 '^\s*@version' bin/asky | cut -f 2 -d '"'`
6
6
  s.author = "Steve Shreeve"
7
7
  s.email = "steve.shreeve@gmail.com"
8
8
  s.summary =
data/bin/asky CHANGED
@@ -8,16 +8,13 @@ require "optparse"
8
8
  trap("INT" ) { abort "\n" }
9
9
 
10
10
  OptionParser.new.instance_eval do
11
+ @version = "0.5.1"
11
12
  @banner = "usage: #{program_name} [options] <file|ARGF>"
12
13
 
13
14
  on "-h", "--help" , "Show help and command usage" do Kernel.abort to_s; end
14
- on "-v", "--version" , "Show version number" do Kernel.abort "#{program_name} #{VERSION}"; end
15
+ on "-v", "--version" , "Show version number" do Kernel.abort "#{program_name} #{@version}"; end
15
16
 
16
17
  self
17
18
  end.parse!(into: opts={}) rescue abort($!.message)
18
19
 
19
- class Asky
20
- VERSION = "0.0.1"
21
- end
22
-
23
20
  print AnyAscii.transliterate(ARGF.read)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Shreeve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-18 00:00:00.000000000 Z
11
+ date: 2023-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: any_ascii