calcpace 1.5.4 → 1.5.5

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: 522046fd25c06347010dd5eaafafead682c8f112b559e0d6932cad8131170441
4
- data.tar.gz: 20b0c9a3a1fb855bedfcac50463ef223ae200466404901207a9c082b4e54eb8c
3
+ metadata.gz: '04889c91e456d34e17974f8aeafa14bb99c0f44957bb42fdc6cac4a3c1a87bf1'
4
+ data.tar.gz: 60b0d8e24f2f10905c8ee8697c892b63efef0fca92fecb42dc86e9cf797b37a9
5
5
  SHA512:
6
- metadata.gz: 1b4bf0d96394bff3711b5691499e4719e8f57fec6850ad96a87376bd339e5b478b645e827acda80be8cc1aa48b40b642e53aa8cdc050f308dda2a5c7b0d38a29
7
- data.tar.gz: be6fd9bd85c4b20c479f57d2637342dce116bc24c2fc0a5f867b5cd0a014e4534875e4d1ef29fd29aacb3cf0e06d564bc81f06171ced58a3aa9a850ef6e55b7f
6
+ metadata.gz: af863c188a3e74b28211bac8956c5fd1ad7440e9cdb8316f5c329a06daf5387ad81ecdeacced1b0011bfad304b0f8b9607c9deeca63dfba628e04162c718cb1f
7
+ data.tar.gz: ba0a4e7fd03714ca47c9a1cb9b1d8081327e2821b9da44730866437e3ba54c74aec43d93ae9f2f75ac69f7fe1672ee4fb62f4c17f015a35a83045583ebe872e4
@@ -20,8 +20,6 @@ jobs:
20
20
  with:
21
21
  ruby-version: ${{ matrix.ruby }}
22
22
  bundler-cache: true
23
- - name: Install Bundler
24
- run: gem install bundler
25
23
  - name: Build Gem
26
24
  run: gem build calcpace.gemspec
27
25
  - name: Run tests
data/.gitignore CHANGED
@@ -1,2 +1,2 @@
1
- calcpace-*
2
- calcpace.*
1
+ calcpace-*.gem
2
+ !calcpace.gemspec
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Calcpace [![Gem Version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=rb&r=r&ts=1683906897&type=6e&v=1.5.4&x2=0)](https://badge.fury.io/rb/calcpace)
1
+ # Calcpace [![Gem Version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=rb&r=r&ts=1683906897&type=6e&v=1.5.5&x2=0)](https://badge.fury.io/rb/calcpace)
2
2
 
3
3
  Calcpace is a Ruby gem designed for calculations and conversions related to distance and time. It can calculate velocity, pace, total time, and distance, accepting time in various formats, including HH:MM:SS. The gem supports conversion to 42 different units, including kilometers, miles, meters, and feet. It also provides methods to validate input.
4
4
 
@@ -7,7 +7,7 @@ Calcpace is a Ruby gem designed for calculations and conversions related to dist
7
7
  ### Add to your Gemfile
8
8
 
9
9
  ```ruby
10
- gem 'calcpace', '~> 1.5.4'
10
+ gem 'calcpace', '~> 1.5.5'
11
11
  ```
12
12
 
13
13
  Then run:
data/calcpace.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ require_relative 'lib/calcpace/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = 'calcpace'
5
+ spec.version = Calcpace::VERSION
6
+ spec.authors = ['João Gilberto Saraiva']
7
+ spec.email = ['joaogilberto@tuta.io']
8
+
9
+ spec.summary = 'A Ruby gem for pace, distance, and time calculations.'
10
+ spec.description = 'Calcpace provides methods to calculate and convert values related to pace, distance, time, and speed. It supports various time formats and unit conversions.'
11
+ spec.homepage = 'https://github.com/0jonjo/calcpace'
12
+ spec.metadata['source_code_uri'] = spec.homepage
13
+ spec.license = 'MIT'
14
+ spec.required_ruby_version = '>= 2.7.0'
15
+
16
+ spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md" # TODO: Create a CHANGELOG.md
17
+
18
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
19
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ end
21
+ spec.bindir = 'exe'
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ['lib']
24
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Calcpace
4
- VERSION = '1.5.4'
4
+ VERSION = "1.5.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calcpace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.4
4
+ version: 1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - João Gilberto Saraiva
@@ -24,18 +24,19 @@ files:
24
24
  - Gemfile.lock
25
25
  - README.md
26
26
  - Rakefile.rb
27
+ - calcpace.gemspec
27
28
  - lib/calcpace.rb
28
29
  - lib/calcpace/calculator.rb
29
30
  - lib/calcpace/checker.rb
30
31
  - lib/calcpace/converter.rb
31
32
  - lib/calcpace/errors.rb
32
33
  - lib/calcpace/version.rb
33
- homepage: https://github.com/jonjo/calcpace
34
+ homepage: https://github.com/0jonjo/calcpace
34
35
  licenses:
35
36
  - MIT
36
37
  metadata:
37
- source_code_uri: https://github.com/jonjo/calcpace
38
- changelog_uri: https://github.com/jonjo/calcpace/blob/main/CHANGELOG.md
38
+ source_code_uri: https://github.com/0jonjo/calcpace
39
+ changelog_uri: https://github.com/0jonjo/calcpace/blob/main/CHANGELOG.md
39
40
  rdoc_options: []
40
41
  require_paths:
41
42
  - lib