my_utilities 2.0.0 → 3.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6e772e61b814739433d2bca7bdbdf399a07aa45e7b0679fae343e166b7d630f
4
- data.tar.gz: e237210910e542a486757a02117b8b3001b00434a9860a8446c91f82ff7fd51b
3
+ metadata.gz: 43a943e8defc4e5eca494b764ea74a0cc81a584a3d6d304d7c9a05ff5828ff61
4
+ data.tar.gz: fb3642e57391e9212e3de76f6cd84e68fd03f28a3afb69d8b8a733e9a38c30e3
5
5
  SHA512:
6
- metadata.gz: 0bada26128aea92ca8f17bbb71863963f1441074f3ebded80dd63dd8f699e9ba87ea83aca7fbc1eee0bbdd86381fe0a842d48a50ecbd9d0f3e9348e4b75a5cb1
7
- data.tar.gz: f85035e5b2b456373597054cd4132563ddfbc30f8328341774819651ee8b6193ef4bb42b813a7f2323d34122913052aeae3d75bece80ff81d9786df8419340b7
6
+ metadata.gz: a01db1739af361fe49f7d183b9bd801c1a746bab4b50c2140244993b0963714b53c80040702a9b88cff47a21689d318a22123a374bd9ead0416ecc7288d40994
7
+ data.tar.gz: c57007805e3f0a4ebe945c060e56188b26525f159b9caef468ac461086e2708c2cfa01d06a682d41c052a1ccfa78aaf602b818550bb2c54a89bfe68b99bdfc9c
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- ruby '2.5.0'
3
+ ruby '2.6.3'
4
4
 
5
5
  # Specify your gem's dependencies in my_utilities.gemspec
6
6
  gemspec
@@ -1,3 +1,3 @@
1
1
  module MyUtilities
2
- VERSION = "2.0.0"
2
+ VERSION = "3.0.0"
3
3
  end
data/spec/logger_spec.rb CHANGED
@@ -11,7 +11,7 @@ describe MyUtilities do
11
11
 
12
12
  it "prints out the help string" do
13
13
  full_help_string = "#{__FILE__} [options]\n#{@help_string}\n"
14
- STDOUT.should_receive(:puts).with(/#{@help_string}/)
14
+ expect(STDOUT).to receive(:puts).with(/#{@help_string}/)
15
15
  lambda { MyUtilities::print_help_and_exit }.should raise_error(SystemExit)
16
16
  end
17
17
  end
@@ -27,13 +27,13 @@ describe MyUtilities do
27
27
  end
28
28
 
29
29
  it "only shows fatal message by default" do
30
- STDOUT.should_receive(:puts).with(@exp_mesg)
30
+ expect(STDOUT).to receive(:puts).with(@exp_mesg)
31
31
  @logger_default.puts(@exp_mesg, MyUtilities::Logger::FATAL)
32
32
  end
33
33
 
34
34
  context "level is init'ed (to WARN)" do
35
35
  it "won't print debug messages" do
36
- STDOUT.should_not_receive(:puts)
36
+ expect(STDOUT).not_to receive(:puts)
37
37
  @logger_by_level.puts(@exp_mesg, MyUtilities::Logger::DEBUG)
38
38
  end
39
39
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_utilities
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sameer Siruguri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-27 00:00:00.000000000 Z
11
+ date: 2019-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: getopt
@@ -103,8 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  requirements: []
106
- rubyforge_project:
107
- rubygems_version: 2.7.3
106
+ rubygems_version: 3.0.3
108
107
  signing_key:
109
108
  specification_version: 4
110
109
  summary: These functions do a bunch of cool things, like log error messages, find