countr 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/Rakefile +9 -0
- data/countr.gemspec +23 -12
- data/lib/countr/version.rb +1 -1
- metadata +9 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23881b4bfa534b9e9cc198472f4c400792a4702bec8bbd7fed82b593043f4e64
|
4
|
+
data.tar.gz: e187197d1bf872f0eb05748a00355a949c88f42247145f60a459db7bbc14cdce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4771771f4a14ff4e269c0276f71e8b5d7f894867a01a0b1dc8f3f593d560eca366108f73e4fb40d5b34e4344c0d04f7e146c7583cba2f58ba376bd658e91685a
|
7
|
+
data.tar.gz: 241aa4e611759274648b66a1c7c42f4eec43e4db5de31a9af04949eac7e858d26ccc26fee76fc46070d32b562da5a4e94e76866ce0d0c870b878edbcbf1a5672
|
data/README.md
CHANGED
@@ -8,17 +8,18 @@ A simple RubyGem that counts the number of characters in a string and displays i
|
|
8
8
|
|
9
9
|
## Usage
|
10
10
|
|
11
|
-
`countr STRING`
|
11
|
+
`countr STRING`
|
12
12
|
|
13
13
|
Examples:
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
|
15
|
+
* Tweet length:
|
16
|
+
`$ countr \@username and then I said \"OMG this new rubygem called \'countr\' is super-cool!\"`
|
17
|
+
* Arbitrary sentence:
|
18
|
+
`$ countr Sundry items have a way of creeping into your subconscious, whether your mind lingered on them for long or not.`
|
18
19
|
|
19
20
|
## Contributing
|
20
21
|
|
21
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/michaelchadwick/countr
|
22
|
+
Bug reports and pull requests are welcome on GitHub at <https://github.com/michaelchadwick/countr>.
|
22
23
|
|
23
24
|
## License
|
24
25
|
|
data/Rakefile
CHANGED
data/countr.gemspec
CHANGED
@@ -1,22 +1,33 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
|
4
5
|
require 'countr/version'
|
5
6
|
|
7
|
+
source_uri = 'https://github.com/michaelchadwick/countr'
|
8
|
+
rubygem_uri = 'http://rubygems.org/gems/countr'
|
9
|
+
|
6
10
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name
|
8
|
-
spec.
|
9
|
-
spec.
|
10
|
-
spec.
|
11
|
-
spec.
|
12
|
-
spec.
|
13
|
-
spec.
|
11
|
+
spec.name = "countr"
|
12
|
+
spec.summary = 'Displays character count of string'
|
13
|
+
spec.version = Countr::VERSION
|
14
|
+
spec.platform = Gem::Platform::RUBY
|
15
|
+
spec.authors = ["Michael Chadwick"]
|
16
|
+
spec.email = ["mike@neb.host"]
|
17
|
+
spec.homepage = rubygem_uri
|
18
|
+
spec.license = 'MIT'
|
19
|
+
spec.description = 'Simple RubyGem that takes a string and displays the number of characters'
|
20
|
+
|
21
|
+
spec.files = `git ls-files`.split("\n")
|
22
|
+
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
23
|
+
spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
24
|
+
spec.require_paths = ['lib']
|
14
25
|
|
15
|
-
spec.
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
26
|
+
spec.metadata = {
|
27
|
+
"documentation_uri" => source_uri,
|
28
|
+
"homepage_uri" => source_uri,
|
29
|
+
"source_code_uri" => source_uri
|
30
|
+
}
|
20
31
|
|
21
32
|
spec.add_development_dependency "bundler", "~> 2.1"
|
22
33
|
spec.add_development_dependency "rake", "~> 12.3"
|
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: 1.1.
|
4
|
+
version: 1.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:
|
11
|
+
date: 2023-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
description: Simple RubyGem that takes a string and displays the number of characters
|
56
56
|
email:
|
57
|
-
-
|
57
|
+
- mike@neb.host
|
58
58
|
executables:
|
59
59
|
- countr
|
60
60
|
extensions: []
|
@@ -76,7 +76,10 @@ files:
|
|
76
76
|
homepage: http://rubygems.org/gems/countr
|
77
77
|
licenses:
|
78
78
|
- MIT
|
79
|
-
metadata:
|
79
|
+
metadata:
|
80
|
+
documentation_uri: https://github.com/michaelchadwick/countr
|
81
|
+
homepage_uri: https://github.com/michaelchadwick/countr
|
82
|
+
source_code_uri: https://github.com/michaelchadwick/countr
|
80
83
|
post_install_message:
|
81
84
|
rdoc_options: []
|
82
85
|
require_paths:
|
@@ -92,10 +95,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
95
|
- !ruby/object:Gem::Version
|
93
96
|
version: '0'
|
94
97
|
requirements: []
|
95
|
-
rubygems_version: 3.
|
98
|
+
rubygems_version: 3.4.19
|
96
99
|
signing_key:
|
97
100
|
specification_version: 4
|
98
|
-
summary: Displays
|
101
|
+
summary: Displays character count of string
|
99
102
|
test_files:
|
100
103
|
- spec/count_spec.rb
|
101
104
|
- spec/spec_helper.rb
|