countr 1.1.0 → 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
- SHA1:
3
- metadata.gz: d3d3f2727dbafb11308176b4184a562dc2d62f9a
4
- data.tar.gz: 4e0d0dd2820b1d29c4aacfcd625752f77af2c783
2
+ SHA256:
3
+ metadata.gz: 23881b4bfa534b9e9cc198472f4c400792a4702bec8bbd7fed82b593043f4e64
4
+ data.tar.gz: e187197d1bf872f0eb05748a00355a949c88f42247145f60a459db7bbc14cdce
5
5
  SHA512:
6
- metadata.gz: 9c3bd7dcf274923be675ffa310e236fdef23895126d5c7fe5953f6b3130ae9a9a5199587f1d3437391b619ba24e6ad4de69df6221f908fa4297304da57c37fc2
7
- data.tar.gz: 2d74f3a24c9899c7865e79ad89a72afd6d6c5cea7c5bf7cc19c1fe81f65f417b51c1d2c6925a89c01bdfe476a68a1ec524786c9452122bef1f6ce51a813b47f5
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,24 +1,35 @@
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
- spec.add_development_dependency "bundler", "~> 1.10"
22
- spec.add_development_dependency "rake", "~> 10.0"
32
+ spec.add_development_dependency "bundler", "~> 2.1"
33
+ spec.add_development_dependency "rake", "~> 12.3"
23
34
  spec.add_development_dependency "rspec"
24
35
  end
@@ -1,3 +1,3 @@
1
1
  module Countr
2
- VERSION = '1.1.0'
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.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Chadwick
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-28 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
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
19
+ version: '2.1'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.10'
26
+ version: '2.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '12.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '12.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -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,8 +76,11 @@ files:
76
76
  homepage: http://rubygems.org/gems/countr
77
77
  licenses:
78
78
  - MIT
79
- metadata: {}
80
- post_install_message:
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
83
+ post_install_message:
81
84
  rdoc_options: []
82
85
  require_paths:
83
86
  - lib
@@ -92,11 +95,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
95
  - !ruby/object:Gem::Version
93
96
  version: '0'
94
97
  requirements: []
95
- rubyforge_project:
96
- rubygems_version: 2.6.11
97
- signing_key:
98
+ rubygems_version: 3.4.19
99
+ signing_key:
98
100
  specification_version: 4
99
- summary: Displays the number of character in a string
101
+ summary: Displays character count of string
100
102
  test_files:
101
103
  - spec/count_spec.rb
102
104
  - spec/spec_helper.rb