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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0111eaad31daf911e5387485c8efcdcfa118ed58200398f4f593066d5051581c
4
- data.tar.gz: 76b02a366af95e8ebe4252421488f73b7afd611a2cff58bd6c74762f57fafffd
3
+ metadata.gz: 23881b4bfa534b9e9cc198472f4c400792a4702bec8bbd7fed82b593043f4e64
4
+ data.tar.gz: e187197d1bf872f0eb05748a00355a949c88f42247145f60a459db7bbc14cdce
5
5
  SHA512:
6
- metadata.gz: 2574e4e07a77962a80949a2f9bfa3934deccf8d9e27570d09cc5a0c9688afe1053c19c3160ab052a8c95ff81da92e3a40cd7616a2553c8d930dcaa3d404c527b
7
- data.tar.gz: a9968f743b4bb1b1b2a5c86d1de40a2c5dbe451f33eb3827ac79775c03dbb0bb9ae028e90724a9573803489eddff3d23666f07c0cd56a320dcfd8bc338ae4ab2
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
- * Tweet length:
15
- `$ countr \@username and then I said \"OMG this new rubygem called \'countr\' is super-cool!\"`
16
- * Arbitrary sentence:
17
- `$ countr Sundry items have a way of creeping into your subconscious, whether your mind lingered on them for long or not.`
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
@@ -1 +1,10 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ task :deploy do |t|
4
+ sh "git push origin master"
5
+ sh "rake build"
6
+
7
+ file = Dir.glob("pkg/*").max_by {|f| File.mtime(f)}
8
+
9
+ sh "gem push #{file}"
10
+ end
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 = "countr"
8
- spec.version = Countr::VERSION
9
- spec.authors = ["Michael Chadwick"]
10
- spec.email = ["michael.chadwick@gmail.com"]
11
- spec.homepage = 'http://rubygems.org/gems/countr'
12
- spec.summary = 'Displays the number of character in a string'
13
- spec.description = 'Simple RubyGem that takes a string and displays the number of characters'
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.files = `git ls-files`.split("\n")
16
- spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
- spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
18
- spec.require_paths = ['lib']
19
- spec.license = 'MIT'
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"
@@ -1,3 +1,3 @@
1
1
  module Countr
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
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.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: 2020-07-21 00:00:00.000000000 Z
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
- - michael.chadwick@gmail.com
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.1.4
98
+ rubygems_version: 3.4.19
96
99
  signing_key:
97
100
  specification_version: 4
98
- summary: Displays the number of character in a string
101
+ summary: Displays character count of string
99
102
  test_files:
100
103
  - spec/count_spec.rb
101
104
  - spec/spec_helper.rb