runby_pace 0.62.5 → 0.62.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -9
- data/lib/runby_pace/utility/warning_suppressant.rb +11 -0
- data/lib/runby_pace/version.seed +5 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce0c92ac52fd11f0dc3ab011a76b26dd2316e7b42419e00b2c097a13f40304ce
|
4
|
+
data.tar.gz: f8c1100fe6554bdb77d690b6b0bffd4ee975f9a2b1b2ddb2137e6600f290896a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5549a73a1fc0db1d5357a65385d92454478701c6fc1147060f1ca47deec00031da37cdf5d0e61cfd188e28f475ce8f5848a9d2990930a55dacdff1e458fe52e1
|
7
|
+
data.tar.gz: fc7ca6f8505d6512d6a87ac14b84263f8aaa7a896c84c90ff334eda0f22e26b7f1a1bd0ef25f236494191e617c14ae67cc14882781c1c8842aae874ee138f871
|
data/Rakefile
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
require 'bundler/gem_tasks'
|
4
4
|
require 'rspec/core/rake_task'
|
5
5
|
|
6
|
+
require_relative 'lib/runby_pace/utility/warning_suppressant'
|
7
|
+
|
6
8
|
RSpec::Core::RakeTask.new(:spec)
|
7
9
|
|
8
10
|
task default: :build
|
@@ -51,18 +53,10 @@ task :gen_version_number do
|
|
51
53
|
template.gsub!('__VERSION__', version)
|
52
54
|
version_file_path = File.join(path, 'version.g.rb')
|
53
55
|
File.write(version_file_path, template)
|
54
|
-
with_no_warnings do
|
56
|
+
Runby.with_no_warnings do
|
55
57
|
# Silencing warnings about redefining constants, since it's intentional
|
56
58
|
load version_file_path
|
57
59
|
Runby::VERSION = Runby::GENERATED_VERSION
|
58
60
|
end
|
59
61
|
puts "\e[32m__TEXT__\e[0m".gsub('__TEXT__', "Version: #{Runby::VERSION}")
|
60
62
|
end
|
61
|
-
|
62
|
-
def with_no_warnings
|
63
|
-
warning_level = $VERBOSE
|
64
|
-
$VERBOSE = nil
|
65
|
-
result = yield
|
66
|
-
$VERBOSE = warning_level
|
67
|
-
result
|
68
|
-
end
|
data/lib/runby_pace/version.seed
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runby_pace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.62.
|
4
|
+
version: 0.62.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ty Walls
|
@@ -102,6 +102,7 @@ files:
|
|
102
102
|
- lib/runby_pace/speed.rb
|
103
103
|
- lib/runby_pace/speed_range.rb
|
104
104
|
- lib/runby_pace/utility/parameter_sanitizer.rb
|
105
|
+
- lib/runby_pace/utility/warning_suppressant.rb
|
105
106
|
- lib/runby_pace/version.g.rb
|
106
107
|
- lib/runby_pace/version.rb
|
107
108
|
- lib/runby_pace/version.seed
|
@@ -112,7 +113,7 @@ homepage: https://github.com/tygerbytes/runby-pace
|
|
112
113
|
licenses:
|
113
114
|
- MIT
|
114
115
|
metadata:
|
115
|
-
commit-hash:
|
116
|
+
commit-hash: 759ccc69385dfc742044b92ddde84c39f4229487
|
116
117
|
post_install_message:
|
117
118
|
rdoc_options: []
|
118
119
|
require_paths:
|