countr 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/countr +2 -1
- data/lib/countr/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bba26f804ea70fa13931bca5a8a42dbfa41bfe2c
|
|
4
|
+
data.tar.gz: fef768d6e9e2be0ec02029b54898dd5fe900d503
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 173235c3a69d00d086ea22ee5eb3029c67e061b4bbe625fbec77aa93e072e8260003bb7234b144dccb713763f1dc6772c3382b240828577ce22c220bfa101087
|
|
7
|
+
data.tar.gz: 9b3c0e43d5917add99191224df9e2f283792e56216adbbe23371bfdd7633403789f40f2b8b3537f00199b7bdd59e57e52749d6b7bbf3d138c466f96b188b9cd6
|
data/bin/countr
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
|
|
3
3
|
require 'optparse'
|
|
4
|
+
require_relative '../lib/countr/version'
|
|
4
5
|
|
|
5
6
|
BINARY_NAME = $PROGRAM_NAME.split('/').last
|
|
6
7
|
|
|
@@ -13,7 +14,7 @@ def parse_options
|
|
|
13
14
|
opts.banner += "Note: quotes and double-quotes will not be counted unless escaped with a \\"
|
|
14
15
|
|
|
15
16
|
opts.on('-v', '--version', 'Display version number and exit') do
|
|
16
|
-
puts "#{BINARY_NAME} v#{VERSION}"
|
|
17
|
+
puts "#{BINARY_NAME} v#{Countr::VERSION}"
|
|
17
18
|
exit
|
|
18
19
|
end
|
|
19
20
|
|
data/lib/countr/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: countr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Chadwick
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-08-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
93
93
|
version: '0'
|
|
94
94
|
requirements: []
|
|
95
95
|
rubyforge_project:
|
|
96
|
-
rubygems_version: 2.4.
|
|
96
|
+
rubygems_version: 2.4.8
|
|
97
97
|
signing_key:
|
|
98
98
|
specification_version: 4
|
|
99
99
|
summary: Displays the number of character in a string
|